Designing a title page
We can quickly create a good-looking title page using \maketitle
, as we did in Chapter 2, Formatting Text and Creating Macros. Document classes usually offer this command to generate a suitable pre-formatted title page. Alternatively, you could use a titlepage
environment to design its layout freely. So, let's design a nice title page for our book of equations.
In Chapter 2, Formatting Text and Creating Macros, 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 will do it similarly within a titlepage
environment:
- 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}
- Add this line right after
\frontmatter
:\include...