## Wednesday, July 21, 2010

### Changing font for the whole .pdf document generated by LaTeX

The font changing for the whole document generated by LaTeX could be done by specifying the following line in the LaTeX preamble:

`\renewcommand{\rmdefault}{cmss}`

from here

If you want to use non-default font, you should to install the corresponding package first. The "winfonts" package contains the following fonts:

`Arial           Franklin Gothic     Tahoma           Comic Sans`
`Georgia             TimesCourier New     Palatino Linotype   Verdana`
`\renewcommand{\rmdefault}{verdana}`