Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to set LaTeX font size in millimeter?

I need to set the font size in millimeters in my LaTeX document. how can I do that?

thank you!

like image 683
cd1 Avatar asked May 20 '09 20:05

cd1


1 Answers

Are you using Type 1 fonts (that is, infinitely scalable fonts)? If not, you'll need to do something like \usepackage{lmodern} (that selects my preferred fonts, the Latin Modern version of Computer Modern). Then just enter a command like

\fontsize{8mm}{9mm}\selectfont

and the following text will be in a font 8 mm high on a 9 mm baseline. If you need to set the size of more than a small amount of text in this way, you will probably have to go into the document class definition -- good luck; I stay as far away from those as I possibly can.

like image 181
kquinn Avatar answered Sep 28 '22 08:09

kquinn