[Tex/LaTex] Parenthesis invisible in math mode, using classicthesis(eulermath) with lmodern

classicthesisparenthesis

I propose to have a look at this MnWE :

\documentclass{article}
\usepackage[eulermath,nochapters]{classicthesis}
\usepackage{lmodern}
\begin{document}
    $$ (x+2)(x-5)$$
\end{document}

When compiling (pdflatex), the parenthesis do not appear in the pdf.
The problem disappears when commenting either lmodern, either classicthesis, either only eulermath.
What work around would you suggest ?
Thanks!
S.

Best Answer

The lmodern package removes many of the settings of the eulermath option and you remain in a very unstable state.

Load eulervm later than lmodern:

\documentclass{article}

\usepackage[nochapters]{classicthesis}

\usepackage{lmodern}
\usepackage[euler-digits]{eulervm}

\begin{document}

Some text for seeing what happens
\[
(x+2)(x-5)
\]

\end{document}

enter image description here

I don't think that this is a good idea, typographically, though.

Don't use $$ in LaTeX, see Why is \[ ... \] preferable to $$ ... $$?

Related Question