I am attempting to convert a document from one class to another. In the original class, I am able to use TikZ and PGFPlots for my graphics. However, in the new class, I receive the following error:
! Missing number, treated as zero.
<to be read again>
}
l.51 \section{Introduction}
If I remove all of the \section{}
commands, the document compiles fine. Furthermore, the \section*{}
commands do not cause an error.
The class .cls
file for which I am experiencing the errors can be found at: https://bitbucket.org/lgriffiths/lyx-classes/src/df41b5298566/_miktex_tex_latex/ifasd/ifasd.cls
MWE
\documentclass{ifasd}
\usepackage{lipsum}
\usepackage{tikz}
\begin{document}
\section*{Testing One}
\lipsum[1]
\section*{Testing Two}
\lipsum[2]
\section{Testing Three}
\lipsum[1]
\end{document}
tikz
orpstricks
. Also, it seems that the packagetitlesec
seems to be the culprit. But, I haven't found anything in my searches about why thetitlesec
package should create problems with eithertikz
orpstricks
.article
class document which uses the packagestitlesec
,lipsum
, andtikz
seems to think there's a missing parenthesis when using the\titleformat
command and calling\MakeUppercase
in the manner called by your class.