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 – creating a title page

In Chapter 2, we have already used some formatting commands such as \centering and font size and shape commands such as \Huge and \bfseries to format a title. We shall do it similarly within a titlepage environment:

  1. Create a file title.tex with the following content:
    \begin{titlepage}
    \raggedleft
    {\Large The Author\\[1in]}
    {\large The Big Book of\\}
    {\Huge\scshape Equations\\[.2in]}
    {\large Packed with hundreds of examples and solutions\\}
    \vfill
    {\itshape 2011, Publishing company}
    \end{titlepage}
  2. Our final book shall have A5 format, and so shall the title page. Therefore, let's add that to the preamble:
    \usepackage[a5paper]{geometry}
  3. Typeset. Now we've got a title page:

What just happened?

The titlepage environment ...

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