Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibility with mathtools package #109

Open
IsraelBuitronD opened this issue Jul 25, 2019 · 2 comments
Open

Incompatibility with mathtools package #109

IsraelBuitronD opened this issue Jul 25, 2019 · 2 comments

Comments

@IsraelBuitronD
Copy link

If we add \usepackage{mathtools} into the setup file (e.g. my-thesis-setup.tex), then we will have some compilation error.

Suppose you need to use mathtools package to have available math commands like \mathbb, \mathcal, etc., and a chuck of code like:

\begin{equation}
  \mathbb{F} = \emptyset
\end{equation}

you will have an error message, like this:

Undefined control sequence. [...\mathbb]
@JanWaldhorn
Copy link

If you include the other packages instead it works without problems

\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}

@mcomis
Copy link

mcomis commented Mar 5, 2021

I had the exact same issue. Was able to fix it by protecting line 435 in cleanthesis.sty, i.e., by replacing it with
\protect\settowidth{\lensectionnumber}{\textbf{\thesection}\quad}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants