3

I like to use fouriernc package. But unfortunately the mathcal font in this package doesn't look nice to me and I would like to ask if it is possible to use this package while changing the mathcal font, say in mathpazo package.

Thanks

3

In mathpazo.sty we find

 \DeclareSymbolFontAlphabet{\mathcal}   {symbols}

which sends us to

\DeclareSymbolFont{symbols}       {OMS}{zplm}{m}{n}

You can then do

\DeclareMathAlphabet{\mathcal}{OMS}{Zplm}{m}{n}
\SetMathAlphabet{\mathcal}{bold}{OMS}{zplm}{b}{n}

See texdoc fntguide for more information. The second line is for the \boldmath version.

Full example:

\documentclass{article}
\usepackage{fouriernc}

\DeclareMathAlphabet{\mathcal}{OMS}{zplm}{m}{n}

\begin{document}

This is math: $a+b\in\mathcal{F}(Z)$.

\end{document}

enter image description here

Without the suggested declaration, we'd get

enter image description here

1

I have never used mathpazo before, but here's a possible solution

\documentclass[]{article}
\usepackage{fouriernc}

\usepackage{lipsum}

\DeclareMathAlphabet{\mathcal}{OMS}{cmsy}{m}{n}

\begin{document}
\lipsum[2]


\begin{equation}
\sin(x) = x + \mathcal{O}(x^3)
\end{equation}


\end{document}

enter image description here

  • Probably cmsy instead of cmex – egreg Apr 18 '18 at 15:11

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.