Closed a-seyler closed 4 years ago
The following code from cleanthesis.sty causes the error:
\newlength{\lensectionnumber}
\renewcommand{\sectionmark}[1]{%
\markright{%
\ctfontfootertext
\setlength{\lensectionnumber}{0em}
\settowidth{\lensectionnumber}{\textbf{\thesection}\quad}
\protect\begin{minipage}[t]{.72\textwidth}%
{\ }% bad hack to prevent a wrong baseline for the minipage
\protect\raggedleft%
\hangindent=\lensectionnumber%
{\color{ctcolorfootermark}\textbf{\thesection}}%
\quad%
#1%
\protect\end{minipage}%
}%
}
If I comment these lines out, the document compiles fine. Seems to be the same problem as in issue #101
This issue seems to be fixed in cleanthesis version 0.4.1 (c5b2c2683166168980ff9f8e5649c052528a73a1), see release. Can you confirm that?
Yes, with the new version the problem is fixed.
Hi, I am experiencing a incompatibility between cleanthesis and the mhchem package. If I include the mhchem package into my document, compiling fails and I get an error message regarding an undefined control sequence on the first \section{} command.
Minimal (not-)working example:
(needs the bib-refs.bib from the zip-folder) or just including
\usepackage[version=4]{mhchem}
in the provided example my-thesis.tex.The complete error message is: