Can I make in my document so that I use one font for the text part, but other font for formulas?

I'd like to use Garamond for text, and Utopia for math.

  • Have a look at the solution of tex.stackexchange.com/questions/11058/…, it should give you the right direction. Feb 22 '13 at 19:17
  • Yeah, that doesn't help as it requires XeTeX, and I keep getting errors :\
    – dingo_d
    Feb 22 '13 at 20:08
  • You didn't say that xeTeX wasn't an option... :-) Feb 22 '13 at 20:22
  • Yeah, I should have mentioned that, sorry :|
    – dingo_d
    Feb 22 '13 at 20:24
  • 1
    I don't think it's a good idea: the two fonts are quite different from each other, so they don't mix at all.
    – egreg
    Feb 22 '13 at 21:35

You could use \usepackage[utopia]{mathdesign} or \usepackage{fourier} to get Utopia, and \usepackage[osf]{garamondx} to obtain Garamond in the text. It is also possible to load ebgaramond.

To use garamondx package you have to install it through getnonfreefonts script. And here you have the exact way to do obtain garamond: Can I install fonts from CTAN using TeX Live Utility? (you just have to substitute garamond for garamondx in the last command).

By the way, as a temporal solution, you can just use this (which just uses the mathdesigns garamond)

\usepackage{fourier}% or \usepackage[utopia]{mathdesign}

But I encourage using garamondx as it adds small caps, old style figures and ligatures.

  • This garamondx gives me error (.sty not found), and if I use my current one \usepackage[urw-garamond]{mathdesign} with fourier the equations end up being messed up :\
    – dingo_d
    Feb 22 '13 at 20:02
  • Ouch, I forgot. You have to install them through getnonfreefonts. I'll edit my answer.
    – Manuel
    Feb 22 '13 at 20:41
  • And I'm on windows... if that's any help xD
    – dingo_d
    Feb 22 '13 at 20:58
  • @dingo_d I don't know how to use it in Windows, by the way, I added a not quite good solution.
    – Manuel
    Feb 22 '13 at 21:28

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.