[Tex/LaTex] How to define the font size


According to LyX Wiki, I can define my font size by means of this code (in case of 10.5pt) :


   \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@
   \abovedisplayshortskip \z@ \@plus3\p@
   \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@
   \belowdisplayskip \abovedisplayskip

But how can I calculate this value in case of 14pt, 16pt, 18pt?

Best Answer

Note that defining the font size manually like this is not the normal way to do it and only for advanced users. You should use a package or class for changing the font size globally. If you simply want a larger font use \large, \Large, \LARGE, \huge, or \Huge. With LaTeX it is not common to specify the font size of a piece of text in points.

You can set the default (global) font size by using the 10pt, 11pt or 12pt class options. For more font sizes see the following threads:
Making default font size 16pt
How to specify font size less than 10pt (or more than 12pt)?

Related Question