Redefine (sub)paragraphs in default LaTeX template

This should make those behave more like sections, as per https://github.com/jgm/pandoc/issues/1658
This commit is contained in:
Nikolay Yakimov 2015-04-17 23:26:21 +03:00
parent 12ba81ec96
commit 9ca76d3fbe

View file

@ -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