About
Shop
LaTeX
Software
Books
Gallery
News
Contact
Blog
Settings
Latest news 2019-11-04: The giveaway of two signed copies of “Quack, quack, quack. Give my hat back!” has closed and the winning entrants have been selected. Thank you to everyone who took part.


5.1 Author and Title Information

The term title page is used to indicate the author, title and date information that can appear either on the front cover by itself or along the top of the first page of text. In order to do this, you must first specify the information. Once this information has been specified it can then be displayed.

The author, title and date are entered using the commands:

\author{<author names>}
\title{<title text>}
\date{<document date>}

The KOMA-Script classes also define:

\titlehead{<Title heading>}
\subject{<Subject>}
\subtitle{<Subtitle>}
\publishers{<Publisher>}

[The style of document titles]All these title-related commands only store information, they don't actually display anything. These commands can be put in the preamble. With most classes, you will typically need to use at least \author and \title.

Once you have used these commands, you can then display the information using the command:

\maketitle

This command should be placed where you want the title page to appear, which is normally at the start of the document environment.

Note that if you don't use the \date command, the current date will be inserted. If you want no date to appear, you need to specify an empty argument:

\date{}

Multiple authors should be separated by the command \and. For example:

\author{A. Jones\\University of Somewhere \and
B. Smith\\University of Somewhere Else}

Within these titling fields, you can also use the command:

\thanks{text}

which produces a special type of footnote. For example:

\title{A Great Project\thanks{funded by XYZ}}

Note that the footnote marker produced using \thanks is considered to have zero width, so if it occurs in the middle of a line, rather than the end, you will need to insert some extra space using \␣ (backslash space). The argument of \thanks is a moving argument.

Exercise 8: Creating Title Pages

Try editing the document you modified in Exercise 7 to include title information. Modifications are illustrated in bold like this:


\documentclass[12pt]{scrartcl}

\usepackage{datetime}

\title{A Simple Document}
\author{Me}

\begin{document}

\maketitle

This is a simple \LaTeX\␣document.
Here is the first paragraph.

Here is the second paragraph\footnote{with a footnote}.
As you can see it's a rather short paragraph, but not
as short as the previous one. This document was
created on: \today\␣at \currenttime.

\begin{tabular}{lrr}
 & \multicolumn{2}{c}{\bfseries Expenditure}\\
 & \multicolumn{1}{c}{Year1} & \multicolumn{1}{c}{Year2}\\
\bfseries Travel & 100,000 & 110,000\\
\bfseries Equipment & 50,000 & 60,000
\end{tabular}

\end{document}

You can download this document.


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