[pdftex] Re: General Command to Change FONTS
Gerree Pecht
gerree at Math.Princeton.EDU
Thu Jul 22 14:39:21 CEST 2004
Dear Rolf:
Thanks! Appreciated!
In the meantime, the problem was solved using the following commands
in the preamble:
In LaTeX file (on Linux platform): %our software defaults to ``roman''font
\renewcommand{\familydefault}{cmss} %cmss = computer modern sans serif
\renewcommand{\rmdefault}{cmss}
\renewcommand{\sfdefault}{cmr}
\normalfont\normalsize
The above commands works for everything. Chapter/Section titles ...
however, the math mode remains the same ...
If you wish to use boldface, italic, roman, small caps in the manuscript,
text, you still need to specify {\bf Mary Had a Little Lamb}, etc.
Again, thanks for your quick response. Appreciated.
On Thu, 22 Jul 2004 Rolf.Niepraschk at ptb.de wrote:
> "Rolf Marvin Bøe Lindgren" wrote:
>
> > for plain TeX - no. you'll have to change, separately, the definitions
> > of \rm, \it, \sf, etc. for LaTeX, using a modern distribution,
> >
> > \renewcommand\rmdefault{ptm}
> >
> > will change absolutely everything based on the main text format to
> > Times.
>
> A bad solution! This changed only the text font but not the related math
> fonts. Better:
>
> \usepackage{mathptmx}
>
> maybe in addition
>
> \usepackage[scaled=0.9]{helvet}
>
> ...Rolf
>
--
Gerree P. Pecht
Princeton University Mathematics Department
(609) 258-3011
More information about the pdftex
mailing list