summaryrefslogtreecommitdiff
path: root/tests/lhs-test.latex
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lhs-test.latex')
-rw-r--r--tests/lhs-test.latex4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lhs-test.latex b/tests/lhs-test.latex
index d091b17a6..0c8c901f1 100644
--- a/tests/lhs-test.latex
+++ b/tests/lhs-test.latex
@@ -71,10 +71,14 @@
\date{}
% Redefines (sub)paragraphs to behave more like sections
+\ifx\paragraph\undefined\else
\let\oldparagraph\paragraph
\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
+\fi
+\ifx\subparagraph\undefined\else
\let\oldsubparagraph\subparagraph
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
+\fi
\begin{document}