About
Shop
LaTeX
Software
Books
Gallery
News
Contact
Blog
Settings
Account


4.5.2 Changing the Font Size

When you start writing a document, you need to decide what the base font size should be. The KOMA-Script classes default to 11pt, but this can be changed using the class options 8pt, 9pt, 10pt, 12pt, 14pt, 17pt or 20pt.

You can then change the font size relative to the base size, using one of the declarations shown in Table 4.7. That way, if you later decide to change the normal font size from, say, 11pt to 12pt, all you need do is change the class option (see earlier) and re-run LaTeX. Note that there are no equivalent text-block commands.


Table 4.7: Font Size Changing Declarations
 Declaration Example Input Corresponding Output  
 \tiny \tiny tiny text tiny text  
 \scriptsize \scriptsize script size script size  
 \footnotesize \footnotesize footnote size footnote size  
 \small \small small text small text  
 \normalsize \normalsize normal size normal size  
 \large \large large text large text  
 \Large \Large even larger even larger  
 \LARGE \LARGE larger still larger still  
 \huge \huge huge huge  
 \Huge \Huge extra huge extra huge  
        


Again, environments can be used instead, where each environment has the same name as its corresponding declaration, but without the preceding backslash. Font environments may be nested, for example:

\begin{itshape} Some italic text. \begin{Large}This text is large.\end{Large} \end{itshape} Back to normal.

Output:

Some italic text. This text is large. Back to
normal.


This book is also available as A4 PDF or 12.8cm x 9.6cm PDF or paperback (ISBN 978-1-909440-00-5).

© 2012 Dickimaw Books. "Dickimaw", "Dickimaw Books" and the Dickimaw parrot logo are trademarks. The Dickimaw parrot was painted by Magdalene Pritchett.

Terms of Use Privacy Policy Cookies Site Map FAQs