From 9ca76d3fbe0d54d8d2e5d263aa0524c111b9dda6 Mon Sep 17 00:00:00 2001 From: Nikolay Yakimov Date: Fri, 17 Apr 2015 23:26:21 +0300 Subject: Redefine (sub)paragraphs in default LaTeX template This should make those behave more like sections, as per https://github.com/jgm/pandoc/issues/1658 --- default.latex | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'default.latex') diff --git a/default.latex b/default.latex index 54aceb8a4..ba3b9e9af 100644 --- a/default.latex +++ b/default.latex @@ -143,6 +143,12 @@ $for(header-includes)$ $header-includes$ $endfor$ +% Redefines (sub)paragraphs to behave more like sections +\let\oldparagraph\paragraph +\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}} +\let\oldsubparagraph\subparagraph +\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}} + \begin{document} $if(title)$ \maketitle -- cgit v1.2.3