Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question
    
Have a look at the solution of tex.stackexchange.com/questions/11058/…, it should give you the right direction. –  Uwe Ziegenhagen 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... :-) –  Uwe Ziegenhagen 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

1 Answer 1

up vote 3 down vote accepted

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}
\renewcommand*{\rmdefault}{mdugm}

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

share|improve this answer
    
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
    
Thanks I'll see how this works :) –  dingo_d Feb 22 '13 at 22:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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