aboutsummaryrefslogtreecommitdiff
path: root/default.latex
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-04-17 18:38:40 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-04-17 18:38:40 -0700
commite8aec53fad6b4d587a44af5ca76c4b809569f15d (patch)
tree4ab0f9cf5d654ae119fac96f4186d857fbee9ca4 /default.latex
parent12ba81ec9697e238c861ca6b7f8dc08f4e876e7b (diff)
parent9ca76d3fbe0d54d8d2e5d263aa0524c111b9dda6 (diff)
downloadpandoc-e8aec53fad6b4d587a44af5ca76c4b809569f15d.tar.gz
Merge pull request #92 from lierdakil/patch-1
Redefine (sub)paragraphs in default LaTeX template
Diffstat (limited to 'default.latex')
-rw-r--r--default.latex6
1 files changed, 6 insertions, 0 deletions
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