You are on page 1of 74

LATEX 2

LATEX 2

Tobias Oetiker
Hubert Partl, Irene Hyna and Elisabeth Schlegl
Version 2.2-Beta, 25th January, 1996

.

()
This document is public domain''. It may be printed and distributed free of charge in its original form
(including the list of authors). If it is changed or if parts of it are used within another document,
then the author list must include all the original authors AND that author (those authors) who has (have) made the changes. When this document is used commercially, the GNU copyleft applies.

'' (
) (
) GNU copyleft


LATEX 2.09 :
Hubert Partl <partl@mail.boku.ac.at>
Zentraler Informatikdienst der Universitat fur Bodenkultur Wien

Irene Hyna

<Irene.Hyna@bmwf.ac.at>

Bundesministerium fur Wissenschaft und Forschung Wien

Elisabeth Schlegl <no email>


in Graz

LATEX 2 Jorg Knappen


CTAN:/tex-archive/info/lkurz

comp.text.tex




Rosemary Bailey, Friedemann Brauer David Carlisle, Christopher Chin,
Chris McCormack, Wim van Dam, David Dureisseix, Elliot, David Frey,
Robin Fairbairns, Erik Frisk, Alexandre Guimond, Cyril Goutte,
Greg Gamble, Neil Hammond, Rasmus Borup Hansen, Martien Hulsen,
Werner Icking, Jakob, Eric Jacoboni, Alan Jeffrey, Byron Jones, David Jones,
Johannes-Maria Kaltenbach, Andrzej Kawalec, Alain Kessi, Christian Kern,
Jorg Knappen, Kjetil Kjernsmo, Maik Lehradt, Martin Maechler,
Claus Malten, Hubert Partl, John Refling, Mike Ressler, Brian Ripley,
Young U. Ryu, Chris Rowley, Hanspeter Schmid, Craig Schlenter,
Josef Tkadlec, Didier Verna, Fabian Wernli, Fritz Zaucker, Rick Zaccone, and
Mikhail Zotov


[1]

LATEX TEX [2]
LATEX 2 LATEX
LATEX [1, 3]
LATEX
LATEX
Local Guide [4] LATEX
LATEX
LATEX
:
LATEX

LATEX 2
LATEX LATEX


LATEX
LATEX
LATEX
LATEX
LATEX
eps



LATEX CTAN
ftp.shsu.edu ftp.dante.de ftp.tex.ac.uk

LATEX CTAN:/tex-archive/systems

()

LATEX

Tobias Oetiker

<oetiker@ee.ethz.ch>

Department of Electrical Engineering,


Swiss Federal Institute of Technology

: CTAN:/tex-archive/info/lshort

:


: c.visavakul@rajchavit.com

. . . . . . . . . . . . . . . . . .
.. TEX . . . . . . . . . . . . . . . .
.. LATEX . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . .
..
.. . . . . . . . . . .
.. . . . . . . . . .
. LATEX . . . . . . . . . . . . .
.. . . . . . . . . . . . . . . . .
.. . . . . . . . . . . .
.. LATEX . . . . . . . . .
.. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
.. . . . . . . . . . .
.. . . . . . . . . . . . .
.. . . . . . . . . .
. . . . . . . . . . . . . . . . .

. . . .
.. . . . . .
.. . . . . .
. . . . .
.. . . . .
.. . . . . . .
.. . . .
.. . . . . . . .
..
. . . . . .
. . . . . . . . . . .
. . . . . . . .
. . . . . . . . . .
. . . . . . . . . . . . . . .

.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.

()

.
.

. . . . . . . . . . . . . .
. . . . . . . . . . . . . .
..
.. .
..
.. . . . . .
.. . . . . .
. . . . . . . . . . . . . . .
. . . .
.. . . . .
.. . . .

. . . . . . . . . . .
. .
. . . .
. . . .
. . . . .
. .
. . . . . .
. . . . . . . .
. . . . . .
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.

. . . . .
. . . . . . . . . . . . .
.. .
.. . . . .
..
.. .
. . . .
. . . . . . . . . .
. . . . . . . . . . . . .
. EPS . . .

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

...
...
..
...
...
...
...
...
...
...
...
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.


.
.

LATEX . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . .


.
.
.
.

. . . . . . . . . . . .
. . . . .
LATEX
LATEX . . . .

.
.
.
.

.
.

. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . .
AMS . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
AMS . . . . . . . . . .
AMS . . . . . . . . . . . . . . . . . .
AMS
AMS . . . . . . . . .
AMS . . . . . . . . . . . . .
. . . . . . . . . . .

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.

. . . . . . . . . . .
. . . . . . . . . .
. . . . . . . .
TEX . . . . . .
key
key graphicx

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.

.
.
.
.
.
.

.
.
.
.

.
.
.
.
.
.

.
.
.
.

.
.
.
.
.
.

.
.
.
.

.
.
.
.
.
.

.
.
.
.

.
.
.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

LATEX 2
LATEX
LATEX

..

TEX

Donald E. Knuth [2]

TEX '' Tech'' ch'' Ach''


Loch'' ASCII TEX TeX
TEX

..

LATEX


LATEX Leslie
Lamport [1] TEX
LATEX LATEX 3 Frank Mittelbach

LATEX 2.09 LATEX 2
LATEX 2
LATEX Lay-tech'' Lah-tech'' LATEX ASCII
LaTeX LATEX 2 Lay-tech two e'' LaTeX2e
LATEX

..


(, ,
'' Achtung'' ''
Lochness''

, . . . )


,
, ,
LATEX LATEX TEX
LATEX
LATEX

LATEX''
WYSIWYG
Word for Windows WordPerfect

LATEX
LATEX

..


''

:

..

WYSIWYG LATEX
LATEX ''

. . .
LATEX :

What

you see is what you get

. LATEX

LATEX
PostScript

The LATEX Companion [3]
LATEX

LATEX

LATEX 2
LATEX

TEX

LATEX

( , , )
LATEX
Word for Windows 6.0 LATEX
CPU LATEX WYSIWYG
CPU WYSIWYG
CPU

LATEX

LATEX ASCII (plain text)



LATEX

..
(blank) (tab)
LATEX '' (space)
'' LATEX
''



It does not matter whether you
enter one or several
spaces
after a word.
An empty line starts a new
paragraph.

It does not matter whether you enter one or several


spaces after a word.
An empty line starts a new paragraph.

LATEX

..

(reserved characters)
LATEX
LATEX
$&%#_{}~^\


\' :
\$ \& \% \# \_ \{ \}

&%#

{}

..

LATEX

LATEX

(backslash) \
,


{}
{} LATEX
LATEX

Knuth
Knuth TEX
\TeX{}
TEXnician TEXperts
\TeX{}nician \TeX perts\\

.. .
\today.
(parameter) (curly
braces) { } (optional parameters)
(square brackets) [ ]
LATEX
You can \textsl{lean} on me!

You can lean on me!

!\linebreak[4]

..

LATEX %

%
% :

LATEX (structure)

\documentclass{...}


LATEX

\usepackage{...}

\begin{document}

LATEX

\end{document}
LATEX
. LATEX .

..
LATEX

\documentclass[options]{class}

class
. LATEX

\documentclass \begin{document} preamble

\documentclass{article}
\begin{document}
Small is beautiful.
\end{document}
.: LATEX

letter slide options



.

..

LATEX
(graphics) (coloured text)
LATEX
LATEX
\usepackage[option]{package}

package option

LATEX ( .)
Local Guide [4]
LATEX The LATEX Companion [3]

\documentclass[a4paper,11pt]{article}
\usepackage{latexsym}
\author{H.~Partl}
\title{Minimalsm}
\frenchspacing
\begin{document}
\maketitle
\tableofcontents
\section{Start}
Well and here begins my lovely article.
\section{End}
\ldots{} and here it ends.
\end{document}
.:
.:
article , ,
, , , . . .
report , ,
, . . .
book
slide sans serif

.:
10pt, 11pt, 12pt
10pt

a4paper, letterpaper, . . .

letterpaper a5paper, b5paper,
executivepaper legalpaper
fleqn

leqno

titlepage, notitlepage (document name)


article report
book
twocolumn

LATEX (two column)

twoside, oneside
article report (oneside)
book (twoside)
openright, openany
article
report book

.: LATEX
doc LATEX doc.dtxa The LATEX
Companion [3]
exscale
ltexscale.dtx
fontenc LATEX
ltoutenc.dtx
ifthen
if. . . then do. . . otherwise do. . . '
ifthen.dtx The LATEX Companion [3]
latexsym symbol
latexsym.dtx The LATEX Companion [3]
makeidx . The
LATEX Companion [3]
syntonly
syntonly.dtx The LATEX Companion [3]
LATEX
inputenc ASCII, ISO
Latin-1, ISO Latin-2, 437/850 IBM code pages, Apple Macintosh, Next,
ANSI-Windows user-defined. inputenc.dtx
a

dvi latex doc


..

(page style) (header)


(footer) style
LATEX

\pagestyle{style}

.
.: LATEX
plain

headings
()
empty

\thispagestyle{style}

The LATEX Companion [3]

LATEX

\include{filename}

LATEX
filename
preamble LATEX

\includeonly{filename,filename,. . . }

preamble \include
\includeonly

\include
\includeonly

\includeonly

\input{filename}

LATEX

..

LATEX




..
LATEX :
\\ \newline

\\*


\newpage

\linebreak[n], \nolinebreak[n], \pagebreak[n] \nopagebreak[n]

n n
LATEX LATEX

LATEX

LATEX overfull hbox'' LATEX
\sloppy LATEX


underfull hbox''
\fussy LATEX

..


TEX
LATEX

\hyphenation{word list}

(word list) -''




hyphenation'' Hyphenation''
FORTRAN'', Fortran'' fortran''
:
\hyphenation{FORTRAN Hy-Phen-a-tion}
\-
( )
LATEX
: su\-%
per\-cal\-i\-frag\-i\-lis\-%
tic\-ex\-pi\-al\-i\-do\-cious

: supercalifragilisticexpialidocious


\mbox{text}

(text)

\mbox{0116 291 2319}

\mbox{\emph{filename}}

..


0116 291 2319
filename

(quotation mark) "



LATEX
'
x' ''

..

x' ''

LATEX

:
--, -, -\\
--\\
--- ?\\
$0$, $1$ $-1$

--, -, -

?
0, 1 1

: - (hyphen), -- (en-dash), ---


(em-dash) $-$ (minus sign)

..

(comma) (period)

'' (ellipsis)

\ldots

... :\\
, , , \ldots

... :
, , , . . .

..

ff fi fl ffi. . .

ff fi fl ffi . . .

(ligature) \mbox{}

Not shelfful\\
Not shelfful
but shelf\mbox{}ful
but shelfful

..

(accent) (special character)


. o'

i' j'
\i \j
LATEX

H\^otel, na\"\i ve, \'el\'eve,\\


sm\o rrebr\o d, !Se\~norita!,\\
Sch\"onbrunner Scholo\ss{}
stra\ss e

Hotel, nave, eleve,


smrrebrd, !Senorita!,
Schonbrunner Scholo strae

.:
`o
o
o
o.

\o
\=o
\u o
\d o
\oe
\aa
\o
\i

o
o
o

\'o
\.o
\v o
\b o
\OE
\AA
\O
\j

o
o

\^o
\"o
o \H o
o o \t oo
\ae
l

\l
!

\~o

\c o

\AE

\L
?

(language) LATEX
(hyphenation rules)
babel Johannes
Braams LATEX
Local Guide [4]

babel

\usepackage[language]{babel}

\documentclass language

babel
German umlauts (aou) babel o
"o \"o
LATEX
LATEX 2 . (.1994)
LATEX 2
inputenc
umlaut a
132 ISO-LATIN-1 228

LATEX

LATEX
( LATEX )


\' LATEX
~' \@

Mr.~Smith was happy to see her\\
cf.~Fig.~5\\
I like BASIC\@. What about you?

Mr. Smith was happy to see her


cf. Fig. 5
I like BASIC. What about you?

\frenchspacing

LATEX
\frenchspacing
\@


LATEX

(article)
\section{...}
\subsection{...}
\subsubsection{...}

\paragraph{...}
\subparagraph{...}
\appendix

(report) (book)
:
\part{...}

\chapter{...}

(chapter) (article)

LATEX

\part

\appendix

LATEX
LATEX

\tableofcontents

LATEX LATEX
(table of contents) LATEX
LATEX
''
'' *'

\section{Help} \section*{Help}

\chapter[ ]{
...
}
(title)
\maketitle


\title{...}, \author{...} \date{...}

\maketitle \author \and


.
LATEX 3
(book)
\frontmatter, \mainmatter \backmatter

(cross references)
LATEX
\label{marker}, \ref{marker} \pageref{marker}

marker LATEX \ref


\label \pageref
\label

\label{sec:this} :
~\ref{sec:this}
~\pageref{sec:this}''

:
. ''

\footnote{footnote text}

(footnote text)
\footnote{}
LATEX

a LATEX
a



\emph{text}

\emph{If you use


\emph{emphasising} in an
already emphasised text, then
\LaTeX{} uses an
\emph{upright} font for
emphasising.}

If you use emphasising in an already emphasised text,


then LATEX uses an upright font for emphasising.

LATEX (environment)

\begin{name} text

\end{name}

name

\begin{aaa}...\begin{bbb}...\end{bbb}...\end{aaa}

..

itemize enumerate
description
\begin{enumerate}
\item

\begin{itemize}
\item
\item[-]
\end{itemize}
\item :
\begin{description}
\item{}

\item{}

\end{description}
\end{enumerate}

..

. :



flushleft flushright (left aligned, right aligned)


center \\
LATEX

\begin{flushleft}
\\
\LaTeX{}

\end{flushleft}

LATEX

\begin{flushright}
\\
\LaTeX{}

\end{flushright}

LATEX

\begin{center}
\\
\end{center}

..

quote

:
\begin{quote}



\LaTeX{}
\end{quote}


LATEX

quotation verse quotation


verse
\\

\begin{flushleft}
\begin{verse}
\\
\\
\\
\\[5pt]
\\
\\
\\
\\
\end{verse}
\end{flushleft}

..

\begin{verbatim} \end{verbatim}

LATEX

\verb+text+

+'
*' LATEX
\verb|\ldots| \ldots
\begin{verbatim}
10 PRINT "HELLO WORLD ";
20 GOTO 10
\end{verbatim}
\begin{verbatim*}
verbatim


\end{verbatim*}

\ldots . . .
10 PRINT "HELLO WORLD ";
20 GOTO 10

verbatim

\verb
\verb*| :-) |

:-)

verbatim \verb

..

tabular (table)
LATEX
table spec
\begin{tabular}{table spec}

l r c
p{width}
|
tabular & \\ \hline

\begin{tabular}{|r|l|}
\hline
7C0 & \\
7C0
3700 & \\
3700
11111000000 & \\
11111000000
\hline \hline
1984 & \\
1984
\hline
\end{tabular}
\begin{tabular}{|p{4.7cm}|}
\hline

\\
\hline
\end{tabular}

@{...}

@{}
\begin{tabular}{@{} l @{}}
\hline
\\\hline
\end{tabular}
\begin{tabular}{l}
\hline
\\
\hline
\end{tabular}

'' :
@{} \begin{tabular}
.''
&

\multicolumn
\begin{tabular}{c r @{.} l}
&
\multicolumn{2}{c}{}\\
\hline
$\pi$ & 3&1416 \\
$\pi^{\pi}$ & 36&46 \\
$(\pi^{\pi})^{\pi}$ & 80662&7 \\
\end{tabular}
|

( )

3.1416
36.46
80662.7





'
LATEX
(floating bodies) (table) (figure)
LATEX
LATEX

LATEX
figure table

\begin{figure}[placement specifier] \begin{table}[placement specifier]

placement specifier LATEX


(float
placing permissions) .

\begin{table}[!hbp]
[!hbp] LATEX (h) (b)
(p) (!)
[tbp]

dcolumn



LATEX
( h' )
LATEX

:
LATEX

LATEX

table figure

\caption{caption text}

Figure'' Table''
LATEX

\listoffigures \listoftables

\tableofcontents


\caption
\caption[]{:
}
\label \ref


(first in first
'' ''

out)
()

.:

h
t
b
p
!

. . .

~\ref{white} Pop-Art
\begin{figure}[!hbp]
\makebox[\textwidth]{\framebox[5cm]{\rule{0pt}{5cm} } }
\caption{} \label{white}
\end{figure}
LATEX (!) (h)
(b)
(p)
LATEX

\clearpage \cleardoublepage

LATEX
\cleardoublepage
PostScript LATEX

LATEX

LATEX
LATEX

LATEX

..


\newcommand{ name}[num]{definition}

argument name definition


num
9
\tnss
The not so Short introduction to LATEX 2 ''

\newcommand{\tnss}
{ \LaTeXe }
%
\tnss'' \ldots \\\tnss''

LATEX 2 '' . . .
LATEX 2 ''

.
num #1
#2
\newcommand{\txsit}[1]
{ \LaTeXe #1}
%
LATEX 2
\begin{itemize}
\item \txsit{}
LATEX 2
\item \txsit{}
\end{itemize}

\renewcommand
\newcommand \providecommand
\newcommand LATEX

LATEX

..
\newcommand

examples'' '', ''
\newenvironment
\newenvironment{ name}[num]{ before}{after}

\newcommand \newenvironment
(option) before
after \end{name}
\newenvironment
\newenvironment{king}
{\begin{quote}} {\end{quote}}
%
\begin{king}
. . .
\ldots
\end{king}
num \newcommand LATEX
\renewenvironment
\newenvironment



AMS-LATEX

.
\(
\) $ $ \begin{math} \end{math}
LATEX

$a$
$b$ $c$
:
$c^{2}=a^{2}+b^{2}$
\TeX{}
$\tau\epsilon\chi$ \\[6pt]
100~m$^3$ \\[6pt]
$\heartsuit$

a b
c : c2 = a2 + b2


100 m3

TEX


\[ \], $ $ \begin{displaymath}
\end{displaymath} LATEX
equation
$a$
$b$ $c$
:
\begin{displaymath}
c^{2}=a^{2}+b^{2}
\end{displaymath}

a b
:

c2 = a2 + b2

\label \ref

\begin{equation}
\label{eq:eps}
\epsilon > 0
\end{equation}
(\ref{eq:eps}) \ldots

(.)

>0

(.) . . .

\centering
$\lim_{n \to \infty}
\sum_{k=1}^n \frac{1}{k^2}
= \frac{\pi^2}{6}$
\begin{displaymath}
\lim_{n \to \infty}
\sum_{k=1}^n \frac{1}{k^2}
= \frac{\pi^2}{6}
\end{displaymath}

limn

Pn

1
k=1 k2

2
6

n
X
2
1
=
2
n
k
6

lim

k=1

(math mode) (text


mode) :
.
\, \quad \qquad
\begin{equation}
\forall x \in \mathbf{R}:
\qquad x^{2} \geq 0
\end{equation}

x R :

x2 0

(.)

.
.
() \textrm{...}
\begin{equation}
x^{2} \geq 0\qquad
\textrm{ }x\in\mathbf{R}
\end{equation}

x2 0

x R

'
(blackboard bold) \mathbb amsfonts amssymb

\begin{equation}
x^{2} \geq 0\qquad
\textrm{ }x\in\mathbb{R}
x2 0
x R
\end{equation}

.

{...}

(.)

(.)

\begin{equation}
a^x+y \neq a^{x+y}
\end{equation}

(.)

ax + y 6= ax+y


.
\alpha, \beta, \gamma, . . . \Gamma, Delta, . . .
$\lambda, \xi, \pi, \mu, \Phi, \Omega$

, , , , ,

^ _
$a_{1}$ \qquad $x^{2}$ \qquad
$e^{-\alpha t}$\qquad
$a^{3}_{ij}$\\
$e^{x^2} \neq {e^x}^2$

et

a1
x2
2
2
ex 6= ex

\sqrt
\surd
$\sqrt{x}$ \qquad
$\sqrt{x^{2}+\sqrt{y} }$ \qquad
$\sqrt[3]{2}$ \\[3pt]
$\surd[x^2 + y^2]$

\sqrt[n]

a3ij

LATEX

x
x2 + y
2
[x + y 2 ]

\overline \underline
$\overline{m+n}$

m+n

\overbrace \underbrace

$\underbrace{a+b+\cdots+z}_{s26}$

a + b + + z
|
{z
}
s26

(accent)
. \widetilde \wildhat
'
\begin{displaymath}
y=x^{2}\qquad y'=2x\qquad y''=2
\end{displaymath}

y = x2

y 0 = 2x

y 00 = 2

\vec A B
\overrightarrow \overleftarrow
Alpha

LATEX 2

\begin{displaymath}
\vec a\quad\overrightarrow{AB}
\end{displaymath}

AB

~a

log LATEX

\arccos
\arcsin
\arctan
\arg

\cos
\cosh
\cot
\coth

\csc
\deg
\det
\dim

\exp
\gcd
\hom
\inf

\ker
\lg
\lim
\liminf

\limsup
\ln
\log
\max

\min
\Pr
\sec
\sin

\sinh
\sup
\tan
\tanh

\[ \lim_{n \rightarrow 0}
\frac{\sin x}{x}=1 \]

lim

n0

sin x
=1
x

\bmod binary operator a mod b'' \pmod


x a (mod b).''
\frac{...}{...} 1/2

$1\frac{1}{2}$~hours
\begin{displaymath}
\frac{ x^{2} }{ k+1 } \qquad
x^{ \frac{2}{k+1} } \qquad
x^{ 1/2 }
\end{displaymath}

1 12
x2
k+1

hours
2

x k+1

x1/2

(binomial coefficient) {... \choose ...}


{... \atop ...}
\begin{displaymath}
{n \choose k} \qquad {x \atop y+2}
\end{displaymath}

 
n
k

x
y+2

\int \sum
^ _
\begin{displaymath}
Z
n
\sum_{i=1}^{n} \qquad
X
\int_{0}^{\frac{\pi}{2}} \qquad
0
i=1
\end{displaymath}

TEX ( [ h; k )
\{ .
\begin{displaymath}
{a, b, c}\neq\{a, b, c\}
\end{displaymath}

a, b, c 6= {a, b, c}

\left
\right : \right \left
\right.'
TEX

\begin{displaymath}
1 + \left( \frac{1}{1-x^{2} }
\right) ^3
\end{displaymath}


1+

1
1 x2

3

\big, \Big, \bigg \Bigg

$\Big( (x+1) (x-1) \Big) ^{2}$ \\


$\big(\Big(\bigg(\Bigg($\quad
$\big\}\Big\}\bigg\}\Bigg\}$\quad
$\big\|\Big\|\bigg\|\Bigg\|$

2
(x + 1)(x 1)

)



o







\ldots \cdots
\vdots \ddots
.
\begin{displaymath}
x_{1},\ldots, x_{n} \qquad
x_{1}+\cdots+x_{n}
\end{displaymath}

x1 + + xn

x1 , . . . , xn

.
TEX
: \, , \ (\ ), \quad \qquad
\!
\newcommand{\ud}{\mathrm{d}}
\begin{displaymath}
\int\!\!\!\int_{D} g(x, y)
\, \ud x\, \ud y
\end{displaymath}

\begin{displaymath}
\int\int_{D} g(x, y)\ud x \ud y
\end{displaymath}

ZZ
g(x, y) dx dy
D

Z Z
g(x, y)dxdy
D

d'

.
array tabular \\

11pt
12pt exscale amsmath

\begin{displaymath}
\mathbf{X} =
\left( \begin{array}{ccc}
x_{11} & x_{12} & \ldots \\
x_{21} & x_{22} & \ldots \\
\vdots & \vdots & \ddots
\end{array} \right)
\end{displaymath}

x11
x21
X=

..
.

x12
x22

..
.

...
...

...

array .''
\right
\begin{displaymath}
y = \left\{ \begin{array}{ll}
a & \textrm{ $d>c$} \\
b+x & \textrm{} \\
l & \textrm{}
\end{array} \right.
\end{displaymath}

a
b+x
y=

d > c

eqnarray eqnarray*
equation eqnarray
eqnarray*
eqnarray eqnarray* 3 {rcl}

\\
\begin{eqnarray}
f(x) & = & \cos x \\
f'(x) & = & -\sin x \\
\int_{0}^{x} f(y)dy &
= & \sin x
\end{eqnarray}

f (x) = cos x
f 0 (x) = sin x
Z

f (y)dy

sin x

(.)
(.)
(.)


\setlength\arraycolsep{2pt}

{\setlength\arraycolsep{2pt}
\begin{eqnarray}
\sin x & = & x -\frac{x^{3}}{3!}
+\frac{x^{5}}{5!}-{} \nonumber \\
& & {}-\frac{x^{7}}{7!}+{}\cdots
\end{eqnarray} }

x5
x3
+

3!
5!
x7

+
7!

sin x = x

(.)

\begin{eqnarray}
\lefteqn{ \cos x = 1
-\frac{x^{2}}{2!} + {} }
\nonumber \\
& & {}+\frac{x^{4}}{4!}
-\frac{x^{6}}{6!}+{}\cdots
\end{eqnarray}

x2
+
2!
x4
x6
+

+
4!
6!

cos x = 1

\nonumber LATEX

amsmath

(.)

.
TEX
(roman) \textrm
\textrm
\mathrm \mathrm

\begin{equation}
2^{\textrm{nd} } \quad
2^\mathrm{nd}
\end{equation}

2nd

LATEX

(.)

2nd

\displaystyle (123), \textstyle (123), \scriptstyle (123) \scriptscriptstyle ( )


123

\begin{displaymath}
\mathop{\mathrm{corr}}(X,Y)=
\frac{\displaystyle
\sum_{i=1}^n(x_i-\overline x)
(y_i-\overline y)}
{\displaystyle\biggl[
\sum_{i=1}^n(x_i-\overline x)^2
\sum_{i=1}^n(y_i-\overline y)^2
\biggr]^{1/2} }
\end{displaymath}

n
X

corr(X, Y ) =  n
X

(xi x)(yi y)

i=1

(xi x)2

i=1

n
X

(yi y)2

i=1

\left[ \right]

1/2

\begin{displaymath}
a^2+b^2=c^2
\end{displaymath}
{\settowidth{\parindent}
{:\ }
\makebox[0pt][r]
{:\ }$a$, $b$ --
$c$ -- }

a2 + b2 = c2

: a, b --
c --

\newenvironment

Lemma'', Definition'', Axiom''


LATEX
\newtheorem{name}[counter]{ text}[section]

name theorem'' text


theorem''

counter name
theorem'' theorem'' name

\newtheorem

\begin{name}[text]

\end{name}

\newtheorem
%
%
\newtheorem{law}{Law}
\newtheorem{jury}[law]{Jury}
%
\begin{law} \label{law:box}
Don't hide in the witness box
\end{law}
\begin{jury}[The Twelve]
It could be you! So beware and
see law \ref{law:box}\end{jury}
\begin{law}No, No, No\end{law}

Law Don't hide in the witness box


Jury (The Twelve) It could be you! So beware and
see law
Law No, No, No

Jury'' Law''

\newtheorem{mur}{Murphy}[section]
\begin{mur} What can go wrong,
will go wrong. \end{mur}

Murphy .. What can go wrong, will go wrong.

Murphy'' section
chapter subsection

LATEX
\mathbf
\boldmath
\begin{displaymath}
\mu, M \qquad \mathbf{\mu, M} \qquad
\mbox{\boldmath $\mu, M$}
, M
, M
, M
\end{displaymath}
amsbsy ( amsmath) \boldsymbol
poor man's bold'' \pmb
\begin{displaymath}
\mu, M \qquad
\boldsymbol{\mu}, \boldsymbol{M}
\qquad \pmb{\mu}, \pmb{M}
\end{displaymath}

, M

, M

, M


.--. amssymb
AMS AMS
CTAN:/tex-archive/macros/latex/packages/amslatex

\hat{a}
\grave{a}
\bar{a}

a
`
a

.:
a
\check{a}
a
\tilde{a}
a \dot{a}
a
\ddot{a}
b \widehat{A}
~a \vec{a}
A

\alpha
\beta
\gamma
\delta
\epsilon
\varepsilon
\zeta
\eta

.:
\theta
o o
\vartheta
\pi
\iota
$ \varpi
\kappa
\rho
\lambda
% \varrho
\mu
\sigma
\nu
\varsigma
\xi
\tau

\acute{a}
\breve{a}
\widetilde{A}

e
A

\upsilon
\phi
\varphi
\chi
\psi
\omega

.:

\Gamma
\Delta
\Theta

\Lambda
\Xi
\Pi

\Sigma
\Upsilon
\Phi

\Psi
\Omega

symbols.tex David Carlisle Josef Tkadlec

.:
\not

< <
> >
= =
\leq or \le
\geq or \ge
\equiv
.
 \ll
 \gg
= \doteq
\prec
 \succ
\sim
 \preceq
 \succeq
' \simeq
\subset
\supset
\approx

\subseteq
\supseteq
= \cong
a
a
< \sqsubset
= \sqsupset
v \sqsubseteq
w \sqsupseteq
./ \bowtie
\in
3 \ni , \owns
\propto
` \vdash
a \dashv
|= \models
|
\mid
k \parallel
\perp
^ \smile
_ \frown
 \asymp
:
:

/ \notin
6= \neq or \ne
a

latexsym

.:
+
\pm
\mp
/
\cdot
\div
.
\times
\ \setminus
?
\cup
\cap

\sqcup
u \sqcap

\vee , \lor
\wedge , \land

\oplus
\ominus

\odot
\oslash
]
\otimes
\bigcirc
q
\bigtriangleup 5 \bigtriangledown
\ddagger
o
\wr

\triangleleft
\triangleright
\star
\ast
\circ
\bullet
\diamond
\uplus
\amalg
\dagger

.:
P
Q
`
R

\sum
\prod
\coprod
\int

S
T
F
H

\bigcup
\bigcap
\bigsqcup
\oint

W
V

\bigvee
\bigwedge

L
N
J
U

\bigoplus
\bigotimes
\bigodot
\biguplus

.:
\leftarrow or \gets
\rightarrow or \to
\leftrightarrow
\Leftarrow
\Rightarrow
\Leftrightarrow
\mapsto
\hookleftarrow
\leftharpoonup
\leftharpoondown
\rightleftharpoons

(
)

(
[ or \lbrack
\{ or \lbrace
\langle
\lfloor
/

(
[
{
h
b
/

=
=

7
,
*
+

\longleftarrow
\longrightarrow
\longleftrightarrow
\Longleftarrow
\Longrightarrow
\Longleftrightarrow
\longmapsto
\hookrightarrow
\rightharpoonup
\rightharpoondown
\iff (bigger spaces)

\uparrow
\downarrow
\updownarrow
\Uparrow
\Downarrow
\Updownarrow
\nearrow
\searrow
\swarrow
\nwarrow

m
k
e

\Uparrow
\Downarrow
\Updownarrow
\| or \Vert
\rceil

\rmoustache

latexsym

.:
)
\uparrow
] or \rbrack \downarrow
\} or \rbrace l \updownarrow
\rangle
| | or \vert
\rfloor
d \lceil
\backslash
. (dual. empty)

)
]
}
i
c
\

m
%
&
.
-

.:

...
~
<

\lgroup
\arrowvert

w
w

\rgroup
\Arrowvert

\lmoustache
\bracevert

.:
..
\cdots
. \vdots

\imath
\jmath
=
\Im
\aleph

\exists
0 \mho a
0
\prime
\emptyset
4 \triangle
> \top
\angle
\heartsuit
\clubsuit
[
\flat
\ \natural

\dots
\hbar
\Re
\forall
'
\nabla
\bot
\diamondsuit
\neg or \lnot
a

latexsym

...
`

\ddots
\ell
\wp
\partial
\infty
\surd
\spadesuit
\sharp

.:

\dag
\ddag

\S
\P

c

$

\copyright
\pounds

.: AMS
p

\ulcorner

\urcorner

\llcorner

\lrcorner

.:
z

\digamma

\varkappa

\beth

\daleth

\gimel

.: AMS
l
6
0
5

.
/

Q
S
4
2
w
j
b
<

p
`
C
E

\lessdot
\leqslant
\eqslantless
\leqq
\lll or \llless
\lesssim
\lessapprox
\lessgtr
\lesseqgtr
\lesseqqgtr
\preccurlyeq
\curlyeqprec
\precsim
\precapprox
\subseteqq
\Subset
\sqsubset
\therefore
\shortmid
\smallsmile
\vartriangleleft
\trianglelefteq

m
>
1
=

&
'

R
T
<
3
%
v
k
c
=

q
a
B
D

\gtrdot
\geqslant
\eqslantgtr
\geqq
\ggg or \gggtr
\gtrsim
\gtrapprox
\gtrless
\gtreqless
\gtreqqless
\succcurlyeq
\curlyeqsucc
\succsim
\succapprox
\supseteqq
\Supset
\sqsupset
\because
\shortparallel
\smallfrown
\vartriangleright
\trianglerighteq

+
:
;
P
$
,
l
m

u
v
w





G
t
J
I

\doteqdot or \Doteq
\risingdotseq
\fallingdotseq
\eqcirc
\circeq
\triangleq
\bumpeq
\Bumpeq
\thicksim
\thickapprox
\approxeq
\backsim
\backsimeq
\vDash
\Vdash
\Vvdash
\backepsilon
\varpropto
\between
\pitchfork
\blacktriangleleft
\blacktriangleright

.: AMS
L99


W




"
x

\dashleftarrow
\leftleftarrows
\leftrightarrows
\Lleftarrow
\twoheadleftarrow
\leftarrowtail
\leftrightharpoons
\Lsh
\looparrowleft
\curvearrowleft
\circlearrowleft

99K


V




#
y


\dashrightarrow
\rightrightarrows
\rightleftarrows
\Rrightarrow
\twoheadrightarrow
\rightarrowtail
\rightleftharpoons
\Rsh
\looparrowright
\curvearrowright
\circlearrowright

(






!

\multimap
\upuparrows
\downdownarrows
\upharpoonleft
\upharpoonright
\downharpoonleft
\downharpoonright
\rightsquigarrow
\leftrightsquigarrow

.: AMS










(
*
$
8
:

\nless
\lneq
\nleq
\nleqslant
\lneqq
\lvertneqq
\nleqq
\lnsim
\lnapprox
\nprec
\npreceq
\precneqq
\precnsim
\precnapprox
\subsetneq
\varsubsetneq
\nsubseteq
\subsetneqq
\nleftarrow
\nLeftarrow














)
!
+
%
9
;

\ngtr
\gneq
\ngeq
\ngeqslant
\gneqq
\gvertneqq
\ngeqq
\gnsim
\gnapprox
\nsucc
\nsucceq
\succneqq
\succnsim
\succnapprox
\supsetneq
\varsupsetneq
\nsupseteq
\supsetneqq
\nrightarrow
\nRightarrow

&
'
"
#

.
/


0
2
1
3
6
7
5
4
=
<

\varsubsetneqq
\varsupsetneqq
\nsubseteqq
\nsupseteqq
\nmid
\nparallel
\nshortmid
\nshortparallel
\nsim
\ncong
\nvdash
\nvDash
\nVdash
\nVDash
\ntriangleleft
\ntriangleright
\ntrianglelefteq
\ntrianglerighteq
\nleftrightarrow
\nLeftrightarrow

u
n
d
Y


h
g

.: AMS
\dotplus
 \centerdot
| \intercal
\ltimes
o \rtimes
> \divideontimes
\Cup or \doublecup e \Cap or \doublecap r \smallsetminus
\veebar
Z \barwedge
[ \doublebarwedge
\boxplus
\boxminus
 \circleddash
\boxtimes
\boxdot
} \circledcirc
\leftthreetimes
i \rightthreetimes
~ \circledast
\curlyvee
f \curlywedge

.: AMS
~

M
O


@

\hbar
\square
\vartriangle
\triangledown
\lozenge
\angle
\diagup
\nexists
\eth

}

N
H

]

`
0

\hslash
\blacksquare
\blacktriangle
\blacktriangledown
\blacklozenge
\measuredangle
\diagdown
\Finv
\mho

k
s
{
a
F
^
8

\Bbbk
\circledS
\complement
\Game
\bigstar
\sphericalangle
\backprime
\varnothing

.:

ABCdef
ABCdef
ABCdef
ABC
ABC
ABCdef
ABC

\mathrm{ABCdef}
\mathit{ABCdef}
\mathnormal{ABCdef}
\mathcal{ABC}
\mathcal{ABC}
\mathscr{ABC}
\mathfrak{ABCdef}
\mathbb{ABC}

eucal with option: mathcal


eucal with option: mathscr
eufrak
amsfonts amssymb

LATEX
`' LATEX
LATEX Manual [1] The LATEX Companion [3]

( )
. .
document class
LATEX

{\small The small and


\textbf{bold} Romans ruled}
{\Large all of great big
\textit{Italy}. }

The small and bold Romans ruled

Italy.

all of great big

LATEX

LATEX LATEX 2.09



.
(curly braces)
LATEX
He likes {\LARGE large and
{\small small} letters}.

He likes

large and small letters.



\par
{\Large Don't read this! It is not
true. You can beleive me!\par}

Don't read this! It is not true. You can


beleive me!

.:
\textrm{...}
\texttt{...}
\textmd{...}
\textup{...}
\textsl{...}
\emph{...}

roman
typewriter
medium
upright
slanted
emphasised

\textsf{...} sans serif


\textbf{...}
\textit{...}
\textsc{...}
\textnormal{...}

bold face
italic
small caps
document font

.:
\tiny
tiny font
\scriptsize
very small font
\footnotesize quite small font
\small
small font
\normalsize normal font
\large
large font

\Large
\LARGE
\huge
\Huge

larger font

very large font

huge

largest

.:

\mathcal{...}
\mathrm{...}
\mathbf{...}
\mathsf{...}
\mathtt{...}
\mathnormal{...}
\mathit{...}

$\mathcal{B}=c$
B=c
$\mathrm{K}_2$
K
P2
$\sum x=\mathbf{v}$
x=v
$\mathsf{G\times R}$
GR
$\mathtt{L}(b, c)$
L(b, c)
$\mathnormal{R_{19}}\neq R_{19}$ R 6= R19
$\mathit{ffi}\neq ffi$
ffi 6= f f i

{\Large This is not true.


But remember I am a liar.}\par

This is not true. But remember I am a


liar.

Remember The M
RE fonts
readable and beautiful it becom

you

use

es.

in a document

the more

..

\linespread{factor}

\linespread{1.3} ''
\linespread{1.6} ''
1

..
LATEX

\setlength{\parindent}{0pt}
\setlength{\parskip}{1ex plus 0.5ex minus 0.2ex}




\indent

parindent

\noindent




\documentclass \begin{document}

indentfirst

..
LATEX

\hspace{length}

\hspace*
\hspace
.
This\hspace{1.5cm}is a space
of 1.5 cm.

This

is a space of 1.5 cm.

\stretch{n}


\hspace{\stretch{n}}

x\hspace{\stretch{1}}
x
x
x\hspace{\stretch{3}}x

..

LATEX

\vspace{length}


\vspace* \vspace
\stretch \pagebreak

. . .
\vspace{\stretch{1}}
\pagebreak

\\[length]

4i

5i

6i

2i

?
6

? Header

6
6

Margin
Notes

Body

7i

-  9i
 10i
3i

8i


?

 1i-

Footer
1
3
5
7
9
11

6
11i
one inch + \hoffset
\evensidemargin = 54pt
\headheight = 13pt
\textheight = 646pt
\marginparsep = 7pt
\footskip = 25pt
\hoffset = 0pt
\paperwidth = 614pt

2
4
6
8
10

one inch + \voffset


\topmargin = 0pt
\headsep = 18pt
\textwidth = 361pt
\marginparwidth = 72pt
\marginparpush = 5pt (not shown)
\voffset = 0pt
\paperheight = 794pt

.:

.: TEX
mm
cm
in
pt
em
ex

1/25
= 10 mm
25.4 mm
1/72 31 mm
m
x

LATEX 2

(paper size) \documentclass


(margin)
.
layout
LATEX

\setlength{parameter}{length}

\addtolength{parameter}{length}

\setlength
1 cm
\addtolength{\hoffset}{-0.5cm}
\addtolength{\textwidth}{1cm}

(bibliography) thebibliography
\bibitem{marker}

marker
\cite{marker}


\begin{thebibliography}
CTAN:/tex-archive/macros/latex/packages/tools


Part1 [1] has proposed, that . . .
Part1~\cite{pa} has
proposed, that \ldots
\begin{thebibliography}{99}
\bibitem{pa} H.~Part1:
\emph{German \TeX},
TUGboat Vol.~9, No.~1 ('88)
\end{thebibliography}

[1] H. Part1: German


('88)

TEX,

TUGboat Vol. 9, No. 1

(index) LATEX
makeindex
The
LATEX Companion [3]

LATEX

makeindex
\usepackage{makeidx}

\makeindex

\index{key}

key index
key .
LATEX \index
LATEX (.idx)
makeindex .idx
makeindex filename

makeindex
.ind LATEX

makeidx 8

.: key

\index{hello}
\index{hello!Peter}
\index{Sam@\textsl{Sam}}
\index{Lin@\textbf{Lin}}
\index{Jenny|textbf}
\index{Joe|textit}

hello, 1
Peter, 3
Sam, 2
Lin, 7
Jenny, 3
Joe, 5

hello'

\printindex

showidx LATEX 2
()

EPS

figure table
LATEX

LATEX
LATEX
The LATEX Companion [3] LATEX Manual [1]
LATEX
LATEX
Encapsulated PostScript (EPS)

graphicx D. P. Carlisle
graphics''
EPS graphicx

. EPS
. graphicx
\usepackage[driver]{graphicx}

driver dvi postscript''



(printer driver) driver graphicx .dvi
EPS

XFig,CorelDraw, Freehand, GNUplot,
CTAN:/tex-archive/macros/latex/packages/graphics
dvips

()

. EPS
.
\includegraphics[key=value, . . . ]{file}

file key
key
key .
.: key graphicx
width
height
angle

\begin{figure}
\begin{center}
\includegraphics[angle=90, width=10cm]{test.eps}
\end{center}
\end{figure}
test.eps 90
10 cm

[8]


[1] Leslie Lamport. LATEX: A Document Preparation System. Addison-Wesley,
Reading, Massachusetts, second edition, 1994, ISBN 0-201-52983-1.
[2] Donald E. Knuth. The TEXbook, Volume A of Computers and
Typesetting, Addison-Wesley, Reading, Massachusetts, second edition, 1984,
ISBN 0-201-13448-9.
[3] Michel Goossens, Frank Mittelbach and Alexander Samarin. The LATEX Companion.
Addison-Wesley, Reading, Massachusetts, 1994, ISBN 0-201-54199-8.
[4] LATEX LATEX Local Guide
local.tex
LATEX
[5]

LATEX3

Project Team.
usrguide.tex.

[6]

LATEX3

[7]

LATEX3

LATEX 2

for authors. LATEX 2

Project Team. LATEX 2 for Class and Package writers.


LATEX 2 clsguide.tex.
Project Team.
fntguide.tex.

LATEX 2

Font selection.

LATEX 2

[8] D. P. Carlisle. Packages in the graphics' bundle. graphics'


grfguide.tex, LATEX
[9] Rainer Schopf, Bernd Raichle, Chris Rowley. A New Implementation of LATEX's
verbatim Environments. tools' verbatim.dtx,
LATEX
[10] Graham Williams. The TeX Catalogue TEX
LATEX CTAN:/help/Catalogue/catalogue.html
[11] Keith Reckdahl. Using EPS Graphics in LATEX 2 Documents
EPS LATEX
CTAN:/info/epslatex.ps
[12] , TEX '
LATEX
http://thaigate.rd.nacsis.ac.jp/files/ttex.html

[13] , LATEX'
LATEX
http://zzzthai.fedu.uec.ac.jp/linux/thailatex/
[14] , Typesetter ThaiTEX'
TEX
http://thaigate.rd.nacsis.ac.jp/files/ttex.html


\!,
",
$,
',
\(,
\),
\,, ,
-,
,
\-,
--,
---,
., space after,
. . . ,
\@,
\[,
\\, , , , ,
\\*,
\],
^,
|,
~,
A4 paper,
A5 paper,
accent,
accute,
\addtolength,
,
amsbsy,
amsfonts, ,
amsmath, , ,
amssymb, ,
\and,
\appendix,
array,
article class,
\atop,
\author,

B5 paper,
babel,
\backmatter,
backslash,
base font size,
\begin,
\bibitem,
bibliography,
\Big,
\big,
\Bigg,
\bigg,
blackboard bold,
\bmod,
bold face,
bold symbols, ,
\boldmath,
\boldsymbol,
book class,
\caption,
\cdots,
center,
\chapter,
\choose,
\cite,
\cleardoublepage,
\clearpage,
coloured text,
comma,
commands
\!,
\(,
\),
\,, ,
\-,
\@,
\[,
\\, , , , ,

\\*,
\],
\addtolength,
\and,
\appendix,
\atop,
\author,
\backmatter,
\begin,
\bibitem,
\Big,
\big,
\Bigg,
\bigg,
\bmod,
\boldmath,
\boldsymbol,
\caption,
\cdots,
\chapter,
\choose,
\cite,
\cleardoublepage,
\clearpage,
\date,
\ddots,
\displaystyle,
\documentclass,
\emph, ,
\end,
\footnote,
\footnotesize,
\frac,
\frenchspacing,
\frontmatter,
\fussy,
\hline,
\hspace,
\Huge,
\huge,
\hyphenation,
\include,
\includegraphics,
\includeonly, ,
\indent,
\index,

\input,
\int,
\label, ,
\LARGE,
\Large,
\large,
\ldots, ,
\left,
\linebreak,
\linespread,
\listoffigures,
\listoftables,
\mainmatter,
\makeindex,
\maketitle,
\mathbb,
\mathbf, ,
\mathcal,
\mathit,
\mathnormal,
\mathrm, ,
\mathsf,
\mathtt,
\mbox, ,
\multicolumn,
\newcommand, ,
\newenvironment, ,
\newline,
\newpage,
\newtheorem,
\noindent,
\nolinebreak,
\nonumber,
\nopagebreak,
\normalsize,
\overbrace,
\overleftarrow,
\overline,
\overrightarrow,
\pagebreak,
\pageref,
\pagestyle,
\paragraph,
\parindent,
\parskip,
\part,


\pmb,
\pmod,
\printindex,
\providecommand,
\qquad, ,
\quad, ,
\ref, ,
\renewcommand,
\renewenvironment,
\right, ,
\right.,
\scriptscriptstyle,
\scriptsize,
\scriptstyle,
\section,
\setlength, ,
\sloppy,
\small,
\sqrt,
\stretch,
\subparagraph,
\subsection,
\subsubsection,
\sum,
\tableofcontents,
\textbf,
\textit,
\textmd,
\textnormal,
\textrm, ,
\textsc,
\textsf,
\textsl,
\textstyle,
\texttt,
\textup,
\thispagestyle,
\tiny,
\title,
\underbrace,
\underline,
\usepackage, ,
\vdots,
\vec,
\verb,
\vspace,

\widetilde,
\wildhat,
comments,
cross references,
curly braces, ,
\date,
dcolumn,
\ddots,
decimal alignment,
description,
dimensions,
displaymath,
\displaystyle,
document font size,
document name,
\documentclass,
dotless and ,
ellipsis,
em-dash,
\emph, ,
empty,
en-dash,
Encapsulated PostScript,
\end,
enumerate,
environment,
environments
array,
center,
description,
displaymath,
enumerate,
eqnarray,
equation,
figure, ,
flushleft,
flushright,
itemize,
math,
quotation,
quote,
table, ,
tabular,
thebibliography,
verbatim,

verse,
eqnarray,
equation,
eucal,
eufrak,
executive paper,
exscale,

inputenc,
\int,
international,
italic,
itemize,

figure, ,
floating bodies,
flushleft,
flushright,
font,
font size, ,
footer,
\footnote,
\footnotesize,
\frac,
\frenchspacing,
\frontmatter,
\fussy,

\label, ,
Lamport Leslie,
language,
\LARGE,
\Large,
\large,
LATEX 2.09,
LATEX3, ,
layout,
\ldots, ,
\left,
left aligned,
legal paper,
letter paper,
ligature,
line spacing,
\linebreak,
\linespread,
\listoffigures,
\listoftables,

German,
graphics,
graphicx,
grave,
grouping,
header,
headings,
\hline,
horizontal space,
\hspace,
\Huge,
\huge,
hyphen,
\hyphenation,
hyphenation rules,
\include,
\includegraphics,
\includeonly, ,
\indent,
indentfirst,
index,
\index,
\input,

Knuth, Donald E.,

\mainmatter,
makeindex,
\makeindex,
makeindex package,
makeindex program,
\maketitle,
margin,
math,
\mathbb,
\mathbf, ,
\mathcal,
mathematical
minus,
\mathit,
\mathnormal,
\mathrm, ,
\mathsf,
\mathtt,


\mbox, ,
minus sign,
Mittelbach, Frank,
\multicolumn,
\newcommand, ,
\newenvironment, ,
\newline,
\newpage,
\newtheorem,
\noindent,
\nolinebreak,
\nonumber,
\nopagebreak,
\normalsize,
,

oneside,
optional parameters,
\overbrace,
overfull hbox,
\overleftarrow,
\overline,
\overrightarrow,
package,
packages

amsbsy,
amsfonts, ,
amsmath, , ,
amssymb, ,
babel,
dcolumn,
eucal,
eufrak,
exscale,
graphicx,
indentfirst,
inputenc,
layout,
makeindex,
showidx,
page layout,
page style,
empty,
headings,
plain,

\pagebreak,
\pageref,
\pagestyle,
paper size, ,
\paragraph,
parameter,
\parindent,
\parskip,
\part,
period,
plain,
\pmb,
\pmod,
preamble,
\printindex,
\providecommand,
\qquad, ,
\quad, ,
quotation,
quotation mark,
quote,
\ref, ,
\renewcommand,
\renewenvironment,
report class,
reserved characters,
\right, ,
right aligned,
\right.,
roman,
sans serif,
Scandinavian letters,
\scriptscriptstyle,
\scriptsize,
\scriptstyle,
\section,
\setlength, ,
showidx,
slanted,
slide class,
\sloppy,
\small,
small caps,
special character,

\sqrt,
square brackets,
\stretch,
structure,
\subparagraph,
\subsection,
\subsubsection,
\sum,
table,
table, ,
table of contents,
\tableofcontents,
tabular,
\textbf,
\textit,
\textmd,
\textnormal,
\textrm, ,
\textsc,
\textsf,
\textsl,
\textstyle,
\texttt,
\textup,
thebibliography,
\thispagestyle,
tilde ( ~),
\tiny,
title, ,
\title,
two column,
twoside,
umlaut,
\underbrace,
underfull hbox,
\underline,
units, ,
upright,
\usepackage, ,
\vdots,
\vec,
\verb,
verbatim,
verse,

vertical space,
\vspace,
whitespace
after commands,
at the start of a line,
\widetilde,
\wildhat,
WYSIWYG,
,
,

A4,
A5,
B5,
executive,
legal,
letter,
,
,
,
,
,
,
,

,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,


,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
, ,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
, ,
,
,

,
,
,
,
,
,
,
,
, ,
,
,
,
,
, ,
,
,
,
,
,
,
,
, ,
,
,
,
,
,
,
,
,

You might also like