28.03.2013 Views

Guide to LaTeX (4th Edition) (Tools and Techniques

Guide to LaTeX (4th Edition) (Tools and Techniques

Guide to LaTeX (4th Edition) (Tools and Techniques

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

54 Chapter 3. Document Layout <strong>and</strong> Organization<br />

The comm<strong>and</strong><br />

\thanks{Footnote text}<br />

may be given at any point in the title, author, or date text. This puts a<br />

marker at that point where the comm<strong>and</strong> appears <strong>and</strong> writes footnote text<br />

as a footnote on the title page.<br />

The title page is created using the entries in \title, \author, \date,<br />

<strong>and</strong> \thanks when the comm<strong>and</strong><br />

\maketitle<br />

is issued. The title page itself does not possess a page number <strong>and</strong><br />

the first page of the following document is number 1. (For book, the<br />

page numbering is controlled by the special comm<strong>and</strong>s in Section 3.3.5.)<br />

A separate title page is only produced for document classes book <strong>and</strong><br />

report. For article, the comm<strong>and</strong> \maketitle creates a title heading<br />

on the first page using the centered entries from the \title, \author,<br />

<strong>and</strong>, if present, \date <strong>and</strong> \thanks declarations. If the document class<br />

option titlepage has been given, the title appears on a separate page<br />

even for the article class.<br />

An example of a title page in the st<strong>and</strong>ard L AT E X format is shown in<br />

Figure 3.2 on the previous page. Note that the current date appears<br />

au<strong>to</strong>matically since the comm<strong>and</strong> \date is missing in the definition of<br />

the title page. This comm<strong>and</strong> may be used <strong>to</strong> put any desired text in place<br />

of the date.<br />

For the unformatted title page produced with the titlepage environment,<br />

the comm<strong>and</strong>s \title <strong>and</strong> \author are left out <strong>and</strong> the entire<br />

title page is designed according <strong>to</strong> the author’s specifications within the<br />

environment. To this end he or she may make use of all the structuring<br />

comm<strong>and</strong>s described in Chapter 4. In this case the printing of the title<br />

page is implemented at the end of the titlepage environment, so the<br />

comm<strong>and</strong> \maketitle is also left out.<br />

Exercise 3.8: Remove the declarations for changing the page format in Exercises<br />

3.5–3.7. Add <strong>to</strong> your exercise text a title heading with the title ‘Exercises’,<br />

your name as author, <strong>and</strong> your address, <strong>to</strong>gether with a date entry in the form<br />

‘place, date’. To do this, write the following comm<strong>and</strong>s after \begin{document}:<br />

\title{Exercises} \author{Your name\\Your address}<br />

\date{Your <strong>to</strong>wn, \<strong>to</strong>day} \maketitle<br />

Make sure that you have selected document class article. After printing the<br />

document, change the document class comm<strong>and</strong> <strong>to</strong><br />

\documentclass[titlepage]{article}<br />

<strong>to</strong> put the title information on <strong>to</strong> a title page instead of a title heading. Deactivate<br />

these comm<strong>and</strong>s by putting the comment character % at the beginning of each of<br />

the lines. In this way you avoid getting a title page in the following exercises but<br />

you can easily reactivate the comm<strong>and</strong>s simply by removing the % characters.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!