Fix paragraph undefined problem

This commit is contained in:
Nikolay Yakimov 2015-05-03 21:11:36 +03:00
parent 81c1a2216b
commit 0f736312db

View file

@ -146,10 +146,14 @@ $header-includes$
$endfor$
% 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}
$if(title)$