Professional Documents
Culture Documents
Lshort MN
Lshort MN
LATEX 2 - 141
, ,
4.26, 2008 09- 25
ii
1995-2005 (Tobias Oetiker) . .
(Free Software
Foundation)- GNU (GNU General Public
License; 2 )- .
,
. GNU .
GNU
;
(Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA
02139, USA)- .
LATEX 2.09- :
(Hubert Partl)
<partl@mail.boku.ac.at>
(Irene Hyna)
<Irene.Hyna@bmwf.ac.at>
(Elisabeth Schlegl)
<>
iv
,
.
,
.
Rosemary Bailey, Marc Bevand, Friedemann Brauer, Barbara Beeton, Jan Busa,
Markus Br
uhwiler, Pietro Braione, David Carlisle, Jose Carlos Santos,
Neil Carter, Mike Chapman, Pierre Chardaire, Christopher Chin, Carl Cerecke,
Chris McCormack, Wim van Dam, Jan Dittberner, Michael John Downes,
Matthias Dreier, David Dureisseix, Elliot, Hans Ehrbar, Daniel Flipo, David Frey,
Hans Fugal, Robin Fairbairns, Jorg Fischer, Erik Frisk, Mic Milic Frederickx,
Frank, Kasper B. Graversen, Arlo Griffiths, Alexandre Guimond, Andy Goth,
Cyril Goutte, Greg Gamble, Frank Fischli, Morten Hgholm, Neil Hammond,
Rasmus Borup Hansen, Joseph Hilferty, Bjorn Hvittfeldt, Martien Hulsen,
Werner Icking, Jakob, Eric Jacoboni, Alan Jeffrey, Byron Jones, David Jones,
Johannes-Maria Kaltenbach, Michael Koundouros, Andrzej Kawalec,
Sander de Kievit, Alain Kessi, Christian Kern, Tobias Klauser, Jorg Knappen,
Kjetil Kjernsmo, Maik Lehradt, Remi Letot, Flori Lambrechts, Axel Liljencrantz,
Johan Lundberg, Alexander Mai, Hendrik Maryns, Martin Maechler,
Aleksandar S Milosevic, Henrik Mitsch, Claus Malten, Kevin Van Maren,
Richard Nagy, Philipp Nagele, Lenimar Nunes de Andrade, Manuel Oetiker,
Urs Oswald, Lan Thuy Pham, Martin Pfister, Demerson Andre Polli,
Nikos Pothitos, Maksym Polyakov Hubert Partl, John Refling, Mike Ressler,
Brian Ripley, Young U. Ryu, Bernd Rosenlecher, Kurt Rosenfeld, Chris Rowley,
Risto Saarelma, Hanspeter Schmid, Craig Schlenter, Gilles Schintgen,
Baron Schwartz, Christopher Sawtell, Miles Spielberg, Matthieu Stigler,
Geoffrey Swindale, Laszlo Szathmary, Boris Tobotras, Josef Tkadlec, Scott Veirs,
Didier Verna, Fabian Wernli, Carl-Gustav Werner, David Woodhouse, Chris York,
Fritz Zaucker, Rick Zaccone, Mikhail Zotov.
LATEX [1]
, TEX [2]
.
LATEX 2 . [1, 3] LATEX
.
6 :
1: LATEX 2 , LATEX- . LATEX .
2: , LATEX .
3: LATEX
. LATEX
.
4: , EPS
, pdfLATEX PDF
.
5:
LATEX .
6: LATEX , /
.
vi
.
LATEX PC Mac UNIX VMS
. LATEX Local Guide [5]
. LATEX
.
LATEX-
CTAN (Comprehensive TEX Archive Network) http://www.ctan.org
ftp ftp://www.ctan.org
(mirror sites) .
, ,
CTAN:
.
LATEX , CTAN://systems .
LATEX
.
(Tobias Oetiker)
<tobi@oetiker.ch>
OETIKER+PARTNER AG
Aarweg 15
4600 Olten
Switzerland
CTAN://info/lshort
iii
1
1.1 . . . . . . . . . . . . . . . . . . . . .
1.1.1 TEX . . . . . . . . . . . . . . . . . . .
1.1.2 LATEX . . . . . . . . . . . . . . . . . .
1.2 . . . . . . . . . . . . . . . . . . . .
1.2.1 , ,
1.2.2 . . . . . . . . . . . . . . . .
1.2.3 . . . . . . .
1.3 LATEX . . . . . . . . . . .
1.3.1 . . . . . . . . . . . . . . . . .
1.3.2 . . . . . . . . . . .
1.3.3 LATEX . . . . . . . . . . .
1.3.4 . . . . . . . . . . . . . . .
1.4 . . . . . . . . . . . .
1.5 . . . . . . .
1.6 . . . . . . . . . . . . . .
1.6.1 . . . . . . . . . .
1.6.2 . . . . . . . . . . . . . . . . .
1.6.3 . . . . . . . . . .
1.7 . . . . . . . . . . . . . . . . . . . . .
1.8 . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
1
1
1
2
2
2
2
3
4
4
5
5
6
7
7
9
9
10
13
13
14
2
2.1 . . . . . . .
2.2
2.2.1 . . .
2.2.2 . . . .
2.3 .
2.4
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
17
17
19
19
20
21
21
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
viii
2.5
2.6
2.7
2.8
2.9
2.10
2.11
2.12
2.13
2.4.1 . . . . . . . . . . . . . . . . . . .
2.4.2 . . . . . . . . . .
2.4.3 () . . . . . . . . . .
2.4.4 () . . . . . . . . . . .
2.4.5 (e) . . . . . . . . .
2.4.6 (. . . ) . . . . . . . . . . . . . . .
2.4.7 . . . . . . . . . . . . . .
2.4.8 . . . .
. . . . . . . . . . . . . . .
2.5.1 . . . . . . .
2.5.2 . . . . . . . . . .
2.5.3 . . . . . . . . .
2.5.4 . . . . . . . .
2.5.5 . . . . . . . . . . .
2.5.6 . . . . . . . . .
2.5.7 . . . . . . . . .
. . . . . . . . . . . . . . . . .
, , . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . .
2.11.1 ,
2.11.2 ,
2.11.3 . . . . . . . . . . . .
2.11.4 () . . . . . . . . . . .
2.11.5 . . . . . . . . . . . . .
2.11.6 . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . .
3
3.1 AMS-LATEX . . . . . . . . . . . . .
3.2 . . . . . . . . . . . . . .
3.2.1 . . . . . . . . .
3.3 .
3.4 . . . . . . . . . . . . . .
3.4.1 . . . . . . . . . . .
3.4.2 . . . .
3.5 . . . . . . . .
3.5.1 . . . . . . . . . . . . .
3.6 . . . . . . . . .
3.6.1 . . . . . . . . . . . .
3.7 , , . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
21
21
22
22
22
23
23
24
24
27
28
28
29
31
32
33
34
35
37
38
38
39
39
40
40
41
41
42
45
48
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
49
49
49
51
52
57
57
57
58
59
60
60
61
3.8
ix
. . . . . . . . . . . . . . . . . . . .
63
4
4.1 Encapsulated PostScript . . . . . .
4.2 . . . . . . . . . . . . . . . . . . . . . . . . .
4.3 . . . . . . . . . . . . . . . . . . . . . .
4.4 . . . . . . . . . . . . . . .
4.5 Verbatim . . . . . . . . . . . . . . . . . . . . .
4.6 . . . . . . . . . . . . . . . . .
4.7 pdfLATEX- . . . . . . . . . . . . . . . .
4.7.1 PDF . . . . . . .
4.7.2 . . . . . . . . . . . . . . . . . . . .
4.7.3 . . . . . . . . . . . . . . . . .
4.7.4 . . . . . . . . . . . .
4.7.5 . . . . . . . .
4.7.6 .
4.8 (presentation) . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
71
71
73
75
76
78
78
79
80
80
82
83
85
86
88
5
5.1 . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.2 picture . . . . . . . . . . . . . . . . . . .
5.2.1 . . . . . . . . . . . . . . .
5.2.2 . . . . . . . . . . . . . . . . . . . .
5.2.3 . . . . . . . . . . . . . . . . . . .
5.2.4 . . . . . . . . . . . . . . . . . . . .
5.2.5 . . . . . . . . . . . . .
5.2.6 \multiput \linethickness . . . . . . . .
5.2.7 . . . . . . . . . . . . . . . .
5.2.8 . . . . .
5.2.9 . . . . . . . . . .
5.2.10 . . . . . . . . . . . . . . . . .
5.2.11
5.3 TikZ & PGF . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
91
91
92
92
94
95
96
97
97
98
99
100
101
102
102
6 LATEX-
6.1 , . .
6.1.1 . . . . . . . .
6.1.2 . . . . . . . .
6.1.3 . . . . . . . . . . .
6.1.4 LATEX-
6.1.5 . . . . . . .
6.2 . . . . . . . . .
6.2.1 . . . .
6.2.2 . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
105
105
106
107
107
108
108
109
109
112
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
6.3
6.4
6.5
6.6
6.7
6.2.3 . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
6.3.1 . . . . . .
6.3.2 . . . .
6.3.3 . . . . . . . . . . .
6.3.4 . . . . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . .
A LATEX
A.1 . .
A.2 TEX- Mac OS X- . .
A.2.1
A.2.2 TEX . . . .
A.2.3 PDFView
A.3 TEX- Windows- . . .
A.3.1 TEX- .
A.3.2 LATEX
A.3.3
A.4 TEX- Linux- . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
112
113
113
113
114
115
116
118
119
121
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
123
123
124
124
124
124
124
124
125
125
125
127
129
1.1
1.2
LATEX . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
7
8
4.1
4.2
fancyhdr . . . . . . . . . . . . . . . . . . .
beamer . . . . . . . . . . . . . . . . . . .
77
89
6.1
6.2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
. . . . . . . . . . . . . . 117
1.1
1.2
1.3
1.4
. . . . . . . . . . .
. . . . .
LATEX- . . .
LATEX-
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
10
11
12
13
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
. . . . . . . . . . . . . .
. . . .
.
. . . .
. . .
. . . . .
. . . . .
, , . . . . . . . . . .
. . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
23
24
27
28
29
32
32
33
46
3.1
3.2
3.3
3.4
3.5
3.6
3.7
3.8
3.9
3.10
3.11
3.12
3.13
3.14
3.15
3.16
3.17
3.18
. . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . .
. . . . . . . . . . .
AMS . . . . . . . . . . . . . . . . . . .
AMS . . . . . . . . . .
. . . . . . . . . .
AMS . . . . . . . . . . . . . . .
AMS . . . . . . . . . . . . .
AMS . . . . . . . . . . . . . . . . . . .
AMS .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
63
63
64
64
65
65
65
66
66
66
66
67
67
67
67
68
69
70
xiv
3.19 AMS . . . . . . . . . . . . . . . . . . . . . . .
70
4.1
4.2
graphicx . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
72
75
6.1
6.2
6.3
6.4
6.5
. . . . . . . . . . . . .
. . . . . . . . .
. . . . . . . .
TEX- . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . .
. . . . .
.
. . . . .
. . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
110
110
111
111
115
LATEX 2 - ,
LATEX
. LATEX- .
1.1
1.1.1
TEX
1.1.2
LATEX
LATEX ,
. TEX
(Leslie Lamport) [1] LATEX LATEX- (Frank Mittelbach)
.
LATEX- Lay-tech Lah-tech ASCII LaTeX LATEX 2 - Lay-tech two e
LaTeX2e .
1.2
1.2.1
, ,
( , , , . . . ) ,
.
, , ,
.
LATEX- , , TEX- . LATEX LATEX .
MS Word Corel WordPerfect WYSIWYG2
.
LATEX- LATEX
,
.
1.2.2
1.2
, , . :
,
.
.
WYSIWYG , LATEX
.
1.2.3
LATEX :
LATEX
. . .
, .3
.
Logical Markup-
, .
1.3
LATEX
1.3.1
LATEX- - .
( ) -
.
. ,
.
.
.
.
.
, LATEX3
.
1.3 LATEX
1.3.2
LATEX- , . LATEX-
.
#
&
:
\# \$ \% \^{} \& \_ \{ \} \~{}
#$%&_{}
, .
(\\) \ ,
.4
1.3.3
LATEX
LATEX :
\
. ,
.
.
LATEX- .
{}
. {}
LATEX- .
\TeX{}
\TeX{}, \TeX
.\\
\today.
TEX TEX,
TEX .
2009 4- 28.
{ }
4
$\backslash$ \ .
[ ] . LATEX . .
\textsl{} !
!\newline
!
!
!
1.3.4
% LATEX ,
.
.
%
% : <---: Supercal%
ifragilist%
icexpialidocious
:
Supercalifragilisticexpialidocious
, % .
verbatim comment .
, , \usepackage{verbatim}
.
\begin{comment}
,
\end{comment}
.
1.4
1.4
LATEX 2 ,
\documentclass{...}
LATEX
:
\usepackage{...}
,5 .
\begin{document}
LATEX ,
LATEX-
\end{document}
. LATEX .
1.1- LATEX 2 ,
1.2- .
1.5
\documentclass \begin{document} .
\documentclass{article}
\usepackage[mongolian]{babel}
\usepackage[utf8]{inputenc}
\begin{document}
.
\end{document}
1.1: LATEX .
LATEX-
LATEX . . : LATEX .6
1. LATEX ASCII . Unix . Windows ASCII Plain Text
. , .tex
.
2. LATEX- . .dvi . LATEX- . LATEX . ctrl-D
.
latex foo.tex
\documentclass[a4paper,11pt]{article}
\usepackage[mongolian]{babel}
\usepackage[mn]{inputenc} % cp1251
%
\author{.~}
\title{}
\begin{document}
%
\maketitle
%
\tableofcontents
\section{ }
\section{}
\ldots{} .
\end{document}
1.2: . .
1.6
3. DVI .
Unix X11 :
xdvi foo.dvi &
1.6
1.6.1
LATEX- .
\documentclass .
\documentclass[ ]{}
.
1.1- . LATEX 2 (slide) .
. 1.2- .
: LATEX .
\documentclass[11pt,twoside,a4paper]{article}
article,
11 points, A4
.
10
1.6.2
LATEX-,
. LATEX-
.
\usepackage[ ]{}
, ,
. LATEX 2
( 1.3- ) . Local Guide [5] . LATEX The LATEX
Companion [3] , LATEX 2 - .
TEX .
Unix texdoc .
1.1: .
article , , , , , .
proc article .
minimal ,
.
report , PhD
book .
slides sans serif
Beamer .
1.6
1.2: .
10pt, 11pt, 12pt .
10pt
.
a4paper, letterpaper, . . .
.
letterpaper. a5paper, b5paper,
executivepaper, legalpaper .
fleqn
leqno
titlepage, notitlepage
. report book
article .
onecolumn, twocolumn LATEX-
.
twoside, oneside
. article report-
, book .
twoside
.
landscape
openright, openany
.
article
. report
book
( ) .
11
12
1.3: LATEX- .
doc LATEX .
doc.dtxa The LATEX Companion [3]- .
exscale
. ltexscale.dtx- .
fontenc LATEX- .
ltoutenc.dtx- .
ifthen
. . . . . . , . . . .
ifthen.dtx The LATEX Companion [3]- .
latexsym LATEX- latexsym
. latexsym.dtx The LATEX Companion [3]- .
makeidx . 4.3 The LATEX
Companion [3]- .
syntonly ( )
.
inputenc ASCII, ISO Latin-1, ISO Latin-2, 437/850 IBM , Apple
Macintosh, Next, ANSI-Windows inputenc.dtx-
.
a
latex doc.dtx
dvi .
.
1.7
1.6.3
LATEX- /
\pagestyle{}
1.4- .
1.4: LATEX-
plain . .
headings
,
.
empty .
\thispagestyle{}
1.7
LATEX , . TEX-
. .
.
.tex LATEX TEX . latex .
.sty LATEX . \usepackage LATEX .
.dtx TEX . LATEX
. .dtx .dtx -
13
14
LATEX
.
.ins .dtx . LATEX .dtx .ins .ins LATEX .dtx .
.cls \documentclass .
.fd LATEX- .
LATEX :
.dvi Device Independent File ( ). LATEX . DVI-
dvips .
.log .
.toc . .
.lof .toc .
.lot .
.aux .
.idx LATEX,
. makeindex . 75- 4.3- .
.ind .idx .
.ilg makeindex- .
1.8
. LATEX .
\include{}
1.8
LATEX .tex , .
.
LATEX, \include
\includeonly{,,. . . }
, , .
syntonly LATEX (DVI)
. LATEX
. :
\usepackage{syntonly}
\syntaxonly
(
% ) .
15
LATEX 2
.
.
2.1
,
,
.
LATEX ,
, .
LATEX- ( ) () . , ,
. , \\,
,
. ,
.
, LATEX . .
( ) , . (
.)
18
% Example 1
,
\begin{equation}
e = m \cdot c^2 \; ,
\end{equation}
\ldots
% Example 2
\ldots :
\begin{equation}
\sum_{k=1}^{n} I_k = 0 \; .
\end{equation}
\ldots
% Example 3
\ldots .
\begin{equation}
I_D = I_F - I_R
\end{equation}
. \ldots
. LATEX-
. .
.
(, )
.1
.
; ( ) .
, , . , \section{ }
.
1
2.2
2.2
2.2.1
. LATEX,
.
.
. 6.3.2- .
LATEX-
:
\\ \newline
.
\\*
.
\newpage
.
\linebreak[n], \nolinebreak[n], \pagebreak[n], \nopagebreak[n]
()
break . break LATEX ,
. new
.
LATEX .
LATEX
(overfull hbox) .
.2 \sloppy LATEX-
2
19
20
,
. (underfull hbox)
. \fussy LATEX- .
2.2.2
LATEX . TEX-
.
\hyphenation{}
, - . LATEX- .
. ,
, \begin{document}
babel .
hyphenation , Hyphenation
, FORTRAN, Fortran fortran
.
:
\hyphenation{FORTRAN Hy-phen-a-tion}
\-
. LATEX
(, )
.
I think this is: su\-per\-cal\-%
i\-frag\-i\-lis\-tic\-ex\-pi\-%
al\-i\-do\-cious
\mbox{}
2.3
\mbox{0116 291 2319} .
0116 291 2319 .
\mbox{\emph{}}
.
\fbox \mbox
.
2.3
LATEX- :
\today
\TeX
\LaTeX
\LaTeXe
2.4
2.4.1
2009 4- 28
TEX
LATEX
LATEX 2
LATEX-
LATEX-
x .
(`), (') .
2.4.2
LATEX- .
:
3
. ,
- << >> , - ,,
. .
21
22
10- , -\\
13--67, XII--XIII \\
---7- .\\
$0$, $1$ $-1$
10- , -
1367, XIIXIII
7- .
0, 1 1
: - , ,4 5
.
2.4.3
()
. LATEX \~
, ,
:
http://www.rich.edu/\~{}bush \\
http://www.clever.edu/$\sim$demo
2.4.4
http://www.rich.edu/bush
http://www.clever.edu/demo
()
LATEX
:
$-30\,^{\circ}\mathrm{C}$-
.
30 C- .
textcomp \textcelsius
.
2.4.5
(e)
, . textcomp
\usepackage{textcomp}
.
\texteuro
en-dash n em-dash-
.
5
em-dash m .
2.4
:
eurosym :
\usepackage[official ]{eurosym}
official gen
.
2.1:
2.4.6
LM+textcomp
\texteuro
eurosym
\euro
[gen]eurosym
\euro
e e e
A
C A
C A
C
(. . . )
, ,
\ldots
... :\\
-, , , \ldots
2.4.7
... :
-, , , . . .
ff fi fl ffi . . .
ff fi fl ffi. . .
\mbox{}
.
23
24
shelfful
shelfful
\Large shelfful \\
shelf\mbox{}ful
2.4.8
LATEX . 2.2- o .
.
i j \i \j .
H\^otel, na\"\i ve, \el\eve,\\
sm\o rrebr\o d, !Se\~norita!,\\
Sch\"onbrunner Schlo\ss{}
Stra\ss e
2.2: .
2.5
`o
o
\o
\=o
o
o
\o
\.o
o
o
\^o
\"o
o
c
\~o
\c c
o
o.
\u o
\d o
\v o
\b o
o
oo
\H o
\t oo
\c o
\oe
\aa
o
o
\OE
\AA
\ae
\AE
\o
\i
\O
\j
l
!
\l
!
L
?
\L
?
:
1. 6
. (Johannes Braams) babel .
6
, , . . .
2.5
2. LATEX- . LATEX-
. Local
Guide [5] .
3. . , (:) .
, babel \documentclass .
\usepackage[]{babel}
LATEX- . babel .
, LATEX babel
.
babel
. , (aou
)
. o babel- \"o
"o .
babel-
\usepackage[,]{babel}
( )
.
\selectlanguage{}
.
. LATEX
, inputenc
:
\usepackage[]{inputenc}
25
26
Windows cp1251 .
.7
Mac
Unix
Windows
DOS, OS/2
applemac
macukr
latin1
koi8-ru
ansinew
cp1251
cp850 cp866nav
, ucs (unicode)
.
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
LATEX, , utf8x
.
, TEX- ,
. fontenc :
\usepackage[]{fontenc}
.
.
LATEX- TEX- Computer Modern
OT1 . 7- 128 ASCII
TEX , ,
. ,
, .
8- CM- . T1 Extended Cork8 (EC)
, . LH
T2A, T2B, T2C, X2
7
inputenc.dtx cyinpenc.dtx . 4.6- .
8
2.5
2.3: .
\usepackage[portuguese]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
.9 CB
LGR .
. CM-
.
2.5.1
, :
\usepackage[portuguese]{babel}
brazilian .
\usepackage[latin1]{inputenc}
,
\usepackage[T1]{fontenc}
.
2.3- . latin1 Mac DOS
.
9
[11]
.
27
28
2.5.2
LATEX : :
\usepackage[frenchb]{babel}
babel french
frenchb francais .
LATEX
,
: \chapter Chapitre , \today
.
2.4-
.
2.4: .
\og guillemets \fg{}
guillemets
M\up{me}, D\up{r}
Mme , Dr
2\ieme{} 4\iemes{}
2e 4es
\No 1, \no 2
1, no 2
20~\degres C, 45\degres
20 C, 45
\bsc{M. Durand}
M. Durand
\nombre{1234,56789}
1 234,567 89
. babel frenchb
frenchb.dtx LATEX
frenchb.dvi .
2.5.3
LATEX
:
\usepackage[german]{babel}
. LATEX
2.5
29
Chapter Kapitel . ,
inputenc (2.5-
.) .
, inputenc
.
2.5: .
"a
"s
"
"
"< or \flqq
"> or \frqq
\flq
\frq
\dq
"
()
.
.
\flq , OT1 ( )
, T1 .
T1 . (\usepackage[T1]{fontenc})
2.5.4
10
LATEX :
1. .
ASCII US-ASCII
EUC-KR MSWindows- CP949/Windows-949/UHC
. US-ASCII
ASCII ISO-8859-x, EUC-JP,
10 A
L TEX- (Karnes KIM) , (SHIN
Jungshik) , (Tobi Oetiker) .
30
Big5, Shift_JIS ASCII . , KS X 1001- ,
, , , ,
. 1990
.
http://jshin.net/faq .
(Mac OS, Unix, Windows) .
2. TEX LATEX 256 11 ,
CJK
256
. 3 , :
(UN Koaunghi) HLATEX, (CHA Jaechoon)
hLATEXp, (Werner Lemberg) CJK .12 HLATEX hLATEXp
EUC-KR HLATEX
, UTF, CP949/Windows-949/UHC .
CJK , HLATEX
UTF-8, EUC-KR CP949/Windows-949/UHC 11
14 , 10 ;
, , . (
)
(KS X 1001:1998 and KS X 1002:1992)
,
.
ISO 10646/Unicode ,
(http://www.unicode.org/charts/PDF/UAC00.pdf)
(Conjoining Hangul Jamos: http://www.unicode.org/charts/PDF/
U1100.pdf) . LATEX
. TEX ,
MS Word .
12
language/korean/HLaTeX/
language/korean/CJK/ http://knot.kaist.ac.kr/htex/ .
2.5
.
3. TEX, LATEX . . HLATEX
UHC PostScript , Munhwabu13
(TrueType) . CJK HLATEX- Bitstream- cyberbit TrueType .
HLATEX
:
\usepackage{hangul}
, , .
. .
. HLATEX .
.
\usepackage{hfont}
2.5.5
2.6-
.
.14
.
13
.
inputenc utf8x polytonic
.
14
31
32
2.6: .
\usepackage[english,greek]{babel}
\usepackage[iso-8859-7]{inputenc}
\textlatin{ } \textgreek{ } .
\selectlanguage{...} . 2.7-
. \euro .
2.7: .
2.5.6
((
))
, babel T2A .
; , babel
.
15
2.5
, (\frenchspacing ) babel, , , .
: ,
, ,
, 2.8- .
2.8: , , babel
"|
.
" .
"--- .
"--~ .
"--* .
""
"- , (
x-""y).
"~
.
"=
.
",
.
"
(,, ).
"
( ).
"<
( ).
">
( ).
2.5.7
LATEX : Babel
MonTEX .
MonTEX
33
34
:
\usepackage[,]{mls}
, ,
xalx, utf8 . bicig ,
.
MonTEX :
\SetDocumentEncodingLMC
\SetDocumentEncodingNeutral
. MonTEX- CTAN://language/mongolian/montex/doc .
babel
:
\usepackage[T2A]{fontenc}
\usepackage[mn]{inputenc}
\usepackage[mongolian]{babel}
, mn cp1251 utf8 .
OT2
(\cyrotld \cyry) .
.
2.6
LATEX,
. ,
.
.
. ~
2.7 , ,
35
.
\@
.
Mr.~Smith was happy to see her\\
cf.~Fig.~5\\
I like BASIC\@. What about you?
:
\frenchspacing
LATEX,
. . \frenchspacing \@ .
2.7
, ,
, LATEX
.
article :
\section{...}
\subsection{...}
\subsubsection{...}
\paragraph{...}
\subparagraph{...}
,
\part{...}
report book
\chapter{...}
article . , -
36
LATEX .
:
\part .
\appendix , .16
LATEX .
\tableofcontents
. LATEX- .
. LATEX .
* .
\section{Help} \section*{Help} .
. .
\chapter[ ]{
}
\maketitle
\title{...}, \author{...} \date{...}
\maketitle . \author
\and
.
8- 1.2- .
LATEX 2 - book . ,
16
2.8
37
:
\frontmatter (\begin{document}) , .
( \chapter*{Preface})
.
\mainmatter .
\appendix .
\backmatter ,
.
2.8
,
cross-reference . LATEX-
\label{}, \ref{} \pageref{}
. LATEX \label
, , , \ref , \label \pageref
.17
\label{sec:this} :
\pageref{sec:this}-
\ref{sec:this}- .
17
: 37- 2.8- .
, \label .
38
2.9
\footnote{}
18
, .19
\footnote{
.} \LaTeX{}
.
2.10
a LATEX
.
a
.
\underline{}
. LATEX
\emph{}
:
\emph{
\LaTeX{} \emph{}
.}
LATEX .
LATEX- :
18
19
?20
20
:-).
2.11
39
\textsf{\emph{sans-serif} }
\texttt{
\emph{typewriter} }
\textit{
\emph{} .}
2.11
sans-serif typewriter
.
\begin{}
\end{}
.
.
\begin{aaa}...\begin{bbb}...\end{bbb}...\end{aaa}
.
2.11.1
itemize , enumerate
, description
.
\flushleft
\begin{enumerate}
\item
:
\begin{itemize}
\item
.
\item[-] .
\end{itemize}
\item :
\begin{description}
\item[]
.
\item[]
.
\end{description}
\end{enumerate}
1.
:
.
- .
2. :
.
.
40
2.11.2
flushleft flushright
. center .
\\ LATEX
.
\begin{flushleft}
\\.
\LaTeX{}
.
\end{flushleft}
\begin{flushright}
\\.
\LaTeX{}
.
\end{flushright}
. LATEX
.
. LATEX
.
\begin{center}
\\
\end{center}
2.11.3
quote .
:
\begin{quote}
66
.
\end{quote}
\LaTeX{},
.
:
66 .
LATEX,
.
quotation verse
quotation
, verse \\
.
2.11
Humpty Dumpty-
.
\begin{flushleft}
\begin{verse}
Humpty Dumpty sat on a wall:\\
Humpty Dumpty had a great fall.\\
All the Kings horses and all
the Kings men\\
Couldnt put Humpty together
again.
\end{verse}
\end{flushleft}
2.11.4
41
Humpty Dumpty .
Humpty Dumpty sat on a
wall:
Humpty Dumpty had a
great fall.
All the Kings horses and all
the Kings men
Couldnt put Humpty
together again.
()
. LATEX- abstract . abstract .
\begin{abstract}
.
\end{abstract}
2.11.5
\begin{verbatim} \end{verbatim}
, LATEX- .
() :
\verb++
+ .
, *
. LATEX
.
\verb|\ldots| \ldots
\ldots . . .
\begin{verbatim}
10 PRINT "HELLO WORLD ";
20 GOTO 10
\end{verbatim}
42
\begin{verbatim*}
\end{verbatim*}
\verb :
\verb*|
:-) |
:-)
verbatim \verb .
2.11.6
tabular . LATEX .
\begin{tabular}[]{}
( ) . l
, r , c ; p{ }
, |
.
, LATEX . p{ }
.
t , b c , ,
.
tabular &, \\, \hline . \cline{j -i} j- i ,
.
2.11
43
\begin{tabular}{|r|l|}
\hline
7C0 & \\
3700 & \\ \cline{2-2}
11111000000 & \\
\hline \hline
1984 & \\
\hline
\end{tabular}
7C0
3700
11111000000
1984
\begin{tabular}{|p{4.7cm}|}
\hline
Welcome to Boxys paragraph.
We sincerely hope youll
all enjoy the show.\\
\hline
\end{tabular}
@{...} . 21 .
. @{} .
\begin{tabular}{@{} l @{}}
\hline
\\
\hline
\end{tabular}
\begin{tabular}{l}
\hline
\\
\hline
\end{tabular}
22 ,
\begin{tabular} @{.}
. ,
. (&) !
\multicolumn .
21
22
, .
tools dcolumn .
44
\begin{tabular}{c r @{.} l}
Pi
&
\multicolumn{2}{c}{} \\
\hline
$\pi$
& 3&1416 \\
$\pi^{\pi}$
& 36&46
\\
$(\pi^{\pi})^{\pi}$ & 80662&7 \\
\end{tabular}
Pi
( )
\begin{tabular}{|c|c|}
\hline
\multicolumn{2}{|c|}{Ene} \\
\hline
Mene & Muh! \\
\hline
\end{tabular}
Ene
Mene Muh!
3.1416
36.46
80662.7
tabular .
longtable .
LATEX-
\arraystretch \tabcolsep
.
\begin{tabular}{|l|}
\hline
\\\hline
\\\hline
\end{tabular}
{\renewcommand{\arraystretch}{1.5}
\renewcommand{\tabcolsep}{0.2cm}
\begin{tabular}{|l|}
\hline
\\\hline
\\\hline
\end{tabular}}
23 \rule ( ) .
23
strut .
2.12
\begin{tabular}{|c|}
\hline
\rule{1pt}{4ex}Pitprop \ldots\\
\hline
\rule{0pt}{4ex}Strut\\
\hline
\end{tabular}
2.12
45
Pitprop . . .
Strut
, . ,
.
. .
. ,
. LATEX-
. LATEX
.
LATEX-
.
LATEX- :
figure table
.
\begin{figure}[ ] \begin{table}[. . . ]
. LATEX- . 2.9- .
\begin{table}[!hbp]
[!hbp] LATEX- (h) (b)
(p)
(!). [tbp] .
46
LATEX
.24 LATEX
(h ) . LATEX
. ,
:
LATEX .
LATEX-, ,
. [h]
LATEX- [ht] .
table figure .
\caption{}
. LATEX 24
FIFO !
2.9: .
t
b
p
!
. . .
.
.
a .
2.12
.
\listoffigures \listoftables
\tableofcontents
.
. \caption .
\caption[]{ }
\label \ref
\label \caption
.
. .
~\ref{white} - .
\begin{figure}[!hbtp]
\makebox[\textwidth]{\framebox[5cm]{\rule{0pt}{5cm}}}
\caption{ .\label{white}}[A
\end{figure}
LATEX (h) (!) .25
(b) .
.
LATEX
.
\clearpage \cleardoublepage
. LATEX-, . \cleardoublepage
.
LATEX 2 PostScript .
25
47
48
2.13
TEX-
.
. AMS-LATEX .
3.1
AMS-LATEX
AMSLATEX- . AMS-LATEX
. amsmath
. AMS-LATEX-
. LATEX AMS-LATEX- ( : AMS-LATEX !), .
AMS-LATEX LATEX-
.1 amsmath
\usepackage{amsmath} .
3.2
. :
( ), (
). $ $
:
1
CTAN:macros/latex/required/amslatex .
50
$a$
$b$ $c$
. :
$a^2 + b^2 = c^2$
\TeX{}- $\tau\epsilon\chi$
\\[5pt]
100~$^{3}$ \\[5pt]
$\heartsuit$
a b c . : a2 + b2 = c2
TEX-
100 3
\begin{equation}
\end{equation} .2
\label , \eqref .
\tag \eqref
.
$a$
$b$ $c$
.
\begin{equation}
a^2 + b^2 = c^2
\end{equation}
\begin{equation}
E = mc^2 \label{clever}
\end{equation}
\begin{equation}
1 + 1 = 3 \tag{dumb}
\end{equation}
\eqref{clever}
.
a b c .
a2 + b2 = c2
(3.1)
E = mc2
(3.2)
1+1=3
(dumb)
(3.2) .
amsmath .
LATEX- displaymath
.
3
amsmath-. LATEX equation . amsmath/LATEX amsmath
. , LATEX- equation AMS-LATEX- equation
.
3.2
$a$
$b$ $c$
.
\begin{equation*}
a^2 + b^2 = c^2
\end{equation*}
:
\[ a^2 + b^2 = c^2 \]
51
a b c .
a2 + b2 = c2
:
a2 + b2 = c2
:
:
$\lim_{n \to \infty}
\sum_{k=1}^n \frac{1}{k^2}
= \frac{\pi^2}{6}$.
:
\begin{equation}
\lim_{n \to \infty}
\sum_{k=1}^n \frac{1}{k^2}
= \frac{\pi^2}{6}
\end{equation}
Pn
: limn k=1
:
1
k2
n
X
1
2
lim
=
n
k2
6
2
6 .
(3.3)
k=1
\smash- LATEX
.
$d_{e_{e_p}}$
$h^{i^{g^h}}$ .
,
\smash{$d_{e_{e_p}}$}
\smash{$h^{i^{g^h}}$}
.
3.2.1
deep gh
hi . , deep
gh
hi .
. , :
1. .
\,, \quad \qquad ( 3.5- ).
2. ,
.
52
3. ( ) \text{...}
(60- 3.6- ).
x R :
x2 0
x2 0
x R
x2 0
x R
67- 3.14-
111- 6.4- .
3.3
amsmath
.
\alpha, \beta, \gamma, . . . , \Gamma,
\Delta, . . . 5 .
63- 3.2- .
$\lambda,\xi,\pi,\theta,
\mu,\Phi,\Omega,\Delta$
, , , , , , ,
^ _
.
4
3.3
53
{...}
.
64- 3.3-
.
$p^3_{ij} \qquad
m_\text{Knuth} \\[5pt]
a^x+y \neq a^{x+y}\qquad
e^{x^2} \neq {e^x}^2$
p3ij
mKnuth
2
ex 6= ex 2
ax + y 6= ax+y
x x1/2
x2 +
[x2 +y 2 ]
\cdot . \cdots, \ldots,
\vdots, \ddots
. 3.4.2- .
$\Psi = v_1 \cdot v_2
\cdot \ldots \qquad
n! = 1 \cdot 2
\cdots (n-1) \cdot n$
= v1 v2 . . .
n! = 1 2 (n 1) n
\overline \underline :
$0.\overline{3} =
\underline{\underline{1/3}}$
0.3 = 1/3
\overbrace \underbrace :
$\underbrace{\overbrace{a+b+c}^6
\cdot \overbrace{d+e+f}^9}
_\text{} = 42$
z }| { z }| {
a + b + c d + e + f = 42
|
{z
}
54
63- 3.1- . \widetilde \widehat . \hat \widehat \bar .
:
f (x) = x2
XY
d
XY
f 0 (x) = 2x
x0
f 00 (x) = 2
x
0
\vec
. A- B \overrightarrow \overleftarrow
:
$\vec{a} \qquad
\vec{AB} \qquad
\overrightarrow{AB}$
~a
~
AB
AB
LATEX,
:
\arccos \cos
\csc \exp
\ker
\limsup
\arcsin \cosh \deg \gcd
\lg
\ln
\arctan \cot
\det \hom
\lim
\log
\arg
\coth \dim \inf
\liminf \max
\sinh
\sup
\tan \tanh \min
\Pr
\sec
\sin
\[\lim_{x \rightarrow 0}
\frac{\sin x}{x}=1\]
lim
x0
sin x
=1
x
\DeclareMathOperator
.
.
%\DeclareMathOperator{\argh}{argh}
%\DeclareMathOperator*{\nut}{Nut}
\[3\argh = 2\nut_{x=1}\]
3 argh = 2 Nut
x=1
: \bmod a mod
b , \pmod x a (mod b) :
3.3
$a\bmod b \\
x\equiv a \pmod{b}$
55
a mod b
x a (mod b)
\frac{...}{...}
.
\tfrac .
\dfrac . 1/2 :
:
\[3/8 \qquad \frac{3}{8}
\qquad \tfrac{3}{8} \]
:
$1\frac{1}{2}$~ \qquad
$1\dfrac{1}{2}$~
:
3
8
3/8
3
8
: 1 21
\partial :
\[\sqrt{\frac{x^2}{k+1}}\qquad
x^\frac{2}{k+1}\qquad
\frac{\partial^2f}
{\partial x^2} \]
x2
k+1
x k+1
2f
x2
amsmath- \binom
:
\begin{equation*}
\binom{n}{k} =\binom{n-1}{k}
+ \binom{n-1}{k-1}
\end{equation*}
n
n1
n1
=
+
k
k
k1
\stackrel{#1}{#2}
#1 , #2 .
\begin{equation*}
f_n(x) \stackrel{*}{\approx} 1
\end{equation*}
fn (x) 1
\int , \sum
, \prod , ^ _ :
56
\begin{equation*}
\sum_{i=1}^n \qquad
\int_0^{\frac{\pi}{2}} \qquad
\prod_\epsilon
\end{equation*}
n
X
i=1
amsmath- \substack :
\begin{equation*}
\sum^n_{\substack{0<i<n \\
j\subseteq i}}
P(i,j) = Q(i,j)
\end{equation*}
n
X
P (i, j) = Q(i, j)
0<i<n
ji
LATEX- ( [ h k l)
.
, \{,
( \updownarrow).
\begin{equation*}
{a,b,c} \neq \{a,b,c\}
\end{equation*}
a, b, c 6= {a, b, c}
\left- , \right-
LATEX, . \left
\right .
\left. :
\begin{equation*}
1 + \left(\frac{1}{1-x^{2}}
\right)^3 \qquad
\left. \ddagger \frac{~}{~}\right)
\end{equation*}
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\| \quad
\big\Downarrow \Big\Downarrow
\bigg\Downarrow \Bigg\Downarrow$
2
(x + 1)(x 1)
ww
)
ww
ww
o
w
ww
w
66- 3.8- .
3.4
3.4
3.4.1
57
\begin{align}
f(x) &= (a+b)(a-b) \label{1}\\
&= a^2-ab+ba-b^2 \\
&= a^2+b^2 \tag{}
\end{align}
\eqref{1} .
f (x) = (a + b)(a b)
2
(3.4)
2
= a ab + ba b
2
=a +b
(3.5)
()
(3.4) .
. :
\begin{align}
f(x) &= 3x^5 + x^4 + 2x^3
\nonumber \\
&\qquad + 9x^2 + 12x + 23 \\
&= g(x) - h(x)
\end{align}
(3.6)
(3.7)
amsmath : flalign,
gather, multline split. ,
.
3.4.2
array .
tabular . \\ :
6
58
\begin{equation*}
\mathbf{X} = \left(
\begin{array}{ccc}
x_1 & x_2 & \ldots \\
x_3 & x_4 & \ldots \\
\vdots & \vdots & \ddots
\end{array} \right)
\end{equation*}
x1
x3
X=
..
.
...
...
..
.
x2
x4
..
.
array \right- . :7
\begin{equation*}
|x| = \left\{
\begin{array}{rl}
-x & x < 0 \text{ }\\
0 & x = 0 \text{ }\\
x & x > 0 \text{ }
\end{array} \right.
\end{equation*}
x x < 0
0 x = 0
|x| =
x x > 0
array- amsmath-
matrix .
: matrix (), pmatrix (, bmatrix [, Bmatrix {, vmatrix |
Vmatrix k. array . 10 (10
!):
\begin{equation*}
\begin{matrix}
1 & 2 \\
3 & 4
\end{matrix} \qquad
\begin{bmatrix}
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9
\end{bmatrix}
\end{equation*}
3.5
1
3
2
4
1
4
7
2
5
8
3
6
9
LATEX- 3
: \, 18
quad
4
5
( ), \: 18 quad ( ) \; 18 quad ( ).
7
amsmath- cases .
3.5
59
\ \quad ( ) \qquad (
) . \quad-
M . \!
3
18
quad ( ) .
d :
\begin{equation*}
\int_1^2 \ln x \mathrm{d}x \qquad
\int_1^2 \ln x \,\mathrm{d}x
\end{equation*}
ln xdx
1
ln x dx
1
\begin{equation*}
\int_a^b f(x)\ud x
\end{equation*}
f (x) dx
a
, \! amsmath-
\iint, \iiint, \iiiint, \idotsint .
\newcommand{\ud}{\,\mathrm{d}}
Z Z
\[ \int\int f(x)g(y)
\ud x \ud y \]
\[ \int\!\!\!\int
f(x)g(y) \ud x \ud y \]
\[ \iint f(x)g(y) \ud x \ud y \]
ZZ
f (x)g(y) dx dy
f (x)g(y) dx dy
ZZ
f (x)g(y) dx dy
testmath.tex (AMS-LATEX- )
The LATEX Companion [3] 8- .
3.5.1
LATEX- ^ _
. \phantom :
\begin{equation*}
{}^{14}_{6}\text{C}
\qquad \text{ } \qquad
{}^{14}_{\phantom{1}6}\text{C}
\end{equation*}
14
6 C
14
6C
60
mhchem .
3.6
67- 3.14- .
$\Re \qquad
\mathcal{R} \qquad
\mathfrak{R} \qquad
\mathbb{R} \qquad $
<
amssymb amsfonts .
LATEX- .
:
\displaystyle (123), \textstyle (123), \scriptstyle (123)
\scriptscriptstyle (123).
, LATEX- :
P
\begin{equation*}
R = \frac{\displaystyle{
\sum_{i=1}^n (x_i-\bar{x})
(y_i- \bar{y})}}
{\displaystyle{\left[
\sum_{i=1}^n(x_i-\bar{x})^2
\sum_{i=1}^n(y_i-\bar{y})^2
\right]^{1/2}}}
\end{equation*}
n
X
(xi x
)(yi y)
R= "
i=1
n
X
(xi x
)
i=1
n
X
#1/2
2
(yi y)
i=1
3.6.1
LATEX- . \mathbf
. \boldmath
:
$\mu, M \qquad
\mathbf{\mu}, \mathbf{M}$
\qquad \boldmath{$\mu, M$}
, M
, M
, M
3.7 , , . . .
61
amsbsy (amsmath- )
tools bm \boldsymbol
:
$\mu, M \qquad
\boldsymbol{\mu}, \boldsymbol{M}$
3.7
, M
, M
, , . . .
, , .
\newtheorem{}[]{}[]
- , - .
. - . -
.
\newtheorem
.
\begin{}[]
\end{}
amsthm (AMS-LATEX-) \theoremstyle{}
: definition
( , ), plain ( ,
) remark ( , ).
. \newtheorem
.
:
\theoremstyle{definition} \newtheorem{law}{Law}
\theoremstyle{plain}
\newtheorem{jury}[law]{Jury}
\theoremstyle{remark}
\newtheorem*{marg}{Margaret}
62
\begin{law} \label{law:box}
Dont 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{marg}No, No, No\end{marg}
Jury Law .
.
\newtheorem{mur}{}[section]
\begin{mur}
.\end{mur}
3.7.1.
.
- .
.
amsthm proof .
\begin{proof}
\[E=mc^2\]
.
\end{proof}
.
E = mc2
.
\qedhere
.
\begin{proof}
\[E=mc^2 \qedhere\]
.
\end{proof}
.
E = mc2
.
ntheorem .
3.8
3.8
63
.
3.123.88 - amssymb
AMS
.
CTAN:macros/latex/required/amslatex . CTAN:info/symbols/
comprehensive .
3.1: .
a
a
`
a
\hat{a}
\grave{a}
\bar{a}
\acute{a}
\mathring{a}
a
~a
a
[
AAA
]
AAA
\check{a}
\dot{a}
\vec{a}
\breve{a}
\tilde{a}
\ddot{a}
\widehat{AAA}
\widetilde{AAA}
3.2: .
\Alpha, \Beta A, B. . .
.
\alpha
\beta
\gamma
\delta
\epsilon
\varepsilon
\zeta
\eta
\Gamma
\Delta
\Theta
\theta
\vartheta
\iota
\kappa
\lambda
\mu
\nu
\xi
\Lambda
\Xi
\Pi
o
\pi
\varpi
\rho
\varrho
\sigma
\varsigma
\tau
\Sigma
\Upsilon
\Phi
\upsilon
\phi
\varphi
\chi
\psi
\omega
\Psi
\Omega
64
3.3: .
\not .
<
@
v
`
|
^
:
a
<
\leq or \le
\ll
\prec
\preceq
\subset
\subseteq
\sqsubset a
\sqsubseteq
\in
\vdash
\mid
\smile
:
>
A
w
3
a
k
_
>
\geq or \ge
\gg
\succ
\succeq
\supset
\supseteq
\sqsupset a
\sqsupseteq
\ni , \owns
\dashv
\parallel
\frown
\notin
.
=
'
=
1
./
|=
6=
=
\equiv
\doteq
\sim
\simeq
\approx
\cong
\Join a
\bowtie
\propto
\models
\perp
\asymp
\neq or \ne
latexsym
3.4: .
+
4
+
\pm
\cdot
\times
\cup
\sqcup
\vee , \lor
\oplus
\odot
\otimes
\bigtriangleup
\lhd a
\unlhd a
5
\mp
\div
\setminus
\cap
\sqcap
\wedge , \land
\ominus
\oslash
\bigcirc
\bigtriangledown
\rhd a
\unrhd a
/
.
?
]
q
\triangleleft
\triangleright
\star
\ast
\circ
\bullet
\diamond
\uplus
\amalg
\dagger
\ddagger
\wr
3.8
65
3.5: .
P
Q
`
R
L
\sum
\prod
\coprod
\int
\bigoplus
S
T
F
H
N
\bigcup
\bigcap
\bigsqcup
\oint
\bigotimes
W
V
U
J
\bigvee
\bigwedge
\biguplus
\bigodot
3.6: .
7
(
)
%
.
;
a
\leftarrow or \gets
\rightarrow or \to
\leftrightarrow
\Leftarrow
\Rightarrow
\Leftrightarrow
\mapsto
\hookleftarrow
\leftharpoonup
\leftharpoondown
\rightleftharpoons
\uparrow
\updownarrow
\Downarrow
\nearrow
\swarrow
\leadsto a
=
=
7
,
*
+
m
&
-
\longleftarrow
\longrightarrow
\longleftrightarrow
\Longleftarrow
\Longrightarrow
\Longleftrightarrow
\longmapsto
\hookrightarrow
\rightharpoonup
\rightharpoondown
\iff (bigger spaces)
\downarrow
\Uparrow
\Updownarrow
\searrow
\nwarrow
latexsym
3.7: .
AB
AB
AB
\underrightarrow{AB}
\overleftarrow{AB}
AB
AB
\overleftrightarrow{AB}
AB
\underleftrightarrow{AB}
\overrightarrow{AB}
\underleftarrow{AB}
66
3.8: .
(
[
{
h
|
/
b
e
)
]
}
i
k
\
c
d
(
[ or \lbrack
\{ or \lbrace
\langle
| or \vert
/
\lfloor
\rceil
)
] or \rbrack
\} or \rbrace
\rangle
\| or \Vert
\backslash
\rfloor
\lceil
\uparrow
\downarrow
\updownarrow
\Uparrow
\Downarrow
\Updownarrow
3.9: .
\lgroup
\arrowvert
\rmoustache
w
w
\rgroup
\Arrowvert
\lmoustache
\bracevert
3.10: .
...
~
<
\dots
\hbar
\Re
\forall
\nabla
\bot
\diamondsuit
\neg or \lnot
a
0
4
>
\cdots
\imath
\Im
\exists
\prime
\triangle
\top
\heartsuit
\flat
..
.
\vdots
\jmath
\aleph
\mho a
\emptyset
\Box a
\angle
\clubsuit
\natural
..
\ddots
\ell
\wp
\partial
\infty
\Diamond a
\surd
\spadesuit
\sharp
latexsym
3.11: .
.
\dag
\ddag
\S
\P
\copyright
\pounds
\textregistered
\%
3.8
67
3.12: AMS .
p
|
\ulcorner
\lvert
q
|
\urcorner
\rvert
x
k
\llcorner
\lVert
y
k
\lrcorner
\rVert
3.13: AMS .
z
\digamma
\varkappa
\beth
\gimel
\daleth
3.14: .
111- 6.4- .
ABCDEabcde1234
ABCDEabcde1234
ABCDEabcde
ABCDE
A BC DE
ABCDEabcde1234
ABCDEa1234
mathrsfs
amsfonts or amssymb
amsfonts or amssymb
3.15: AMS .
u
n
d
Y
|
g
\dotplus
\ltimes
\doublecup
\veebar
\boxplus
\boxtimes
\intercal
\curlyvee
o
e
Z
~
f
\centerdot
\rtimes
\doublecap
\barwedge
\boxminus
\boxdot
\circledast
\curlywedge
>
r
[
}
i
h
\divideontimes
\smallsetminus
\doublebarwedge
\circleddash
\circledcirc
\rightthreetimes
\leftthreetimes
68
3.16: AMS .
l
6
0
5
.
/
Q
S
4
2
w
j
q
J
B
I
D
C
E
\lessdot
\leqslant
\eqslantless
\leqq
\lll or \llless
\lesssim
\lessapprox
\lessgtr
\lesseqgtr
\lesseqqgtr
\preccurlyeq
\curlyeqprec
\precsim
\precapprox
\subseteqq
\shortparallel
\blacktriangleleft
\vartriangleright
\blacktriangleright
\trianglerighteq
\vartriangleleft
\trianglelefteq
m
>
1
=
&
'
R
T
<
3
%
v
k
c
A
b
a
p
\gtrdot
\geqslant
\eqslantgtr
\geqq
\ggg
\gtrsim
\gtrapprox
\gtrless
\gtreqless
\gtreqqless
\succcurlyeq
\curlyeqsucc
\succsim
\succapprox
\supseteqq
\Supset
\sqsupset
\because
\Subset
\smallfrown
\shortmid
\therefore
+
:
;
P
$
,
l
m
u
v
w
G
t
`
@
\doteqdot
\risingdotseq
\fallingdotseq
\eqcirc
\circeq
\triangleq
\bumpeq
\Bumpeq
\thicksim
\thickapprox
\approxeq
\backsim
\backsimeq
\vDash
\Vdash
\Vvdash
\backepsilon
\varpropto
\between
\pitchfork
\smallsmile
\sqsubset
3.8
69
3.17: AMS .
L99
W
"
x
(
\dashleftarrow
\leftleftarrows
\leftrightarrows
\Lleftarrow
\twoheadleftarrow
\leftarrowtail
\leftrightharpoons
\Lsh
\looparrowleft
\curvearrowleft
\circlearrowleft
\multimap
\downdownarrows
\upharpoonright
\rightsquigarrow
99K
V
#
y
!
\dashrightarrow
\rightrightarrows
\rightleftarrows
\Rrightarrow
\twoheadrightarrow
\rightarrowtail
\rightleftharpoons
\Rsh
\looparrowright
\curvearrowright
\circlearrowright
\upuparrows
\upharpoonleft
\downharpoonright
\leftrightsquigarrow
70
3.18: AMS .
*
$
\nless
\lneq
\nleq
\nleqslant
\lneqq
\lvertneqq
\nleqq
\lnsim
\lnapprox
\nprec
\npreceq
\precneqq
\precnsim
\precnapprox
\subsetneq
\varsubsetneq
\nsubseteq
\subsetneqq
)
!
+
%
\ngtr
\gneq
\ngeq
\ngeqslant
\gneqq
\gvertneqq
\ngeqq
\gnsim
\gnapprox
\nsucc
\nsucceq
\succneqq
\succnsim
\succnapprox
\supsetneq
\varsupsetneq
\nsupseteq
\supsetneqq
&
'
"
#
.
/
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
8
:
\nleftarrow
\nLeftarrow
9
;
\nrightarrow
\nRightarrow
=
<
\nleftrightarrow
\nLeftrightarrow
(
3.19: AMS .
~
M
O
@
\hbar
\square
\vartriangle
\triangledown
\lozenge
\angle
\diagup
\nexists
\eth
}
N
H
]
`
^
\hslash
\blacksquare
\blacktriangle
\blacktriangledown
\blacklozenge
\measuredangle
\diagdown
\Finv
\sphericalangle
k
s
{
a
F
\Bbbk
\circledS
\complement
\Game
\bigstar
\backprime
\varnothing
\mho
LATEX ,
. LATEX- LATEX Manual [1] The LATEX Companion [3] .
4.1
Encapsulated PostScript
72
:
1. EPS .4
2. graphicx
\usepackage[]{graphicx}
\includegraphics[=, . . . ]{}
, ,
. 4.1-
.
4.1: graphicx .
width
height
angle
scale
4
EPS PostScript
( , Apple LaserWriter )
EPS . EPS
. .
4.2
73
:
\begin{figure}
\centering
\includegraphics[angle=90,
width=0.5\textwidth]{test}
\caption{ .}
\end{figure}
test.eps 90
2 .
1.0
.
115- 6.5- ,
[9] [13] .
4.2
thebibliography ,
\bibitem[]{}
, .
\cite{}
. \begin{thebibliography} .
{99} LATEX- 99
.
[1]- . . .
~\cite{pa}-
\ldots
\begin{thebibliography}{99}
\bibitem{pa} H.~Partl:
\emph{German \TeX},
TUGboat Volume~9, Issue~1 (1988)
\end{thebibliography}
74
Specialities
BibTEX . BibTEX TEX-
. BibTEX
.
4.3
75
4.2: .
\index{hello}
\index{hello!Peter}
\index{Sam@\textsl{Sam}}
\index{Lin@\textbf{Lin}}
\index{Jenny|textbf}
\index{Joe|textit}
\index{ecole@\ecole}
4.3
hello, 1
Peter, 3
Sam, 2
Lin, 7
Jenny, 3
Joe, 5
ecole, 4
hello-
. LATEX makeindex5
. The LATEX Companion [3] .
LATEX- makeidx
:
\usepackage{makeidx}
\makeindex
.
,
\index{ }
. 4.2- .
LATEX, \index
,
(.idx) . .idx
5
8-
makeidx .
76
Specialities
makeindex .
makeindex
makeindex ,
.ind
LATEX LATEX
\printindex
.
LATEX 2 - showidx
. .
\index
.
\index{}.
\index{}.
.
4.4
. .
.
macros/latex/contrib/supported/fancyhdr .
4.4
\documentclass{book}
\usepackage{fancyhdr}
\pagestyle{fancy}
% ,
% .
\renewcommand{\chaptermark}[1]{%
\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{%
\markright{\thesection\ #1}}
\fancyhf{} % ,
\fancyhead[LE,RO]{\bfseries\thepage}
\fancyhead[LO]{\bfseries\rightmark}
\fancyhead[RE]{\bfseries\leftmark}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headheight}{0.5pt} %
\fancypagestyle{plain}{%
\fancyhead{} %
\renewcommand{\headrulewidth}{0pt}
}
4.1: fancyhdr .
77
78
Specialities
4.5
Verbatim
verbatim . verbatim .
verbatim verbatim . verbatim
\verbatiminput{ }
, ASCII verbatim .
verbatim tools
.
[10]- .
4.6
LATEX .
CTAN (http://www.ctan.org/).
geometry, hyphenat,
: .ins .dtx . ,
readme.txt .
,
(a) TEX , (b) . :
1. LATEX .ins .sty .
2. .sty .../localtexmf /tex/latex (Windows OS/2
) .
3. LATEX : teTeX, fpTeX texhash; web2c maktexlsr;
MiKTeX initexmf -update-fndb GUI
.
.dtx :
1. .dtx LATEX .dvi .
LATEX
(cross-reference) .
4.7
pdfLATEX-
PDF
, .
. LATEX-
\ref \pageref . , ,
.
HTML (HyperText Markup Language) . :
1. HTML .
.
2. HTML LATEX-
.
LATEX- HTML
LATEX
. LATEX-
79
80
Specialities
, PDF (Portable Document Format, )- . PDF .
DVI PS Acrobat Reader Xpdf PDF
. PDF
.
4.7.1
4.7.2
81
82
Specialities
PostScript type 1 . Acrobat Reader .
.
CM . , Times, Helvetica Courier
.
, , Palatino pxfonts ,
Times txfonts
:
\usepackage[T1]{fontenc}
\usepackage{pxfonts}
: .log
Warning: pdftex (file eurmo10): Font eur... not found
. PDF
.
, type 1 CM EC Latin Modern (LM) TEX
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
pdf
.
4.7.3
graphicx (71-
). pdfLATEX- driver pdftex :
\usepackage[pdftex]{color,graphicx}
color
.
Encapsulated PostScript PdfLATEX- . \includegraphics
4.7.4
hyperref . \usepackage[pdftex]{hyperref}
.
hyperref :
pdftex
\usepackage[pdftex]{hyperref}
\hypersetup{}
.
pdftex ,
hyperref7
. (default)
:
bookmarks (=true,false )
unicode (=false,true ) Acrobat-
pdftoolbar (=true,false ) Acrobat-
(toolbar)
7
hyperref pdfTEX- LATEX DVI
PDF- , dvips
PS PS PDF
Adobe Distiller .
83
84
Specialities
pdfmenubar (=true,false ) Acrobat-
85
\href{url }{text}
\href{http://www.ctan.org}{CTAN}.
CTAN , CTAN
.
URL ( ) \href :
\href{manual.pdf}{}
manual.pdf . (
).
\author \href :
\author{Mary Oetiker $<$\href{mailto:mary@oetiker.ch}%
{mary@oetiker.ch}$>$
,
\href{mailto:mary@oetiker.ch}{Mary Oetiker}
Acrobat
.
4.7.5
, book \mainmatter :
! pdfTeX warning (ext4): destination with the same
identifier (name{page.1}) has been already used,
duplicate ignored
86
Specialities
, 1- , 1
.
hyperref- plainpages=false .
hypertexnames=false
.
4.7.6
:
\section{\texorpdfstring{$E=mc^2$}%
{E=mc^2}}
\section{$E=mc^2$} E=mc2 .
:
\section{\textcolor{red}{Red !}}
redRed! . \textcolor
(red) .
\section{\texorpdfstring{\textcolor{red}{Red !}}{Red\ !}}
.
hyperref unicode
. \texorpdfstring
.
TEX FAQ-
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=ifpdf.
87
88
Specialities
, dvi latex
.
4.8
(presentation)
(transparency)
( ) .
pdfLATEX- beamer , PowerPoint
, Acrobat
Reader PDF .
beamer graphicx, color
hyperref .
4.2- PDFLATEX- ,
PDF .
beamer , PDF , prosper PostScript
ppower4
.
beamer
. .
beamer PDF .
trans .
handout .
beamer
\documentclass[10pt,handout]{beamer} .
beamer
.
beamer beameruserguide.pdf
.
4.2- .
\mode<beamer> ,
Goettingen .
( 22 ) ( )
. hideothersubsections
. \mode<trans> \mode<handout> .
4.8 (presentation)
\documentclass[10pt]{beamer}
\mode<beamer>{%
\usetheme[hideothersubsections,
right,width=22mm]{Goettingen}
}
\title{ }
\author[. ]{ }
\institute{U.S.T.L. \& GUTenberg}
\titlegraphic{\includegraphics[width=20mm]{USTL}}
\date{2005}
\begin{document}
\begin{frame}<handout:0>
\titlepage
\end{frame}
\section{}
\begin{frame}
\frametitle{ }
\begin{block}{ \ldots}
\begin{itemize}
\item \dots \pause
\item \pause
\item \pause
\end{itemize}
\end{block}
\end{frame}
\end{document}
4.2: beamer
89
90
Specialities
\title{}, \author{}, \institute{}, \titlegraphic{}
. \title[]{} \author[]{}
Goettingen .
frame \section{} \subsection{} .
. .
frame
(< >) (optional)
. <handout:0>
.
. \frametitle{} block . , \section{}
\subsection{} .
itemize \pause .
\only, \uncover, \alt \temporal
. .
beamer beameruserguide.pdf , .
http://latex-beamer.sourceforge.net/
.
LATEX- . ,
LATEX . LATEX-,
.
5.1
LATEX- picture .
LATEX Manual [1] . ,
, LATEX 2 - picture
\qbezier (q ) ,
,
. Java , LATEX \qbezier
picture
.
LATEX
,
.
epic, eepic (The LATEX Companion [3]- ) pstricks
picture LATEX .
picture pstricks pspicture
. pstricks PostScript- .
92
XY-pic
. The
LATEX Graphics Companion [4] (The LATEX Companion [3] )
.
LATEX-
METAFONT- METAPOST METAFONT- ,
, (bitmap) LATEX- encapsulated PostScript METAFONT-
. A Users Manual for METAPOST [15],
[17] .
TEX Unbound [16] LATEX TEX () .
5.2
picture
5.2.1
picture 1
\begin{picture}(x, y). . . \end{picture}
x, y, x0 , y0 (picture ) \unitlength
\setlength{\unitlength}{1.2cm}
picture LATEX 2 .
5.2 picture
\put(x, y){}
93
94
5.2.2
\setlength{\unitlength}{5cm}
\begin{picture}(1,1)
\put(0,0){\line(0,1){1}}
\put(0,0){\line(1,0){1}}
\put(0,0){\line(1,1){1}}
\put(0,0){\line(1,2){.5}}
\put(0,0){\line(1,3){.3333}}
\put(0,0){\line(1,4){.25}}
\put(0,0){\line(1,5){.2}}
\put(0,0){\line(1,6){.1667}}
\put(0,0){\line(2,1){1}}
\put(0,0){\line(2,3){.6667}}
\put(0,0){\line(2,5){.4}}
\put(0,0){\line(3,1){1}}
\put(0,0){\line(3,2){1}}
\put(0,0){\line(3,4){.75}}
\put(0,0){\line(3,5){.6}}
\put(0,0){\line(4,1){1}}
\put(0,0){\line(4,3){1}}
\put(0,0){\line(4,5){.8}}
\put(0,0){\line(5,1){1}}
\put(0,0){\line(5,2){1}}
\put(0,0){\line(5,3){1}}
\put(0,0){\line(5,4){1}}
\put(0,0){\line(5,6){.8333}}
\put(0,0){\line(6,1){1}}
\put(0,0){\line(6,5){1}}
\end{picture}
%
%
%
,
%
,
#
#
%
,
#
,
%
#
,
%
#
"
," "
#
% ,
"
#
"
% #
,
"
!
, " !!
%
#
" !!
,
%
#
" !!
,
#
%,
"
!
#
"
!
(
(
%
!
"!(((( (
,
#
"
!
((
%
,
#
!
"
!
((((
(
,
%
(
"
!
#
\put(x, y){\line(x1 , y1 ){}}
\line :
1. ,
2. .
6, 5, . . . , 5, 6,
(1- ).
( ) 25
\unitlength- .
,
.
5.2 picture
5.2.3
95
\setlength{\unitlength}{0.75mm}
\begin{picture}(60,40)
\put(30,20){\vector(1,0){30}}
\put(30,20){\vector(4,1){20}}
\put(30,20){\vector(3,1){25}}
\put(30,20){\vector(2,1){30}}
\put(30,20){\vector(1,2){10}}
\thicklines
\put(30,20){\vector(-4,1){30}}
\put(30,20){\vector(-1,4){5}}
\thinlines
\put(30,20){\vector(-1,-1){5}}
\put(30,20){\vector(-1,-4){5}}
\end{picture}
*
C
1
y
X
XXX
C
:
XXX
C
OCC
4, 3, . . . , 3, 4.
(1-
). \thicklines
.
96
5.2.4
\setlength{\unitlength}{1mm}
\begin{picture}(60, 40)
\put(20,30){\circle{1}}
\put(20,30){\circle{2}}
\put(20,30){\circle{4}}
\put(20,30){\circle{8}}
\put(20,30){\circle{16}}
\put(20,30){\circle{32}}
\put(40,30){\circle{1}}
\put(40,30){\circle{2}}
\put(40,30){\circle{3}}
\put(40,30){\circle{4}}
\put(40,30){\circle{5}}
\put(40,30){\circle{6}}
\put(40,30){\circle{7}}
\put(40,30){\circle{8}}
\put(40,30){\circle{9}}
\put(40,30){\circle{10}}
\put(40,30){\circle{11}}
\put(40,30){\circle{12}}
\put(40,30){\circle{13}}
\put(40,30){\circle{14}}
'$
'$
#
j
be
m
j
h
be
"!
&%
&%
r
u x z}
\put(15,10){\circle*{1}}
\put(20,10){\circle*{2}}
\put(25,10){\circle*{3}}
\put(30,10){\circle*{4}}
\put(35,10){\circle*{5}}
\end{picture}
(x, y) ( )
\put(x, y){\circle{}}
picture
14 . \circle* ( ).
eepic pstricks . The LATEX Graphics Companion [4]
.
picture .
5.2 picture
97
5.2.5
\setlength{\unitlength}{0.8cm}
\begin{picture}(6,5)
\thicklines
\put(1,0.5){\line(2,1){3}}
\put(4,2){\line(-2,1){2}}
\put(2,3){\line(-2,-5){1}}
\put(0.7,0.3){$A$}
\put(4.05,1.9){$B$}
\put(1.7,2.95){$C$}
\put(3.1,2.5){$a$}
\put(1.3,1.7){$b$}
\put(2.5,1.05){$c$}
\put(0.3,4){$F=
\sqrt{s(s-a)(s-b)(s-c)}$}
\put(3.5,0.4){$\displaystyle
s:=\frac{a+b+c}{2}$}
\end{picture}
F =
p
s(s a)(s b)(s c)
CH
HHa
HH
B
b
c
a+b+c
s :=
A
2
picture \put
.
5.2.6
\multiput \linethickness
\setlength{\unitlength}{2mm}
\begin{picture}(30,20)
\linethickness{0.075mm}
\multiput(0,0)(1,0){26}%
{\line(0,1){20}}
\multiput(0,0)(0,1){21}%
{\line(1,0){25}}
\linethickness{0.15mm}
\multiput(0,0)(5,0){6}%
{\line(0,1){20}}
\multiput(0,0)(0,5){5}%
{\line(1,0){25}}
\linethickness{0.3mm}
\multiput(5,0)(10,0){2}%
{\line(0,1){20}}
\multiput(0,5)(0,10){2}%
{\line(1,0){25}}
\end{picture}
98
4 : ,
, ,
. \linethickness
.
!
5.2.7
\setlength{\unitlength}{0.75cm}
\begin{picture}(6,4)
\linethickness{0.075mm}
\multiput(0,0)(1,0){7}%
{\line(0,1){4}}
\multiput(0,0)(0,1){5}%
{\line(1,0){6}}
\thicklines
\put(2,3){\oval(3,1.8)}
\thinlines
\put(3,2){\oval(3,1.8)}
\thicklines
\put(2,1){\oval(3,1.8)[tl]}
\put(4,1){\oval(3,1.8)[b]}
\put(4,3){\oval(3,1.8)[r]}
\put(3,1.5){\oval(1.8,0.4)}
\end{picture}
#
#
"
! !
#
!
"
"
(x, y) , w h
\put(x, y){\oval(w, h)}
. , , , ,
b, t, l, r
.
\linethickness{} \thinlines
\thicklines . ( ) \linethickness{} \thinlines \thicklines
.
5.2 picture
5.2.8
99
\setlength{\unitlength}{0.5mm}
\begin{picture}(120,168)
\newsavebox{\foldera}
\savebox{\foldera}
(40,32)[bl]{%
\multiput(0,0)(0,28){2}
{\line(1,0){40}}
\multiput(0,0)(40,0){2}
{\line(0,1){28}}
\put(1,28){\oval(2,2)[tl]}
\put(1,29){\line(1,0){5}}
\put(9,29){\oval(6,6)[tl]}
\put(9,32){\line(1,0){8}}
\put(17,29){\oval(6,6)[tr]}
\put(20,29){\line(1,0){19}}
\put(39,28){\oval(2,2)[tr]}
}
\newsavebox{\folderb}
\savebox{\folderb}
(40,32)[l]{%
\put(0,14){\line(1,0){8}}
\put(8,0){\usebox{\foldera}}
}
\put(34,26){\line(0,1){102}}
\put(14,128){\usebox{\foldera}}
\multiput(34,86)(0,-37){3}
{\usebox{\folderb}}
\end{picture}
\newsavebox{}
\savebox{}(,)[]{}
\put(x, y)\usebox{}
bl . top
right .
100
LATEX ( ).
: , \foldera \folderb-
.
\line 3 - \oval .
5.2.9
\setlength{\unitlength}{0.8cm}
\begin{picture}(6,4)
\linethickness{0.075mm}
\multiput(0,0)(1,0){7}
{\line(0,1){4}}
\multiput(0,0)(0,1){5}
{\line(1,0){6}}
\thicklines
\put(0.5,0.5){\line(1,5){0.5}}
\put(1,3){\line(4,1){2}}
\qbezier(0.5,0.5)(1,3)(3,3.5)
\thinlines
\put(2.5,2){\line(2,-1){3}}
\put(5.5,0.5){\line(-1,5){0.5}}
\linethickness{1mm}
\qbezier(2.5,2)(5.5,0.5)(5,3)
\thinlines
\qbezier(4,2)(4,3)(3,3)
\qbezier(3,3)(2,3)(2,2)
\qbezier(2,2)(2,1)(3,1)
\qbezier(3,1)(4,1)(4,2)
\end{picture}
D
D
D
HH
D
H
HH D
HHD
m
2
1
y = yi + mi (x xi )
(i = 1, 2).
x =
(5.1)
5.2 picture
101
5.2.10
\setlength{\unitlength}{1cm}
\begin{picture}(4.3,3.6)(-2.5,-0.25)
\put(-2,0){\vector(1,0){4.4}}
\put(2.45,-.05){$x$}
\put(0,0){\vector(0,1){3.2}}
\put(0,3.35){\makebox(0,0){$y$}}
\qbezier(0.0,0.0)(1.2384,0.0)
(2.0,2.7622)
\qbezier(0.0,0.0)(-1.2384,0.0)
(-2.0,2.7622)
\linethickness{.075mm}
\multiput(-2,0)(1,0){5}
{\line(0,1){3}}
\multiput(-2,0)(0,1){4}
{\line(1,0){4}}
\linethickness{.2mm}
\put( .3,.12763){\line(1,0){.4}}
\put(.5,-.07237){\line(0,1){.4}}
\put(-.7,.12763){\line(1,0){.4}}
u
\put(-.5,-.07237){\line(0,1){.4}}
\put(.8,.54308){\line(1,0){.4}}
\put(1,.34308){\line(0,1){.4}}
\put(-1.2,.54308){\line(1,0){.4}}
\put(-1,.34308){\line(0,1){.4}}
\put(1.3,1.35241){\line(1,0){.4}}
\put(1.5,1.15241){\line(0,1){.4}}
\put(-1.7,1.35241){\line(1,0){.4}}
\put(-1.5,1.15241){\line(0,1){.4}}
\put(-2.5,-0.25){\circle*{0.2}}
\end{picture}
y
6
-x
y = cosh x 1
(2, 2.7622) , m = 3.6269 . (5.1) (1.2384, 0)
(1.2384, 0) . . , .
\begin{picture} (optional argument) . -
102
\begin{picture}(4.3,3.6)(-2.5,-0.25)
( ) (2.5, 0.25)
.
5.2.11
\setlength{\unitlength}{0.8cm}
\begin{picture}(6,4)(-3,-2)
\put(-2.5,0){\vector(1,0){5}}
\put(2.7,-0.1){$\chi$}
\put(0,-1.5){\vector(0,1){3}}
\multiput(-2.5,1)(0.4,0){13}
{\line(1,0){0.2}}
\multiput(-2.5,-1)(0.4,0){13}
{\line(1,0){0.2}}
\put(0.2,1.4)
{$\beta=v/c=\tanh\chi$}
\qbezier(0,0)(0.8853,0.8853)
(2,0.9640)
\qbezier(0,0)(-0.8853,-0.8853)
(-2,-0.9640)
\put(-3,-2){\circle*{0.2}}
\end{picture}
= v/c = tanh
6
-
5.3
LATEX
PGF . PGF 500+ [18] .
.
PGF
tikz , tikzpicture
.
103
\begin{tikzpicture}[scale=3]
\clip (-0.1,-0.2)
rectangle (1.8,1.2);
\draw[step=.25cm,gray,very thin]
(-1.4,-1.4) grid (3.4,3.4);
\draw (-1.5,0) -- (2.5,0);
\draw (0,-1.5) -- (0,1.5);
\draw (0,0) circle (1cm);
\filldraw[fill=green!20!white,
draw=green!50!black]
(0,0) -- (3mm,0mm)
arc (0:30:3mm) -- cycle;
\end{tikzpicture}
(;) . \usetikzlibrary
,
.
\usetikzlibrary{%
decorations.pathmorphing}
\begin{tikzpicture}[
decoration={bent,aspect=.3}]
\draw [decorate,fill=lightgray]
(0,0) rectangle (5.5,2);
\node[circle,draw]
(A) at (.5,.5) {A};
\node[circle,draw]
(B) at (5,1.5) {B};
\draw[->,decorate] (A) -- (B);
\draw[->,decorate] (B) -- (A);
\end{tikzpicture}
B
A
.
.
PGF .
+
unsigned integer
digit
unsigned integer
E
-
104
pgfplot
gnuplot .
LATEX-
,
.
LATEX- , , .
LATEX- .
6.1
, . LATEX :
\begin{lscommand}
\ci{dum}
\end{lscommand}
\dum
\lscommand, \ci
. \dum , .
lscommand . LATEX-
, .
LATEX-
106
6.1.1
\newcommand{}[]{}
. :
, .
(9 ) . 0
, .
.
\tnss .
LATEX 2 - . , .
\newcommand{\tnss}{\LaTeXe-
}
\tnss \ldots{}
\tnss
LATEX 2 - . . .
LATEX 2 -
. #1
#2 .
\newcommand{\txsit}[1]
{ \LaTeXe-
\emph{#1} }
% in the document body:
\begin{itemize}
\item \txsit{ }
\item \txsit{}
\end{itemize}
LATEX 2 -
LATEX 2 -
LATEX .
\renewcommand .
\newcommand .
\providecommand .
\newcommand
LATEX 2
.
LATEX . 5- .
6.1 ,
6.1.2
\newcommand \newenvironment
:
\newenvironment{}[]{}{}
\newenvironment .
\end{} .
\newenvironment .
\newenvironment{king}
{\rule{1ex}{1ex}%
\hspace{\stretch{1}}}
{\hspace{\stretch{1}}%
\rule{1ex}{1ex}}
. . .
\begin{king}
\ldots
\end{king}
\newcommand
. LATEX,
\renewenvironment . \newenvironment .
. \rule
121- , \stretch 114- , \hspace 114-
.
6.1.3
.
,
. \ignorespaces LATEX-
\ignorespacesafterend .
107
LATEX-
108
\newenvironment{simple}%
{\noindent}%
{\par\noindent}
\begin{simple}
\\ .
\end{simple}
\\.
\newenvironment{correct}%
{\noindent\ignorespaces}%
{\par\noindent%
\ignorespacesafterend}
\begin{correct}
\\ .
\end{correct}
\\.
6.1.4
.
.
.
.
LATEX-
LATEX
Makefiles . LATEX
, .
:
\usepackage{ifthen}
\ifthenelse{\equal{\blackandwhite}{true}}{
% " " ..
}{
% "" ..
}
LATEX :
latex \newcommand{\blackandwhite}{true}\input{test.tex}
\blackandwhite \blackandwhite false .
6.1.5
.
LATEX
6.2
109
%
\ProvidesPackage{demopack}
\newcommand{\tnss}{\LaTeXe- }
\newcommand{\txsit}[1]{\LaTeXe-
\emph{#1} }
\newenvironment{king}{\begin{quote}}{\end{quote}}
6.1: .
\usepackage .
, .sty
\ProvidesPackage{ }
\ProvidesPackage LATEX
.
6.1- .
6.2
6.2.1
LATEX, (, , . . . )
. 6.1 6.2-
.
. 6.3- ,
.
{\small
\textbf{}}
{\Large
\textit{}.}
LATEX 2 -
.
LATEX-
110
6.4- .
. LATEX-
.
{\LARGE
{\small } }.
( )
. } . \par
.1
1
\par
6.1: .
\textrm{...}
\texttt{...}
\textsf{...}
\textmd{...}
\textbf{...}
\textup{...}
\textsl{...}
\textit{...}
\textsc{...}
\textnormal{...}
\emph{...}
6.2: .
\tiny
\scriptsize
\footnotesize
\small
\normalsize
\large
\Large
\LARGE
\huge
\Huge
6.2
111
6.3: .
\tiny
\scriptsize
\footnotesize
\small
\normalsize
\large
\Large
\LARGE
\huge
\Huge
10pt ()
5pt
7pt
8pt
9pt
10pt
12pt
14pt
17pt
20pt
25pt
11pt-
6pt
8pt
9pt
10pt
11pt
12pt
14pt
17pt
20pt
25pt
6.4: .
\mathrm{...}
\mathbf{...}
\mathsf{...}
\mathtt{...}
\mathit{...}
\mathcal{...}
\mathnormal{...}
Roman Font
Boldface Font
Sans Serif Font
Typewriter Font
Italic Font
CALLIGRAPHIC FONT
N ormal F ont
12pt-
6pt
8pt
10pt
11pt
12pt
14pt
17pt
20pt
25pt
25pt
LATEX-
112
{\Large !
.
!\par}
! . !
{\Large .
.}\par
. .
.
\begin{Large}
.
\ldots
\end{Large}
. . . .
6.2.2
LATEX
. , \newcommand
.
\newcommand{\oops}[1]{%
\textbf{#1}}
\oops{},
\oops{}
.
,
.
\textbf
\textbf , , .
6.2.3
6.3
6.3
113
6.3.1
\linespread{}
, .
, \linespread{1.3} , \linespread{1.6}
.
1 .
\linespread ,
:
\setlength{\baselineskip}{1.5\baselineskip}
{\setlength{\baselineskip}%
{1.5\baselineskip}
1.5 .
par
.\par}
.
6.3.2
1.5 . par .
.
LATEX- .
\setlength{\parindent}{0pt}
\setlength{\parskip}{1ex plus 0.5ex minus 0.2ex}
.
.
TEX-
plus
minus .
LATEX-
114
, .
. , \tableofcontents
,
.
\indent
.2 \parindent
.
\noindent
.
.
6.3.3
LATEX .
:
\hspace{}
1.5 .
\stretch{n}
n \hspace{\stretch{n}}
.
2
tools
indentfirst .
6.3
115
6.5: TEX- .
mm
cm
in
pt
em
ex
1/25
= 10
= 25.4
1/72 31
M
x
x\hspace{\stretch{1}}
x\hspace{\stretch{3}}x
.
em ex :
{\Large{}\hspace{1em}y}\\
{\tiny{} \hspace{1em}y}
6.3.4
LATEX , , .
:
\vspace{}
.
\vspace \vspace* .
\stretch \pagebreak
.
\ldots
\vspace{\stretch{1}}
.\pagebreak
LATEX-
116
\\[]
.
\bigskip \smallskip ,
.
6.4
LATEX 2 - \documentclass
, . 6.2-
. tools layout
.3
! . . . LATEX-
.
MS Word . 4
66- LATEX .
.
.
.
LATEX- .
:
\setlength{}{}
:
\addtolength{}{}
\setlength . 3
4
macros/latex/required/tools
.
6.4
117
6
i
?
?
6
6
- 9i
i -
10
i-
?
1i-
6
i
11
1
3
5
7
9
11
+ \hoffset
\oddsidemargin = 22pt
\evensidemargin
\headheight = 12pt
\textheight = 595pt
\marginparsep = 7pt
\footskip = 27pt
\hoffset = 0pt
\paperwidth = 597pt
2
4
6
8
10
+ \voffset
\topmargin = 22pt
\headsep = 19pt
\textwidth = 360pt
\marginparwidth = 106pt
\marginparpush = 5pt ()
\voffset = 0pt
\paperheight = 845pt
6.2: .
LATEX-
118
:
\addtolength{\hoffset}{-0.5cm}
\addtolength{\textwidth}{1cm}
calc \setlength
.
6.5
LATEX
. .
\textwidth
.
3 , ,
.
\settoheight{}{}
\settodepth{}{}
\settowidth{}{}
.
\flushleft
\newenvironment{vardesc}[1]{%
\settowidth{\parindent}{#1:\ }
\makebox[0pt][r]{#1:\ }}{}
\begin{displaymath}
a^2+b^2=c^2
\end{displaymath}
\begin{vardesc}{}$a$,
$b$ --
.
a2 + b2 = c2
: a, b
.
c
.
d .
$c$ --
.
$d$ -- .
\end{vardesc}
6.6
6.6
LATEX, ,
.
TEX-
. LATEX
.
tabular
\includegraphics
. ,
.
\parbox[]{}{}
\begin{minipage}[]{} \end{minipage}
.
c, t b .
. minipage \parbox
parbox , minipage .
\parbox , \mbox .
LATEX-
.
.
\makebox[][]{}
.5 \width, \height,
5
0pt .
119
LATEX-
120
\depth, \totalheight . : c , l , r
, s .
\framebox \makebox .
\makebox \framebox .
\makebox[\textwidth]{%
}\par
\makebox[\textwidth][s]{%
}\par
\framebox[1.1\width]{
!} \par
\framebox[0.8\width][r]{,
} \par
\framebox[1cm][l]{
, }
?
!
,
,
?
, .6 LATEX-
\raisebox{}[---][---]{}
. ,
\width, \height, \depth, \totalheight .
\raisebox{0pt}[0pt][0pt]{\Large%
\textbf{\raisebox{-0.3ex}{}%
\raisebox{-0.7ex}{}%
\raisebox{-1.2ex}{}%
\raisebox{-2.2ex}{}%
\raisebox{-4.5ex}{}}}
6.7
6.7
121
.
\rule[]{}{}
.
\rule{3mm}{.1pt}%
\rule[-1mm]{5mm}{1cm}%
\rule{3mm}{.1pt}%
\rule[1mm]{1cm}{5mm}%
\rule{3mm}{.1pt}
\rule .
.
LATEX
TEX- , , TEX-
. , TEX , Sun
. Linux, Mac OS X, Windows TEX
.
A.1
LaTeX-
3 :
1. LATEX .
2. LATEX PDF DVI TEX/LATEX .
3. PDF/DVI .
4. PostScript
.
.
LATEX
124
A.2
A.2.1
TEX- Mac OS X-
A.2.2
TEX
A.2.3
PDFView
A.3
A.3.1
TEX- Windows-
TEX-
MiKTeX http://www.miktex.org/
. LATEX
. MiKTeX- LATEX
.
A.3.2
LATEX
LATEX .
TeXnicCenter Windows MiKTeX
LATEX . http://www.toolscenter.org
.
LEd (http://www.latexeditor.org) .
A.3.3
A.4
TEX- Linux-
Linux LATEX
.
(package manager) :
texlive TEX/LATEX .
emacs (auctex-) LATEX- AucTeX
Linux .
ghostscript PostScript .
xpdf acrobat PDF .
imagemagick bitmap .
gimp photoshop .
inkscape illustrator/corel draw .
125
[1] Leslie Lamport. LATEX: A Document Preparation System. AddisonWesley, Reading, Massachusetts, second edition, 1994, ISBN 0-20152983-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] Frank Mittelbach, Michel Goossens, Johannes Braams, David Carlisle,
Chris Rowley. The LATEX Companion, (2nd Edition). Addison-Wesley,
Reading, Massachusetts, 2004, ISBN 0-201-36299-6.
[4] Michel Goossens, Sebastian Rahtz and Frank Mittelbach. The LATEX
Graphics Companion. Addison-Wesley, Reading, Massachusetts, 1997,
ISBN 0-201-85469-4.
[5] LATEX LATEX Local Guide local.tex
.
LATEX .
[6] LATEX3 Project Team. LATEX 2 for authors. LATEX 2
usrguide.tex .
[7] LATEX3 Project Team. LATEX 2 for Class and Package writers.
LATEX 2 clsguide.tex .
[8] LATEX3 Project Team. LATEX 2 Font selection. LATEX 2
fntguide.tex .
[9] D. P. Carlisle. Packages in the graphics bundle. LATEX graphics grfguide.tex
.
[10] Rainer Schopf, Bernd Raichle, Chris Rowley. A New Implementation
of LATEXs verbatim Environments. LATEX tools
verbatim.dtx .
128
[11] Vladimir Volovich, Werner Lemberg and LATEX3 Project Team. Cyrillic
languages support in LATEX. LATEX 2 cyrguide.tex
.
[12] Graham Williams. The TeX Catalogue TEX LATEX .
CTAN://help/Catalogue/catalogue.html
[13] Keith Reckdahl. Using EPS Graphics in LATEX 2 Documents,
EPS LATEX
. CTAN://info/epslatex.ps
[14] Kristoffer H. Rose. XY-pic Users Guide. CTAN XY-pic
[15] John D. Hobby. A Users Manual for METAPOST.
http://cm.bell-labs.com/who/hobby/
[16] Alan Hoenig. TEX Unbound. Oxford University Press, 1998, ISBN 019-509685-1; 0-19-509686-X (pbk.)
[17] Urs Oswald. Graphics in LATEX 2 , picture
Java source ,
METAPOST - A Tutorial. http://www.
ursoswald.ch
[18] Till Tantau. TikZ&PGF Manual. CTAN:
//graphics/pgf/base/doc/generic/pgf/pgfmanual.pdf
\!, 59
", 21
", 33
"-, 33
"---, 33
"<, 33
"=, 33
">, 33
", 33
$, 49
\,, 51, 58
-, 21
, 21
\-, 20
, 21
, 21
., , 35
. . . , 23
\:, 58
\;, 58
\@, 35
\[, 50
\\, 19, 40, 42, 116
\\*, 19
\], 50
~, 35
A4 , 11
A5 , 11
a, 24
abstract, 41
Acrobat Reader, 80
acute, 24
\addtolength, 116
, 24
aeguill, 81
align, 57
\Alph, 33
\alph, 33
\Alpha, 63
amsbsy, 61
amsfonts, 60, 67
amsmath, 49, 5559, 61
amssymb, 52, 60, 63
amsthm, 61, 62
\and, 36
ansinew, 26
\appendix, 36, 37
applemac, 26
\arccos, 54
\arcsin, 54
\arctan, 54
\arg, 54
array, 57, 58
\arraystretch, 44
article , 10
\Asbuk, 33
\asbuk, 33
\author, 36, 85
B5 , 11
babel, 20, 24, 25, 3234
\backmatter, 37
\backslash, 5
\bar, 54
beamer, 88, 89
\begin, 39, 92, 102
\Beta, 63
\bibitem, 73
bicig, 34
\Big, 56
\big, 56
130
\Bigg, 56
\bigg, 56
\bigskip, 116
\binom, 55
block, 90
bm, 61
Bmatrix, 58
bmatrix, 58
\bmod, 54
\boldmath, 60
\boldsymbol, 61
book , 10
brazilian, 27
calc, 118
\caption, 4648
cases, 58
\cdot, 53
\cdots, 53
center, 40
\chapter, 35
\chaptermark, 76
\ci, 105
\circle, 96
\circle*, 96
\cite, 73
CJK , 30
\cleardoublepage, 47
\clearpage, 47
\cline, 42
color, 88
comment, 6
\cos, 54
\cosh, 54
\cot, 54
\coth, 54
cp1251, 26, 34
cp850, 26
cp866nav, 26
cross-reference, 37
\csc, 54
\date, 36
dcolumn, 43
\ddots, 53
\DeclareMathOperator, 54
\deg, 54
\depth, 120
description, 39
\det, 54
\dfrac, 55
\dim, 54
displaymath, 50
\displaystyle, 60
doc, 12
\documentclass, 9, 14, 19
\dq, 29
\dum, 105
eepic, 91, 96
\emph, 38, 110
empty, 13
Encapsulated PostScript, 71, 82
\end, 39, 92
\enumBul, 33
\enumEng, 33
enumerate, 39
\enumLat, 33
epic, 91
eqnarray, 57
\eqref, 50
equation, 50
equation*, 50
eurosym, 23
executive , 11
\exp, 54
exscale, 12
fancyhdr, 76, 77
\fbox, 21
figure, 45, 46
\flq, 29
\flqq, 29
flushleft, 40
flushright, 40
\foldera, 100
\folderb, 100
fontenc, 12, 26, 32
\footnote, 38, 48
\footnotesize, 110
\footskip, 117
\frac, 55
frame, 90
\framebox, 120
\frenchspacing, 33, 35
\frontmatter, 37
\frq, 29
\frqq, 29
\fussy, 20
\gcd, 54
geometry, 78
GhostScript, 71, 125
GhostView, 125
Gimp, 125
graphicx, 71, 82, 83, 88
grave, 24
HLATEX, 30
hLATEXp, 30
\hat, 54
\headheight, 117
textttheadings, 13
\headsep, 117
\height, 119, 120
\hline, 42
\hom, 54
\href, 85, 87
\hspace, 107, 114
\Huge, 110
\huge, 110
hyperref, 80, 83, 8688
hyphenat, 78
\hyphenation, 20
\idotsint, 59
ifpdf, 87
\ifpdf, 87
ifthen, 12
\ignorespaces, 107
\ignorespacesafterend, 107
\iiiint, 59
\iiint, 59
131
\iint, 59
\include, 14, 15
\includegraphics, 72, 82, 87, 119
\includeonly, 15
\indent, 114
indentfirst, 114
\index, 75, 76
\inf, 54
\input, 15
inputenc, 12, 25, 32
\int, 55
\item, 39
itemize, 39
\ker, 54
Knuth, Donald E., 1
koi8-ru, 26, 32
\label, 37, 47, 50
Lamport, Leslie, 2
\LARGE, 110
\Large, 110
\large, 110
\LaTeX, 21
LATEX3, 4
\LaTeXe, 21
latexsym, 12
latin1, 26
layout, 116
\ldots, 23, 53
\left, 56
\left., 56
\leftmark, 76
legal , 11
letter , 11
\lg, 54
LGR, 27
\lim, 54
\liminf, 54
\limsup, 54
\line, 94, 100
\linebreak, 19
\linespread, 113
\linethickness, 97, 98, 100
132
\listoffigures, 47
\listoftables, 47
\ln, 54
\log, 54
longtable, 44
\lscommand, 105
MacTeX, 124
macukr, 26
\mainmatter, 37, 85
\makebox, 119, 120
makeidx, 12, 75
makeidx , 75
\makeindex, 75
makeindex , 75
\maketitle, 36
\marginparpush, 117
\marginparsep, 117
\marginparwidth, 117
\mathbb, 52
\mathbf, 111
\mathcal, 111
\mathit, 111
\mathnormal, 111
\mathrm, 111
mathrsfs, 67
\mathsf, 111
mathtext, 32
\mathtt, 111
matrix, 58
\max, 54
\mbox, 20, 21, 23, 119
METAPOST, 83
mhchem, 60
MiKTeX, 124
\min, 54
minimal , 10
minipage, 119
Mittelbach, Frank, 2
mltex, 81
mn, 34
\multicolumn, 43
\multiput, 93, 97, 98
pgfplot, 104
\phantom, 48, 59
picture, 91, 92, 96, 97
plain, 13
pmatrix, 58
\pmod, 54
PostScript, 3, 9, 31, 47, 71, 72, 80
82, 91, 92
Encapsulated, 71, 82
ppower4, 88
\Pr, 54
\printindex, 76
proc , 10
\prod, 55
proof, 62
prosper, 88
\protect, 48
\providecommand, 106
\ProvidesPackage, 109
pspicture, 91
pstricks, 91, 96
\put, 9399
pxfonts, 82
\qbezier, 91, 93, 101
\qedhere, 62
\qquad, 51, 59
\quad, 51, 59
quotation, 40
quote, 40
\raisebox, 120
\ref, 37, 47, 79
\renewcommand, 106
\renewenvironment, 107
report , 10
\right, 56, 58
\rightmark, 76
\rule, 44, 107, 121
\savebox, 99
\scriptscriptstyle, 60
\scriptsize, 110
\scriptstyle, 60
\sec, 54
133
\section, 35, 48
\sectionmark, 76
\selectlanguage, 25
\setlength, 92, 113, 116, 118
\settodepth, 118
\settoheight, 118
\settowidth, 118
showidx, 76
\sin, 54
\sinh, 54
slides , 10
\sloppy, 19
\small, 110
\smallskip, 116
\smash, 51
\sqrt, 53
\stackrel, 55
\stretch, 107, 114
strut, 44
\subparagraph, 35
\subsection, 35
\subsectionmark, 76
\substack, 56
\subsubsection, 35
\sum, 55
\sup, 54
syntonly, 12, 15
T1, 26, 32
T2*, 32
T2A, 26, 32
T2B, 26
T2C, 26
\tabcolsep, 44
table, 45, 46
\tableofcontents, 36
tabular, 44
tabular, 42, 119
\tag, 50
\tan, 54
\tanh, 54
\TeX, 21
TeXnicCenter, 125
\texorpdfstring, 86
134
\textbf, 110
\textcelsius, 22
textcomp, 22
\texteuro, 22
\textheight, 117
\textit, 110
TextMate, 124
\textmd, 110
\textnormal, 110
\textrm, 110
\textsc, 110
\textsf, 110
\textsl, 110
\textstyle, 60
\texttt, 110
\textup, 110
\textwidth, 117
\tfrac, 55
thebibliography, 73
\theoremstyle, 61
\thicklines, 95, 98, 100
\thinlines, 98, 100
\thispagestyle, 13
tikz, 102
tikzpicture, 102
tilde ( ~), 35
\tiny, 110
\title, 36
\tnss, 106
\today, 21
\topmargin, 117
\totalheight, 120
txfonts, 82
ucs, 26
\ud, 59
umlaut, 24
\underbrace, 53
underfull hbox, 20
\underline, 38, 53
\unitlength, 92, 94
URL, 22
\usebox, 99
aeguill, 81
amsbsy, 61
amsfonts, 60, 67
amsmath, 49, 5559, 61
amssymb, 52, 60, 63
amsthm, 61, 62
babel, 20, 24, 25, 3234
beamer, 88, 89
bicig, 34
bm, 61
calc, 118
color, 88
dcolumn, 43
doc, 12
eepic, 91, 96
epic, 91
eurosym, 23
exscale, 12
fancyhdr, 76, 77
fontenc, 12, 26, 32
geometry, 78
graphicx, 71, 82, 83, 88
hyperref, 80, 83, 8688
hyphenat, 78
ifpdf, 87
ifthen, 12
indentfirst, 114
inputenc, 12, 25, 32
latexsym, 12
layout, 116
longtable, 44
makeidx, 12, 75
mathrsfs, 67
mathtext, 32
mhchem, 60
mltex, 81
ntheorem, 62
pgfplot, 104
ppower4, 88
prosper, 88
pstricks, 91, 96
pxfonts, 82
showidx, 76
syntonly, 12, 15
tabular, 44
textcomp, 22
tikz, 102
txfonts, 82
ucs, 26
verbatim, 6, 78
xalx, 34
, 45
, 11
, 11
135
, 7
, 40
, 55
, 55
, 110
, 22
, 110
, 53
, 115
, 55
, 7
, 54
, 36
, 25, 28
, 79
, 52
, 5, 110
, 22
, 71
, 52
, 31
, 53
, 17
, 22, 54
, 6
, 110
, 4
, 51
, 116
, 21, 22
, 53
, 10
, 13
, 13
, 40
, 52
, 55
, 53
136
ansinew, 26
applemac, 26
cp850, 26
cp866nav, 26
cp1251, 26, 34
koi8-ru, 26, 32
latin1, 26
macukr, 26
mn, 34
utf8, 34
utf8x, 26
LGR, 27
OT1, 26
OT2, 34
T1, 26, 32
T2*, 32
T2A, 26, 32
T2B, 26
T2C, 26
X2, 26
, 58
, 49
, 54
, 54
, 56
, 21
, 51
, 58
, 54
, 33
, 19
, 113
, 110
, 55
, 23
, 73
, 11
, 11
, 114, 115
, 36
, 24
ansinew, 26
applemac, 26
cp850, 26
cp866nav, 26
cp1251, 26, 34
koi8-ru, 26, 32
latin1, 26
macukr, 26
mn, 34
utf8, 34
utf8x, 26
, 7
, 10
, 24
, 13
.aux, 14
.cls, 14
.dtx, 13
.dvi, 14, 72
.eps, 72
.fd, 14
.idx, 14, 75
.ilg, 14
.ind, 14, 76
.ins, 14
.lof, 14
.log, 14
.lot, 14
.sty, 13, 78
.tex, 8, 13
.toc, 14
, 27
, 52
, 57
, 24
UHC , 31
, 29
, 5
, 54
, 6
, 23
, 5
, 49, 51
, 75
, 110
, 60
, 49, 51
, 110
, 49
LATEX, 50
amsmath, 50
, 57
, 9
, 24
, 5
, 5
, 55
, 5
\, 59
\!, 59
\-, 20
\,, 51, 58
\\, 19, 40, 42, 116
\\*, 19
\:, 58
\;, 58
\@, 35
\Alph, 33
\Alpha, 63
\Asbuk, 33
\Beta, 63
\Big, 56
\Bigg, 56
\DeclareMathOperator, 54
\LaTeX, 21
\LaTeXe, 21
\Pr, 54
\ProvidesPackage, 109
\TeX, 21
\[, 50
\], 50
137
\addtolength, 116
\alph, 33
\and, 36
\appendix, 36, 37
\arccos, 54
\arcsin, 54
\arctan, 54
\arg, 54
\arraystretch, 44
\asbuk, 33
\author, 36, 85
\backmatter, 37
\backslash, 5
\bar, 54
\begin, 39, 92, 102
\bibitem, 73
\big, 56
\bigg, 56
\bigskip, 116
\binom, 55
\bmod, 54
\boldmath, 60
\boldsymbol, 61
\caption, 4648
\cdot, 53
\cdots, 53
\chapter, 35
\chaptermark, 76
\ci, 105
\circle, 96
\circle*, 96
\cite, 73
\cleardoublepage, 47
\clearpage, 47
\cline, 42
\cos, 54
\cosh, 54
\cot, 54
\coth, 54
\csc, 54
\date, 36
\ddots, 53
\deg, 54
\depth, 120
138
\det, 54
\dfrac, 55
\dim, 54
\displaystyle, 60
\documentclass, 9, 14, 19
\dq, 29
\dum, 105
\emph, 38, 110
\end, 39, 92
\enumBul, 33
\enumEng, 33
\enumLat, 33
\eqref, 50
\exp, 54
\fbox, 21
\flq, 29
\flqq, 29
\foldera, 100
\folderb, 100
\footnote, 38, 48
\footskip, 117
\frac, 55
\framebox, 120
\frenchspacing, 33, 35
\frontmatter, 37
\frq, 29
\frqq, 29
\fussy, 20
\gcd, 54
\hat, 54
\headheight, 117
\headsep, 117
\height, 119, 120
\hline, 42
\hom, 54
\href, 85, 87
\hspace, 107, 114
\hyphenation, 20
\idotsint, 59
\ifpdf, 87
\ignorespaces, 107
\ignorespacesafterend, 107
\iiiint, 59
\iiint, 59
\iint, 59
\include, 14, 15
\includegraphics, 72, 82, 87, 119
\includeonly, 15
\indent, 114
\index, 75, 76
\inf, 54
\input, 15
\int, 55
\item, 39
\ker, 54
\label, 37, 47, 50
\ldots, 23, 53
\left, 56
\left., 56
\leftmark, 76
\lg, 54
\lim, 54
\liminf, 54
\limsup, 54
\line, 94, 100
\linebreak, 19
\linespread, 113
\linethickness, 97, 98, 100
\listoffigures, 47
\listoftables, 47
\ln, 54
\log, 54
\lscommand, 105
\mainmatter, 37, 85
\makebox, 119, 120
\makeindex, 75
\maketitle, 36
\marginparpush, 117
\marginparsep, 117
\marginparwidth, 117
\mathbb, 52
\max, 54
\mbox, 20, 21, 23, 119
\min, 54
\multicolumn, 43
\multiput, 93, 97, 98
\newcommand, 59, 106
\newenvironment, 107
\newline, 19
\newpage, 19
\newsavebox, 99
\newtheorem, 61
\noindent, 114
\nolinebreak, 19
\nonumber, 57
\nopagebreak, 19
\not, 64
\oddsidemargin, 117
\oval, 98, 100
\overbrace, 53
\overleftarrow, 54
\overline, 53
\overrightarrow, 54
\pagebreak, 19
\pageref, 37, 79
\pagestyle, 13
\paperheight, 117
\paperwidth, 117
\par, 110
\paragraph, 35
\parbox, 119
\parindent, 113
\parskip, 113
\part, 35, 36
\partial, 55
\phantom, 48, 59
\pmod, 54
\printindex, 76
\prod, 55
\protect, 48
\providecommand, 106
\put, 9399
\qbezier, 91, 93, 101
\qedhere, 62
\qquad, 51, 59
\quad, 51, 59
\raisebox, 120
\ref, 37, 47, 79
\renewcommand, 106
\renewenvironment, 107
\right, 56, 58
\rightmark, 76
139
\rule, 44, 107, 121
\savebox, 99
\scriptscriptstyle, 60
\scriptstyle, 60
\sec, 54
\section, 35, 48
\sectionmark, 76
\selectlanguage, 25
\setlength, 92, 113, 116, 118
\settodepth, 118
\settoheight, 118
\settowidth, 118
\sin, 54
\sinh, 54
\sloppy, 19
\smallskip, 116
\smash, 51
\sqrt, 53
\stackrel, 55
\stretch, 107, 114
\subparagraph, 35
\subsection, 35
\subsectionmark, 76
\substack, 56
\subsubsection, 35
\sum, 55
\sup, 54
\tabcolsep, 44
\tableofcontents, 36
\tag, 50
\tan, 54
\tanh, 54
\texorpdfstring, 86
\textcelsius, 22
\texteuro, 22
\textheight, 117
\textstyle, 60
\textwidth, 117
\tfrac, 55
\theoremstyle, 61
\thicklines, 95, 98, 100
\thinlines, 98, 100
\thispagestyle, 13
\title, 36
140
\mathsf, 111
\tnss, 106
\today, 21
\mathtt, 111
\topmargin, 117
\normalsize, 110
\totalheight, 120
\scriptsize, 110
\ud, 59
\small, 110
\underbrace, 53
\textbf, 110
\underline, 38, 53
\textit, 110
\unitlength, 92, 94
\textmd, 110
\usebox, 99
\textnormal, 110
\usepackage, 10, 13, 22, 23, 25,
\textrm, 110
26, 34, 109
\textsc, 110
\usetikzlibrary, 103
\textsf, 110
\vdots, 53
\textsl, 110
\vec, 54
\texttt, 110
\vector, 95
\textup, 110
\verb, 41, 42
\tiny, 110
\verbatiminput, 78
, 26
\vspace, 115
LGR, 27
\widehat, 54
OT1, 26
\widetilde, 54
OT2, 34
\width, 119, 120
T1, 26, 32
T2*, 32
, 54
T2A, 26, 32
, 22
T2B, 26
, 57
T2C, 26
X2, 26
, 76
, 12
, 11
, , 109, 110
, 28
58
, 55
, 56
, 53
, 13
, 22
, 109
, 21
\Huge, 110
, 11
\LARGE, 110
, 113
\Large, 110
, 11
\footnotesize, 110
, 37
\huge, 110
\large, 110
, 4
\mathbf, 111
, 4
\mathcal, 111
, 45
\mathit, 111
\mathnormal, 111
\mathrm, 111
, 53
, 53
, 5
, 13
empty, 13
headings, 13
plain, 13
, 116
Bmatrix, 58
Vmatrix, 58
abstract, 41
align, 57
array, 57, 58
block, 90
bmatrix, 58
cases, 58
center, 40
comment, 6
description, 39
displaymath, 50
enumerate, 39
eqnarray, 57
equation, 50
equation*, 50
figure, 45, 46
flushleft, 40
flushright, 40
frame, 90
itemize, 39
matrix, 58
minipage, 119
parbox, 119
picture, 91, 92, 96, 97
pmatrix, 58
proof, 62
pspicture, 91
quotation, 40
quote, 40
table, 45, 46
tabular, 42, 119
thebibliography, 73
tikzpicture, 102
verbatim, 41, 78
verse, 40
141
vmatrix, 58
, 42
, 114
, 53
, 24
, 114
, 110
, 56
, 110
, 11, 80, 116
, 23
, 23, 53
, 53
, 24
, 53
, 48