File: ex3.tex

package info (click to toggle)
tetex-src 3.0.dfsg.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 122,292 kB
  • ctags: 2,709
  • sloc: makefile: 2,323; perl: 1,820; sh: 1,378; lisp: 448; python: 335; xml: 175; sed: 138; ansic: 138; yacc: 52
file content (68 lines) | stat: -rw-r--r-- 2,191 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
\documentclass[a4paper]{article}
\usepackage{palatino}
\begin{document}
\title{Third exercise}
\author{by Yours Truly}
\date{The Ides of March}
\maketitle
\tableofcontents
\listoffigures
\section*{Abstract}
Your job in this, as in other exercises, is simply to reproduce
this page using \LaTeX. This section practices tables, figures and titles.

You also need to understand, of course, to know how to make the
title of this section unnumbered.
\section{Getting started}
\section{Carrying on}
\subsection{A few problems}
\subsection{Recovering from errors}
\section{How to make a perfect Chaffcombe apple pudding}
\begin{figure}
\begin{footnotesize}
\begin{flushright}
There
is nothing surprising in this.  If they but knew it, almost all men in
their degree, some time or other, cherish very nearly the same
feelings towards the ocean with me.  There now is your insular city of
the Manhattoes, belted round by wharves as Indian isles by coral
reefs --- commerce surrounds it with her surf.  Right and left, the
streets take you waterward.  Its extreme down-town is the battery,
where that noble mole is washed by waves, and cooled by breezes, which
a few hours previous were out of sight of land.  Look at the crowds of
water-gazers there.  Circumambulate the city of a dreamy Sabbath
afternoon.  Go from Corlears Hook to Coenties Slip, and from thence,
by Whitehall northward.  What do you see? --- Posted like silent sentinels
all around the town, stand thousands upon thousands of mortal men
fixed in ocean reveries.  Some leaning against the spiles; some seated
upon the pier-heads; some looking over the bulwarks glasses!
\end{flushright}
\end{footnotesize}
\caption{A portion of \emph{Moby Dick} by Hermann Melville}
\end{figure}


\begin{figure}
\begin{tabbing}
Country \= cats \= dogs \= antelopes \= lions \\
UK \>615\>412\>1\> 5\\
Kenya \>13\>45\>145\> 57\\
\end{tabbing}
\caption{Not much of a figure really}
\end{figure}

\begin{table}
\begin{center}
\begin{tabular}{|c|rrrr|}
\hline
Country & cats & dogs & antelopes & lions \\
\hline
UK &615&412&1& 5\\
Kenya &13&45&145& 57\\
\hline
\end{tabular}
\end{center}
\caption{This table is a bit better}
\end{table}

\end{document}