Professional Documents
Culture Documents
一份不太短的Latex介绍
一份不太短的Latex介绍
140 LATEX 2
Tobias Oetiker
Hubert Partl, Irene Hyna and Elisabeth Schlegl
Version 4.20, May 31, 2006
TEX
4.20 ooc
ii
Tobias Oetiker 9
zPk 1995-2005"3k|"
U\"
uF"k^J?$vk^u
^,A8Vy"[!w GNU ^Ny"
\AT GNU ^NyXJvk& Free
Software Foundation /675 Mass Ave, Cambridge, MA 02139, USA"
30^N5gc/|<^> LATEX
2.090
Hubert Partl
<partl@mail.boku.ac.at>
Irene Hyna
<Irene.Hyna@bmwf.ac.at>
Elisabeth Schlegl
<noemail>
in Graz
EX 2 #3CTAN
CTAN:/tex-archive/info/lshort/german
iv
e<U?dJ
"r
yy3f"k<La",\3
/k"$\z(c
due
<
"
Rosemary Bailey, Marc Bevand, Friedemann Brauer, Jan Busa, Markus Brhwiler,
Pietro Braione, David Carlisle, Jos 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, Jrg 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, Bjrn 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, Jrg Knappen, Kjetil
Kjernsmo, Maik Lehradt, Rmi 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, Martin Pfister,
Demerson Andre Polli, Nikos Pothitos, Maksym Polyakov Hubert Partl, John Refling,
Mike Ressler, Brian Ripley, Young U. Ryu, Bernd Rosenlecher, Chris Rowley, Risto
Saarelma, Hanspeter Schmid, Craig Schlenter, Gilles Schintgen, Baron Schwartz,
Christopher Sawtell, Miles Spielberg, 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, and Mikhail
Zotov.
4.20 N
TEX A lshort-cn ?&
~&
lY\*lk
CTEX ^ ID
zpxing
Frogge
liwenjun
1n
lian605
1o
gprsnl
1 2.5-2.11
3.20 N
d CTEX /;K0{C
"m*lk
CTEX ID
;K
overview.tex
pH
things.tex
controlong
1
typeset.tex
cxterm
1n
math.tex, lssym.tex
aloft
1o
spec.tex
ganzhi
custom.tex
3dA
zLa!
c
LATEX [1] X~^u)p<ME
a"X^u)l{&7k
a"LATEX ^ TEX[2] z"
0
LATEX 2 ^ LATEX A^5`A
Tv
{"
1 &[!")
7 LATEX -"
3
\U
?\1
"
1n )
X^ LATEX "~fk\n)
LATEX Xr"3!(\
LATEX
k^L"
1o )
)!EPS /\"0
X
^ pdfLATEX ) pdf
k^*"
1 X^ LATEX M/"7^/^x!
\ LATEX \/,
LATEX O\x"
18
d3x&Ek' LATEX )IOX
J{"w\XUC
LATEX w5k:<s
"
U^S
!."@
~f30B~fp
&E"
viii
XJ\k3O\!UC
SN"
LATEX "AOa,c'u0=
Nn
)=
UI/)"
Tobias Oetiker
<oetiker@ee.ethz.ch>
#3
CTAN:/tex-archive/info/lshort
'u#\
http://bbs.ctex.org
iii
vii
1 :
1.1
iZ8 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.1.1
TEX . . . . . . . . . . . . . . . . . . . . . . . . . . . .
LATEX . . . . . . . . . . . . . . . . . . . . . . . . . . .
: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2.1
!O . . . . . . . . . . . . . . .
1.2.2
O . . . . . . . . . . . . . . . . . . . . . . . . .
1.2.3
`v . . . . . . . . . . . . . . . . . . . . . . . .
LATEX . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.3.1
xl . . . . . . . . . . . . . . . . . . . . . . . . .
1.3.2
Ai . . . . . . . . . . . . . . . . . . . . . . . . .
1.3.3
LAT
EX - . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.4
( . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.5
;.-1L . . . . . . . . . . . . . . . . . . . . . .
1.6
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.6.1
a . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.6.2
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.6.3
. . . . . . . . . . . . . . . . . . . . . . . . . 11
1.1.2
1.2
1.3
1.3.4
1.7
a LATEX . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.8
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1
2.1
15
( . . . . . . . . . . . . . . . . . . . . . . . . . . 15
x
2.2
1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.2.1
. . . . . . . . . . . . . . . . . . . . . . . . . 17
2.2.2
c . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.3
SiG . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.4
Ai . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.5
2.4.1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.4.2
i . . . . . . . . . . . . . . . . . . . . . 19
2.4.3
L () . . . . . . . . . . . . . . . . . . . . . . . . 20
2.4.4
() . . . . . . . . . . . . . . . . . . . . . . . 20
2.4.5
(e) . . . . . . . . . . . . . . . . . . . . . . . 20
2.4.6
(. . . ) . . . . . . . . . . . . . . . . . . . . . . . . 21
2.4.7
i . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.4.8
5Ai . . . . . . . . . . . . . . . . . . . 21
IS| . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2.5.1
:| . . . . . . . . . . . . . . . . . . . . . . . 25
2.5.2
{| . . . . . . . . . . . . . . . . . . . . . . . . . 25
2.5.3
| . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.5.4
m| . . . . . . . . . . . . . . . . . . . . . . . . 27
2.5.5
^F1 . . . . . . . . . . . . . . . . . . . . . . . 29
2.5.6
d.| . . . . . . . . . . . . . . . . . . . . . . . 30
2.6
cm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
2.7
IK!! . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
2.8
^ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
2.9
5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
2.10 rN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
2.11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
2.11.1 Itemize!Enumerate Description . . . . . . . . . . . 35
2.11.2 !m . . . . . . . . . . . . . . . . . . 36
2.11.3 ^!( . . . . . . . . . . . . . . . . . . . . 37
2.11.4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
2.11.5 < . . . . . . . . . . . . . . . . . . . . . . . . . 38
2.11.6 L . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
2.12 2N . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
2.13 oyf- . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
xi
1n
45
3.1
n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
3.2
+| . . . . . . . . . . . . . . . . . . . . . . . . . . 47
3.3
. . . . . . . . . . . . . . . . . . . . . . . 47
3.4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
3.5
R . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
3.6
J . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
3.7
iN . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
3.8
n!!,, . . . . . . . . . . . . . . . . . . . . . . . . . 55
3.9
oN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
3.10 L . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
1o ;U
69
4.1
\ EPS / . . . . . . . . . . . . . . . . . . . . . . . . . . 69
4.2
z . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
4.3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
4.4
w . . . . . . . . . . . . . . . . . . . . . . . . . . 73
4.5
Verbatim . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
4.6
SC . . . . . . . . . . . . . . . . . . . . . . . . . . 75
4.7
^ pdfLATEX
4.8
. . . . . . . . . . . . . . . . . . . . . . . . . . 76
4.7.1
u PDF . . . . . . . . . . . . . . . . . 77
4.7.2
iN . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
4.7.3
^/ . . . . . . . . . . . . . . . . . . . . . . . . . 79
4.7.4
. . . . . . . . . . . . . . . . . . . . . . . . . . . 80
4.7.5
K . . . . . . . . . . . . . . . . . . . . . . . . 82
4.7.6
\K . . . . . . . . . . . . . . . . . . . . . . . . 82
Mv . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
1 /
89
5.1
V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
5.2
picture . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
5.2.1
- . . . . . . . . . . . . . . . . . . . . . . . . . 90
5.2.2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
5.2.3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
5.2.4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
5.2.5
. . . . . . . . . . . . . . . . . . . . . . . . 95
5.2.6
\multiput \linethickness . . . . . . . . . . . . . 96
xii
5.2.7
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
5.2.8
E^/f . . . . . . . . . . . . . . . 98
5.2.9
g Bzier . . . . . . . . . . . . . . . . . . . . . 99
5.2.10 ] . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
5.2.11 I5 . . . . . . . . . . . . . . . . . . . . . . . 101
5.3 XY-pic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
18 LATEX
6.1
6.2
6.3
105
#-! . . . . . . . . . . . . . . . . . . . . . . 105
6.1.1
#- . . . . . . . . . . . . . . . . . . . . . . . . . 106
6.1.2
# . . . . . . . . . . . . . . . . . . . . . . . . . 107
6.1.3
xm . . . . . . . . . . . . . . . . . . . . . 107
6.1.4
6.1.5
g . . . . . . . . . . . . . . . . . . . . . . . . . 108
iNi . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
6.2.1
iNC- . . . . . . . . . . . . . . . . . . . . . . . 109
6.2.2
6.2.3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
X . . . . . . . . . . . . . . . . . . . 112
m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
6.3.1
1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
6.3.2
. . . . . . . . . . . . . . . . . . . . . . . . . 113
6.3.3
Ym . . . . . . . . . . . . . . . . . . . . . . . . . 114
6.3.4
Rm . . . . . . . . . . . . . . . . . . . . . . . . . 115
6.4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
6.5
k . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
6.6
f . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
6.7
I| . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
z
123
125
/
1.1
{ LATEX " . . . . . . . . . . . . . . . . . . .
1.2
a~f" . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.1
fancyhdr ~" . . . . . . . . . . . . . . . . . . . . . . . 74
4.2
beamer a~" . . . . . . . . . . . . . . . . . . . . . 85
6.1
~" . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
6.2
" . . . . . . . . . . . . . . . . . . . . . . . . . . 117
L
1.1
a" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2
a" . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.3
LATEX u1" . . . . . . . . . . . . . . . . . . . 12
1.4
LATEX " . . . . . . . . . . . . . . . . . . . . 12
2.1
". . . . . . . . . . . . . . . . . . . . . . . . . 21
2.2
5Ai" . . . . . . . . . . . . . . . . . . . . . . 22
2.3
:I" . . . . . . . . . . . . . . . . . . . . . 25
2.4
{;^-" . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.5
;^i" . . . . . . . . . . . . . . . . . . . . . . . . . . 27
2.6
F1I" . . . . . . . . . . . . . . . . . . . . . 29
2.7
F1Ai". . . . . . . . . . . . . . . . . . . . . . . . . 29
2.8
\|!=" . . . . . . . . . . . . . . . . . 31
2.9
2NN". . . . . . . . . . . . . . . . . . . . . . . . . 41
3.1
" . . . . . . . . . . . . . . . . . . . . . . . 59
3.2
F1i1" . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
3.3
'X" . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
3.4
$" . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
3.5 /0$" . . . . . . . . . . . . . . . . . . . . . . . . . . 61
3.6
" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
3.7
." . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
3.8
." . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
3.9
" . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
3.10 " . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
3.11 AMS .". . . . . . . . . . . . . . . . . . . . . . . . . . . 63
3.12 AMS F1F5i1" . . . . . . . . . . . . . . . . . . . . 63
3.13 AMS 'X" . . . . . . . . . . . . . . . . . . . . . . . . . 64
xvi
graphicx ^'c" . . . . . . . . . . . . . . . . . . 70
4.2
'c{~" . . . . . . . . . . . . . . . . . . . . . . 72
6.1
iN" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
6.2
i" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
6.3
IOa pt " . . . . . . . . . . . . . . . . . . 111
6.4
iN" . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
6.5
:
1
LATEX 2 n9{{0"18
) LATEX ("
\AT
)
LATEX
n\n){5`7L"
1.1
iZ8
1.1.1
TEX
i<MdcF"U=ew"y
3^ TEX Xuu 1982 c3 1989 cqU?O\
8 i!
i9|"TEX R5!3a.>M$1
9Avk"
"TEX Cu y3 3.141592"
TEX u Tech ch Ach1 9= Loch
ch aq"ch
guF1i13F1X i1 ch
chi"TEX F1c texnologia (technology) 1!"3
ASCII TEX TeX"
1.1.2
LATEX
LATEX ^k;
p<"LATEX d Leslie Lamport ? [1]
^ TEX S"y3 LATEX d Frank Mittelbach KIo"
1
"3tex ~c
:
1.2
1.2.1
!O
1rivi, dO
59!iN!IKc
m!,,"O
r`?vp2d
`5"
On)"vSN
gC!IK!z^!~f9"
3 LATEX LATEX
O
TEX K
" LATEX/==0SdI"7L
J &E56("
&E /LATEX -0
/\"
yi?nX MS Word 9 Corel WordPerfect
^= (WYSIWYG2) kO"^
3O\Lp("
l4w<J"
^ LATEX U3\wJ
^ LATEX ?n
B34AJ"
d3<cU"
1.2.2
O
O"@7O=={K
~))/XJlw5
@oO0"L^5
!3xIp
5n)5' *"~X
7LiIKSUn)!("
z1Qv
;Nqv
{
*"
2
1.2 :
3^=X (WYSIWYG) ~
w
(j05"LATEX Lr(
6(;
",
LATEX 2(J
"
1.2.3
`v
"k\U<;,,
eB
"LATEX `ui?n^?8BXe
J;Ow5/<M0"
B"
^rI
(6({-
7
S??"
N)5!^!8zE,("
LATEX |dV\5
"~X|3\ PostScript 9
aO(IOz"a3 The LATEX
Companion [3] k`"
LATEX yUn( LATEX L
(5?1"
TEX LATEX 2 =
kp
5A3?M$1"
LATEX k
v?"+(O<Az^gC%
J
'n ;-)
vkK<U^LATEX ,,
+N!k
O
#(Jm3"
=k-<m\U{"
3
:
LATEX
1.3
SN-"
1.3.1
xl
(J"
spaces
after a word.
1.3.2
Ai
e
i LATEX 3i (reserved characters)
3 LATEX kA3uki"XJ\3
\
i~
LATEX
\F
"u)"
#
&
X\w3
ic\~
"
\# \$ \% \^{} \& \_ \{ \} \~{}
#$%&_{}
AdA--"
\ UL3c\, (\\)^51
-4"
4
$\backslash$ -) \"
1.3 LATEX
1.3.3
LATEX -
!i?i1iIXT-("
di1i|"
LATEX -
3-
xi"XJ\F"3-
\ {} \A-"{} {
LATEX K-
k"
k
-I (parameter)T^s) (curly braces)
{ } )43-
"
-| (optional parameters)
3-
"e
~f^
1.3.4
:
% ^5mUkxi1\SN"
XJI5\^ verbatim J comment "
,3^Tc\3 )\
- \usepackage{verbatim}"
This is another
\begin{comment}
rather stupid,
but helpful
\end{comment}
example for embedding
comments in your document.
I5{3E,^"
1.4
(
\\\
-1\
LATEX O\#A5 (package)"^
Xe-1\
\usepackage{...}
k
\^e-mN
\begin{document}
y3\\k LATEX -
"3"^\end{document}
5w LATEX ("LATEX d 1.1 w{
kSN"
LAT
EX 2 ("E,
1.4 (
\documentclass{article}
\begin{document}
Small is beautiful.
\end{document}
1.1: { LATEX
"
\documentclass[a4paper,11pt]{article}
% define the title
\author{H.~Partl}
\title{Minimalism}
\begin{document}
% generates the title
\maketitle
% insert the table of contents
\tableofcontents
\section{Some Interesting Words}
Well, and here begins my lovely article.
\section{Good Bye World}
\ldots{} and here it ends.
\end{document}
1.2: a LATEX
~fT~k- "
:
1.5
;.-1L
U==
EX SCJ
c
/.\L:U5?\
"
XU
?n\J
S"k
LAT
^-5?
eX3uX
4 LATEX ?\
"I5ecJ LATEX (
SC
\>M6"
1. M?6\
"
7L ASCII "3 Unix X
ek?6M"3 Windows Xe\
7L( ASCII "\
(* .tex"
2. $1 LATEX ?\
"XJ{\ .dvi
"
8kS^Ug$1 LATEX"
3LATEX w\?n
"\
ctrl-D -1"
latex foo.tex
{^uSC
X11 Unix X"XJ\^ Windows
X^ yap 5A (AS)"
\^ Ghostscript dvi = PostScript 5
<A"
dvips -Pcmz foo.dvi -o foo.ps
1.6
1.6
1.6.1
LATEX ?n
kIMa
."a.d \documentclass -5"
\documentclass[options]{class}
p class
Ma."L 1.1
`
a"LATEX 2 u1J
a&"
L options a5"mL^m"
IOa~^XL 1.2 "
~f LATEX
e1m
\documentclass[11pt,twoside,a4paper]{article}
^- LATEX ^ article !11 iN5T
3 A4 V<J"
1.6.2
\Uuy3,
/ LATEX U)\
K"XJ\/ (graphics)! (coloured text)
\
L 1.1: a"
article r!w!S!!,,
proc u article 8a"
minimal ~a"
iN"^5"
report !w!7!!,,
book 7"
slides "T a ^ sans serif i N" ^
FoilTEXa 5J"
a
macros/latex/contrib/supported/foiltex
:
10
L 1.2: a"
10pt, 11pt, 12pt
^iN"XJTvk
""
1m "
leqno
1m? m"
titlepage, notitlepage
3IK (document title)
onecolumn, twocolumn
column) "
twoside, oneside
V<"article
openright, openany
#=3m3em
1.7 a LATEX
\I^5Or LATEX U"^Xe-N^
\usepackage[options]{package}
1.6.3
style (
^="L 1.4
"
LXe-5UCc
\thispagestyle{style}
1.7
a LATEX
11
:
12
\XATSC
T\- latex doc.dtx ?nT dvi "aq
{^uL .dtx"
1.8 .
.dtx z TEX " LATEX u"XJ?
.dtx LATEX z"
.ins A .dtx SC"XJ\le1
LATEX
.dtx .ins "^ LATEX ?n
.ins )m .dtx "
.cls */aL^ \documentclass -
"
.fd iNw LATEX k'#iN&E"
e
^ LATEX ?n
)
.dvi '"$1 LATEX ?(J"\^ DVi
AASN^ dvips S<"
.log P
g?[&E"
.toc ;
k!IK"eg?T)8"
.lof .toc aq)/8"
.lot .toc aq)L8"
.aux ^5eg?D4&E9";^'&
E"
.idx XJLATEX ^T;kc^"d
I^ makeindex ?nu 72 1 4.3 !"
.ind ?nL .idx "eg?\\"
.ilg .log aqP
makeindex -$1[&E"
1.8
?n.A"LATEX k-
\"
\include{filename}
13
:
14
^-31
3k \include -k
\input -{1\vk"
XJ4 LATEX u^ syntonly "
LATEX Au{^-)
DVI "3eLATEX $1\!B
m"syntonly ^~{
\usepackage{syntonly}
\syntaxonly
XJ)5K11= (3c\z %)"
1
c
\AT
)'uXM LATEX
"3p{\U
)S"
(
2.1
,
y DAAC1 z D4*:!&E
"XJ
*:/|5@o/n)"
XJ/NSN6(UwU
"
LATEX uX?3u\7Lw6
(",
a/5K0)A
"
LATEX <M (paragraph)"
/0Yg*:3N"3e
!p\3
X^ \\ 5r1X^15"
d
mL#gAT,K1
"XJ
{e\i*:g1N"XJ
5gE3UYAT"XJk
13p
#
g@oAT"
<$
T5"N<$L
oAO3 LATEX p
%," AON
u)3^"* e~fn)ok
c
^1
k"
XJ\Up^
-u{n)
~f3e 2!"
% Example 1
1
16
\ldots when Einstein introduced his formula
\begin{equation}
e = m \cdot c^2 \; ,
\end{equation}
which is at the same time the most widely known
and the least well understood physical formula.
% Example 2
\ldots from which follows Kirchhoffs current law:
\begin{equation}
\sum_{k=1}^{n} I_k = 0 \; .
\end{equation}
Kirchhoffs voltage law can be derived \ldots
% Example 3
\ldots which has several advantages.
\begin{equation}
I_D = I_F - I_R
\end{equation}
is the core of a very different transistor model. \ldots
,f"3=(f:
'c:
"LATEX \I=XJ
LATEX
\7Lw\Io"3ep!"
($)f"I:5K~E,
3N)=XJ\P4g36
6@oAk^"XJ\(3o/A
T^(/Kf3z?F"3O/
3IFI6/\"
L!!f!AT3p
gk
2.2 1
2.2
2.2.1
17
~7^15"
`zSNLATEX
3cm\71: (line break) m"XJ1c
eLATEX ?17c"X6uaO"~z
11k?3mvk m"SN1
6.3.2 !"
3A/ek7- LATEX 1
\\ or \newline
,1
,"
\\*
3r1
B"
\newpage
,"
\linebreak[n], \nolinebreak[n], \pagebreak[n], \nopagebreak[n]
-Jlw5"L nK
-J"n 0 4 m"XJ-Jw5
~r n u 4 4 LATEX 3JZJ
-"r
break - new -"=\
3?n w
18
2.2.2
7 LATEX c"XJc{U((c:
^Xe-w TEX X""
\hyphenation{word list}
uc=35k - :c"-=d~i
1cd LATEX ~i1|"c-y
3^cJ
"XXJ\
3
c-K=c"XJc-u
\begin{document}
\mbox{text}
yrAc31"3?e-r3
"
My phone number will change soon.
It will be \mbox{0116 291 2319}.
The parameter
\mbox{\emph{filename}} should
2.3 SiG
19
SiG
2.3
3c~f\w^5AiG
~{
LAT
EX -
"
~f
\today
8FF
\TeX
\UO
\LaTeX
TEX
LATEX
\LaTeXe
LATEX 2
y3z
2.4
Ai
2.4.1
iZ8
,yniNXo
(`) (') m"
2.4.2
daughter-in-law, X-rated
pages 13--67\\
pages 1367
yes---or no? \\
yesor no?
0, 1 and 1
20
2.4.3
L ()
http://www.rich.edu/bush
http://www.clever.edu/$\sim$demo
http://www.clever.edu/demo
2.4.4
()
e~f
3 LATEX X (degree symbol)
Its $-30\,^{\circ}\mathrm{C}$.
I will soon start to
super-conduct.
Its 30 C.
conduct.
2.4.5
(e)
y3>k'1~I"ykNiN
"3\1\ textcomp
\usepackage{textcomp}
\^\texteuro
5)"
XJ\iNJ\UkJ
k eurosym "J
(
\usepackage[official]{eurosym}
X J \ F " ^ i N ^ gen O
official"
marvosym J
) \EURtm "
":vkJ slanted bold C/"
2.4 Ai
21
L 2.1: "
2.4.6
LM+textcomp
\texteuro
eurosym
\euro
[gen]eurosym
\euro
marvosym
\EURtm
e
A
C
e
e
A
C
e
e
A
C
e
(. . . )
2.4.7
i1|{\i1 S^
A"
JAff fi fl ffi. . .
ff fi fl ffi . . .
i (ligature)3i1m\ \mbox{}B
i"udccU7"
Not shelfful\\
Not shelfful
but shelf\mbox{}ful
but shelfful
2.4.8
5Ai
22
"
3i1 i j I5:7LK"d \i
\j "
H\^otel, na\"\i ve, \el\eve,\\
sm\o rrebr\o d, !Se\~norita!,\\
Sch\"onbrunner Schlo\ss{}
Stra\ss e
L 2.2: 5Ai"
2.5
\o
\o
\^o
\~o
\=o
\.o
\"o
\c c
\u o
\v o
\H o
\c o
o.
\d o
\b o
oo
\t oo
\oe
\OE
\ae
\AE
\aa
\AA
\o
\O
\l
\L
\i
\j
IS|
8!/!,,
2.5 IS|
XJ\X
\L3- \documentclass
23
V
\-
\usepackage[language]{babel}
\usepackage[languageA,languageB]{babel}
-= languageB"\^
\selectlanguage{languageA}
5UC-"
yOX#Nl\,Ii1"
?n
X9/O^\?LATEX ^ inputenc
\usepackage[encoding]{inputenc}
^AT<U^?3O
NUw\
"~XC ? 1323
24
Operating
system
encodings
western Latin
Cyrillic
Mac
applemac
macukr
Unix
latin1
koi8-ru
ansinew
cp1251
cp850
cp866nav
Windows
DOS, OS/2
encoding iN?1\A?"
%@ LATEX iN? OT1Computer Modern TEX iNk?
"
7-bit ASCII i8 128 i"I5iTEX
r~iN5M"XJ(Jw{
{k5icc", {UM
.i1
.i1#'X Greek Cyrillic"
":,
8-bit aq CM iN8E5"T1 ?
Extended Cork (EC) iN.X:
|
i1I:"LH iN8
d.X7Ii
1"d.i1i/oiN?T2A, T2B, T2C,
9 X26 "F1 LGR ?iN3 CB iN8p"
k
iN|\=U?A^c
"^
#aq CM iNk?J
CM ixp/
G9'~iN"
6
2.5 IS|
25
L 2.3: :I"
\usepackage[portuguese]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
2.5.1
:|
: (Portuguese) A^c9g^-
\usepackage[portuguese]{babel}
XJ\3n{O brazilian"
u:kN\U^
\usepackage[latin1]{inputenc}
5(\^
\usepackage[T1]{fontenc}
5(c.
^:L 2.3"5^ latin1
\?3 Mac DOS ^"g1J?"
2.5.2
{|
26
L 2.4: {;^-"
\og guillemets \fg{}
guillemets
M\up{me}, D\up{r}
Mme , Dr
2\ieme{} 4\iemes{}
2e 4es
\No 1, \no 2
No 1, no 2
20~\degres C, 45\degres
20 C, 45
\bsc{M. Durand}
M. Durand
\nombre{1234,56789}
1 234,567 89
\5{LUC
"'u babel
frenchb U9XSN frenchb.dtx $1 LATEX
) frenchb.dvi"
2.5.3
|
d\^c
",kg
~X Chapter < Kapitel"kX#-4\
\=\vk^ inputenc "L 2.55(
a"
^ inputenc k
,\
3A?.p"
37p\~uy{ (guillemets)",
ipk^{"7w5 this "3a
i^ guillemets {"
^aq \flq -KXJ\^ OT1 iN%
@iNguillemets w5 -",
T1?iN(kI"\^
(3^ T1 ?"(\usepackage[T1]{fontenc})
2.5 IS|
27
L 2.5: ;^i"
2.5.4
"a
"s
"
"
"< or \flqq
"> or \frqq
\flq
\frq
\dq
"
m|7
^ LATEX m (Korean)I)nK
1. U
?6m
(Korean input files)"m
7L (plain -text format)dum^i
8u US-ASCII -83 ASCII ?6pw5
%"2^m? EUC-KR 9
MS-Windows poN*CP949/Windows-949/UHC"3
izi?iq/p"zqL!"^k
9
!"ymIOH!m
qk
"dkk(!3"mi?z! (KS X
28
\="
-m
m/z|"!!!f!!8L8
=Am
^mS.5z"
J
g/JcJ0U"3mpka{d
/
MJc=c||(6uc!
9("
S'E,v
\
<
m1<JJcK
1001:1998 and KS X 1002:1992)",i1?n5%F
kA
LiX"ISO 10646/Unicode J
ymL{
i1?i1Lhttp://www.unicode.org/charts/PDF/U1100.pdf,k5
ym!? (http://www.unicode.org/charts/PDF/UAC00.pdf )"^ LATEX 9'
X?nmk-<;]mU5m!|
y3U^ Unicode i1?5)"F"5 TEX X J)
Ym{m MS Word,mk
|"
9
3 language/korean/HLaTeX/
language/korean/CJK/ and http://knot.kaist.ac.kr/htex/ "
10
Hmz"
2.5 IS|
29
?6UCz9gJ("zg\O
zUCSN^SJc"
"HLATEX ^rl<
N)5"
XJ\Im/z
mir
-
\usepackage{hfont}
2.5.5
^F1
|#-4\N/\F1"
6=
\^- \textlatin{english text} 9 \textgreek{greek
text}k^iN?"\
^c!`L- \selectlanguage{...}"L 2.7
F
1I:"u^ \euro"
L 2.7: F1Ai"
11
((
))
XJ inputenc ^
utf8x \F1(NF1 unicode i"
30
2.5.6
d.|
3.7h babel
T2* ?9^d.i1
\|=|"
d.|6u LATEX Xk fontenc inputenc "
XJ\3e^d.7L3 inputenc c\1 mathtext
12 :
\usepackage{mathtext}
\usepackage[T1,T2A]{fontenc}
\usepackage[koi8-ru]{inputenc}
\usepackage[english,bulgarian,russian,ukranian]{babel}
ebabel gJ%@iN?un
AT T2A",
^iN?"uk.X
d.XAT(.iN?"3
J, babel iN?"
U
c, giG9-
;^5
K'X \frenchspacingbabel J
-U\|
=IO"
n;^I:J
d.'.
kx!^!!
9Bc-L 2.8"
babel Russian Ukrainian
- \Asbuk \asbuka
qu \Alph \alph)=i1
="babel Bulgarian J
- \enumBul
\enumLat \enumEng4 \Alph \alph )\|
.=i1%@\|"
2.6
cm
m>.LATEX 3cm\m"3f
"\m
5"LATEX bf
!'("XJ;i1f
("3k/y;i1"
12
XJ^
AMS-LATEX Ar3 fontenc babel c\1"
2.7 IK!!
31
(c#N3cc"
"---
d."
"--~
66^"
"--*
Ld."
""
"~
vkm:cIP"
"=
m:cIP#N3cpc"
",
x^um:6i1"
"
^upVw5 ,,"
"
^upmVw5 "
"<
^u{Vw5 <<"
">
^u{mVw5 >>"
7L[`
b?~ "c
)U"Li ~ )U
B1"c- \@ `f"=;
i1"
Mr.~Smith was happy to see her\\
cf.~Fig.~5\\
cf. Fig. 5
\frenchspacing
UB3
\'~
i1x"
z3=~H"XJ^
\frenchspacing- \@ 7
"
2.7
IK!!
32
-|
-r!IK"\?U(gS
^" article ke!-
\section{...}
\subsection{...}
\subsubsection{...}
\paragraph{...}
\subparagraph{...}
XJrA
K!?\^
\part{...}
g
!\chapter{...}
article ayNr\
7"!mm!SIKid LATEX g"
!-k
A5
- \part KS"
- \appendix rSU^i1IP13"
LATEX 3?
J!IK)8
"\tableofcontents
3y\8"
(8 (table of contents) SN
#7L? (LATEXed) g"k?1ng"Xk7
LATEX w\"
!-/(0/y"
/(0-L3
-
\ * 5y")!IKQyu8S"~
article aUC!S"
2.8 ^
33
)!-LATEX 2 ?
n-^u book
"yk^UXUCIK
\frontmatter AX- \begin{document} ^"r
i"ucSNH^(-~X\chapter*{Preface}
{ LATEX S"
\mainmatter Ay31;c"mC.iO
l#O"
\appendix INm"T- SU^i1IP"
\backmatter AT\
SN;cXz
"3IOa.vkoJ"
2.8
^
37!wI!LA?1^
(cross-references)"LATEX J
Xe^\label{marker}, \ref{marker} and \pageref{marker}
marker ^JI"XJ3!!f!!!Ln
14
-LAT
5
-ovk"- \label
gg)S"
34
A reference to this subsection
\label{sec:this} looks like:
see section~\ref{sec:this} on
page~\pageref{sec:this}.
2.9
\footnote{footnote text}
"5ffA^
(16"
Footnotes\footnote{This is
a footnote.} are often used
by people using \LaTeX.
2.10
This is a footnote.
rN
XJ^i\^ey5rNc"
\underline{text}
3<M^NiN<rNc"LATEX J
\emph{text}
5rN"
-S^J6ue
15
16
put ~^=c"
55r5lm"z<5"
or\`k\17
17
I7r/ :-).
2.11
35
If you use emphasizing inside a piece of emphasized text, then LATEX uses the normal
font for emphasizing.
emphasizing.}
5 LATEX rNo^iNJ:
\textit{You can also
\emph{emphasize} text if
it is set in italics,}
\textsf{in a
\emph{sans-serif} font,}
font, or in
typewriter style.
\texttt{or in
\emph{typewriter} style.}
2.11
;^LATEX
(environment)
\begin{environment}
text
\end{environment}
environment "N^^Si@"
\begin{aaa}...\begin{bbb}...\end{bbb}...\end{aaa}
e!k
)"
2.11.1
Itemize!Enumerate Description
itemize ^ u { Lenumerate ^ u S
Ldescription ^uL"
36
\flushleft
\begin{enumerate}
\item You can mix the list
environments to your taste:
\begin{itemize}
to your taste:
- With a dash.
\end{itemize}
2. Therefore remember:
list.
in a list.
2.11.2
!m
This text is
\begin{flushright}
This text is right-\\aligned.
\LaTeX{} is not trying to make
each line the same length.
\end{flushright}
\begin{center}
At the centre\\of the earth
\end{center}
At the centre
of the earth
2.11
2.11.3
37
^!(
quote ^u!~f"
A typographical rule of thumb
for the line length is:
\begin{quote}
length is:
is used in newspapers.
2.11.4
31"
.~m5n"LATEX d
J
abstract " abstract ^u article a"
\begin{abstract}
The abstract abstract.
\end{abstract}
38
<
2.11.5
"+ =~f"
* ^?i"
fN~f^-<"
The \verb|\ldots| command \ldots
\begin{verbatim}
10 PRINT "HELLO WORLD ";
20 GOTO 10
\end{verbatim}
\begin{verbatim*}
the starred version of
the
the
verbatim
verbatim
environment emphasizes
environment emphasizes
the spaces
the spaces
in the text
in the text
\end{verbatim*}
this :-) |
like
this :-)
2.11.6
table spec
L"^ l )^
r )m^ c )^ p{width} )A
!g1| )RL"
2.11
39
7C0
hexadecimal
3700
octal
11111000000
1984
binary
decimal
\hline
\end{tabular}
\begin{tabular}{|p{4.7cm}|}
\hline
Welcome to Boxys paragraph.
the show.
\hline
\end{tabular}
no leading space
\hline
\end{tabular}
\begin{tabular}{l}
\hline
leading space left and right\\
\hline
\end{tabular}
40
duvkS{?U:18^
/608m"\begin{tabular} 1
- @{.} ^ .
m~ml
U:
J"#P^ (&) ?:^\multicolumn 3/0I\"
\begin{tabular}{c r @{.} l}
Pi expression
&
Pi expression
\multicolumn{2}{c}{Value} \\
\hline
Value
3.1416
$\pi$
& 3&1416
\\
$\pi^{\pi}$
& 36&46
\\
( )
36.46
80662.7
\begin{tabular}{|c|c|}
\hline
\multicolumn{2}{|c|}{Ene} \\
\hline
Ene
Mene
Muh!
\hline
\end{tabular}
^L<o3"XJ<L
we supertabular longtabular "
2.12
2N
8UkNL"duUr3
I;?n"XJL3c
e){zg#m"{33e
xJw5"
u3ce?L){r/2
0edc^W"LATEX J
2
N (floating bodies) ^u^uL"u
`5AT
)LATEX ?n2NS3n"2
U-< LATEX or2N3\"
kwe2^ LATEX -
18
XJXSC
tools we dcolumn"
2.12 2N
41
placement specifierd2NiG|"
L 2.9"^uw LATEX 2N" placement
specifier dG2NN (float-placing permissions) .
L 2.9.
LdXe-~X
\begin{table}[!hbp]
mplacement specifier [!hbp] #N LATEX rLc3,
. (b)3;2 (p)U`=
w5 (!)"XJvk`" [tbp]"
LATEX UJ placement specifier Sz2
N"XJ2N3cUSrM3L
19 "#mLATEX kuU^2
NW;/20"XJUf3
y2N?n12NLATEX l#}U
A`
2U h5?n"y?
#2NM3A"uz2NLATEX
y^S"`
oUSrk
5
""
19
/k5kr0
L 2.9: 2NN"
Spec
h
2NN,,
here 3(u2Nk
^"
3top
3.bottom
3k2N;page"
{2NSa"
~X#N2N8"
42
XJ LATEX vk\"@S2N@o~=k
2Nl
,"
= placement specifiers #NK"XJ3
S
N4
Y2N"^
` table figure k
SN
"^
\caption{caption text}
-2NIK"SiG/0/L0d LATEX
gV\"
\listoffigures and \listoftables
^5 \tableofcontents -aqO/8L8
"3
8kIKE"XJ^IK7LO
U?8IK"=3 \caption -
)S
\IK"
\caption[Short]{LLLLLoooooonnnnnggggg}
|^ \label \ref32NM^"
e~fx/\"XJ3\
i\3m\|^~f"
Figure~\ref{white} is an example of Pop-Art.
\begin{figure}[!hbp]
\makebox[\textwidth]{\framebox[5cm]{\rule{0pt}{5cm}}}
\caption{Five by Five in Centimetres.\label{white}}
\end{figure}
3~f
r3c (h)20 LATEX }"
(!)"XJUrS3. (b)"XJU
S3cUm2
5gL
L"XJvkv
5W;2
20
b"
2.13
oyf-
-X \caption \sectionU3y
g~X38"^uaq \section -
43
1n
d\k+@o3p45Xu TEX r
?"J2\f}K"<
5`pSN^XJ\3p\I
)Y{%"4kU3 AMS-LATEX 1 U\
K,)Y"
3.1
\TeX{} is pronounced as
\(\tau\epsilon\chi\).\\[6pt]
TEX is pronounced as .
100~m$^{3}$ of water\\[6pt]
100 m3 of water
\ F " r g C
3
@ o \ w (display)
m d "
d\ r 3 \[ \] m \begin{displaymath}
\end{displaymath} m"
1
{I
r LATEX *"~f^
*"kC TEX
u1J
*"XJ\Xvk macros/latex/required/amslatex w"
46
Add $a$ squared and $b$ squared
to get $c$ squared. Or, using
a more mathematical approach:
\begin{displaymath}
c^{2}=a^{2}+b^{2}
\end{displaymath}
a+b=c
\[a+b=c\]
\end{equation}
(3.1)
\ldots{}From \eqref{eq:eps} we
the same.
do the same.
5ec1m w
$\lim_{n \to \infty}
\sum_{k=1}^n \frac{1}{k^2}
= \frac{\pi^2}{6}$
limn
Pn
1
k=1 k2
2
6
\begin{displaymath}
\lim_{n \to \infty}
\sum_{k=1}^n \frac{1}{k^2}
lim
= \frac{\pi^2}{6}
n
X
1
k=1
k2
2
6
\end{displaymath}
?"~X3
1. 1vk?
kolA
Lg,)o^
;-5X \,
\quad \qquad"
2. x1#N"zU"
3. zi1@CAd"
XJ\3iNi@o\
7Lr
3 \textrm{...} -1 55 1 3.7
!"
3.2 +|
47
\begin{equation}
\forall x \in \mathbf{R}:
x R :
x2 0
(3.2)
\end{equation}
\begin{equation}
x^{2} \geq 0\qquad
x2 0
for all x R
(3.3)
\end{equation}
[u^oNf\pS.^%oN
(blackboard bold)diN^ amsfonts amssymb
\mathbb -"~fC
\begin{displaymath}
x^{2} \geq 0\qquad
x2 0
for all x R
\end{displaymath}
3.2
+|
-
ikdXJ\F"
-i^\7Lr3+|^s)
{...}.
\begin{equation}
a^x+y \neq a^{x+y}
ax + y 6= ax+y
\end{equation}
3.3
(3.4)
!0
-"[
-L1 59 1 3.10 !"
F1i1 (Greek letters) \/ \alpha!\beta!\gamma!,
,i1\/ \Gamma!\Delta!,,2
$\lambda,\xi,\pi,\mu,\Phi,\Omega$
2 A
LT
, , , , ,
48
eIUL^ ^ _ 5"
$a_{1}$ \qquad $x^{2}$ \qquad
$e^{-\alpha t}$ \qquad
$a^{3}_{ij}$\\
$e^{x^2} \neq {e^x}^2$
x2
a1
a3ij
et
ex 6= ex2
x
x2 + y
2
[x + y 2 ]
3
2
$\surd[x^2 + y^2]$
m+n
$\underbrace{a+b+\cdots+z}_{26}$
a + b + + z
{z
26
CO\X(tilde)\^1
59 L 3.1 -"CXi/lf0d
\widehat \widetilde " K
(prime)"
\begin{displaymath}
y=x^{2}\qquad y=2x\qquad y=2
y = x2
y 0 = 2x
y 00 = 2
\end{displaymath}
~a
AB
\end{displaymath}
~\vk7w:5L{$k
I5"3
e\AT^ \cdot -"
3.3
49
\begin{displaymath}
v = {\sigma}_1 \cdot {\sigma}_2
v = 1 2 1 2
\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}
lim
\frac{\sin x}{x}=1\]
x0
sin x
=1
x
a mod b
$x\equiv a \pmod{b}$
x a (mod b)
1 21 hours
x2
k+1
x1/2
x k+1
\end{displaymath}
n
k
Ckn
50
fN (x) = 1
n
X
i=1
\prod_\epsilon
\end{displaymath}
E,LIamsmath J
\substack - subarray
\begin{displaymath}
\sum_{\substack{0<i<n \\ 1<j<m}}
P(i,j) =
\sum_{\begin{subarray}{l}
i\in I\\
0<i<n
1<j<m
1<j<m
\end{subarray}}
P (i, j) =
Q(i, j)
iI
1<j<m
Q(i,j)
\end{displaymath}
TEX J
5 ) (braces) .
(delimiters)X[ h k l "))dA\
s
)^\{k.^-X\updownarrow
)"k^.L1 62 L 3.7"
\begin{displaymath}
{a,b,c}\neq\{a,b,c\}
\end{displaymath}
a, b, c 6= {a, b, c}
AMS-LATEX ,k1I/eI"
3.4
51
1+
\right) ^3
\end{displaymath}
1
1 x2
3
k
ek7.(^
\big\Big\bigg \Bigg -e\Ir3.
-c4"
$\Big( (x+1) (x-1) \Big) ^{2}$\\
$\big(\Big(\bigg(\Bigg($\quad
(x + 1)(x 1)
$\big\}\Big\}\bigg\}\Bigg\}$
\quad
$\big\|\Big\|\bigg\|\Bigg\|$
2
)
o
x_{1}+\cdots+x_{n}
x1 + + xn
\end{displaymath}
3.4
A-5N"k
-)\,
( ) , \:
4
18
quad ( ) \;
, \quad (
5
18
3
18
quad
quad ( )"= \ )
) \qquad (
) )"\quad
3
ciNi1Mk'"\! -) 18
quad ( )
K"
4
XJ^
,UCiN-
11pt 12pt {
-
52
\newcommand{\ud}{\mathrm{d}}
\begin{displaymath}
\int\!\!\!\int_{D} g(x,y)
\, \ud x\, \ud y
ZZ
g(x, y) dx dy
instead of
\end{displaymath}
instead of
\begin{displaymath}
\int\int_{D} g(x,y)\ud x \ud y
Z Z
g(x, y)dxdy
D
\end{displaymath}
5p d U.~iN"
AMS-LATEX mNJ
,{=^
\iint, \iiint, \iiiint, \idotsint -"
\\ amsmath
~f
\newcommand{\ud}{\mathrm{d}}
ZZ
\begin{displaymath}
\iint_{D} \, \ud x \, \ud y
dx dy
\end{displaymath}
3.5
R
x11
x12
...
x21
X=
..
.
x22
..
.
...
..
.
\end{displaymath}
array ^5LL^ .
\right ."
3.5 R
53
\begin{displaymath}
y = \left\{ \begin{array}{ll}
a & \textrm{if $d>c$}\\
b+x & \textrm{in the morning}\\
l & \textrm{all day long}
\end{array} \right.
\end{displaymath}
y=
if d > c
b+x
in the morning
\begin{displaymath}
\left(\begin{array}{c|c}
1 & 2 \\
\hline
3 & 4
\end{array}\right)
\end{displaymath}
\begin{eqnarray}
f(x) & = & \cos x
\\
\\
f (x)
cos x
(3.5)
f 0 (x)
sin x
(3.6)
f (y)dy
sin x
(3.7)
5p>xwL"\setlength\arraycolsep{2pt}
N~Xe"
U"7L3=pX?"
e{~^"
54
{\setlength\arraycolsep{2pt}
\begin{eqnarray}
\sin x & = & x -\frac{x^{3}}{3!}
+\frac{x^{5}}{5!}-{}
x3
x5
+
3!
5!
x7
+
7!
sin x = x
\nonumber\\
(3.8)
&& {}-\frac{x^{7}}{7!}+{}\cdots
\end{eqnarray}}
\begin{eqnarray}
\lefteqn{ \cos x = 1
-\frac{x^{2}}{2!} +{} }
\nonumber\\
x2
+
2!
x6
x4
+
+
4!
6!
cos x = 1
(3.9)
\end{eqnarray}
3.6
wJphantomkKg3N<M
,k"LATEX "^5y
k
E|"
^ ^ _ LATEX RkwLug"
^ \phantom -\3wi3"n)d
{we~f"
\begin{displaymath}
{}^{12}_{\phantom{1}6}\textrm{C}
\qquad \textrm{versus} \qquad
12
6C
versus
12
6 C
{}^{12}_{6}\textrm{C}
\end{displaymath}
\begin{displaymath}
\Gamma_{ij}^{\phantom{ij}k}
\qquad \textrm{versus} \qquad
\Gamma_{ij}^{k}
\end{displaymath}
ij k
versus
kij
3.7 iN
3.7
55
iN
3TEX eJiN"~XI
iN"XJ\riN^ \textrm
- \textrm 6
diN
^"^ \mathrm 5iN~"%\mathrm
k",
^5"
\begin{equation}
2^{\textrm{nd}} \quad
2nd
2^{\mathrm{nd}}
2nd
(3.10)
\end{equation}
X
n
\sum_{i=1}^n(x_i-\overline x)^2
\sum_{i=1}^n(y_i-\overline y)^2
i=1
\biggr]^{1/2}}
n
X
i=1
(xi x)(yi y)
(xi x)2
n
X
i=1
(yi y)2
1/2
\end{displaymath}
~f)' \left[
\right] J)
"\biggl
\biggr -OAum)"
3.8
n!!,,
\UI{5/n0!
/0!
/
n09aq("
\newtheorem{name}[counter]{text}[section]
56
n03<5"
)"^5n?K"^
counter 5kc(/n0 name"Kd#/n0k
cn?"section 4\5!
/n0UA
!
g5?"
\3
^e-
"
\begin{name}[text]
This is my interesting theorem
\end{name}
amsthm J
\newtheoremstyle{style} -Lln
J5n *nOdefinition I
KoNSNNplainIKoNSNNremarkIKN
SNN"
n`
eXe~fF"U
\theoremstyle{definition} \newtheorem{law}{Law}
\theoremstyle{plain}
\newtheorem{jury}[law]{Jury}
\theoremstyle{remark}
\newtheorem*{marg}{Margaret}
\begin{law} \label{law:box}
Dont hide in the witness box
\end{law}
\begin{jury}[The Twelve]
see law~\ref{law:box}\end{jury}
\begin{marg}No, No, No\end{marg}
/Jury0n/Law0n^
Od?
/Law0n?^Se5")^5n
IKaqSN"
3.9 oN
57
\flushleft
\newtheorem{mur}{Murphy}[section]
\begin{mur}
If there are two or more
ways to do something, and
one of those ways can result
in a catastrophe, then
/Murphy0 nkc!X?"\^
X (chapter) ! (subsection)"
amsthm J
proof "
\begin{proof}
Trivial, use
E = mc2
\[E=mc^2\]
\end{proof}
^ \qedhere -\-y.."
-y..%@3y(
u1"
\begin{proof}
Trivial, use
\[E=mc^2 \qedhere\]
E = mc2
\end{proof}
3.9
oN
3 LATEX oNNN
{YL^"iNC- \mathbf oNi
1N
~N"k
\boldmath -U^3 "=^ui1^
u"
\begin{displaymath}
\mu, M \qquad \mathbf{M} \qquad
\mbox{\boldmath $\mu, M$}
\end{displaymath}
5oN
NI"
, M
, M
58
, M
, M
3.10 L
3.10
59
eL
k~^"
^L 3.113.156 "7Lk31\ amssymb
X
7LSC
AMS iN"XJXvkSC AMS iN
macros/latex/required/amslatex" L u info/symbols/
comprehensive ?"
L 3.1: "
a
\hat{a}
\check{a}
\tilde{a}
a
`
\grave{a}
\dot{a}
\ddot{a}
Ab
\widehat{A}
\bar{a}
~a
\vec{a}
\acute{a}
\breve{a}
Ae
\widetilde{A}
L 3.2: F1i1"
\alpha
\theta
\upsilon
\beta
\vartheta
\pi
\phi
\gamma
\iota
\varpi
\varphi
\delta
\kappa
\rho
\chi
\epsilon
\lambda
\varrho
\psi
\varepsilon
\mu
\sigma
\omega
\zeta
\nu
\varsigma
\eta
\xi
\tau
\Gamma
\Lambda
\Sigma
\Psi
\Delta
\Xi
\Upsilon
\Omega
\Theta
\Pi
\Phi
3 Josef Tkadlec e
U"
60
L 3.3: 'X"
\3eA-c\ \not -
/"
<
<
>
>
\leq or \le
\geq or \ge
.
=
\equiv
\sim
\ll
\prec
\preceq
\subset
\subseteq
\sqsubset
\sqsubseteq
`
|
^
:
\supset
\supseteq
\simeq
\approx
\Join
\cong
\sqsupseteq
./
\bowtie
\ni , \owns
\propto
\dashv
\mid
\parallel
\smile
\frown
\notin
'
\succeq
\sqsupset
\vdash
\succ
\doteq
A
3
\in
\gg
^ latexsym U
|=
6=
\models
\perp
\asymp
\neq or \ne
3.10 L
61
L 3.4: $"
+
\pm
\cdot
\times
\cup
\vee , \lor
\oplus
\odot
\otimes
\bigtriangleup
\lhd
\sqcup
\unlhd
\mp
\triangleleft
\div
\triangleright
\setminus
\star
\cap
\ast
\sqcap
\wedge , \land
\ominus
\oslash
\bigcirc
\bigtriangledown
\rhd
\unrhd
\circ
\bullet
\diamond
\uplus
\amalg
\dagger
\ddagger
\wr
L 3.5: /0$"
P
Q
`
R
\sum
\prod
\coprod
\int
\bigoplus
F
H
\bigcup
\bigcap
\bigsqcup
\oint
N
\bigotimes
\bigvee
\bigwedge
\biguplus
\bigodot
62
L 3.6: "
\leftarrow or \gets
\rightarrow or \to
\leftrightarrow
\longleftarrow
\longrightarrow
\longleftrightarrow
\Leftarrow
\Longleftarrow
\Rightarrow
\Longrightarrow
\Leftrightarrow
\Longleftrightarrow
\mapsto
\longmapsto
\hookleftarrow
\hookrightarrow
\leftharpoonup
\rightharpoonup
\leftharpoondown
\rightharpoondown
\rightleftharpoons
\uparrow
\updownarrow
\Downarrow
&
\nearrow
\swarrow
\leadsto
a
a
\downarrow
\Uparrow
\Updownarrow
\searrow
\nwarrow
^ latexsym U
L 3.7: ."
(
[ or \lbrack
] or \rbrack
\{ or \lbrace
\} or \rbrace
\langle
\lfloor
\Uparrow
\rceil
\rangle
\rfloor
\backslash
\Downarrow
\uparrow
\downarrow
\updownarrow
\lceil
m
k
| or \vert
\Updownarrow
\| or \Vert
3.10 L
63
L 3.8: ."
w
w
\lgroup
\arrowvert
\rmoustache
\rgroup
\Arrowvert
\lmoustache
\bracevert
L 3.9: "
...
\dots
\cdots
..
.
\vdots
..
\hbar
\imath
\jmath
\ell
<
\Re
\Im
\aleph
\wp
\partial
\infty
\Diamond
\mho
\prime
\emptyset
\triangle
\Box
\top
\angle
\heartsuit
\clubsuit
\spadesuit
\flat
\natural
\sharp
\nabla
>
\bot
\diamondsuit
\neg or \lnot
\ddots
\exists
\forall
\surd
^ latexsym U
L 3.10: "
3^
"
\dag
\S
\copyright
\textregistered
\ddag
\P
\pounds
\%
\ulcorner
\urcorner
\llcorner
\lrcorner
\lvert
\rvert
\lVert
\rVert
\digamma
\varkappa
\beth
\gimel
\daleth
64
\lessdot
\gtrdot
\doteqdot
\leqslant
>
\geqslant
\risingdotseq
\eqslantless
\eqslantgtr
\fallingdotseq
\leqq
\geqq
\eqcirc
\lll or \llless
\ggg
\circeq
\lesssim
&
\gtrsim
\triangleq
\lessapprox
'
\gtrapprox
\bumpeq
\lessgtr
\gtrless
\Bumpeq
\lesseqgtr
\gtreqless
\thicksim
\lesseqqgtr
\gtreqqless
\thickapprox
\preccurlyeq
<
\succcurlyeq
\approxeq
\curlyeqprec
\curlyeqsucc
\backsim
\precsim
\succsim
\backsimeq
\precapprox
\succapprox
\vDash
\subseteqq
\supseteqq
\Vdash
\shortparallel
\Supset
\Vvdash
\blacktriangleleft
\sqsupset
\backepsilon
\vartriangleright
\because
\varpropto
\blacktriangleright
\Subset
\between
\trianglerighteq
\smallfrown
\pitchfork
\vartriangleleft
\shortmid
\smallsmile
\trianglelefteq
\therefore
\sqsubset
3.10 L
65
\dashleftarrow
99K
\dashrightarrow
\leftleftarrows
\rightrightarrows
\leftrightarrows
\rightleftarrows
\Lleftarrow
\Rrightarrow
\twoheadleftarrow
\twoheadrightarrow
\leftarrowtail
\rightarrowtail
\leftrightharpoons
\rightleftharpoons
\Lsh
\Rsh
"
\looparrowleft
\looparrowright
\curvearrowleft
\curvearrowright
\circlearrowleft
\circlearrowright
\multimap
\upuparrows
\downdownarrows
\upharpoonleft
\upharpoonright
\downharpoonright
\rightsquigarrow
\leftrightsquigarrow
66
\nless
\ngtr
&
\varsubsetneqq
\lneq
\gneq
'
\varsupsetneqq
\nleq
\ngeq
"
\nsubseteqq
\nleqslant
\ngeqslant
\nsupseteqq
\lneqq
\gneqq
\nmid
\lvertneqq
\gvertneqq
\nparallel
\nleqq
\ngeqq
\nshortmid
\lnsim
\gnsim
\nshortparallel
\lnapprox
\gnapprox
\nsim
\nprec
\nsucc
\ncong
\npreceq
\nsucceq
\nvdash
\precneqq
\succneqq
\nvDash
\precnsim
\succnsim
\nVdash
\precnapprox
\succnapprox
\nVDash
\subsetneq
\supsetneq
\ntriangleleft
\varsubsetneq
\varsupsetneq
\ntriangleright
\nsubseteq
\nsupseteq
\ntrianglelefteq
\subsetneqq
\supsetneqq
\ntrianglerighteq
\nleftarrow
\nrightarrow
\nleftrightarrow
\nLeftarrow
\nRightarrow
<
\nLeftrightarrow
\dotplus
\centerdot
\ltimes
\rtimes
>
\divideontimes
\doublecup
\doublecap
\smallsetminus
\veebar
\barwedge
\doublebarwedge
\boxplus
\boxminus
\circleddash
\boxtimes
\boxdot
\circledcirc
\intercal
\circledast
\rightthreetimes
\curlyvee
\curlywedge
\leftthreetimes
3.10 L
67
\hbar
\hslash
\Bbbk
\square
\blacksquare
\circledS
\vartriangle
\blacktriangle
\complement
\triangledown
\blacktriangledown
\Game
\lozenge
\blacklozenge
\bigstar
\angle
\measuredangle
\diagup
\diagdown
\backprime
\nexists
\Finv
\varnothing
\eth
\sphericalangle
\mho
L 3.18: i1"
~
ABCDEabcde1234
ABCDEabcde1234
ABCDEabcde
ABCDE
A BC DE
mathrsfs
ABCDEabcde1234
amsfonts or amssymb
ABCDEa1234
amsfonts or amssymb
1o
;U
\n. LATEX
;U~Xg
)!z+n\"['u LATEX A
U9UOrU3 LATEX Manual [1] The LATEX
Companion [3] "
4.1
\ EPS /
/\"LATEX J
N{5"3p? Encapsulated
PostScript(EPS) /^'{
2/^"
~X XFig!CorelDraw!!Freehand!Gnuplot!,,
, ^5 PostScript GhostScript Sl support/ghostscript
\/LS<"${ EPS
;U
70
2. 3
\e-51\ graphicx "
\usepackage[driver]{graphicx}
r/N
height
r/Np
angle
_^=/
scale
e~n)L
\begin{figure}
\centering
\includegraphics[angle=90,
width=0.5\textwidth]{test}
\caption{This is a test.}
\end{figure}
r test.eps /\p"k/^= 90
,
4.2 z
71
/p/pCz'~ 1.05p'"p
"[&E31 115 L 6.5
"XJ\z [9] [13]"
4.2
z
^ marker 3^!"
\cite{marker}
X J \ ^ label z ^ 8 ? g ) "
\begin{thebibliography} -
?"3e
Partl~\cite{pa} has
proposed that \ldots
\begin{thebibliography}{99}
\bibitem{pa} H.~Partl:
\emph{German \TeX},
TUGboat Volume~9, Issue~1 (1988)
Bibliography
\end{thebibliography}
;U
72
L 4.2: 'c{~"
~
\index{hello}
hello, 1
Peter, 3
\index{hello!Peter}
4.3
helloef
\index{Sam@\textsl{Sam}}
Sam, 2
z
\index{Lin@\textbf{Lin}}
Lin, 7
\index{Jenny|textbf}
Jenny, 3
z
\index{Joe|textit}
Joe, 5
\index{ecole@\ecole}
cole, 4
IP
N7~k^ (index)
"^
LATEX 9 makeindex5 U
N)"3
p0
)-"?
) The LATEX
Companion [3]"
3^
\makeindex
--"
SNL\index{key}
p key 'c"\3I/\\^
-"L 4.2 ~)
key {"
LATEX ?n
z \index -c
\;"i LATEX
k
5
4.4 w
*
73
makeindex filename
makeindex S)
Sz
^ .ind *"2g^ LATEX ?n
Sz
\printindex
-y"
LATEX 2 N showidx 3><"
U3k^"
5>&/^ \index -K"
My Word \index{Word}. As opposed
to Word\index{Word}. Note the
position of the full stop.
4.4
{-
w"w\Uuy
^?"
w5z!
"LATEX L5?"3w\
^ \rightmark -5Lc section ^ \leftmark 5Lc
chapter "-3?n chapter section -#
D"
( 5 \chapter - \rightmark
\leftmark ?1
LN^ \chaptermark - \sectionmark!\subsectionmark
5# \rightmark \leftmark"
dXJ\?Uww{I#\chaptermark
-"
4.1 w
X fancyhdr 5qw"X
\ke fancyhdr "
6
3 macros/latex/contrib/supported/fancyhdr "
;U
74
\documentclass{book}
\usepackage{fancyhdr}
\pagestyle{fancy}
with this we ensure that the chapter and section
headings are in lowercase.
\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} % space for the rule
\fancypagestyle{plain}{%
\fancyhead{} % get rid of headers on plain pages
\renewcommand{\headrulewidth}{0pt} % and the line
}
4.1: fancyhdr ~"
4.5 Verbatim
4.5
75
Verbatim
3c\
verbatim "3!\
^ verbatim "verbatim #y
verbatim )
5 verbatim
"vkoAO verbatim
y
#OU3pJ"
verbatim J
\verbatiminput{filename}
8"XJ\/
) [10]"
4.6
SC
LATEX SCkC
3 "3 p / CTAN
(http://www.ctan.org/)"
~X geometry hyphenat 5`
* .ins,* .dtx"d ~k
readme.txt ?1{`"\ATk"
X
\
\?1?n
;U
76
k\w)
.glo (glossary) "31 4 1 5
m$1e-
makeindex -s gglo.ist -o name.gls name.glo
(@311 5 c
4.7
^ pdf LATEX
cIP",/$,
"XJ\:\=N8/"X3
LATEX k \ref \pageref yC"d
8aq(C8"
y3^ HTML IP?"3E
k"
1. 3HTML~|"+dkIO
y3^A|"IiN"
2. <HTML'N<(JXA
y"(J3 LATEX .p
lZp"
kN LATEX = HTML}"
`
UIO LATEX
)"
8
IK
|"\m^ LATEX E,U*@
}
1
"eF"=u3p
4.7.1
u PDF
k
Hn Th Thnh mu pdfTEX S^ LATEX
5M
PDF C~{" TeX ) DVI
pdfTEX ) PDF "
k pdfLATEX S LaTeX
) PDF "
y3 TEX u1g8SC
pdfTEX pdfLATEX
~XteTEX fpTEX MikTEX TEXLive CMacTEX "
4.7.2
iN
pdfLATEX ?nkiNPK :
!TrueType!PostScript
type 1!,, LATEX ~iNPK :
iN3 Acrobat
Reader ewJ~"
pwJ^
PostScript Type 1 iN"p? TeX SCSg\
eXJ~$\aL!"
PostScript Type 1 Computer Modern AMSFonts iNd Blue
Sky Research Y&Y, Inc. 5u{I (AMS)"
77
;U
78
8k@iNpxfontsui
N Palatinou Times txfonts "I3\\
eA1^
iN
4.7.3
^/
L graphicx 1 69 \3\/"^
pdftex driver ^u pdfLATEX
\usepackage[pdftex]{color,graphicx}
~f
color dw5
g,
"
Ed"E Encapsulated PostScript /
PdfLATEX |"XJ\3- \includegraphics (\1
* graphicx 6u driver g
"u pdftex |k .png!.pdf!.jpg .mps
(META O T)| .eps"
)K{{L3X epstopdf
\ EPS =z PDF "ux
){u!n PDF
5| PNG JPEG "PNG 4
79
;U
80
k"JPEG ~u
^m
"
Uux
AA/n3L
;
-5x/~X META O T3 TEX u1
*"
4.7.4
hyperref \kS^C"d
A
7Ly\usepackage[pdftex]{hyperref} \
1-"
m
^1- \hypersetup{options}"
pdftex 7L^5UC hyperref %@J7"
eL%@ upright iN"
bookmarks (=true,false) w\9
unicode (=false,true) #N3 Acrobat \9^.Xi
pdftoolbar (=true,false) w Acrobat 9
pdfmenubar (=true,false) w Acrobat 9
pdffitwindow (=true,false) Nw PDF z
pdftitle (={text}) Acrobat w Document Info
pdfauthor (={text}) PDF i
pdfnewwindow (=true,false) ,m
#I
colorlinks (=false,true) ke(false)
(true)"Le5(%@
)
7
L dvips =z PS
^ Adobe Distiller PS =
\Lm=true I5
\usepackage[pdftex,bookmarks,colorlinks]{hyperref}
M PDF ^5<^
<l
J"\<
e
\usepackage{hyperref}
\hypersetup{colorlinks=false}
C
\usepackage{hyperref}
\hypersetup{colorlinks,%
citecolor=black,%
filecolor=black,%
linkcolor=black,%
urlcolor=black,%
pdftex}
\J PDF Document Info &E
\usepackage[pdfauthor={Pierre Desproges},%
pdftitle={Des femmes qui tombent},%
pdftex]{hyperref}
g^Le-y 3
\href{url}{text}
81
;U
82
The \href{http://www.ctan.org}{CTAN} website.
4.7.5
K
O#z Uye&E
! pdfTeX warning (ext4): destination with the same
identifier (name{page.1}) has been already used,
duplicate ignored
~X3 book a^- \mainmatter Uyw"
31O 1Sk 1l
/ 102y
duplicate has been ignored.
) { plainpages=false \ \ hyperref "
3 O k " k x ) { ^
hypertexnames=false"
4.7.6
\K
\k\@w\==/
0^i'~ LATEX "Hyperref ~
aK
yew
Package hyperref Warning: Token not allowed in a PDFDocEncoded
string:
83
y3\L\JiG5)K^
\texorpdfstring{TEX text}{Bookmark Text}
5O~w"
LaK;.L
\section{\texorpdfstring{$E=mc^2$}%
{E=mc^2}}
~3\ \section{$E=mc^2$} w/E=mc20"
UC3\wK
\section{\textcolor{red}{Red !}}
w(J/redRed!0"- \textcolor "
(red)
"
XJ\^
\section{\texorpdfstring{\textcolor{red}{Red !}}{Red\ !}}
(J{*"
XJ\ unicodei?a.IV\ hyperref
unicode \ 3 \ ^ unicode i ",
\texorpdfstring -4\kiJ"
LATEX pdf LATEX
oN5
n{\^ LATEX pdfLATEX ?JAT
K"{){3- \includegraphics
\1*g3c8
\IMA"LATEX .eps
pdfLATEX }* .png!.pdf!.jpg .mps U
^S"
e\3 PDF ^I{/3
\\ ifpdf 8 "cJ\SC
XJvkSC
\q
^ MiKTEX {3\1g^gSC"
A- \ifpdf|^\N?^"~X
<^^ PostScript =^x3w PDF
"
8
;U
84
\RequirePackage{ifpdf} % running on pdfTeX?
\ifpdf
\documentclass[a4paper,12pt,pdftex]{book}
\else
\documentclass[a4paper,12pt,dvips]{book}
\fi
\ifpdf
\usepackage{lmodern}
\fi
\usepackage[bookmarks, % add hyperlinks
colorlinks,
plainpages=false]{hyperref}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\usepackage{graphicx}
...
3~f3 PDF
hyperref
\href -3k/ek^3ze^^
("
5c TEX u1~X TEXLive~ TEX
a.gJ PDF DVI"XJ\^\E,
^ pdflatex -5 PDF ^ latex DVI
"
4.8
Mv
\\JL!^v
^3\)P>My"
pdfLATEX beamer a#N\M PDF v(J
\^Um PowerPoint wB Acrobat
Reader |X"
beamer a^ graphicx color hyperref 5A
4v"
4.8 Mv
85
\documentclass[10pt]{beamer}
\mode<beamer>{%
\usetheme[hideothersubsections,
right,width=22mm]{Goettingen}
}
\title{Simple Presentation}
\author[D. Flipo]{Daniel Flipo}
\institute{U.S.T.L. \& GUTenberg}
\titlegraphic{\includegraphics[width=20mm]{USTL}}
\date{2005}
\begin{document}
\begin{frame}<handout:0>
\titlepage
\end{frame}
\section{~f}
\begin{frame}
\frametitle{Things to do on a Sunday Afternoon}
\begin{block}{One could \ldots}
\begin{itemize}
\item walk the dog\dots \pause
\item read a book\pause
\item confuse a cat\pause
\end{itemize}
\end{block}
and many other things
\end{frame}
\end{document}
4.2: beamer a~"
;U
86
4.8 Mv
~fNy5"5!- \section{} \subsection{}
3SN)(J"
L- \pause #N\wL98SN"
-\only!\uncover!\alt \temporal4\
J"e\Lk)lSN5J"
X\ beamer a beameruserguide.pdf 5
)"3/mu
http://latex-beamer.sourceforge.net/
#&E"
87
5.1
\qbezier -
/q0 L quadratic"N~^X!!
]^g Bzier -<Cq,UI
90
METAFONT" METAFONT ):
MetaPost )C
PostScript \ LATEX "0w A Users Manual
for MetaPost [15]H [17]"
'u LATEX TEX /iN|[? TEX Unbound
[16]"
5.2
picture
5.2.1
-
picture 1 ^e-5M
or
i x, y, x0 , y0 u \unitlength
?
3
picture S ^-X
\setlength{\unitlength}{1.2cm}
5.2 picture
-e
\put(x, y){object}
5x"
91
92
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}
5x"- \line k
1.
2. "
Ide
6, 5, . . . , 5, 6,
5.2 picture
93
Ip 1 vk/w
1k
25 U"u \unitlength 5`"
RRIYI"
5.2.3
\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}}
COC
C
*
1
y
X
XXX
C
:
XX
XC
\thinlines
\put(30,20){\vector(-1,-1){5}}
\put(30,20){\vector(-1,-4){5}}
\end{picture}
x^-
'=Ide
4, 3, . . . , 3, 4.
I p 1 v k "5 \thicklines J"
94
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}}
'$
'$
#
be
m
h
j
j
be
"!
&%
&%
r
u x z}
\put(40,30){\circle{11}}
\put(40,30){\circle{12}}
\put(40,30){\circle{13}}
\put(40,30){\circle{14}}
\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}
\put(x, y){\circle{diameter}}
x
%3 (x, y) diameter "picture
#N 14 mm
=3ek
"- \circle* )W/"
\ U I 'X eepic
pstricks"
[` The LATEX Graphics Companion [4]"
5.2 picture
95
picture k, U"XJ\7O
S5?n?/dg Bzier "
w~f Graphics in LATEX 2 [17] 9 Java
"
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=
F =
HHa
HH
B
b
c
a+b+c
s :=
A
2
\sqrt{s(s-a)(s-b)(s-c)}$}
\put(3.5,0.4){$\displaystyle
s:=\frac{a+b+c}{2}$}
\end{picture}
96
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}
k 4 :le8
"- \linethickness ^uYRU
^u",
T-^ug Bzier "
5.2 picture
5.2.7
97
\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}
98
5.2.8
E^/f
\setlength{\unitlength}{0.5mm}
\begin{picture}(120,168)
\newsavebox{\foldera}
\savebox{\foldera}
(40,32)[bl]{% definition
\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]{%
definition
\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}
/f^\newsavebox{name}
?1(,
^-
\savebox{name}(width,height)[position]{content}
?1
^-
\put(x, y)\usebox{name}
?1?gE"
5.2 picture
99
position ^/f/e:0"3~T
bll
e:/fe"
k t rOL/0/m0"
name
LATEX ;
-3~
"/fi@3~\foldera ^3
\folderb
"
du- \line 3u 3 mm U~
7L^- \oval"
5.2.9
g Bzier
\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}}
D
D
D
H
HH
D
HH D
HHD
\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}
100
x =
m2 x2 m1 x1 (y2 y1 )
,
m2 m1
y = yi + mi (x xi )
(i = 1, 2).
(5.1)
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}
y
\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}}
\put(-.5,-.07237){\line(0,1){.4}}
-x
\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}
5.3 XY-pic
101
B / 0Ied :II
(2.5, 0.25)"
5.2.11
I5
\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}
= v/c = tanh
{\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}
(5.1)
^ Bzier :"|dP1 = (0, 0), m1 =
1 P2 = (2, tanh 2), m2 = 1/ cosh2 2 ("c~
3
BIeI (3, 2):"
5.3
XY-pic
102
xy 6;^"^I3\
\usepackage[options]{xy}
\begin{displaymath}
\xymatrix{A & B \\
C & D }
\end{displaymath}
- \xymatrix 7Lu"p
1
"
x6I^- \ar O\="
\begin{displaymath}
\xymatrix{ A \ar[r] & B \ar[d] \\
AO
/B
Do
-3u@p" ud
erm9 l.
\begin{displaymath}
\xymatrix{
A \ar[d] \ar[dr] \ar[r] & B \\
D
& C }
\end{displaymath}
A@
@
/B
@@
@@
@
C
x"S\E
5"
\begin{displaymath}
\xymatrix{
A \ar[d] \ar[dr] \ar[drr] & & \\
B
\end{displaymath}
& C & D }
A@
PPP
@@ PPP
@@ PPP
@@ PPP
PP'
B
C
D
5.3 XY-pic
103
k6\I\I^
IeI"
\begin{displaymath}
\xymatrix{
& C }
/B
g0
f0
/C
\end{displaymath}
Xp^eI"O3uIL
3/0eIL3/e0"r
^ |"
\begin{displaymath}
\xymatrix{
A \ar[r]|f \ar[d]|g &
B \ar[d]|{g} \\
D \ar[r]|{f}
& C }
/B
g0
f0
/C
\end{displaymath}
%- \ar[...]|\hole"
,
eIa."bI\
^ *5y
104
\shorthandoff{"}
\begin{displaymath}
\xymatrix{
\bullet\ar@{->}[rr] && \bullet\\
/o /o /o /o /o /o /o ? _
/o /o /o /o /o /o /o
\bullet\\
\bullet\ar@2{->}[rr] && \bullet\\
&& \bullet
+3
_*4
_
\end{displaymath}
\shorthandon{"}
5e6O
\begin{displaymath}
\xymatrix{
\bullet \ar[r]
\ar@{.>}[r] &
\bullet
'
7
}
\end{displaymath}
\begin{displaymath}
\xymatrix{
\bullet \ar@/^/[r]
\ar@/_/@{.>}[r] &
\bullet
}
\end{displaymath}
^m?
ATXx"XY-pic J
18
LATEX
8c$^\L-U
"+
w
pk5
K
5KNw5~"
,
3
eLATEX NvkJ\I-
yk-)\"
}
#E$^
E LATEX
6.1
#-!
\N530k-3/
py3
"vk^I LATEX -
5y
M
(package)3
I
-"y3{
\begin{lscommand}
\dum
\ci{dum}
\end{lscommand}
3~f^
#lscommand"KI3
-x/"^
-\ci-K
I-i3V\A^8"\3
- \dum,
k \dum -k"
2 U 3 / - t U C
LATEX
106
6.1.1
#-
\gC-^Xe-
\newcommand{name}[num]{definition}
\LaTeXe}
e~f
X-"3-
IP #1 \O"XJ\^@o
g^ #2!. . . !#9 IP"
\newcommand{\txsit}[1]
{This is the \emph{#1} Short
Introduction to \LaTeXe}
to LATEX 2
\item \txsit{very}
\end{itemize}
LATEX #N\#yk--"XJ\(Io
kA-;^u?n\renewcommand"^
- \newcommand {"
3,
e\UF"^ \providecommand -"
\newcommand -"XJ-3LATEX 2 ww
k@"
?n LATEX -
k
5w1 5
&E"
6.1 #-!
6.1.2
107
\newcommand -aqk-^u#"-
\newenvironment{Xe
\newenvironment{name}[num]{before}{after}
\rule{1ex}{1ex}}
\begin{king}
My humble subjects \ldots
\end{king}
)\rule -)w
6.1.3
xm
M#\N xm
6
m
U)
J"'X\IKQg?
(
3 end ?n.
m?n"^ \ignorespacesafterendLATEX
) \ignorespaces"
LATEX
108
\newenvironment{simple}%
{\noindent}%
{\par\noindent}
\begin{simple}
Same
here.
\end{simple}
Same\\here.
\newenvironment{correct}%
{\noindent\ignorespaces}%
{\par\noindent%
\ignorespacesafterend}
No space
to the left.
\begin{correct}
Same
here.
\end{correct}
Same\\here.
6.1.4
-1 LATEX
LAT
\usepackage{ifthen}
\ifthenelse{\equal{\blackandwhite}{true}}{
% "black and white" mode; do something..
}{
% "color" mode; do something different..
}
y3\5 LATEX
latex \newcommand{\blackandwhite}{true}\input{test.tex}
k- \blackandwhite,
MI \blackandwhite false"
6.1.5
XJ\
#-\C
3e# LATEX 5k\gC-
6.2 iNi
109
?n",
\3^ \usepackage
-5\g"
% Demo Package by Tobias Oetiker
\ProvidesPackage{demopack}
\newcommand{\tnss}{The not so Short Introduction
to \LaTeXe}
\newcommand{\txsit}[1]{The \emph{#1} Short
Introduction to \LaTeXe}
\newenvironment{king}{\begin{quote}}{\end{quote}}
6.1: ~"
\SN,
I .sty ("\\\;^-
\ProvidesPackage{package name}
-AT3\c"\ProvidesPackage w LATEX
l
4 LATEX 3\}g\w
&E 6.1
~
c
-"
6.2
iNi
6.2.1
iNC-
-3IOa pt "
{\small The small and
\textbf{bold} Romans ruled}
all of
\textit{Italy}.}
LATEX 2 AiN5pX\
UCiN
E,3iNkoNNA5"
LATEX
110
3\^iNC-56,
\
~i"XJ\F"UC^iNLATEX J
, @-"wL 6.4"
^iN-) (curly braces)
"
^u|"|
LATEX -^"
He likes
ters.
large and
small
let-
XJ3iN^(@oi-UC1
"d^u|) } AT@y"5
\par -
~f "
1
\paru1
L 6.1: iN"
\textrm{...}
roman
\texttt{...}
typewriter
\textmd{...}
\textsf{...}
sans serif
medium
\textbf{...}
bold face
\textup{...}
upright
\textit{...}
italic
\textsl{...}
slanted
\textsc{...}
Small Caps
\emph{...}
emphasized
\textnormal{...}
document font
L 6.2: i"
\tiny
tiny font
\scriptsize
\footnotesize
\small
small font
\normalsize
normal font
\large
large font
\Large
larger font
\LARGE
\huge
huge
\Huge
largest
6.2 iNi
111
L 6.3: IOa pt "
size
10pt (default)
11pt option
12pt option
\tiny
5pt
6pt
6pt
\scriptsize
7pt
8pt
8pt
\footnotesize
8pt
9pt
10pt
\small
9pt
10pt
11pt
\normalsize
10pt
11pt
12pt
\large
12pt
12pt
14pt
\Large
14pt
14pt
17pt
\LARGE
17pt
17pt
20pt
\huge
20pt
20pt
25pt
\Huge
25pt
25pt
25pt
L 6.4: iN"
\mathrm{...}
Roman Font
\mathbf{...}
Boldface Font
\mathsf{...}
\mathtt{...}
Typewriter Font
\mathit{...}
Italic Font
\mathcal{...}
CALLIGRAPHIC FONT
\mathnormal{...}
N ormal F ont
LATEX
112
It is not
XJ\F"UC$iN\UAT^iNC
-{"
\begin{Large}
This is not true.
But then again, what is these
days \ldots
\end{Large}
\l))5"
6.2.2
X X
XmQ`L@3\$^
(-?
U~x LATEX :ng"3?
LATEX 5rS6 *I
m"XXJ\3/^
,A5?
~^&E\AT^ \newcommand 56C
-L-5?U&EL"
\newcommand{\oops}[1]{%
\textbf{#1}}
Do not \oops{enter} this room,
its occupied by \oops{machines}
{kw`:\3 ^
kr
yAO *u \textbf@\IH{\
5k \textbf /,
*"
/(Uvkr
6.3 m
6.2.3
113
o('uiNi-e{
Remember
es .
use
in a document,
the
P4\3
^iNw5{*"
6.3
6.3.1
XJ\3^1\3^Xe-?1
\linespread{factor}
{\setlength{\baselineskip}%
{1.5\baselineskip}
This paragraph is typeset with
the baseline skip set to 1.5 of
what it was before. Note the par
command at the end of the
paragraph.\par}
This paragraph has a clear
purpose, it shows that after the
curly brace has been closed,
6.3.2
3 LATEX kK"3
LXe5UC"
LATEX
114
\setlength{\parindent}{0pt}
\setlength{\parskip}{1ex plus 0.5ex minus 0.2ex}
-O\
m1? 0"
; \ U I - l
\tableofcontents e^
5
`;7^?~^x5l"XJ\?
5vk?23m^-
\indent
M?\3m^-
\noindent
!-m-JB"
6.3.3
Ym
LATEX Xgcfml"
O\Yl^
-
\hspace{length}
?!IK
This
6.3 m
115
in
inch = 25.4 mm
pt
em
ex
1
3
mm
e-)A
\stretch{n}
3^Ymui5Nmk
n"L^k' em ex 5y:
{\Large{}big\hspace{1em}y}\\
{\tiny{}tin\hspace{1em}y}
6.3.4
big y
tin
Rm
-~^u1m"XJ 1AT3u
"@o^-( \vspace* 5O \vspace"
- \stretch \pagebreak (^3
^5y3R"
1
LATEX
116
Some text \ldots
\vspace{\stretch{1}}
\\[length]
6.4
\gCUC
" 6.2 w
kUUC
"^ layout )3"
k! ,,3\m/4dw5:0c
ks
m" LATEX 5"k
n"
(u\ MS Word 5`w~d"w
w\U74 OzIO1i8"\uyz1i
L 66 "y3\ LATEX Xd"wXJ31
l\iC(J"l1m1(
C(J
"9/"
dXJ\O\Mx\3\
E(J"w`
e5w\X,,
LATEX J
-5UC
"~3
^"
3
4
macros/latex/required/tools
`Rk(7"
6.4
117
?
6
?
6
Margin
Notes
6
i
?Header
6
Body
- 9i
i
10
i
3
1i-
?
6
i
Footer
11
\oddsidemargin = 28pt
\topmargin = 23pt
\headheight = 12pt
\headsep = 18pt
\textheight = 598pt
\textwidth = 345pt
\marginparsep = 7pt
10
or \evensidemargin
9
11
\footskip = 25pt
\marginparwidth = 115pt
\marginparpush = 5pt (not shown)
\hoffset = 0pt
\voffset = 0pt
\paperwidth = 597pt
\paperheight = 845pt
6.2: "
LATEX
118
1-,
\setlength{parameter}{length}
1-,
O\
\addtolength{parameter}{length}
\addtolength{\hoffset}{-0.5cm}
\addtolength{\textwidth}{1cm}
6.5
k
\settoheight{variable}{text}
\settodepth{variable}{text}
\settowidth{variable}{text}
e~fw
XA^
-
6.6 f
119
\flushleft
\newenvironment{vardesc}[1]{%
\settowidth{\parindent}{#1:\ }
\makebox[0pt][r]{#1:\ }}{}
\begin{displaymath}
a^2+b^2=c^2
\end{displaymath}
a2 + b2 = c2
Where: a, b are adjoin to the right angle
of a right-angled triangle.
\begin{vardesc}{Where}$a$,
$b$ -- are adjoin to the right
angle of a right-angled triangle.
6.6
LATEX ^f5"kzif
f(5cc(51"5cm
(AYk5 LATEX
cT1"
@pS4{z
':3u
TEX fY?1"ki1Uf\Ar?
)ff", LATEX ?ni1
?nf"
3L!+vk(`5\
LATEX
120
^Xe-rf
\parbox[pos]{width}{text}
^e
\makebox[width][pos]{text}
width
)f 5"
L\D4
\width!\height!\depth \totalheight width"A
fS5" pos ic !l !r
m s !f"
- \framebox \makebox ?3u3S
x/"
e~f
\^- \makebox \framebox U
X3fSw5fU
\$f 0pt
fSNK "
6.7 I|
121
\makebox[\textwidth]{%
c e n t r a l}\par
\makebox[\textwidth][s]{%
s p r e a d}\par
\framebox[1.1\width]{Guess Im
framed now!} \par
\framebox[0.8\width][r]{Bummer,
I am too wide} \par
\framebox[1cm][l]{never
central
s
mind, so am I}
Can you read this?
y3NofY
e5
SXR6"u LATEX5`
"\raisebox{lift}[extend-above-baseline][extend-below-baseline]{text}
4\U
f3R5"3cn\
^ \width!\height!\depth \totalheightf
U
fS"
\raisebox{0pt}[0pt][0pt]{\Large%
\textbf{Aaaa\raisebox{-0.3ex}{a}%
\raisebox{-0.7ex}{aa}%
\raisebox{-1.2ex}{r}%
\raisebox{-2.2ex}{g}%
\raisebox{-4.5ex}{h}}}
Aaaaaaa
he shouted but not
r
even the next oneg
in line noticed that something terrible had happened
to him.
h
6.7
I|
c\U5-
\rule[lift]{width}{height}
==YR$^,,
LATEX
122
\rule{3mm}{.1pt}%
\rule[-1mm]{5mm}{1cm}%
\rule{3mm}{.1pt}%
\rule[1mm]{1cm}{5mm}%
\rule{3mm}{.1pt}
-^5)YR^"~XIK
^ \rule -M"
A~fvkkpI"3;
| (Struts)"^5y,k(p
"\3 tabular ^|5,1kAp
"
\begin{tabular}{|c|}
\hline
\rule{1pt}{4ex}Pitprop \ldots\\
\hline
\rule{0pt}{4ex}Strut\\
Pitprop . . .
Strut
\hline
\end{tabular}
("
z
[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] Each LATEX installation should provide a so-called LATEX Local Guide,
which explains the things that are special to the local system. It should
be contained in a file called local.tex. Unfortunately, some lazy sysops
do not provide such a document. In this case, go and ask your local
LATEX guru for help.
[6] LATEX3 Project Team. LATEX 2 for authors. Comes with the LATEX 2
distribution as usrguide.tex.
[7] LATEX3 Project Team. LATEX 2 for Class and Package writers. Comes
with the LATEX 2 distribution as clsguide.tex.
[8] LATEX3 Project Team. LATEX 2 Font selection. Comes with the LATEX 2
distribution as fntguide.tex.
z
124
\!, 51
A5 paper, 10
", 19
, 22
", 31
abstract, 37
"-, 31
accent, 21
"---, 31
Acrobat Reader, 77
"<, 31
acute, 22
"=, 31
\addtolength, 118
", 31
advantages of LATEX, 3
, 22
$, 45
aeguill, 78
">, 31
\(, 45
\Alph, 30
\), 45
\alph, 30
\,, 46, 51
amsbsy, 57
-, 19
amsfonts, 47, 67
, 19
\-, 18
amssymb, 47, 59
, 19
amsthm, 56, 57
, 19
., space after, 31
. . . , 21
\:, 51
\and, 33
ansinew, 24
\appendix, 32, 33
applemac, 24
\;, 51
\ar, 102
\@, 31
\arccos, 49
\[, 45
\arcsin, 49
\arctan, 49
\\*, 17
\arg, 49
\], 45
~, 31
array, 52, 53
arrow symbols, 48
article class, 9
A4 paper, 10
\Asbuk, 30
126
\asbuk, 30
\author, 33, 82
B5 paper, 10
babel, 18, 22, 23, 30, 31
\backmatter, 33
backslash, 5
\backslash, 4
base font size, 10
beamer, 8486
\begin, 35, 90, 101
\bibitem, 71
bibliography, 71
\Big, 51
\big, 51
\Bigg, 51
\bigg, 51
\biggl, 55
\biggr, 55
\bigskip, 116
\binom, 49
blackboard bold, 47
block, 86
bm, 58
\bmod, 49
bold face, 110
bold symbols, 47, 57
\boldmath, 57
\boldsymbol, 58
book class, 9
braces, 50
brazilian, 25
calc, 118
center, 36
\chapter, 32
\chaptermark, 73
\ci, 105
\circle, 94
\circle*, 94
\cite, 71
CJK package, 28
\cleardoublepage, 43
\clearpage, 43
\cline, 39
color, 84
coloured text, 9
comma, 21
commands, 5
\!, 51
\(, 45
\), 45
\,, 46, 51
\-, 18
\:, 51
\;, 51
\@, 31
\[, 45
\\, 17, 36, 37, 39, 116
\\*, 17
\], 45
\addtolength, 118
\Alph, 30
\alph, 30
\and, 33
\appendix, 32, 33
\ar, 102
\caption, 42, 43
\arccos, 49
\cdot, 48
\arcsin, 49
\cdots, 51
\arctan, 49
127
\arg, 49
\date, 33
\Asbuk, 30
\ddots, 51
\asbuk, 30
\deg, 49
\author, 33, 82
\backmatter, 33
\det, 49
\backslash, 4
\dim, 49
\displaystyle, 55
\bibitem, 71
\documentclass, 9, 13, 17
\Big, 51
\dq, 27
\big, 51
\dum, 105
\Bigg, 51
\bigg, 51
\end, 35, 90
\biggl, 55
\enumBul, 30
\biggr, 55
\enumEng, 30
\bigskip, 116
\enumLat, 30
\binom, 49
\eqref, 46
\bmod, 49
\EURtm, 20
\boldmath, 57
\exp, 49
\boldsymbol, 58
\fbox, 19
\caption, 42, 43
\flq, 27
\cdot, 48
\flqq, 27
\cdots, 51
\foldera, 99
\chapter, 32
\folderb, 99
\chaptermark, 73
\footnote, 34, 43
\ci, 105
\footskip, 117
\circle, 94
\frac, 49
\circle*, 94
\framebox, 120
\cite, 71
\frenchspacing, 30, 31
\cleardoublepage, 43
\frontmatter, 33
\clearpage, 43
\frq, 27
\cline, 39
\frqq, 27
\cos, 49
\fussy, 17
\cosh, 49
\gcd, 49
\cot, 49
\headheight, 117
\coth, 49
\headsep, 117
\csc, 49
128
\hline, 39
\hom, 49
\listoffigures, 42
\listoftables, 42
\ln, 49
\hyphenation, 18
\log, 49
\idotsint, 52
\mainmatter, 33, 82
\ifpdf, 83
\makebox, 120
\ignorespaces, 107
\makeindex, 72
\ignorespacesafterend, 107
\maketitle, 33
\iiiint, 52
\marginparpush, 117
\iiint, 52
\marginparsep, 117
\iint, 52
\marginparwidth, 117
\include, 13, 14
\mathbb, 47
\mathrm, 55
119
\max, 49
\includeonly, 14
\indent, 114
\min, 49
\index, 72, 73
\multicolumn, 40
\inf, 49
\multiput, 91, 96
\input, 14
\newcommand, 106
\int, 50
\newenvironment, 107
\item, 35
\newline, 17
\ker, 49
\newpage, 17
\label, 33, 46
\newsavebox, 98
\LaTeX, 19
\newtheorem, 55, 56
\LaTeXe, 19
\newtheoremstyle, 56
\ldots, 21, 51
\noindent, 114
\left, 50, 51
\nolinebreak, 17
\leftmark, 73
\nonumber, 54
\lg, 49
\nopagebreak, 17
\lim, 49
\not, 60
\liminf, 49
\oddsidemargin, 117
\limsup, 49
\oval, 97, 99
\line, 92, 99
\overbrace, 48
\linebreak, 17
\overleftarrow, 48
\linespread, 113
\overline, 48
129
\overrightarrow, 48
\sec, 49
\pagebreak, 17
\section, 32, 43
\pageref, 33, 76
\sectionmark, 73
\pagestyle, 11
\selectlanguage, 23
\paperheight, 117
\paperwidth, 117
\settodepth, 118
\par, 110
\settoheight, 118
\paragraph, 32
\settowidth, 118
\parbox, 120
\sin, 49
\parindent, 114
\sinh, 49
\parskip, 114
\sloppy, 17
\part, 32
\smallskip, 116
\phantom, 43, 54
\sqrt, 48
\pmod, 49
\stackrel, 50
\Pr, 49
\printindex, 73
\subparagraph, 32
\prod, 50
\subsection, 32
\protect, 43
\subsectionmark, 73
\providecommand, 106
\substack, 50
\ProvidesPackage, 109
\subsubsection, 32
\sum, 50
\sup, 49
\qedhere, 57
\tableofcontents, 32
\qquad, 46, 51
\tan, 49
\quad, 46, 51
\tanh, 49
\raisebox, 121
\TeX, 19
\texorpdfstring, 83
\renewcommand, 106
\textcelsius, 20
\renewenvironment, 107
\texteuro, 20
\right, 5052
\textheight, 117
\right., 51
\textrm, 55
\rightmark, 73
\textstyle, 55
\textwidth, 117
\savebox, 98
\scriptscriptstyle, 55
\thinlines, 97, 99
\scriptstyle, 55
\thispagestyle, 11
130
\title, 33
\ddots, 51
\tnss, 106
\deg, 49
\today, 19
degree symbol, 20
\topmargin, 117
delimiters, 50
displaymath, 45
\displaystyle, 55
\vector, 93
doc, 12
\verb, 38
\verbatiminput, 75
document title, 10
\vspace, 115
\documentclass, 9, 13, 17
\widehat, 48
dotless and , 22
\widetilde, 48
double sided, 10
\xymatrix, 102
comment, 6
comments, 5
\cos, 49
\cosh, 49
\cot, 49
\coth, 49
cp1251, 24
cp850, 24
cp866nav, 24
cross-references, 33
\csc, 49
curly braces, 5, 110
dash, 19
\date, 33
\dq, 27
\dum, 105
eepic, 89, 94
ellipsis, 21
em-dash, 19
\emph, 34, 110
empty, 11
en-dash, 19
Encapsulated PostScript, 69, 79
encodings
font
LGR, 24
OT1, 24
T1, 24, 30
T2*, 30
DC font, 18
T2A, 24, 30
dcolumn, 40
T2B, 24
131
T2C, 24
minipage, 120
X2, 24
parbox, 120
input
ansinew, 24
proof, 57
applemac, 24
pspicture, 89
cp1251, 24
quotation, 37
cp850, 24
quote, 37
cp866nav, 24
subarray, 50
koi8-ru, 24, 30
table, 41, 42
latin1, 24
macukr, 24
thebibliography, 71
utf8x, 24
verbatim, 38, 75
\end, 35, 90
verse, 37
\enumBul, 30
epic, 89
\enumEng, 30
eqnarray, 53
enumerate, 35
\enumLat, 30
\eqref, 46
equation, 46
environment, 35
equation system, 53
environments
eurosym, 20
abstract, 37
array, 52, 53
block, 86
\EURtm, 20
executive paper, 10
\exp, 49
center, 36
exponent, 48
comment, 6
exscale, 12, 51
description, 35
extension, 11
displaymath, 45
.aux, 13
enumerate, 35
.cls, 13
eqnarray, 53
.dtx, 13
equation, 46
.dvi, 13
figure, 41, 42
.fd, 13
flushleft, 36
.idx, 13
flushright, 36
.ilg, 13
frame, 86
.ind, 13
itemize, 35
.ins, 13
lscommand, 105
.lof, 13
math, 45
.log, 13
132
.lot, 13
\textrm, 110
.sty, 11
\textsc, 110
.tex, 8, 11
\textsf, 110
.toc, 13
\textsl, 110
fancyhdr, 73, 74
\fbox, 19
figure, 41, 42
floating bodies, 40
\flq, 27
\flqq, 27
flushleft, 36
flushright, 36
foiltex, 9
\foldera, 99
\folderb, 99
font, 109
\footnotesize, 110
\Huge, 110
\huge, 110
\LARGE, 110
\Large, 110
\large, 110
\mathbf, 111
\mathcal, 111
\mathit, 111
\mathnormal, 111
\mathrm, 111
\mathsf, 111
\mathtt, 111
\normalsize, 110
\scriptsize, 110
\small, 110
\textbf, 110
\textit, 110
\textmd, 110
\textnormal, 110
\texttt, 110
\textup, 110
\tiny, 110
font encoding, 12
font encodings, 24
LGR, 24
OT1, 24
T1, 24, 30
T2*, 30
T2A, 24, 30
T2B, 24
T2C, 24
X2, 24
font size, 109, 110
fontenc, 12, 24, 30
footer, 11
\footnote, 34, 43
\footnotesize, 110
\footskip, 117
formulae, 45
\frac, 49
fraction, 49
fragile commands, 43
frame, 86
\framebox, 120
French, 25
\frenchspacing, 30, 31
\frontmatter, 33
\frq, 27
\frqq, 27
\fussy, 17
\gcd, 49
geometry, 75
133
ifthen, 12
German, 23, 26
\ignorespaces, 107
GhostScript, 69
\ignorespacesafterend, 107
graphics, 9, 69
\iiiint, 52
\iiint, 52
grave, 22
\iint, 52
Greek, 29
\include, 13, 14
Greek letters, 47
grouping, 110
\includeonly, 14
\indent, 114
HLATEX, 28
indentfirst, 114
hLATEXp, 28
index, 72
header, 11
\headheight, 117
textttheadings, 11
\headsep, 117
\index, 72, 73
\inf, 49
\input, 14
input encodings
ansinew, 24
\hline, 39
applemac, 24
\hom, 49
cp1251, 24
horizontal
cp850, 24
brace, 48
cp866nav, 24
dots, 51
koi8-ru, 24, 30
line, 48
latin1, 24
space, 114
macukr, 24
utf8x, 24
input file, 6
\Huge, 110
\huge, 110
\int, 50
integral operator, 50
hypertext, 76
international, 22
hyphen, 19
italic, 110
hyphenat, 75
\hyphenation, 18
\idotsint, 52
ifpdf, 83
\ifpdf, 83
\item, 35
itemize, 35
\ker, 49
Knuth, Donald E., 1
koi8-ru, 24, 30
134
Korean, 27
\ln, 49
Korean font
\log, 49
UHC font, 28
Korean input files, 27
\label, 33, 46
Lamport, Leslie, 1
language, 22
\LARGE, 110
long equations, 53
longtabular, 40
lscommand, 105
macukr, 24
\mainmatter, 33, 82
\makebox, 120
\Large, 110
makeidx, 12, 72
\large, 110
makeidx package, 72
\LaTeX, 19
LAT
EX3, 3
\LaTeXe, 19
\makeindex, 72
makeindex program, 72
\maketitle, 33
latexsym, 12
\marginparpush, 117
latin1, 24
\marginparsep, 117
layout, 116
\marginparwidth, 117
\ldots, 21, 51
marvosym, 20
\left, 50, 51
math, 45
left aligned, 36
\leftmark, 73
legal paper, 10
\mathbb, 47
letter paper, 10
\mathbf, 111
\lg, 49
LGR, 24
ligature, 21
\mathcal, 111
mathematical
accents, 48
\lim, 49
delimiter, 51
\liminf, 49
functions, 49
\limsup, 49
minus, 19
\line, 92, 99
mathematics, 45
line break, 17
\mathit, 111
\mathnormal, 111
\linebreak, 17
\linespread, 113
\linethickness, 96, 97, 99
\listoffigures, 42
\listoftables, 42
135
\max, 49
\overleftarrow, 48
\overline, 48
META O T, 79, 80
\min, 49
minimal class, 9
minipage, 120
minus sign, 19
Mittelbach, Frank, 1
mltex, 78
mltex, 78
modulo function, 49
\multicolumn, 40
\multiput, 91, 96
\overrightarrow, 48
package, 6, 9, 105
packages
aeguill, 78
amsbsy, 57
amsfonts, 47, 67
amsmath, 46, 4952, 54, 55, 58
amssymb, 47, 59
amsthm, 56, 57
babel, 18, 22, 23, 30, 31
beamer, 8486
\newcommand, 106
bm, 58
\newenvironment, 107
calc, 118
\newline, 17
color, 84
\newpage, 17
dcolumn, 40
\newsavebox, 98
doc, 12
\newtheorem, 55, 56
eepic, 89, 94
\newtheoremstyle, 56
epic, 89
\noindent, 114
eurosym, 20
\nolinebreak, 17
exscale, 12, 51
\nonumber, 54
fancyhdr, 73, 74
\nopagebreak, 17
\normalsize, 110
geometry, 75
\not, 60
\oddsidemargin, 117
hyphenat, 75
, 22
ifpdf, 83
one column, 10
ifthen, 12
option, 9
indentfirst, 114
optional parameters, 5
OT1, 24
latexsym, 12
\oval, 97, 99
layout, 116
\overbrace, 48
longtabular, 40
overfull hbox, 17
makeidx, 12, 72
136
marvosym, 20
PDF, 76
mathrsfs, 67
PDFLATEX, 86
mathtext, 30
pdfLATEX, 77, 84
mltex, 78
pdfLATEX, 77
ppower4, 86
pdfTEX, 77
period, 21
prosper, 86
pstricks, 89, 94
\phantom, 43, 54
pxfonts, 78
showidx, 73
placement specifier, 41
supertabular, 40
plain, 11
syntonly, 12, 14
\pmod, 49
textcomp, 20
Portugus, 25
txfonts, 78
Portuguese, 25
ucs, 24
verbatim, 6, 75
xy, 101
page layout, 116
page style, 11
empty, 11
headings, 11
plain, 11
\pagebreak, 17
\pageref, 33, 76
\pagestyle, 11
paper size, 10, 116
\paperheight, 117
\paperwidth, 117
\par, 110
paragraph, 15
\paragraph, 32
parameter, 5
\parbox, 120
parbox, 120
Encapsulated, 69, 79
ppower4, 86
\Pr, 49
preamble, 6
prime, 48
\printindex, 73
proc class, 9
\prod, 50
product operator, 50
proof, 57
prosper, 86
\protect, 43
\providecommand, 106
\ProvidesPackage, 109
pspicture, 89
pstricks, 89, 94
\put, 9195, 97, 98
pxfonts, 78
\parindent, 114
\parskip, 114
\qedhere, 57
\part, 32
\qquad, 46, 51
\quad, 46, 51
137
slides class, 9
quotation, 37
\sloppy, 17
quotation marks, 19
\small, 110
quote, 37
\raisebox, 121
space, 4
special character, 21
\renewcommand, 106
\renewenvironment, 107
report class, 9
reserved characters, 4
\right, 5052
right-aligned, 36
\sqrt, 48
square brackets, 5
square root, 48
\stackrel, 50
\stretch, 107, 115
structure, 6
\right., 51
Struts, 122
\rightmark, 73
subarray, 50
roman, 110
\rule, 107, 121, 122
sans serif, 110
\savebox, 98
Scandinavian letters, 22
\scriptscriptstyle, 55
\scriptsize, 110
\scriptstyle, 55
\sec, 49
\section, 32, 43
\sectionmark, 73
\selectlanguage, 23
\subparagraph, 32
subscript, 48
\subsection, 32
\subsectionmark, 73
\substack, 50
\subsubsection, 32
\sum, 50
sum operator, 50
\sup, 49
superscript, 50
supertabular, 40
syntonly, 12, 14
T1, 24, 30
\settodepth, 118
T2*, 30
\settoheight, 118
T2A, 24, 30
\settowidth, 118
T2B, 24
showidx, 73
\sin, 49
single sided, 10
\sinh, 49
slanted, 110
T2C, 24
table, 38
table, 41, 42
table of contents, 32
\tableofcontents, 32
138
tabular, 38, 119
\tan, 49
\tanh, 49
\TeX, 19
\texorpdfstring, 83
\textbf, 110
\textcelsius, 20
textcomp, 20
\texteuro, 20
\textheight, 117
\textit, 110
\textmd, 110
\textnormal, 110
\textrm, 55, 110
txfonts, 78
ucs, 24
umlaut, 22
\underbrace, 48
underfull hbox, 17
\underline, 34, 48
\unitlength, 90, 93
units, 114, 115
upright, 110
URL, 20
\usebox, 98
\usepackage, 11, 20, 23, 24, 109
utf8x, 24
\textsc, 110
\vdots, 51
\textsf, 110
\vec, 48
\textsl, 110
\vector, 93
\textstyle, 55
\texttt, 110
vectors, 48
\verb, 38
\textup, 110
verbatim, 6, 75
\textwidth, 117
verbatim, 38, 75
thebibliography, 71
\thicklines, 93, 97, 99
\thinlines, 97, 99
\thispagestyle, 11
three dots, 51
tilde, 20, 48
tilde ( ~), 31
\tiny, 110
title, 10, 33
\verbatiminput, 75
verse, 37
vertical
dots, 51
vertical space, 115
\vspace, 115
whitespace
after commands, 5
at the start of a line, 4
\title, 33
\widehat, 48
\tnss, 106
\widetilde, 48
\today, 19
\topmargin, 117
Word, 73
www, 20
two column, 10
WYSIWYG, 2, 3
X2, 24
Xpdf, 77
xy, 101
\xymatrix, 102
139
140