From 9ad336f586542cd8af30f2e16d2c935fb0f97a3e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 17 Apr 2015 18:38:57 -0700 Subject: LaTeX template: redefine `\paragraph`, `\subparagraph`... to behave more like section headers. Closes #1658. --- tests/lhs-test.latex+lhs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/lhs-test.latex+lhs') diff --git a/tests/lhs-test.latex+lhs b/tests/lhs-test.latex+lhs index 77f0e08ff..746744cc8 100644 --- a/tests/lhs-test.latex+lhs +++ b/tests/lhs-test.latex+lhs @@ -49,6 +49,12 @@ \date{} +% 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} \section{lhs test}\label{lhs-test} -- cgit v1.2.3