Alterando a fonte matemática na Classicthesis

Alterando a fonte matemática na Classicthesis

Estou usando o popular modelo Classicthesis para minha tese. Gosto de quase tudo neste modelo, exceto a fonte matemática (deve ser aquela carregada com Mathpazo) e como tenho que escrever muitas fórmulas, gostaria de restaurar a fonte clássica moderna.

Então minha dúvida é a seguinte: como posso alterar APENAS a fonte matemática, preservando a fonte palatino para o texto na Classicthesis? Eu li que a fonte palatina e a matemática moderna não combinam por motivos "estéticos", mas não me importo com isso.

Responder1

Por que não usar a opção eulermathfor classicthesis? A fonte Euler para matemática é muito boa.

MWE

\documentclass{scrreprt}

\usepackage[eulermath]{classicthesis}

\usepackage{blindtext}

\begin{document}
\blindtext

Some math $x+y+z=15$.
\end{document} 

Saída

insira a descrição da imagem aqui

De qualquer forma, se você realmente deseja Computer Modern como fonte matemática, adicione as seguintes linhas em seu preâmbulo

\SetSymbolFont{operators}   {normal}{OT1}{cmr} {m}{n}
\SetSymbolFont{letters}     {normal}{OML}{cmm} {m}{it}
\SetSymbolFont{symbols}     {normal}{OMS}{cmsy}{m}{n}
\SetSymbolFont{largesymbols}{normal}{OMX}{cmex}{m}{n}
\SetSymbolFont{operators}   {bold}  {OT1}{cmr} {bx}{n}
\SetSymbolFont{letters}     {bold}  {OML}{cmm} {b}{it}
\SetSymbolFont{symbols}     {bold}  {OMS}{cmsy}{b}{n}
\SetSymbolFont{largesymbols}{bold}  {OMX}{cmex}{m}{n}

\SetMathAlphabet{\mathbf}{normal}{OT1}{cmr}{bx}{n}
\SetMathAlphabet{\mathsf}{normal}{OT1}{cmss}{m}{n}
\SetMathAlphabet{\mathit}{normal}{OT1}{cmr}{m}{it}
\SetMathAlphabet{\mathtt}{normal}{OT1}{cmtt}{m}{n}
\SetMathAlphabet{\mathbf}{bold}  {OT1}{cmr}{bx}{n}
\SetMathAlphabet{\mathsf}{bold}  {OT1}{cmss}{bx}{n}
\SetMathAlphabet{\mathit}{bold}  {OT1}{cmr}{bx}{it}
\SetMathAlphabet{\mathtt}{bold}  {OT1}{cmtt}{m}{n}

MWE:

\documentclass{scrreprt}

\usepackage{classicthesis}

\SetSymbolFont{operators}   {normal}{OT1}{cmr} {m}{n}
\SetSymbolFont{letters}     {normal}{OML}{cmm} {m}{it}
\SetSymbolFont{symbols}     {normal}{OMS}{cmsy}{m}{n}
\SetSymbolFont{largesymbols}{normal}{OMX}{cmex}{m}{n}
\SetSymbolFont{operators}   {bold}  {OT1}{cmr} {bx}{n}
\SetSymbolFont{letters}     {bold}  {OML}{cmm} {b}{it}
\SetSymbolFont{symbols}     {bold}  {OMS}{cmsy}{b}{n}
\SetSymbolFont{largesymbols}{bold}  {OMX}{cmex}{m}{n}

\SetMathAlphabet{\mathbf}{normal}{OT1}{cmr}{bx}{n}
\SetMathAlphabet{\mathsf}{normal}{OT1}{cmss}{m}{n}
\SetMathAlphabet{\mathit}{normal}{OT1}{cmr}{m}{it}
\SetMathAlphabet{\mathtt}{normal}{OT1}{cmtt}{m}{n}
\SetMathAlphabet{\mathbf}{bold}  {OT1}{cmr}{bx}{n}
\SetMathAlphabet{\mathsf}{bold}  {OT1}{cmss}{bx}{n}
\SetMathAlphabet{\mathit}{bold}  {OT1}{cmr}{bx}{it}
\SetMathAlphabet{\mathtt}{bold}  {OT1}{cmtt}{m}{n}

\usepackage{blindtext}

\begin{document}
\blindtext

Some math $x+y+z=15$.
\end{document} 

Saída

insira a descrição da imagem aqui

informação relacionada