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:


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
You can download it from here:
The readme file on how to install the package is also included.
Now you can use a non-default font for the pdf:


If the source LaTeX document is genereted by Sphinx you should add the line in the end of the "latex_preamble" in the

No comments:

Post a Comment