Sign up ×
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.

How can I enforce pslatex to use Computer Modern font for math?

(I know, it would be much easier to use pdflatex, but my publisher uses pslatex.)

EDIT: Example:

${\cal P} = {\cal Q}$  

If you compile it with latex and pslatex the fonts are different.

Unfortunately, the recommendations of Herbert do not help for the following reasons:
1. As I said, the publisher uses pslatex and not latex.
2. The other two recommendations change both text and math fonts. I need to change math fonts only.

share|improve this question
CM is the default font for TeX: we need a minimal example here. – Joseph Wright Dec 23 '10 at 9:12
If your editor wants to use pslatex, then altering any of the font seems like A Bad Thing. Have you checked with them about this? – Joseph Wright Dec 23 '10 at 13:46

2 Answers 2

\SetSymbolFont{operators}   {normal}{OT1}{cmr} {m}{n}
\SetSymbolFont{letters}     {normal}{OML}{cmm} {m}{it}
\SetSymbolFont{symbols}     {normal}{OMS}{cmsy}{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}{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}

foo $y=f(x)$ bar


voss@shania:~> pdffonts test3.pdf
name                                 type              emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
SBTDDY+CMR10                         Type 1C           yes yes no      12  0
OWQAHD+CMMI10                        Type 1C           yes yes no      10  0
YXBNUU+NimbusRomNo9L-Regu            Type 1C           yes yes no       8  0
share|improve this answer
None of that should affect math fonts: these are all text-mode things. – Joseph Wright Dec 23 '10 at 10:22
yes, it is the same as pslatex.sty does without defining the math stuff, which is now taken from lmodern, same as cm – Herbert Dec 23 '10 at 11:13


\AtBeginDocument{\RequirePackage{lmodern, times}}

(Thanks a lot for your help, Herbert!!)

share|improve this answer
(For posterity, Herbert suggested this in the comments to a now deleted answer.) – Hendrik Vogt Jan 5 '11 at 19:50

Your Answer


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