I want to use a font size other than the standard LaTeX list of tiny, huge, etc. How can I do that?
Related Question: Change font size inside the document.– Peter GrillDec 21, 2012 at 22:24
Set font size. The first parameter is the font size to switch to; the second is the
\baselineskipto use. The unit of both parameters defaults to pt. A rule of thumb is that the baselineskip should be 1.2 times the font size.
As @frabjous noted, you'll need to add
\selectfont afterwards to make it kick in.
42You'll need to add
\selectfontafterwards to make it kick in.– frabjousDec 29, 2010 at 21:31
Thanks . . . that works . . . but now my superscript is in the new size (not made smaller). Is there a way to tell it to keep it proportional?– William JockuschDec 30, 2010 at 0:21
Also, the baseline skip doesn't seem to do anything. It ends up that the top of the text of each line is at basically the same place as the bottom of the previous line . . . maybe a tiny bit lower, but certainly not sensible line spacing.– William JockuschDec 30, 2010 at 0:23
3@William: See Fonts at arbitrary sizes and Other "document font" sizes?.– Dennis WilliamsonDec 30, 2010 at 0:57
2Also, it has to be within the
documenttags, not in the preamble. Oct 19, 2015 at 12:10
There are a couple of LaTeX packages available that provide for additional font sizes:
moresize package offers additional commands to have a broader range (
extsizes extends the standard LaTeX classes by additional class options (
20pt for the base font, so that all fonts in the document become smaller or bigger, but remain their relative difference. Advanced document classes (memoir, but especially the KOMA-Skript bundle) provide built-in capabilities for flexible font sizes.