changeset 263:0f9fb45f509a

Merge pull request #92 from lierdakil/patch-1 Redefine (sub)paragraphs in default LaTeX template
author John MacFarlane <jgm@berkeley.edu>
date Fri, 17 Apr 2015 18:38:40 -0700
parents ecc285e102f3 (current diff) d73e6e1fb227 (diff)
children 45403a9f7d53
files
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/default.latex	Mon Apr 13 08:53:08 2015 -0700
+++ b/default.latex	Fri Apr 17 18:38:40 2015 -0700
@@ -143,6 +143,12 @@
 $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