Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I want to use a font size other than the standard LaTeX list of tiny, huge, etc. How can I do that?

share|improve this question
    
Related Question: Change font size inside the document. –  Peter Grill Dec 21 '12 at 22:24
add comment

migrated from superuser.com Mar 16 '12 at 15:25

This question came from our site for computer enthusiasts and power users.

2 Answers

up vote 30 down vote accepted

From info latex:

\fontsize{size}{skip}
Set font size. The first parameter is the font size to switch to; the second is the \baselineskip to 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.

share|improve this answer
12  
You'll need to add \selectfont afterwards to make it kick in. –  frabjous Dec 29 '10 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 Jockusch Dec 30 '10 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 Jockusch Dec 30 '10 at 0:23
2  
@William: See Fonts at arbitrary sizes and Other "document font" sizes?. –  Dennis Williamson Dec 30 '10 at 0:57
add comment

There are a couple of LaTeX packages available that provide for additional font sizes:

The moresize package offers additional commands to have a broader range (\HUGE, \ssmall), whereas extsizes extends the standard LaTeX classes by additional class options (8pt, ... 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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.