O'Reilly logo

LaTeX Beginners Guide by Stefan Kottwitz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – exploring font sizes

We will try out every font size available by LaTeX's default font size commands. For testing, we exceptionally use them in the body text—their main use is in the macro definitions:

  1. Create a document with the following code:
    \documentclass{article}
    \begin{document}
    \noindent\tiny We \scriptsize start \footnotesize \small small,
    \normalsize get \large big \Large and \LARGE bigger,
    \huge huge and \Huge gigantic!
    \end{document}
  2. Typeset and observe the output:
    Time for action – exploring font sizes

What just happened?

At first, we used \noindent . This command suppresses the paragraph indentation. Then we used all 10 available size declarations, starting ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required