5

I am using the style file for classic thesis, which can be downloaded in this link and can be viewed in this link. I like everything about this style file except the font used for math equations. How can I modify the classicthesis.sty such that math equations are printed the same as the standard LaTeX math?

  • 2
    Can you show how you call classicthesis? The options you pass to the package are needed. – egreg Mar 29 '13 at 9:24
  • @egreg: the developer has an example for using the this package, which can be downloaded at code.google.com/p/classicthesis/downloads/…. – AFP Mar 29 '13 at 18:07
7

This is what I get from this simple example:

\documentclass[11pt,a5paper,footinclude=true,headinclude=true]{scrbook}
\usepackage[T1]{fontenc}
\usepackage[linedheaders,parts,pdfspacing]{classicthesis}
\begin{document}
This is inline math $a+b=c$ and a displayed formula follows:
\[
\int_{-\infty}^{\infty}e^{-x^2}\,dx=\sqrt{\pi}
\]
\end{document}

enter image description here

The font used for math is MathPaZo, which is tailored to accompany the default Palatino text font.

If I change the example in the following way

\documentclass[11pt,a5paper,footinclude=true,headinclude=true]{scrbook}
\usepackage[T1]{fontenc}
\usepackage[linedheaders,parts,pdfspacing,eulermath]{classicthesis}
\begin{document}
This is inline math $a+b=c$ and a displayed formula follows:
\[
\int_{-\infty}^{\infty}e^{-x^2}\,dx=\sqrt{\pi}
\]
\end{document}

(note the eulermath option), I get Euler Math for the formulas.

enter image description here

If instead you load lmodern after classicthesis

\documentclass[11pt,a5paper,footinclude=true,headinclude=true]{scrbook}
\usepackage[T1]{fontenc}
\usepackage[linedheaders,parts,pdfspacing]{classicthesis}
\usepackage{lmodern}
\begin{document}
This is inline math $a+b=c$ and a displayed formula follows:
\[
\int_{-\infty}^{\infty}e^{-x^2}\,dx=\sqrt{\pi}
\]
\end{document}

you get the "standard" LaTeX fonts

enter image description here

  • 1
    I edited in eulermath, hope you don't mind. – Scott H. Mar 29 '13 at 20:42
  • @ScottH. Thanks! I wanted to put it in, and I forgot. – egreg Mar 29 '13 at 20:43
  • @egreg, I want to use your solution but the problem is after using lmodern the font of text is also changed and I'm happy with the text font. How can I used your solution while maintaining the normal text font? – Pouya Oct 7 '13 at 15:15
  • @Pouya I don't understand what you're asking: using Computer (or Latin) Modern math with Palatino is a no-go, they are visually incompatible. – egreg Oct 7 '13 at 15:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.