## Thursday, 22 April 2010

### Changing text size in LaTeX

One of the advantages with LaTeX is that you don't really have to worry about font sizes, heading layout etc. - you can just structure your document, and the LaTeX compiler will take care of the rest. You can of course set the "global" font size when declaring the document class, for example

\documentclass[10pt]{article}

However, sometimes you want to change the relative size of some block of text. To do that, use the following syntax:

{\textsize Text with different relative size}

where you can replace \textsize with any of the following sizes:

\tiny \scriptsize \footnotesize \small \normalsize
\large \Large \LARGE \huge \Huge