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.

4.3 Lists<br />

4.3. Lists 69<br />

Exercise 4.2: Make up a new file with the name poem.tex <strong>and</strong> type your favorite<br />

poem in the verse environment. Select 12pt as the st<strong>and</strong>ard font size <strong>and</strong> italic<br />

as the typeface. Put the title of the poem before the verse environment in a<br />

larger bold typeface, such as \Large\bfseries. Include the name of the poet<br />

right justified.<br />

Note: remember that you may include declarations <strong>to</strong> change the font style or<br />

size within an environment <strong>and</strong> that these remain in effect only until the end of<br />

that environment.<br />

Exercise 4.3: Make up another file with the name title.tex. Do you recall<br />

the titlepage environment for producing a free-form title page? If not, refer<br />

<strong>to</strong> Section 3.3.1. Create a title page with this environment using font sizes <strong>and</strong><br />

styles of your choice, centering all the entries.<br />

Note: within the titlepage environment you may of course make use of the<br />

center environment, but it is also sufficient <strong>to</strong> give the \centering declaration<br />

instead, since this will remain in effect only until the end of the titlepage<br />

environment.<br />

Choose the individual line spacings with the comm<strong>and</strong> \\[len] using an<br />

appropriate value for the spacing len. Remember that vertical spacing before the<br />

first line of text must be entered with the *-form of the comm<strong>and</strong> \vspace*[len]<br />

(see Section 2.7.3).<br />

Experiment with different font sizes <strong>and</strong> styles for the various parts of the<br />

title page, such as title, author’s name, address, until you are satisfied with the<br />

results.<br />

Compare your own title page with that of Exercise 3.8. If your creation appeals<br />

<strong>to</strong> you more, include it in your st<strong>and</strong>ard exercise file by replacing the comm<strong>and</strong>s<br />

\title, \author, \date, <strong>and</strong> \maketitle with the titlepage environment <strong>and</strong><br />

your own entries.<br />

There are three environments available for producing formatted lists:<br />

\begin{itemize} list text \end{itemize}<br />

\begin{enumerate} list text \end{enumerate}<br />

\begin{description} list text \end{description}<br />

In each of these environments, the list text is indented from the left margin<br />

<strong>and</strong> a label, or marker, is included. What type of label is used depends<br />

on the selected list environment. The comm<strong>and</strong> <strong>to</strong> produce the label is<br />

\item.<br />

4.3.1 Sample itemize<br />

• The individual entries are indicated with a black dot, a so-called<br />

bullet, as the label.

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

Saved successfully!

Ooh no, something went wrong!