You are on page 1of 81

Latex

Michael

&

&t
d
a
e

th
w
e
i

2013 6 ISBN9787121202087
d=v

?m
p
h
p

m.
u
r
fo
/
s
:
bb
/
n
.c
n
a
http://t.cn/zHIoWUS
oz
d
.
ww
w
/
Chinapubhttp://t.cn/zH295al
:/
p
t
ht

41
5
=
d

ra
t
x
e

latexbook 2013/4/28 8:56 page i #1

LATEX

&

th
w
e
i

htt

fo
/
s
bb
/
n
.c
n
a
oz
d
.
ww
w
/
p:/

ph
.
m
u

&t
d
a
e

d=
o
m
?

41
5
=
d

a=
r
t
ex

latexbook 2013/4/28 8:56 page iii #3

TEX TEX
TEX

TEX TEX

LATEX 7 , a=
tr
x
TEX
e
&
LATEX
541

id

t
&
ad

e
r

wth
e

vi
=
d
TEX TEX?
8
mo
p
h

.p

TEX
ru
o
f
/

TEX TEX
bs
b
/

TEX
n

.c

TEX PDF TEX


an
z
o
d

ww
w
/
p:/

htt

2013 3 5

iii

latexbook 2013/4/28 8:56 page iv #4

LATEX TEXTEX 20 70 80

[124; 126] TEX

a=
r

ext

1&

[127129]
54
=
d
i
1976 t

&
d
[130]

ea

hr
t
w
15
ie
v
=

od
m
?
hp
p
.

TEX 8 TEX
m
u
r

TEX
fo
/
s
T
EX TEX
bb
/
n

TEX
.c
n
a
T
EX
oz
d
.

ww
w
/
:/LATEX 20 80 Leslie Lamport
p
t
ht [137] LATEX TEX TEX
Plain TEX
LATEX
1994 LATEX 2"

LATEX
TEX/LATEX
LATEX

LATEX
LATEX
iv

latexbook 2013/4/28 8:56 page v #5

TEX
LATEX


LATEX
LATEX LATEX

20 LATEX tra
x

LAe
TEX
&
1
566
=54

id

LATEX
&t
d
a
TEX
re
h
t
T
ew
EX

vi

LATEX
d=
o
m
?ATEX 2.09 LATEX 2"
pL

ph

LATEX3
m.
u
r
TEX TE
fXo
/
s

bb

cn

1 6
.
n
a

oz
d
.

ww

ht

w
/
/
:
tp

LATEX

1 TEX 1.2
LATEX

LATEX




latexbook 2013/4/28 8:56 page vi #6

vi
LATEX

\alpha equation amsmath beamer


hihkeyi LATEX

\usefonthihihihi

a=
r
t
ex

1&
4
5

d=
i
t

d&
a
e
hr
0-1
$\Delta = b^2 - 4ac$
w
Dtb 2 4ac
ie
v
=
od

m
?
hp
p
\[
.
um - 4ac}}{2a}
r
x_{1,2} = \frac{-b \pm \sqrt{b^2
o
/f
s
\]
b
0-2
/b
n
c
p
n.
a
b b 2 4ac
z
x1;2 D
do
2a
.
w
w
w
//

:
p
htt 1 6
CTEX

latexbook 2013/4/28 8:56 page vii #7

vii

CTEX
TEX LATEX

info@dozan.cn

&

&t
d
a
e

th
w
e
i

htt

fo
/
s
bb
/
n
.c
n
a
oz
d
.
ww
w
/
p:/

ph
.
m
u

d=
o
m
?

41
5
=
d

a=
r
t
ex

latexbook 2013/4/28 8:56 page viii #8

                                                             iii
                                                           iv
1 LATEX                                             

1 ra=

xt
e
&
1.1 LATEX                                              54 1
 2
=
d
1.1.1 LTEX                                     t i

2
&

d
CTEX 3 TEX Live 7
ea
r
h
1.1.2                              w
 t                       13

ie
v 18 21
TeXworks 13 PDF
=
d
o
1.1.3 Happy TEXing ?
 m                                   27
p
ph
1.2             m.                                     32
ru
1.2.1            f
 o                                                 32
s/
1.2.2   b
 b                                                       32
n/
c
1.2.3 
                                                             35
.
zan                                                            36
1.2.4d
o
w.                                                           38
1.2.5
w
w
/
p:/ 1.2.6                                                               39
A

htt

1.2.7                                                            

43

1.2.8                                                        

46

                                                            49

2                                            50
2.1                                                        50
2.1.1                                                              

50 54

57

50

2.1.2                                                              

60

viii

latexbook 2013/4/28 8:56 page ix #9

ix
2.1.3                                                                  

62 67 78

62

2.1.4                                                            

81

2.1.5                                                        

85 88

85

2.2                                                    91
2.2.1                                                              

a=
r
t
ex
91

1& 96
4
5
2.2.3                                                     d =
        97
i

t
97 99 102
d&
a
e
2.2.4                                     t h
 r
                    106
w
e
2.2.5                           v i
=                             109
d

o
m 111
109 ?listings
p
h
2.2.6 tabbing               . p
m                                           116
u
r
2.2.7          f
 o                                                 118
/
s
2.2.8 
bb                                                    121
/
n
.c                                                   127
n
2.3 
a
oz
d
.
w                                                           127
w2.3.1
w
/
2.3.2                                                               129
p:/
2.2.2                                                              

htt

2.3.3                                                             132
2.3.4                                                           135

2.4                                              138
2.4.1 ctex                                                138
2.4.2 geometry                                                     142
2.4.3 fancyhdr                                                     145
2.4.4 multicol                                                      149
2.4.5                                                         151

                                                            155

latexbook 2013/4/28 8:56 page x #10

3                                              157
3.1                                                              157
3.1.1                                                         157

3.1.2                                                           158
3.1.3                                                           161

3.2                                                          165

a=
r
t
x
3.2.2                                                         &
 e167
1
3.2.3                                               =
 5 4
     169
d
i
3.3 BTEX                                 d & t
           174
a
e
3.3.1 BTEX                                      h
 r
                    174
t
w
e
3.3.2 JabRef                     i
v                             183
=
d
3.3.3 natbib                 o
m                                   187
?
p
3.3.4                h                                        193
.p
3.3.5      u m
                                             196
or
f
/
3.4 Makeindex  b
 s                                              200
b
/
3.4.1 cn                                                            200
n.                                                          205
a
3.4.2 
z
o

d
.
205 Makeindex 207
w
w
/w 3.4.3                                                           213
/
:

p
3.2.1                                                             165

htt

213

glossaries 215

                                                            219

4                                            221
4.1                                                      221
4.2                                                          225
4.2.1                                                             225

4.2.2                                                       229
4.2.3                                                                   230
4.2.4                                                                   233

latexbook 2013/4/28 8:56 page xi #11

xi
4.2.5                                                                   234

4.3                                                        237
4.3.1                                                       237
4.3.2                                                               244
4.3.3                                                     249
4.3.4                                                           255

a=
r
t
4.4                                                         e262
x
&
1
4.4.1                                                    5 4
     263
=
d
4.4.2                                              t i
&            267
d
a
4.4.3                                      e                  269
hr
t
w
4.5                                i
 e                      273
v
=
4.5.1                         o
 d                                273
m
?
4.5.2                    h p
p                                        276
.
m
4.5.3          u                                              278
or
f
/
            b
 s                                              284
b
/
cn                                             285
.
5

n
za
o
d
5.1 w
LAw
TE.X                                                     285
w
// 5.1.1 tabular array                                                       285
:
p
tt
4.3.5                                                                   258

5.1.2                                                   292

5.1.3 tabularx                                                      298


5.1.4 longtable                                                       300
5.1.5                                                       307
5.1.6 array                                                  314
5.1.7                                                         317

5.2                                                        321
5.2.1 graphicx                                                         322
5.2.2                                                               331
5.2.3                                                               333

latexbook 2013/4/28 8:56 page xii #12

xii
5.3                                                  335
5.3.1                                                                 335
5.3.2 caption                                                  341
5.3.3                                                           351
5.3.4 oat                                                    357
5.3.5                                                               361

a=
r
t
ex

5.4                                                          365
5.4.1                                                               369

1&

5.5                                                    54    373

id
t
&
d

5.5.1 XY-pic                                                       373

re
h
t
w

5.5.2 PSTricks TikZ                                                     379

PSTricks 380 pgf TikZ 388

vi
=
d
o

5.5.3 METAPOST Asymptote                                           398

METAPOST 398
Asymptote 405

p?
h
p
.

                    u
 m                                      409

or
f
/
6   b b
 s                                        412
/
cn
.
n
6.1 
za                                                     416
o
d
6.1.1
w.                                                                     417
w
w
// 6.1.2                                                         419
:
p
6.1.3                                                             420
htt
6.1.4                                                                   423
6.1.5                                                             424
6.1.6                                                                   425

6.2                                                        427
6.2.1                                                               427
6.2.2                                                             428

6.3                                                          432
6.3.1                                                               432
6.3.2                                                       435

latexbook 2013/4/28 8:56 page xiii #13

xiii

                                                            438

7                                            440
7.1                                                      441
7.1.1 TEX                                                            441
7.1.2                                                         444

TEX 444 LATEX 448 TEX 451 LATEX 452

7.2                                                        454
xtr

1&
4
5
=

7.2.1                                                               454

ti
&
d
a

7.2.2                                                           456

7.3                                        e                461

th
w
e
i

7.3.1                                                               461

d=
o
m
?

7.3.2                                                           462

hp
p
.
                    u
 m                                      468
r
o
/f
8 LATEX  b b
 s                                        470
n/
c
.
8.1 
an                                                       471
z
o
8.1.1
.d LTEX TEX                                                         471
w
w
/w 8.1.2                                                 478
/
:
p
htt 8.2                                                      483
7.3.3                                                         465

8.2.1                                                           483

483 484 487

TEX 489
8.2.2 LATEX                                                    492

8.3 LATEX                                                     493


8.3.1 TEX                                                        493
8.3.2 LATEX                                                        496

CTAN 496 TEX 497 498

                                                            501

a=

latexbook 2013/4/28 8:56 page xiv #14

xiv

                                                   502
                                                       523
                                                           542

&

&t
d
a
e

th
w
e
i

htt

fo
/
s
bb
/
n
.c
n
a
oz
d
.
ww
w
/
p:/

ph
.
m
u

d=
o
m
?

41
5
=
d

a=
r
t
ex

latexbook 2013/4/28 8:56 page 1 #15

1.

LATEX

&

&t
d
a
e

41
5
=
d

a=
r
t
ex

LATEX TEX TEX


wth

vi

LATEX
=
d
o

?m
p
h

.p
m

ru
LATEX
o
f
s/
LATEXb
b

cn/
.

zan

do
.
w
ww LATEX
/
/
p:

htt

TEX technology TEX


[126] [tEx]

[tEk] Knuth
K Ka-NOOTH Nooth
TEX th

112 LATEX[187]

Donald Ervin KnuthStanford Turing von Newmann


TEX

latexbook 2013/4/28 8:56 page 2 #16

1.1 LATEX

LATEX LATEX Lamport TEX

LATEX
["lA:tEk]["leItEk] [lA:"tEk] ["leItEks]
Lamport LATEX
Lamport [136, 1.3]

EX TEX LATEX

LAT

LATEX
a=
r
t
TEX x
e
LATEX TEX
41&

=5

TEX LATEX
id
t
&
TeX ad
LaTeX

re

LATEX 2"
th 2

ew

3 LATEX 2"
vi
=
d
LaTeX2e
mo

hp
p
.
m

ru

o A
1.1
s/f L TEX

bb
/
n
LATEX
LATEX TEX
.c
n
a

oz
d
.

LATEX
ww
w
/

32
:/
p
t
ht 1.2
1.1.1 LATEX
TEX/LATEX TEX

TEX Distribution

TEX
1.1.1.1 CTEX 1.1.1.2 TEX Live
Leslie Lamport Dijkstra

latexbook 2013/4/28 8:56 page 3 #17

1 LATEX

Windows Windows

1.1.1.1 CTEX

CTEX Windows ra=


xXt
e
MiKTEX MiKT
E
&
1
CTEX WinEdt PDF SumatraPDF
=54

ti
PostScript GSviewPostScript GhostScript
&
d
ea
CCT

r
h
t
CTEX LATEX
ew
i
v
=
CTEX
MiKTEX
od

?m
p
h
CTEX
MiKTEX
.p

um

or
f
/

http://www.ctex.org/CTeXDownload
bbs

1.1
cn
.
n
a
CTEX
z

do

.
WinEdt wMiKTeX
TeXworks LATEX
w
w

13 1.1.2
//

p:
t

t
h

+ FontSetup

CTEX CJK CTEX Windows

6 4 Windows Oce

+ Uninstall CTeX
CTEX
WinEdt

latexbook 2013/4/28 8:56 page 4 #18

1.1 LATEX

&

&t
d
a
e

41
5
=
d

a=
r
t
ex

th
w
e
i

ph
.
m
u

ht

d=
o
m
?

or
f
/
bs
b
/
cn
.
n
1.1 Windows 7 CTEX 2.9
a
z
o
.d
w
+ GhostScript
w
/w GhostScript PostScript T X
/

:
E
tp

+ Ghostgum

PostScript .ps .eps GSview


TEX Live PS_View PDF Adobe Reader
.ps .eps
+ Help
CTEX
CTeX FAQLATEX 2" [204]Graphics lshort[187]
[308]

GSview AFPL

latexbook 2013/4/28 8:56 page 5 #19

1 LATEX

LaTeX Short LATEX [23]LaTeX2e Reference ManualLATEX Companion[166] Mathematics[192] Symbols


[270] UK TeX FAQ
CTEX
LATEX 2"

+ MiKTeX

&

a=
r
t
ex

MiKTEX Previewer MiKTEX DVI


41
5
=
Yap TEX Live DVIOUTTeXworks
id
t
&
Help MiKTEX Maintenance
ad

re

Maintenance (Admin) MiKTEX Windows


th
w
e
MiKTeX on the Web MiKT
vi EX
=
d

MiKTEX Maintenance
1.2
mo

hEpX Settings MiKTEX


Package Manager MiKT
p
.
MiKTeX Options
rumUpdate MiKTEX

htt

fo
/
s
+ Package Manager bb
n/
c

Package
Manager MiKTEX
.
n
a
z

do
.
w

ww
/
/

p:
MiKTEX Repository
Synchronize CTAN MiKTEX
CTEX

+ Settings
MiKTEX MiKTeX Options MiKTEX


General Refresh FNDB
Update Formats

MiKTEX

Roots TEX TEX

latexbook 2013/4/28 8:56 page 6 #20

1.1 LATEX

&

&t
d
a
e

th
w
e
i

ph
.
m
u

d=
o
m
?

(a) Package Manager

fo
/
s
bb
/
n
.c
n
a
oz
d
.
ww
w
/
p:/

htt

(b) Options

(c)
1.2 MiKTEX

41
5
=
d

a=
r
t
ex

latexbook 2013/4/28 8:56 page 7 #21

1 LATEX

TDS TEX Directory Structure


[269]
TDS CTEX CTEX
TDS

Formats TEX TEX
formatINITEX
pdflatexmpost =
a

xtr


&e

Language
41
5
=
Packages
id
t
&
MiKTEX
ad

re

+ Update MiKTeX
th
w
e

MiKTEX
MiKTEX
vi
=
d
CTEX
CTEX MiKTEX
mo

p
MiKTEX
.ph
m

1.1.1.2 TEX Live

ru
o
f
/

bs
b
/
TEX Live TUGT
cn EX User GroupTEX TEX Live
.
n
UNIX/LinuxMac
OS X Windows
za
o
d

TEX Live portable


w.
w
w
Live

//
:
p
TEX Live TEX Live
htt
TEX Live Windows

TEX Live TUG


CTAN DVD
MiKTEX CTEX
TEX Live
http://www.tug.org/texlive/
CTAN 8.3.2 CTEX FTP ftp://ftp.ctex.org/mirrors/
CTAN/systems/texlive/Images/

latexbook 2013/4/28 8:56 page 8 #22

1.1 LATEX

1.3
install-tl.bat
TEX Live

&

&t
d
a
e

41
5
=
d

a=
r
t
ex

th
w
e
i

ph
.
m
u

d=
o
m
?

or
f
/
bs Windows 7 TEX Live 2012
b1.3
/
cn
.

T
X

install-tl-advanced
n
E a

z
o
.bat
1.4
.d
w
w

/w
/
:

TEX
p
htt

 Linux XTEX Linux


[25, 3.4]
XTEX
fontcong TEX Live
1. TEX Live TEXMFSYSVAR/fonts/conf/ TEXMFSYSVAR
/usr/local/texlive/2012/texmf-var/
texlive-fontconfig.conf 09-texlive.conf
/etc/fonts/conf.d/ 1.1.2.3

latexbook 2013/4/28 8:56 page 9 #23

1 LATEX

&

&t
d
a
e

41
5
=
d

a=
r
t
ex

th
w
e
i

ph
.
m
u

d=
o
m
?

or
f
/
bs
b
/
sudo cp /usr/local/texlive/2012/texmf-var/etc/fonts/texlive-fontconfig.conf
\
cn
.
/etc/fonts/conf.d/09-texlive.conf
n
za
o
d
2. fontcong

w.
w
w
/sudo fc-cache -fsv
p:/
1.4 TEX Live 2012

htt

TEX Live

 TEX Live
UNIX TEX Live Windows

 pdfTEXdvipdfmx
XTEX OSFONTDIR TEX

Live Windows Linux


TEX Live /usr/local/texlive/2012/ texmf.cnf
OSFONTDIR
OSFONTDIR = /usr/share/fonts//;/usr/local/share/fonts//;~/.fonts//

latexbook 2013/4/28 8:56 page 10 #24

10

1.1 LATEX

TEX TeXworks PostScript

PS_View
TEX Live
+ TeXworks editor
TEX Live TEX

+ DVIOUT DVI viewer


a=
DVI MiKTEX Yaptr
x

1&e

=5
+ PS_View
d
i
&t
PostScript
PDF
d
a
e
Adobe Reader .ps .eps
hr
t

ew
+ TeX Live command line
i
v
Windows 1.1.2.3
d=
o
m
TEX
hp?
p

+ TeX Live documentation


m.
u
r
HTML
TEX Live PDF HTML
fo
/
s
b

TEX Live
/b

c
.2000
n
a
z
TEXoLive
d
.

LATEX
ww

w
/
/
8.3.1
:
tp

ht +

TeXdoc GUI

1.5
texdoc
8.3.1

+ TeX Live Manager



TEX Live 1.6 tlmgr
tlmgr tlmgr gui
TeXworks PS_View Windows Linux
Kile Evince

latexbook 2013/4/28 8:56 page 11 #25

1 LATEX

11

&

1.5 TeXdoc GUI

th
w
e
i

fo
/
s
bb
/
n
.c
n
a
oz
d
.
ww
w
/
p:/

ph
.
m
u

d=
o
m
?

htt

1.6

&t
d
a
e

TEX Live ManagerTEX Live

41
5
=
d

a=
r
t
ex

latexbook 2013/4/28 8:56 page 12 #26

12


1.1 LATEX

tlmgr

CTAN


texhash tlmgr
fmtutil
updmap
PostScript


TEX Live tlmgr =


ra
TEX Live [25]x
t

&e
1
4
=5
d
 Linux Linux TEX Live
i
Linux Ubuntu Linux
texlive
&t
d
a
e
apt TEX Live
hr
t
[25]
w
CTAN

e
i
v
=
Linux TEX TEX Kile
texlive
od
m
?
TEX Live dummy
hp
p
.
package
TEX
um
r
o
Live
Linux
/f
s
b

/b
n
c
n.
a
z

do
.
w
ww
/

TEX Live
/
:
p
htt
CTAN systems/texlive/tlnet/
CTEX CTAN 8.3.2
http://ftp.ctex.org/mirrors/CTAN/systems/texlive/tlnet/
install-tl Windows install-tl.zipLinux
UNIX install-tl.tar.gz

Windows install-tl.bat install-tl-advanced.bat
1.3 1.4

latexbook 2013/4/28 8:56 page 13 #27

1 LATEX

13

 CTAN
CTAN
CTEX TEX Live
install-tl -repository http://ftp.ctex.org/mirrors/CTAN/systems/texlive/tlnet/

1.1.2

a=
r
t
ex

1.1.2.1 TeXworks

LATEX
1&
4
5
LATEX Windows Linux VIGEdit
=

ti
LATEX
&
d

ea
r
h
LATEX
ewt TEX/LATEX
i

TEX/LATEX
=v
d
o
WinEdtTeXworksTeXMakerKile
?m EmacsVIMEclipseSciTE
p
h

TeXworks
m.p

or
f
/
s
TeXworks MiKTEX bWindows
TEX Live TEX
b
/
n
TUGLinux
TEX Live
c

n.

TeXworks
TeXworks
za
o
d
TeXworks
w. 1.7 TEX
w
w

PDF
//

p:
t

t
h
PDF

TEX
PDF PDF
TEX Live
CTEX MiKTEX
XeLaTeXPDFLaTeX

http://code.google.com/p/texworks/

latexbook 2013/4/28 8:56 page 14 #28

14

1.1

LATEX

&

th
w
e
i

1.7 CTEX TeXworks

&t
d
a
e

41
5
=
d

a=
r
t
ex

PDF
=v
d
o
4
?m
PDF

TeXworks or

ph
.
m
u

/f
s
b
1. TEXn
1.7
/b
c
.
2.
1.tex
an
z
o
3. XeLaTeX

.d
w
w
/w

/
:
p

htt
PDF
PDF Ctrl PDF
PDF TEX TEX
SyncTeX
PDF TEX

TeXworks Tab
TeXworks Tab
\doc Tab \documentclass{} beq

latexbook 2013/4/28 8:56 page 15 #29

1 LATEX

15

\begin{equation}

\end{equation}
Ctrl + Tab

TeXworks
TeXworks
a=
TeXworks tr

ex

1.7
1&
4
5
12 Consolas
d=
i
t
TeXworks TeXworks

d&

ea

TeXworks 1.8
hr
t
w

ie

fo
/
s
bb
/
n
.c
n
a
oz
d
.
ww
w
/
p:/

ph
.
m
u

d=
o
m
?

htt

1.8

TeXworks

TeXworks TeXworks
Locale General
1.8
TeXworks UTF-8

latexbook 2013/4/28 8:56 page 16 #30

16

1.1 LATEX

 TeXworks 1.9 TeXworks


1.9(a)
1.9(b)
TeXworks

&

&t
d
a
e

41
5
=
d

a=
r
t
ex

th
w
e
i

ph
.
m
u

d=
o
m
?

htt

or
f
/
bs
b
/
(b) TeXworks PDFLaTeX
(a) TeXworks
cn
.
n
1.9 TeXworks
za
o
d
w.
w
w
/ Unicode
p:/

TEX
UTF-8

character set

character encodingIBM

code pageOracle

latexbook 2013/4/28 8:56 page 17 #31

1 LATEX

17

Morse
codeITA2
32
5 5
1869 4

a=
r
t
dard Code for Information Interchange ASCII
ex
&
1
ASCII 7 128
54
=
d
8
ti
&
d
256
ea
r
h
ASCII
wt
e
i
TEX 8 ASCII
=v
d
o
?m
IBM
p
h
ISO
.p ACSII ISO 8859
m
u
ISO 8859
16
or
f
/
s
ISO 8859-1
bb ISO 8859-2ISO 8859-5
/
n

.c
n
a

oz
d
.

ww
w
/
p:/ 8
American Stan-

htt

1980
GB 2312 7445 6763 GB 2312

EUC-CN GB 2312
748 1993
Unicode 1.1 GB 13000GB 13000
GB 13000 GBKK 21 886 GBK
Windows 95
GBK 2000 3 GB 18030-2000Windows XP
2005 11 GB 18030-2005
Windows Vista GB 18030 GB 18030
Unicode 3.0 4.1 27 533

latexbook 2013/4/28 8:56 page 18 #32

18

1.1 LATEX

76 556 GB 18030 GBK GB 2312 ASCII

ISO 1990 Universal Character SetUCS


ISO 10646 UCS-2 UCS-4 1991
Unicode Consortium Unicode 1.0

Unicode 2.0 Unicode ISO 10646 2012

1 Unicode 6.1 110 181 100


a=
r
t
Unicode ex
&
GB 18030 Unicode UCS-2
541

d
UCS-4Unicode Unicode
i
t
&
Unicode Transformation Format, UTF UTF-8UTF-16

ad
e
r
h
UTF-32 UTF-8 ASCII
t
ew

TEX ASCII
127
vi
=
d
o
ASCII
?m ISO 8859
p
h
GB 2312GBK UTF-8
.p ASCII LATEX

CJK
ru
o
f

s/

bb
/
n
n.EcX UTF-8 2007
XTEX zLuaT
a
do
AT X
LuaL
.
E
w
w
w

XTEX
/
p:/
CJK TEX

htt

1.1.2.2 PDF
CTEX TEX Live DVI PostScript
PDF TEX PDF
TEX PDF PDF

PostScript GSview PS_View PDF


PDF
PDF

latexbook 2013/4/28 8:56 page 19 #33

1 LATEX

19

PDF TEX

TeXworks 1.7
TeXworks PDF TEX PDF
Ctrl PDF PDF

CTEX SumatraPDF WinEdt TEX

SumatraPDF PDF PDF a=


tr

x
e
CTEX TEX Live
41&

=5

d
Adobe Reader Linux acroreadAdobe
iReader
t
&
PDF
ad PDF
e
r
h
JavaScript 3D LATEXt

ew

PDF Foxit Reader


vi

d=

Adobe Reader
mo Adobe
?
p

ph MB

m.

Adobe Reader
OpenType
ru
o
f
/

htt

bb
/
n
.cPDF
PS
n
a
z
oPostScript
PS
PostScript Adobe 1984
d
.
w

1985 LaserWriter
ww
/
/
p: PostScript PostScript

PostScript

PostScript
PostScript
[4] 1 C 2
1 2 add

0 0 moveto
100 100 lineto

latexbook 2013/4/28 8:56 page 20 #34

20

1.1 LATEX

.0; 0/ .100; 100/

PostScript PostScript

5.5.2
PSTricks
PostScript PostScript
PostScript

a=
PostScriptEncapsulated PostScript EPS EPS
r
t
PostScript &ex
1
TEX
=54

5.2

ti
&
d
a

PostScript ThEr
Xe
t
ew
TEX PostScript

i
v
=
PostScript
od TEX

PostScript
p?
h
p
.
PDF
um
r
o
Portable Document FormatPDF
Adobe
/f

1993
bb Adobe Acrobat
/
n

Adobe Reader
n.c

za

o PostScript Adobe PostScript


PDF
.d
w

PostScript
ww
/
/
:
p PDF PostScript
htt PDF

PostScript PDF 1.7 [5] PostScript 1.3


[4] PDF PostScript

TEX PDF PDF


EPS TEX PDF
PDF TEX EPS PDF
TEX

latexbook 2013/4/28 8:56 page 21 #35

1 LATEX

21

1.1.2.3

CTEX TEX Live


TEX
TEX Makeindex LATEX

Windows ra=
t
cmd.exe Linux UNIX
&ex

Shell Bash
54
=
d
Linux
shell
ti
&
d
a
Windows Windows
e

hr

Windows cmd.exe
wt
e
i

1.10
=v
d
o
Win C Rcmd.exe
?m

ph
.
m
u

fo
/
s
bb
/
n
.c
n
a
oz
d
.
ww
w
/
p:/

htt

1.10 Windows

 TEX
Windows
Windows NT Windows 2000 Windows XPWindows VistaWindows 7
DOS Windows DOS Windows 9x
Windows Windows DOS DOS

latexbook 2013/4/28 8:56 page 22 #36

22

1.1

LATEX

Windows .reg

Windows Registry Editor Version 5.00


[HKEY_CURRENT_USER\Software\Classes\*\shell\\command]
@=cmd
[HKEY_CURRENT_USER\Software\Classes\Folder\shell\\command]
@=cmd /k cd \%1\

&

a=
r
t
ex

41
5
=
>
id
C:\>

ht

d&
a
e
r

th
w
e
C >Windows

vi
=
d
o

p?m
h
pdirdirectory
dir
.
m
dir

ru
o
f

s/
b
b
n/
c
dir C:\WINDOWS
.
an
z
o
d
C .WINDOWS

w
w

? * ? *
/w
/
:
p
t
dir book*.tex
book .tex Tab
book Tab book
. ..
cd chdirchange directory
cd pictures
pictures C
cd \WINDOWS\Fonts

latexbook 2013/4/28 8:56 page 23 #37

1 LATEX

23

Windows cd hi
:

D:
cd \test
D test
 .bat .cmd
ra=
t

&ex

TEX
54
=
d

ti

&

GhostScript

ew
i
v
=

ad
e
r
h

GhostScript PostScript Windows

mo
?
p
h
C
MiKTEX TEX Live
GhostScript TEX
.p
m
u
GhostScript
r

fo

MiKTEX GhostScript
s/ mgsTEX Live rungs
b
b
Linux Windows
GhostScript
n/
c
.
LATEX Linux

an

Windows
.do

ww
w
/
p:/http://code.google.com/p/ghostscript/downloads/list

htt

GhostScript PostScript PDF PostScript


GSview PS_View GhostScript GhostScript
PSPDF
PDF DVIPDFMx EPS GhostScript
GhostScript .ps .pdf
ps2pdf
ps2pdf foo.ps
foo.ps foo.pdf pdf2ps eps2eps

latexbook 2013/4/28 8:56 page 24 #38

24

1.1 LATEX

GSview GhostScript File

PS to EPS .ps .eps File


Convert 1.11 GhostScript

&

&t
d
a
e

41
5
=
d

a=
r
t
ex

th
w
e
i

ph
.
m
u

d=
o
m
?

or
f
/

bs1.11 GSview
b
/
cn
GhostScript GhostScript
.

n
a

Windows gswin32c.exe64
oz
d
.
gswin64c.exe
ww Linux gs TEX Live rungs
w
/
MiKT
:/EX mgs GS GS
p
t
ht
GS -dBATCH foo.eps
GhostScript foo.eps \

GS -q -sDEVICE=png256 -dEPSCrop -r128 -dGraphicsAlphaBits=4 \


-dTextAlphaBits=4 -o bar.png foo.eps
foo.eps 256 PNG bar.png 128 dpi
GhostScript
GhostScript

latexbook 2013/4/28 8:56 page 25 #39

1 LATEX

25

ImageMagick
ImageMagick 100

Adobe Photoshop ImageMagick


TEX TEX TEX
Asymptote ImageMagick
ImageMagick
http://www.imagemagick.org/

a=
r
t
ex

1&
4
5
Windows Win32 dynamic at 16 bits-per-pixel
d=
i
t
Linux UNIX
d&
a
e

hr
t
w
Windows ImageMagick
ImageMagie
v
=
ick IMDisplay IMDisplay
od
m
?
ImageMagick
ImageMagick
hp
p
.
ImageMagick
um 10 200
r
o

/fImageMagick
s
b

ImageMagick
/b
n
c
convert
n.
a
z

do
.
w
wwfoo.bmp bar.png
convert
/
/
p:
t
t
h BMP foo.bmp PNG bar.png
convert foo.eps bar.pdf
EPS foo.eps JPG bar.pdf ImageMagick
PostScript PDF GhostScript
GhostScript

latexbook 2013/4/28 8:56 page 26 #40

26

1.1 LATEX

Windows
cmd

GhostScript ImageMagick Windows

CHMPDF

Windows /?

&

dir /?

&t
d
a
e

dir

41
5
=
d

a=
r
t
ex

th
w
e
i

=v
d
o
[/O[[:]sortorder]] [/P] [/Q] [/S] [/T[[:]timefield]]
[/W] [/X] [/4]
?m
p
h
p
m.
u
[drive:][path][filename]
r
fo
/
/
s
bb

/
n
.c
n
a
UNIX

-
z
o
d
--help
w.
w
w
/
p:/convert --help
DIR [drive:][path][filename] [/A[[:]attributes]] [/B] [/C] [/D] [/L] [/N]

htt

ImageMagick
UNIX man
man ls
ls Windows dir
info Windows help
/? TEX UNIX man
texdoc TEX
8.3

latexbook 2013/4/28 8:56 page 27 #41

LATEX

27

1.1.3 Happy TEXing

TEX TeXworks

\documentclass{article}

2
3

\begin{document}

This is my first document.

&

5
6

Happy \TeX ing!

\end{document}

&t
d
a
e

41
5
=
d

a=
r
t
ex

hr
t

PDFLaTeX
w
e
i
v
XeLaTeX
1.7
d=
o
m
PDF
p?
h
p
m.
This is my rst document.
u
r
fo
Happy TEXing!
/
s
bb
/
n

TeXworks
WinEdt PDF
c
.
n

PDF
za
o
d

w. PDF
w
w
/
\ PDF
/
:
p
\documentclass{article}
htt
\begin{document} \end{document}
\TeXTEX

PDF TEX

1.7
1.12
1
2

\documentclass[UTF8]{ctexart}
\begin{document}

1-1-1

latexbook 2013/4/28 8:56 page 28 #42

28

1.1 LATEX

&

&t
d
a
e

41
5
=
d

a=
r
t
ex

th
w
e
i

.
1.12

1-1-2

ph
.
m
u

d=
o
m
?

CTEX 2.9 WinEdt 7 WinEdt TeXworks

fo
/
s
bb
/
4
n
.c
5 \section{} n
a
oz
d
6 \[
.
w
7
a^2
+w b^2 = c^2
w
/
:/
8 \]
p
t
ht
3

\section{}

\end{document}

UTF-8 TeXworks WinEdt


1.13
ctexart TEX article
ctexart [UTF8]
\section
WinEdt WinEdt 7 UTF-8 CTEX GBK


TEX
ctexart Windows Linux
2.4.1

latexbook 2013/4/28 8:56 page 29 #43

1 LATEX

29

a2 C b 2 D c 2
1.13

&

41
5
=
d

LATEX

a=
r
t
ex

\[ \] LATEX
ti
&
d

hr
LATEX
t
w

LATEX LATEX

ie
v
=
d
LATEX HTML
mo
?

LATEX ph
\p

.
m
AT X
L
u
E
r
o
f
PDF
/
s

bb
/
n
c
. T .
EX
n
a
oz
d
.
ww
w
/
p:/

htt

PDF

1.14 LATEX

LATEX 1.14 TEX


TEX TeXworks WinEdt
TEX PDF PDF


TEX/LATEX HTMLXML TEX
LATEX

latexbook 2013/4/28 8:56 page 30 #44

30

1.1 LATEX

1.1
TEX

TeXworksWinEdt

TEX tex &


41
5
TEX [126]
Plain
=
d
TEX tex TEX DeVice
&ti

a=
r
t
ex

ad

Independent DVI DVI TEX


re
h
t
PostScript
ew PDF
i
v
DVI PS PDF
d=

?m
Dvips DVI PostScript
p
h
PostScript
m.p GhostScript ps2pdf Adobe Acu

or PostScript PDF PDF


robat Distiller
f
/
bs
DVI
PDF dvipdf
b
/
n
dvipdfm
.c dvipdfmx PDF
n

dvipdfmx DVIPDFMx
za
o
d
.
DVI
ww TEX driver

ht

/w TEX TEX "-TEX


/
:
tp
"-TEX Hn Th Thnh PDF pdfTEX pdfTEX DVI

DVI pdfTEX pdfTEX LuaTEX


Lua TEX "-TEX XTEX
XeTeX DVI xdv
dvipdfmx xdvipdfmx PDF LuaTEX
XTEX TEX ACSII UTF-8
TEX TEX engine
TEX Trautmann [266]
Plain TEX DVI pdfTEX

latexbook 2013/4/28 8:56 page 31 #45

1 LATEX

31

Plain TEXLATEX ConTEXt


1.1 pdfTEX XTEX
LATEX
1.1

TEX

Plain TEX

LATEX

ConTEXt

TEX/"-TEX

tex / etex
tex

latex

pdftex

pdflatex

texexec

XTEX

xetex

xelatex

LuaTEX

luatex

lualatex

context

pdfTEX

DVI

&

PDF

&t
d
a
e

41
5
=
d

a=
r
t
ex

hr

LATEX PDF
1.15
ewt

latex C dvips
=v
d
o

latex
?m
p
h
p
pdflatex
CJK xelatex
m.

xeCJK
or xelatex
f
/
pdflatex
bs
b
/
1.15
xelatex
cn

n.
a
z
do

w.
w
w
/
p:/

htt .

TEX

pdflatex

latex

xelatex

DVI

dvips
1.15

PDF

dvipdfmx

PS

ps2pdf

LATEX xelatex

LATEXConTEXt TEX LuaTEX ConTEXt

latexbook 2013/4/28 8:56 page 32 #46

32

1.2

1.2

1.2.1
tr
ex
&

1
4

d=5

&t
LATEX
d
a

hre
t

ew

i
v
AT
dEX=
1.16 Lo
m

p?
h
p
.
LATEX 1.1.3
m
u
r

/fo

bs
b
/
cn

1.2.2
n.

za
o
d

w.
w
w

LATEX
/
/
:
p
htt
1

%-*- coding: UTF-8 -*-

% gougu.tex
%
\documentclass[UTF8]{ctexart}

3
4
5

\title{}
\author{}

\date{\today}

9
10

\bibliographystyle{plain}

a=

latexbook 2013/4/28 8:56 page 33 #47

LATEX

33

6
[1]

2010 11 5

47

12

&t
d
a
e

76

th
w
e
i

d=
o
m
?
[2]
1

fo
/
s
bb
/
n
.c
n
a
oz
d
.
ww
w
/
p:/
2

ph
.
m
u
3

330275

(1) 1

12

13

htt

1:

c
(a2 + b2 = c2 )

[1] . . ,

2002.
[2] . .

1 ()

, 20(3), 1998.
[3] . .

ABC

, 1986.

C = 90
AB 2 = BC 2 + AC 2 .

(1)

1.16

&

41
5
=
d

a=
r
t
ex

latexbook 2013/4/28 8:56 page 34 #48

34

1.2

11

12

\begin{document}

13
14
15
16
17
18

\maketitle
\tableofcontents
\section{}
\section{}
\bibliography{math}

19
20

&

\end{document}

41
5
=
d

a=
r
t
ex

&t

ead

th
w
e
i

% TEX
=v

1
UTF-8
mo
?
p

h
2
gougu.tex 3
.p
m
u
TEX
r

fo

s/
b
b
n/
c
4
ctexart [UTF8]
an.

oz

ht

.d 2.4.1
w
w
/
w6 8 \today
/
:
tp 14
\maketitle 2.3.1
10 \bibliographystyle 3.3.1
\begin{document} preamble

12 20 \begin{document} \end{document} document

14 \maketitle 2.3.1
15 \tableofcontents 3.1.1
Emacs WinEdt UNIX
TeXworks

latexbook 2013/4/28 8:56 page 35 #49

1 LATEX

35

16 17 \section 2.3.2
18 \bibliographystyle{math} TEX math
3.3.1

LATEX ra=

1.2.3

d=
i
t
&

ex
&
1
4

ad
e
r
1 6
th
w
e
2
vi
=
d
3
mo
?
p
4 47
ph
.
m
5
ru
o
f
6
s/
b
b
7 12
n/
c
.

an
z
o


.d
w
w
w
//

:
p
t
35
ht

LATEX LATEX


leftright left right

xelatex ctexart xeCJK

latexbook 2013/4/28 8:56 page 36 #50

36

1.2

LATEX

a=
r
t
1.2 LATEX
ex
&
1
%
54
=
d
ti
&
d
1.2.4
ea
r
h
wt
e
1
i
=v
d
o\footnote
2.2.7
m
?
p
\footnote{
330--275 }
ph
.
m
u

or
f
/
bs
\footnote
b
/
n
cemphasis
\emph
.
n
za
o
\emph{}
d
w.
w
w
/ LATEX
/
:
p
\command
htt
n \commandharg1 iharg2 ihargn i

\command[hargopt i]harg1 iharg2 ihargn i

\footnote
\documentclass
quote

\begin{quote}

latexbook 2013/4/28 8:56 page 37 #51

1 LATEX

37

\end{quote}

7--6
\begin{quote}

\end{quote}

quote \begin{quote} \end{quote} ra

ext

1&
4
5
quote quote
d=
i
t

d&
a
e
hr
t
\begin{quote}
w
ie
v
\zihao{-5}\kaishu
=
od
m
\end{quote}
?
hp
p
.
um
\zihao -5
\kaishu
r
o
f
/

2.1.3
bs
b
/
2.1.4
cn
.
n

\maketitle abstract
za
o
d
w.
\begin{abstract}
w
w
//

:
p
htt\end{abstract}
2.2.2

\footnotehi
\zihaohi \kaishu
declaration
LATEX group
quote document
{ }
LATEX environment
\begin{hi}

latexbook 2013/4/28 8:56 page 38 #52

38

1.2

.
hi

\end{hi}

\begin{hi}[hi]hi
hi
\end{hi}

quote

a=
r
t
ex

2.2.4
1&
4
5

d=

&t
d
a
e

\newtheorem{thm}{}

hr

thm
wt
thm
\begin{thm}[]

vi
=
d
o

p?
h
p
.

um

or
f
/
bs

b
/
cn
\end{thm}
.
n
za
o
d

-- LATEX
.
w
w
en
dashn
/w
/
:
[12
35]

p
htt
1.2.5
LATEX

$ $ $a+b$
a C b a+b a+b
in-text formulainline formula

displayed formula
equation

latexbook 2013/4/28 8:56 page 39 #53

1 LATEX

39

\begin{equation}
a(b+c) = ab + ac
\end{equation}

a.b C c/ D ab C ac

(1.1)

1-2-1


\angle \angle
 \pi LATEX

$\angle ACB = \pi / 2$

ACB D =2

&

ti

41
5
=
d

a=
r
t
ex
1-2-2

ad&

\begin{equation}
AB^2 = BC^2 + AC^2.
\end{equation}

or
f
/
s

hp
p
.
m

=v
d
o
m

hr
t
w
e

AB 2 D BC 2 C AC 2 : (1.2)

^
bb _

$2^{10}=1024$
cn
.
n
10
a
2 D 1024 oz

w. 90 4.3 LATEX
w
w

://

p
htt $^\circ$ \circ

90 $90^\circ$

1.2.6

ISO 4.3.1

1-2-3

latexbook 2013/4/28 8:56 page 40 #54

40

1.2

LATEX
LATEX

LATEX graphicx
graphicx \usepackage

\documentclass{ctexart}
\usepackage{graphicx}
%

&

&t
d
a
e

41
5
=
d

a=
r
t
ex

graphicx \includegraphics
hr

mo
?
p
h

ew
i
v
=

1-2-4

/f
s
b
\includegraphics[width=3cm]{xiantu.pdf}
/b
n
c
n.
a
z
do
.
w
ww
/
/
:
ttp

m.
u
r
o

\includegraphics width=3cm

3 cm xiantu.pdf

scale=hiheight=hi scale=0.6
xelatex
PDFPNGJPGEPS
Asymptote 5.5.3

latexbook 2013/4/28 8:56 page 41 #55

LATEX

41

text text

text text

tr

x
e

1&
4
5
oat
id=
t

ad&

\begin{figure}[ht]
\centering

hr
t
w
e

vi
=
d
\includegraphics[scale=0.6]{xiantu.pdf}
3
mo
?
p
4
\caption{
ph
.
m
}ru
5
fo
/
6
\label{fig:xiantu}
s
bb
/
7 \end{figure}
n
.c
n
a

1 7 figure
oz
d
.
figure
ww [ht]
w
/
heretop
figure
/
:
p
htt 2 \centering 3 4 5
2

\caption 6 \label

\caption

EX
tabular
LAT

1
2
3

\begin{tabular}{|rrr|}
\hline
$a$ & $b$ & $c$ \\

\includegraphics[width=3cm]{xiantu.pdf}

a=

latexbook 2013/4/28 8:56 page 42 #56

42
4

\hline

3 &

4 &

5 \\

5 &

12 &

13 \\

7
8

1.2

\hline
\end{tabular}
a

3
5

4
12

5
13

&

a=
r
t
ex

tabular |rrr|
41
5
=

id

&t

tabular \\
&
ad
e
r
h
\hline
t

ew

\includegraphics
vi
=
d
table
figure
mo
?
p
h
\caption

m.

figure
ru

1
2
3

/f
s
b
b

\begin{table}[H]
n/
\begin{tabular}{|rrr|}
c
.
n
\hline
oza

w$a$
w. & $b$ & $c$\\
w
5 \hline
//
:
p
ht6 t3 & 4 & 5 \\
4

7
8
9
10
11

1-2-5

12

5 & 12 & 13 \\
\hline
\end{tabular}%
\qquad
($a^2 + b^2 = c^2$)
\end{table}
a

3
5

4
12

5
13

(a2 C b 2 D c 2 )

latexbook 2013/4/28 8:56 page 43 #57

LATEX

43

\qquad \qquad 2 emM


\qquad \end{tabular}

a=
r
t
ex

1&

=5

d
i
t
table table
&
d
a
[H][H] h

LATEX
re
t

table oat
ew
i
v
\usepackage{float}

od=

oat
hp?

m.
u
r
o

/f
s
b
/b

n
c
n.

a
z
do

.
w
ww

\bibliographystyle
/
/
:
p
\bibliography
htt
1.2.7

BTEX

BTEX .bib
3 math.bib
% This file was created with JabRef 2.6.
% Encoding: UTF8
@BOOK{Kline,
title = {},
publisher = {},

latexbook 2013/4/28 8:56 page 44 #58

44

1.2

year = {2002},
author = {}

}
@ARTICLE{quanjing,
author = {},
title = {},
journal = {},
year = {1998},
volume = {20},
number = {3}

&

&t
d
a
e

41
5
=
d

a=
r
t
ex

th
w
e
i

@BOOK{Shiye,
title = {},
hp
publisher = {},
p
.
year = {1986},
rum

d=
o
m
?

/f
s
b
b

author = {}

n/
c
.
an

oz

.d
w
w

/w
/
:
p
%
tt
JabRef 1.17
3.3.2
BTEX

JabRef
BTEX LATEX BTEX
gougu.tex
xelatex gougu.tex
bibtex gougu.aux
xelatex gougu.tex

latexbook 2013/4/28 8:56 page 45 #59

1 LATEX

45

&

1.17

&t
d
a
e

Windows 7 JabRef math.bib

41
5
=
d

a=
r
t
ex

xelatex gougu.tex

th
w
e
i

xelatex BTEX
=v

mo
bibtex gougu.aux
?
p
ph
LATEX xelatex
.
m

oru
f

s/

b
b
cn/
.

zan
o

d
LATEwX.
\cite
ww

6
://

p
htt

\cite{Kline}

\cite{quanjing}
\cite Kline quanjing math.bib
\cite
3 xelatex
\nocite
\bibliography
\nocite{Shiye}
\bibliography{math}

latexbook 2013/4/28 8:56 page 46 #60

46

1.2

1.2.1
BTEX

\tableofcontents xelatex

\ref

a=
r
t
\label fig:xiantu
ex
&
1

54
=
d
ti
\ref{fig:xiantu} \cite{quanjing}
&
d
ea
r

h
wt
e

i
=v
d
o
\begin{equation}\label{eq:gougu}
?m
p
h
AB^2 = BC^2 + AC^2.
.p
m
u
\end{equation}
or
f
/
bs
(\ref{eq:gougu})

b
/
n
c
amsmath \eqref
n.
a
z
do \usepackage{amsmath}
%
.
w
ww\eqref{eq:gougu} \emph{}

/
/
p:
t
t
h

1.3
2 1

1.2.8

TEX 1.2.1

1.2.1

latexbook 2013/4/28 8:56 page 47 #61

LATEX

47

graphicxoatamsmath
geometry 2.4.2
\usepackage{geometry}
\geometry{a6paper,centering,scale=0.8}

a=
r
t
ex

A6 0:8
1&
caption 5.3.2

&

\usepackage[format=hang,font=small,textfont=it]{caption}
ead

=5
d
i
t

hr
t
w

ie
v
=

od
m
?
tocbibind
hp
p
.
\usepackage[nottoc]{tocbibind} um
or
f
/

nottoc
bs
b
/

cn
.
n

\title\author
za
o
d

w.
w
w
//
\title{\heiti
}
:
p
t
ht \author{\kaishu }
\date{\today}
\heiti \kaishu
quote

\newenvironment quote

\newenvironment{myquote}
{\begin{quote}\kaishu\zihao{-5}}
{\end{quote}}

latexbook 2013/4/28 8:56 page 48 #62

48

1.2

\newenvironment

\begin{myquote}

\end{myquote}
quote
myquote quote
=
^\circ \newcommand tra

&e
1
4
5

\degree

id
t
&
d

\newcommand\degree{^\circ}

\newcommand
ea
r
h
$90\degree$ $90^\circ$ wt
e

=vi myquote

\degree
mo
?
p
\caption
caption
ph
.
m
u

or

A4
s/
b
b

n/
c
.
A
1.2.2
an
 LTEX

oz

.d
w
w

document
/w
/
:
p
t

ht LAT X

E
LATEX


1.4
1.2.1
What you think is what you get. What you see is what you get

latexbook 2013/4/28 8:56 page 49 #63

1 LATEX

49

TEX Knuth [126] LATEX Lamport [136]


Mittelbach and Goossens [166]
LATEX Indian TEX
Users Group [112] Oetiker et al. [188] [188] [187]
Alpha Huang [318]

a=
r
t
van Dongen [65] Grtzer [90] Kopka and Daly
ex

&

41
[134]
5
=
d
i2012
MiKTEX 2.9 Schenk [226] TEX Live
t
&
dEX
CT
Berry [25] CTEX ea
r

th
w
e
i

fo
/
s
bb
/
n
.c
n
a
oz
d
.
ww
w
/
p:/

htt

http://bbs.ctex.org/

ph
.
m
u

d=
o
m
?

latexbook 2013/4/28 8:56 page 549 #563

enumerate , 97, 434

549
oat, ,

, 249

oat page,

enumitem, 105, 106, 519

environment, ,

oatt, 363

EPS, 20

\fallingdotseq (;), 252

floatingfigure , 363

\epsilon (), 239

\familydefault, 76
\fancyfoot, 148

floatingtable , 363

epstopdf, 327

\eqcirc (P), 252

fancyhdr, 141, 147, 149

\floatpagefraction, 339

eqnarray , 263

fancyhdr, 141

\floatplacement, 359

eqnarray* , 263

\fancyhead, 148

oatrow, 356

\eqref, 46, 167

\fancyhf, 148

\floatsep, 339

\eqslantgtr (1), 252

\floatname, 357

\floatstyle, 358

\fancypagestyle, 149

owfram, 151

equation, 275

fancytooltips, 439

equation* , 223

fancyvrb, 90, 110, 111, 124,

\equiv (), 251

304

\errorstopmode, 442

\fbox, 89

\eta (), 239

\fboxrule, 90, 366

vi
=
d
o

ex, 85

final, 139, 329, 331

exampleblock , 424

\Finv (), 242

\ExecuteOptions, 479

\firsthdashline, 312

executivepaper, 139

\firsthline, 291

\exists (9), 242

xltx2e, 222, 340, 481

\exp (exp), 246

flalign , 265

expl3, 501

flalign* , 265

extarrows, 254

\flat ([), 242

\externaldocument, 169

fleqn, 139

\extracolsep, 290, 299

\FloatBarrier, 360
oat, 43, 333, 353, 357360,

, 249

362

ti
&
d
\flushbottom,
122
ea
r
h
wt flushleft , 92
\fltitem, 363

?m
"-TEX, 30
\fboxsep, 90, 366
p
h
etex, 447
.p
fc-list,m71
u
etex, 402
\fcolorbox,
365
or
f
/
etextools, 521
\fi, 473
s
bb figure , 41, 335, 425
/
\eth (), 242
n
c
etoolbox, 476, 483, 521 n.
figure* , 337
a
eufrak, 238, 239 oz
\figurename, 347
.d
euler, 69 ww
figwindow , 361
w
/
euscript
\fill, 87, 390
:/ , 238, 239 142
p
\evensidemargin,
t
\filldraw, 390
ht

extractbb, 328

&

41
5
=
d

fancynum, 86

\eqslantless (0), 252

a=
r
t
ex

flushright , 92
\fnsymbol, 99
fntef, 142
font
encoding,
family,
roman,

sans serif,

typewriter,

series,
bold,

bold extended,

demi-bold,

medium,

shape,
italic,

latexbook 2013/4/28 8:56 page 550 #564

550
slanted,

small capitals,

upright,

frame , 417

\ge (), 251

\framebox, 89, 397

\genfrac, 232

\frametitle, 417

geometry, 47, 121, 144, 145

\frenchspacing, 58

\geometry, 144

\frontmatter, 131

\geq (), 251

\frown (_), 251

\geqq (=), 252

size,

Fuchsia, 368

\geqslant (>), 252

weight,

\fussy, 93

\gets (

width,

, 2

\gg (), 251

font theme,

, 35, 59

\ggg (o), 252

fontcong, 70, 71

), 253

Ghostgum, 4

, 230

GhostScript, 3, 325

\fontencoding, 67

, 230

\fontfamily, 67

, 122

\fontseries, 67

, 37

\fontshape, 67
\fontsize, 67

ti
&
d
gind.ist
ea , 208
r
h
wt \global, 472

\gimel (), 239

vi
=
d
o

, 57

?m
fontspec, 53, 61, 7075, 108,
, 41, 335
p
h
109, 156, 218,
.p
, 335
m
u
429, 501
,
or 166
f
/
fonttable, 76
bs , 432
b
/
footmisc, 120, 470
, 130
cn
\footnote, 36, 118 n.
za
\footnotemark, 120
o
d
G
w. 120
\footnoterule,
w
w
/
\Game (), 242
\footnotesep,
120
/
:
p
\Gamma (), 239
\footnotetext, 120
htt
, 60

&

41
5
=
d

, 149

fontenc, 69, 73, 74

a=
r
t
ex

glossaries, 215217, 350


glossary, 350

\glossary, 213
glossary,
\glossaryentry, 213
\Gls, 216
\Glspl, 216
\gls, 216
\glspl, 216
glue,
gmp, 404, 411

\gnapprox (), 252

\footskip, 142

\gamma ( ), 239

\gneq (), 252

\forall (8), 242

\Gape, 295

\gneqq (), 252

\foreach, 394

\gape, 295

\gnsim (), 252

ForestGreen, 368

gather , 263

gnuplot, 484

format,

gather* , 263

Goldenrod, 368

fourier, 61, 74, 239, 241

gathered , 271

graphics, 322, 331, 365, 494

fp, 483, 521

GB 18030, 17

\graphicspath, 329

\frac, 230

GB 2312, 17

graphicx, 40, 322, 328, 329,

fragile command,
,

GBK, 141

\frame, 397

\gcd (gcd), 247

frame,

\gdef, 471, 472

331, 332, 389,

GBK, 17

448, 451, 464, 494


\grave (a),
J 240
Gray, 368

latexbook 2013/4/28 8:56 page 551 #565

551

gray, 368

\hiderowcolors, 372

, 59, 228, 282, 508

Green, 368

hiresbb, 330

, 120, 480

GreenYellow, 368

\hl, 80

green, 366, 368

\hline, 42, 286

grid, 151

\hm, 243

group,

\hoffset, 142

GSview, 18

hologo, 126

I
\i, 52
:
\iddots ( : : ), 235, 259
R R
\idotsint (  ), 245

\gtrapprox ('), 252

\hom (hom), 246

\gtrdot (), 252

\hookleftarrow ( -), 253

\gtreqless (R), 252

\hookrightarrow (,!), 253

IEEEtran, 506

\gtreqqless (T), 252

\hphantom, 282

\if, 473

\gtrless (?), 252

\href, 172

\ifboolexpr, 475

\gtrsim (&), 252

\hslash (), 242

\gvertneqq (), 252

\hspace, 87

, 1

\ht, 91

, 91

\Huge, 82

, 471

\huge, 82

, 232
, 443

bb
/
n
c

\H, 52

an.

doz

w.
w
w
/O 240
\hat/(a),
:
p
\hbar (), 242
htt

\hangindent, 94

&

41
5
=
d

a=
r
t
ex

ti
&
d
\ifdim,
ea 473
r
h
\ifdimcomp,
475
wt
\ifcase, 474

vi
=
d
o

m
\hyperlink, 172p?
h
hyperref, 141,
.p153, 168170,
m
u
or 172, 173, 495, 515
f
/
s hyperref, 141

, 233

idxlayout, 207

\iff ( () ), 254
\iffalse, 474
\ifnum, 473
\ifnumcomp, 475
\ifnumodd, 475
\ifodd, 473

\hyperref, 172

ifthen, 102, 475, 476, 481

\hypersetup, 170

\ifthenelse, 475

\hypertarget, 172

\iftoggle, 475

hyphen,

\iftrue, 474

hyphenat, 93

\ifx, 473

\hdashline, 312

hyphenation,

\headheight, 142

, 82

RRRR
\iiiint (
), 245

\iiint ( ), 245

\iint ( ), 245

\headsep, 142

, 38, 221

\IJ, 52

\heartsuit (~), 242

, 85

\ij, 52

\heavyrulewidth, 308

, 88

\Im (=), 242

\hyphenation, 93

\height, 91

, 91

ImageMagick, 325, 327

height,

, 91

imakeidx, 204, 206, 207

\heiti, 47

, 91

\imath ({), 242

, 91

\impliedby ( (H ), 254

helvet, 76

\hfill, 88

, 36, 152

hhline, 311, 313

, 19, 384

in, 85

\hhline, 311

, 37, 152, 153

\in (2), 251

\implies ( H) ), 254

latexbook 2013/4/28 8:56 page 552 #566

552
in-text formula, ,

Knuth, 1

JabRef, 44

KOMA-Script, 156

\include, 132, 191

\jmath (| ), 242

koma-script, 219

\includegraphics, 40,

\jobname, 305

kvoptions, 521

323, 329, 336, 464

\Join (1), 251

, 255

\includeonly, 133, 454

\jot, 281, 295

, 152

indent, 141

Jpgfdraw, 486

, 35, 57

\indent, 91

JungleGreen, 368

indentrst, 92

\j, 52

, 35, 59

\index, 165, 200, 201

\justifying, 94

, 307

index,

TEX, 471

, 91

\indexentry, 203

, 91

, 255

\indexsetup, 205

, 82, 324

\indices, 228

, 246

\inf (inf), 247

, 99

\infty (1), 242

enumi, 99

\injlim (inj lim), 247

enumii, 99

inline formula, ,

inner theme,

&t
d
a
e

\input, 133
s/ mpfootnote, 119
b
b
inputenc, 53, 61
page, 100
n/
c
.
\insertlecture, 422 n
,
229, 253, 254
a
\institute, 419 oz
,

R
.d
w
\int ( ), 245
, 46, 165
w
w (|), 250
/
\intercal
/
, 118, 341
:
p
\intertext,
266
t
, 56
ht

l3keys2e, 521

\label, 41, 46, 337, 510


\labelenumi, 99
\labelenumii, 99
\labelenumiii, 99
\labelenumiv, 99
\labelitemi, 102
\labelitemii, 102
\labelitemiii, 102
\labelitemiv, 102
\labelsep, 104

\intextsep, 339

, 444

\labelwidth, 104

\invisible, 433

, 234

\Lambda (), 239

\iota (), 239

, 244

\lambda (), 239


Lamport, 1

Ipe, 486

\land (^), 250

ISO 8859, 17

&

41
5
=
d

a=
r
t
ex

hLr
t
w
ie \L, 52

d=
o
m
?

hp
p
.
enumiv,
99
um
r
footnote, 119
o
f
enumiii, 99

, 35

.ist, 208

landscape, 139

italic correction,

\kaishu, 37

landscape , 333

\item, 97, 98, 205, 434

\kappa (), 239

\langle (h), 256

\itemindent, 104

keepaspectratio, 330

\LARGE, 82

itemize , 97, 102, 434

\ker (ker), 246

\Large, 82

\itemsep, 104

keyval, 481, 483, 521

\large, 82

\itshape, 63

\kill, 116, 301

large operator, 244

latexbook 2013/4/28 8:56 page 553 #567

553

\lasthdashline, 312

254

\lasthline, 291
LastPage, 168

\linespread, 84

\leftrightharpoons (),

lipsum, 362, 460, 461, 464,

483

\leftrightsquigarrow
(!), 254

lastpage, 168, 219

\lipsum, 460

LATEX, 471

\leftroot, 233

list , 103

LATEX

\leftskip, 94

\listfigurename, 161

, 1

\leftthreetimes (h), 250

\listfiles, 463

, 2

\leq (), 251

listings, 112116

\LaTeX, 126

leqno, 139

\listof, 359

\LaTeXe, 126, 155

\leqq (5), 252

\listparindent, 104

\l, 52

\leqslant (6), 252

\listtablename, 161

latexmp, 402, 405, 515

\lessapprox (/), 252

\llap, 89

Lavender, 368

\lessdot (), 252

layout, 142, 458

\lesseqgtr (Q), 252

\layout, 458

\lesseqqgtr (S), 252

layouts, 458

\lessgtr (7), 252

\lbrace (f), 256

\lesssim (.), 252

\lceil (d), 256

\let, 472

\ldotp (:), 259

letterpaper, 139

&

\leftharpoondown ()),
253

ti
&
d
\ll
ea(), 251
r
h
wt \lll (n), 252

\Lleftarrow (W), 254

vi
=
d
o

m
hp?

p
um.

lettrine
or, 95
f
/
\ldots (: : :), 242, 259
bs \lfloor (b), 256
b
/
\leadsto (;), 254
\lfoot, 148
n
c
.
leagalpaper, 139
\lg (lg), 246
an
\lecture, 422 oz
lgathered , 271
d
.
w
\Leftarrow
((),
253
\lhd (), 250
w
w
/
\leftarrow
( ), 253
\lhead, 148
:/
p
\leftarrowtail
(),
254
t
ligature,
ht

\ldots, 55

41
5
=
d

lightgray, 368

\lightrulewidth, 308

\ln (ln), 246

\lnapprox (), 252


\lneq (), 252
\lneqq (), 252
\lnsim (), 252
\LoadClass, 479
.lof, 158
\log (log), 246
\logo, 426
\Longleftarrow ((H), 253
\Longleftrightarrow
(()), 253
\Longrightarrow (H)),
253

\leftharpoonup ((), 253

LimeGreen, 368

\long, 472

\leftleftarrows (), 254

\lim (lim), 247

\longleftarrow (

\leftmargin, 104

lime, 368

\longleftrightarrow

\leftmark, 147

\liminf (lim inf), 247

\Leftrightarrow (,), 253

\limits, 227

\le (), 251

\limsup (lim sup), 247

\left, 317

\line, 397

\leftrightarrow ($), 253

\linebreak, 59

\leftrightarrows (),

\lineskip, 85

254

\lineskiplimit, 85

a=
r
t
ex

), 253

( !), 253

\longmapsto (7 !), 253

\longrightarrow ( !),
253

longtable, 300, 301, 304, 306,

307
longtable , 300

latexbook 2013/4/28 8:56 page 554 #568

554
longtabu , 305, 314

Magenta, 368

math unit,

\looparrowleft ("), 254

magenta, 366, 368

\mathbb, 238

\looparrowright (#), 254

Mahogany, 368

\mathbbm, 238

Lorem ipsum, 460

\mainmatter, 131

\mathbf, 238

\lor (_), 250

\makeatletter, 477

\mathbin, 254

.lot, 158

\makeatother, 477

\mathcal, 238

\lozenge (), 242

\makebox, 89, 397

\mathclose, 258

lrbox , 90

makebst, 194196

mathdesign, 239, 241

lscape, 333, 494

makecell, 294296, 298, 309,

mathdots, 235

\Lsh (), 254

313, 371, 398

Mathematica, 484

\makecell, 294

\mathfrak, 238

\makecellgapes, 296

\mathindent, 280

\lstset, 112

\makeglossaries, 215

\ltimes (), 250

makeglossaries, 216

ltxdoc, 140, 208

\makeglossary, 213

ltxtable, 304, 307

makeidx, 200, 203, 204

Lua, 218

Makeindex, 200218

luacode, 219
luaindex, 219

LuaLATEX, 218

vi
=
d
o

?m
, 208
p
h
,
.p 210
m
u
or , 209

/m,f314
LuaTEX, 18, 30, 218
s
b
LuaTEX-ja, 155
/b makeindex, 201
n
c
luatexja, 156, 218
\makeindex, 200, 205
n.
a
z
\lVert (k), 255 o
\makenomenclature, 507
.d
w
\lvert (j),w255
\MakeShortVerb, 111
/w (), 252
\lvertneqq
\maketitle, 34, 420
/
:
Lp
X,
489
\maltese (z), 242
t
ht Y

&

41
5
=
d

\lstinline, 115
lstlisting , 112

a=
r
t
ex

ti
&
d
MathJax,
ea 492
r
h
wt MathML, 492

\mathit, 238

\mathnormal, 238
\mathop, 248
\mathopen, 258
\mathord, 243
mathptmx, 68

\mathrel, 254
\mathring (a),
V 240
\mathrm, 238

mathrsfs, 238, 239

\mathscr, 238
\mathsf, 238
\mathstrut, 233

, 477

Maple, 484

\mathsurround, 282

, 85

\mapsto (7!), 253

mathtools, 225, 227, 230,

, 231

marginnote, 121

236, 263,
270272, 274, 470

, 53
, 54

\marginparpush, 142
\marginparsep, 142

\mathtt, 238

, 97

\marginparwidth, 142

MathType, 492

, ,

\markboth, 146

MATLAB, 484

\markright, 146

matrix,

Maroon, 368

matrix , 234, 317

math accents,

matrix* , 236

math , 222

Maxima, 484

macro, ,

math operator,

MaxMatrixCols, 236

, 390

latexbook 2013/4/28 8:56 page 555 #569

555

\max (max), 247

\models (), 251

, 158

\mbox, 89

moderncv, 140, 496, 522

, 158

mcite, 192

\morecmidrules, 308

, 157

\mdseries, 64

moreoats, 341

mdwlist, 105

\movie, 436

\meaning, 455

movie15, 437

\measuredangle (]), 242

moving argument,

\nabla (r), 242, 246


nag, 460

media9, 437

a=
r
t
ex

\medmuskip, 282

\MP, 126

nameref, 168, 219

\medskip, 121

\mp (), 250

\nameref, 168

\medskipamount, 122

mparhack, 121

natbib, 187193, 198, 199,

Melon, 368

\mpdim, 404

memoir, 156, 219

mpgraphics, 411

merge, 192

mpost, 400

METAFONT, 80

mpost , 404

metalogo, 126

mptopdf, 401, 402

metaobj, 399

\mpxcommands, 404

&

41
5
=
d

423

ti
&
d
\natural
242
ea (\),
r
natwidth,
330
h
wt
natheight, 330

vi
=
d
o

m
Mulberry, 368 p?
\MF, 126
h
mu, 279 m.p
mogo, 126
ru239
\muo(),
mhchem, 228, 229
f
\mho (0), 242
s/multicol, 150
b
b
microtype, 94
n/ multicols , 150
c
.
\multicolumn, 292
\middle, 257
an
z
multido, 386, 477
MidnightBlue, 368
o
d
.
w
\multido, 385
\mid (j), 251
w
w
/
\multimap ((), 254
\midrule,
:/ X, 5 308
p
multimedia, 436, 437
MiKT
t
E
ht

NavyBlue, 368
\nbs, 58
\ncline, 383

\ncong (), 251


\ne (), 251
\nearrow (%), 253
\neg (:), 242
\neq (), 251
\newblock, 198
\newcolumntype, 300, 316
\newcommand, 48, 152
\newcounter, 100, 101

, 5

\multiput, 397

\newenvironment, 47, 154

, 7

multirow, 294, 296, 372

newoat, 359

, 5

\multirow, 294

\newfloat, 357

\min (min), 247

\multirowcell, 296

\newfontfamily, 70

minimal, 463

\multirowthead, 296

\newglossaryentry, 215

minipage , 122

multline , 267

\newif, 474

minitoc, 160, 219

multline* , 267

\newlist, 105

minus, 87

multlined , 272

\newpage, 122, 150, 301

mkind.ist, 208

\multlinegap, 267

\newsavebox, 90

mm, 85

, 36, 152

\newtagform, 274

MnSymbol, 241

, 21

\newtheorem, 38, 106, 424

\mod, 248

\newtheoremstyle, 109

latexbook 2013/4/28 8:56 page 556 #570

556
\newtoggle, 475

\nopagebreak, 301

\nVDash (), 252

\nexists (), 242

nopunct, 141

\nVdash (), 252

NFSS,

\normalem, 79

\nvDash (), 252

\ngeq (), 251

\normalfont, 64

\nvdash (), 251

\ngeqq (), 252

\normalmarginpar, 121

\nwarrow (-), 253

\ngeqslant (), 252

\normalsize, 82

, 427
,

\ngtr (), 251

\not, 251

\ni (3), 251

\notag, 264, 274

nicefrac, 231

\notin (), 251

\nLeftarrow (), 253

notitlepage, 128, 139

\nleftarrow (), 253

\nparallel (), 251

\O, 52

\nLeftrightarrow (),

\nprec (), 251

\o, 52

253

\nRightarrow (), 253

253

\nrightarrow (), 253

vi
=
d
\nleqq (), 252
\nshortparallel (),
252
mo
\nleqslant (), 252
\nsim (), 251 p?
h 251
p(),
\nless (), 251
\nsubseteq
.
m
ru (), 252
\nmid (), 251
\nsubseteqq
o
f
no-math, 73
s/\nsucc (), 251
b
b
\nobalance, 150
n/ \nsucceq (), 251
c
.
nocap, 141
\nsupseteq (), 251
an
\nocite, 45, 175 oz
\nsupseteqq (), 252
d
.
w
\nocorr, 65
ntheorem, 107109, 274, 503
w
w
/
\nocorrlist,
\ntriangleleft (), 252
:/ 390, 39165
p
\node,
\ntrianglelefteq (),
t
ht
\nleq (), 251

ti
&
d
ocgtools
ea, 439, 438, 439
r
ocgx
h
wt
oberdierk, 481

\npreceq (), 251

\nleftrightarrow (),

\nshortmid (), 252

\nofiles, 456

252

&

41
5
=
d

a=
r
t
ex

\oddsidemargin, 142
\odot (), 250
\OE, 52
\oe, 52
Oce, 492
H
\oint ( ), 245
OliveGreen, 368
olive, 368
\Omega (), 239
\omega (!), 239
onecolumn, 139
\onecolumn, 150
onehalfspace , 85

nofonts, 141

\ntriangleright (), 252

\onehalfspacing, 85

noindent, 141

oneside, 139

\noindent, 91

\ntrianglerighteq (),
252

\nolimits, 227

\nu (), 239

\onslide, 433

\nolinebreak, 59

\num, 508

openany, 139

\nolinkurl, 172

\numberline, 159

openbib, 139, 198

\nomakecellgapes, 296

numbers, 190

openright, 139

nomencl, 215, 507

\numberwithin, 101

OpenType, 81, 260

\nomenclature, 507

numcases , 270

opentype-info, 73

nomenclature,

\numexpr, 119

\oplus (), 250

\nonstopmode, 443

numprint, 86

Orange, 368

\only, 433

latexbook 2013/4/28 8:56 page 557 #571

557

OrangeRed, 368

\parindent, 91

\phi (), 239

orange, 368

\parsep, 104

\Pi (), 239

Orchid, 368

\parshape, 94, 363

\pi (), 39, 239

origin, 323, 330

\parskip, 92

picinpar, 361364

\oslash (), 250

part, 130

pict2e, 398

otfinfo, 73

\part, 129, 420, 421

picture , 396

\otimes (), 250

\partial (@), 242, 246

pifont, 60, 119

outer theme,

\partopsep, 104

PineGreen, 368

outputtemplate, 401, 402

\partpage, 421

pink, 368

\oval, 397

\path, 172

\pitchfork (t), 252

\overbrace, 230

path,

pkuthss, 219

\overbracket, 230

\pause, 432

placeins, 360, 361

overlap,

pc, 85

overlay,

PDF, 20

\overleftarrow, 229

\pdfbookmark, 173

\overleftrightarrow, 229

pdscape, 333

\overline, 229

pdfscreen, 412

\overrightarrow, 229

pdfslide, 412

\owns (3), 251

pdfTEX, 30
pdftex, 328

for

ti
&
d
plain,
ea 174
r
h
wt plainnat, 187

Plain TEX, 30, 471

vi
=
d
o

m
hp?

p
um.

s/Peach, 368
b
b
P
n/ Periwinkle, 368
c
.
\P (), 242
\perp (?), 251
an
z
\P (), 60
pgf, xii, 218, 388, 389, 419,
o
d
page, 145 ww.
426, 429, 438,
w
/
page /
style,
494, 495
:
p
\pagebreak,
122, 150, 301
pgor
,
394,
477
t
ht

Plum, 368
plus, 87

\pm (), 250


pmatrix , 234
pmatrix* , 236
\pmb, 243
\pmod, 248
\pnode, 383
\pod, 248
polyglossia, 349

PostScript, 19
PostScript Type 1, 81

\pagecolor, 365

pgfkeys, 521

PostScript Type 3, 81

\pagenumbering, 145

pgfopts, 521

\pounds (), 242

\pageref, 166

pgfplots, 389, 488

\pounds (), 60

\pagestyle, 146

pgfplotstable, 488

powerdot, 412

\paperheight, 142

\pgfplotstableset, 488

PowerPoint, 492

\paperwidth, 142

\pgfplotstabletypeset,

ppower4, 412

\par, 59, 91

488

\Pr (Pr), 247

paragraph, 130

\phantom, 59, 228, 282

preamble,

\paragraph, 129, 142

phantom, , ,

\prec (), 251

paralist, 105

&

41
5
=
d

\precapprox (), 252

\parallel (k), 251

\phantomsection, 172

\preccurlyeq (4), 252

\parbox, 122

\Phi (), 239

\preceq (), 251

a=
r
t
ex

latexbook 2013/4/28 8:56 page 558 #572

558
\precnapprox (), 252

\RaggedRight, 93

PSTricks, xii, 20, 332, 369,

\precneqq (), 251

379383,

\raggedright, 92

\precnsim (), 252

385389, 396,

\raisebox, 125

\precsim (-), 252

398, 410, 438, 477,

\rangle (i), 256

484, 487, 494, 495

RawSienna, 368

\prescript, 227
\prime (0), 226, 242

pstricks, 380

\rbrace (g), 256

primitiveTEX, TEX
\printglossaries, 216

pstricks-add, 380

\rceil (e), 256

\pswedge, 382

\Re (<), 242

\printglossary, 508

pt, 85

Red, 368

\printindex, 200

punct, 141

RedOrange, 368

\punctstyle, 56

RedViolet, 368

Purple, 368

red, 366, 368

\processdelayedfloats,

purple, 368

361

\put, 396, 397


pxfonts, 239

\projlim (proj lim), 247

, 443

prologues, 401, 402

, 54

proof , 108

, 54

ps2pdf, 30
\psaxes, 381
\pscircle, 381

vi
=
d
o

, 23

for

m
hp?

p
um.

\propto (/), 251


s/Q
b
b
prosper, 412
n/ \qbezier, 397
c
.
\protect, 120, 480 n
a 182
\qedhere, 109
z153,
\providecommand,
o
d
\qedsymbol, 108
w. 478
\ProvidesClass,
w
\qquad,
43
w
/
\ProvidesPackage,
478
/
:
quotation
, 96
p PostScript
PS,
t
t
quote , 36, 96
h
PS_View, 10, 18

ti
&
d
refcheck
ea , 458
r
h
wt \reflectbox, 332
\ref, 46, 166

\ProcessOptions, 479
Q
\prod ( ), 245

\proofname, 108, 424

&

41
5
=
d

\printnomenclature, 507
ProcessBlue, 368

a=
r
t
ex

, 64, 78
, 85
, 85

\refname, 190

\refstepcounter, 101, 510


refstyle, 219
reftex4-1, 506

\relax, 475
\renewcommand, 153
\renewenvironment, 154
\renewtagform, 274
report, 82, 97, 129, 138140,

146
\RequirePackage, 479
\resizebox, 332
\restriction (), 254
\restylefloat, 358
Reverse Polish notation,

\reversemarginpar, 121

\Psi (), 239


\psi ( ), 239

\rfloor (c), 256

\psline, 380, 387

R, 485

\rfoot, 148

pspicture , 381

\r, 52

rgathered , 271

\psplot, 384

ragged2e, 93, 94, 344

\rhd (), 250

\psset, 382

\raggedbottom, 122

\rhead, 148

pst-node, 380, 383

\RaggedLeft, 93

Rhodamine, 368

pst-plot, 380, 381, 384

\raggedleft, 92

\rho (), 239

latexbook 2013/4/28 8:56 page 559 #573

559

\Rightarrow ()), 253

\rtimes (), 250

\setcellgapes, 296

\right, 317

rubber length,

\setcitestyle, 189

\rightarrow (!), 253

RubineRed, 368

\setCJKmainfont, 429

\rightarrowtail (), 254

\rule, 124

\setkeys, 481

\rightharpoondown (+),

\rVert (k), 255

\setlength, 88

\rvert (j), 255

\setlist, 105

253

\setmainfont, 70

\rightharpoonup (*), 253

\setmathrm, 73

\rightleftarrows (),
254

\setmathsf, 73

\rightleftharpoons (),

\S (), 242

\setmathtt, 73

\S (), 60

\setminus (n), 250

\rightmargin, 104

Salmon, 368

\setsansfont, 70

\rightmark, 147

sam2p, 327

\rightrightarrows (),

\savebox, 90

253, 254

\rightsquigarrow (

vi
=
d
o

\sbox, 90

\rightskip, 94
),

254

ti
&
d
\setstretch,
84, 85
ea
r
h
wt \settodepth, 91
setspace, 84, 345

savesym, 241, 449

254

\scalebox, 331

m
hp?

scope , 394

p
um.

\settoggle, 475

\settoheight, 91
\settowidth, 91

\rightthreetimes (i), 250

\scriptscriptstyle, 277

seuthesis, 193

\risingdotseq (:), 252

\scriptsize, 82

\sfdefault, 76

for

&

41
5
=
d

\rlap, 89
s/\scriptstyle, 277
b
b
\rmdefault, 76
n/ \scrollmode, 443
c
.
\scshape, 63
\rmfamily, 63
n
a
z
SeaGreen, 368
\Roman, 99
.do
\searrow (&), 253
\roman, 99ww
w
/
\sec (sec), 246
\rotatebox,
332
/
:
p
secnumdepth, 130, 159
rotating, 295, 333
htt

\sffamily, 63
shapepar, 95, 364

\shapepar, 364
\sharp (]), 242
\shortintertext, 266
\shortmid (), 252
\shortparallel (), 252

rotoat, 333

section, 130

\shortstack, 397, 512

\rothead, 295

\section, 35, 129, 420

shortvrb, 111, 470

\rotheadgape, 295

sectionbib, 191

\show, 455

round, 190

\see, 203

show2e, 457, 458

\rowcolor, 370

\seealso, 203

\showcmd, 457

\rowcolors, 371, 427

\seename, 203

\showcs, 457

\rowfont, 316

semicolon, 190

\showenv, 458

RoyalBlue, 368

Sepia, 368

\showhyphens, 456

RoyalPurple, 368

\setbeamercolor, 429

showidx, 459

\rput, 382, 386

\setbeamerfont, 429

showkeys, 458

\Rrightarrow (V), 254

\setbeamertemplate, 429,

\showrowcolors, 372

\Rsh (), 254

430

a=
r
t
ex

\showthe, 456

latexbook 2013/4/28 8:56 page 560 #574

560
\SI, 508

\subfloat, 356

\spbreve (.abc/), 240


_

\spcheck (.abc/ ), 240


\spdddot (.abc/... ), 240

\subitem, 205
\subparagraph, 129, 142

sidewaystable , 333

\spddot (.abc/.. ), 240


\spdot (.abc/. ), 240

\Sigma (), 239

\special, 322

subsection, 130

\sigma (), 239

\subsection, 129, 420

\sim (), 251

\sphat (.abc/b), 240

\sphericalangle (^), 242

\Subset (b), 252

\simeq ('), 251

split , 268

\subset (), 251

\sin (sin), 246

SpringGreen, 368

\subseteq (), 251

singlespace , 85

\sptilde (.abc/ ), 240

\subseteqq (j), 252

\singlespacing, 85

\sqcap (u), 250

\subsetneq (), 251

\sinh (sinh), 246

\sqcup (t), 250

siunitx, 292, 387, 508

\sqrt, 233

\skew, 282

\sqsubset (<), 252

SkyBlue, 368

\sqsubseteq (v), 252

slashbox, 297, 398

\sqsupset (=), 252

\si, 508
\sideset, 227
sidewaysfigure , 333

subparagraph, 130
\subref, 356

&

41
5
=
d

a=
r
t
ex

ti
&
d
substack
ea , 235
r
h
wt \subsubitem, 205

\subsetneqq (), 252

vi
=
d
o

m
?252
\sqsupseteq (w),
\slashbox, 297
p
h
square, 190
\sloppy, 93
.p
m
u
\square
sloppypar , 93
or (), 242
f
/
\slshape, 63
bs \SS, 52
b
/
\ss, 52
\small, 82
n
c
.
standalone, 380, 381
\smallfrown (a), 252 n
a
z
\star (?), 250
\smallint (s ), 244
o
d
.
w
\stepcounter, 100, 510
smallmatrix
,
235
w
w
/
\stretch, 88
\smallsetminus
(X), 250
:/
p
\structure, 434
\smallskip,
121
t
ht

subsubsection, 130
\subsubsection, 129, 420
subtable , 354
\subtitle, 419
\succ (), 251
\succapprox (), 252
\succcurlyeq (<), 252
\succeq (), 251
\succnapprox (), 252
\succneqq (), 251
\succnsim (), 252
\succsim (%), 252

\smallskipamount, 122

\strut, 125

\smallsmile (`), 252

strut,

SumatraPDF, 19
P
\sum ( ), 245

\smash, 282

sub3section, 141

super, 190

\smile (^), 251

sub4section, 141

supertabular, 350

sort&compress, 192

subarray , 236

\suppressfloats, 338

soul, 80

subcaption, 354, 356, 357

\Supset (c), 252

\sound, 436

\subcaption, 354

\sup (sup), 247

\sout, 79

\subcaptionbox, 355

\supset (), 251

sp, 85

subequations , 266

\supseteq (), 251

\space, 387

subg, 356, 357

\supseteqq (k), 252

spacing , 85

subgure, 356

\supsetneq (), 251

\spadesuit (), 242

subfigure , 354

\supsetneqq (), 252

latexbook 2013/4/28 8:56 page 561 #575

561

p
\surd ( ), 242

\swarrow (.), 253

tabbing , 116

\symbol, 61

\tabcolsep, 290, 370

syntaxonly, 457

\syntaxonly, 134, 456

table , 42, 300, 335,


425

syntonly, 134, 135, 457

table* , 337

, 307

\tablecaption, 306

\TeX, 126

\tablefirsthead, 306

, 366

\tablehead, 306

TEX Live, 7
, 10

, 427

\tablelasthead, 306

, 366

\tablelasttail, 306

TEX , 489
\text, 224

, 225

\tablename, 347

text page,

, 229

\tableofcontents, 34, 46,

, 91
, 37
, 55

TEX
, 30
, 1
, 2
, 2

\tabletail, 306

vi
=
d
o

tabu, 305, 314, 316318, 410,

515

?m
tabu , 314, p
316
h
, , 215
p
\tabular,
.336
m
, 258
u
tabular
or , 41, 285, 314
f
, 229, 240
/
bs tabular* , 298
, 241
b
/
tabularx, 299, 300, 304
n
c
, 279
.
tabularx , 299
an

z
tabwindow , 361
o
d
, 221
.
w
\tag, 274, 276
w221
w
,
/
\tag*, 274
:/, 221
p
tagging, 500, 522
t
ht

&

41
5
=
d

a=
r
t
ex

ti
&
d
\textbf,
ea 64
r
h
wt \textbullet (), 60

\textbackslash (\), 55, 60

157, 420, 422, 433

, 62

, 221

TEX

\textcircled, 119
\textcolor, 365
textcomp, 60

\texteuro (), 60
\textfloatsep, 339
\textfraction, 339
\textheight, 142
\textit, 63
\textmd, 64
\textnormal, 64
\textperthousand (), 60
\textregistered (), 60

Tan, 368

\textrm, 63

, 221

\tan (tan), 246

\textsc, 63

, 244

\tanh (tanh), 246

\textsf, 63

, 62

\tau (), 239

\textsl, 63

, 337

\tbinom, 232

\textstyle, 277

, 221

tdclock, 437, 438

\texttrademark (), 60

, 118

\tdtime, 437

\texttransparent, 369

TealBlue, 368

\texttt, 63

, 35

teal, 368

\textup, 63

, 215

\temporal, 433

\textwidth, 142

, 48

tensor, 228, 269

TeXworks, 5, 10, 19

, 48

\tensor, 228

, 14

latexbook 2013/4/28 8:56 page 562 #576

562
, 14

topnumber, 339

TikZ, xii, 364, 369, 379,

\tfrac, 231

388391,

\toprule, 308

\the, 456

393396, 398,

\topsep, 104

\thead, 295

410, 419, 438,

totalheight, 324, 330

477, 484487, 516

\totalheight, 91

\theadalign, 295
\theadfont, 295

\t, 52

totalnumber, 339

\theadgape, 295

tikz, 332, 389, 426

TpX, 485

thebibliography , 197

\tikz, 390

trace, 459

\theenumi, 99

tikz-cd, 410

\traceoff, 459

\theenumii, 99

tikzpicture , 389

\traceon, 459

\theenumiii, 99

\tilde (a),
Q 240

\transblindshorizontal,

\theequation, 275

\times (), 250

\transblindsvertical,

\thefootnote, 119

\tiny, 82

theindex , 205

tipa, 60, 61, 75

theme,

\title, 34, 127, 419

\thempfootnote, 119

\titleformat*, 137

theorem, 107

\titlegraphic, 419

\transdissolve, 437

\theorembodyfont, 107

\titlelabel, 137

\transfade, 437

\theoremheaderfont, 107

titlepage, 128, 139

\transglitter, 437

\theenumiv, 99

437

times, 68

for

ph
.
m
u

ti
&
d
ea 437

.toc, 158

\Theta (), 239

tocbasic, 219

\theta ( ), 239

tocbibind, 47, 160

\thickapprox (), 252

tocdepth, 130, 159

\thickmuskip, 282

tocloft, 161, 162, 164, 165,

\thicksim (), 252

219

r
h\transboxin,
437
t
w
ie \transboxout, 437

d=
o
m
?

\theorempostskipamount,
s/\titlepage, 420
b
b
107
n/ titlepage , 128
c
.
titlesec, 136138, 149, 470
\theorempreskipamount,
an
titletoc, 160, 161, 165, 219
107 oz
d
.
w
titling
, 128
\theoremstyle,
107,
109
w
w
/
tlmgr, 10
\theoremsymbol,
:/ 100 108
p
\to (!), 253
\thepage,
t
ht
\therefore ()), 252

&

41
5
=
d

a=
r
t
ex

\transcover, 437

transparent, 369

\transparent, 369
\transpush, 437
\transsplithorizontalin,
437
\transsplithorizontalout,
437
\transsplitverticalin,
437
\transsplitverticalout,
437
\transuncover, 437
\transwipe, 437

\thinmuskip, 282

\today, 34, 127

\triangle (4), 242, 246

\thispagestyle, 146

tools, 481

\triangledown (O), 242

Thistle, 368

\top (>), 242

\triangleleft (G), 250

thmtools, 109, 503

\topcaption, 306

\trianglelefteq (E), 252

thuthesis, 193

\topfraction, 339

\triangleq (,), 252

ties,

\topmargin, 142

\triangleright (F), 250

latexbook 2013/4/28 8:56 page 563 #577

563

\trianglerighteq (D),

\unlhd (), 250

\upvarepsilon (), 240

252

\unrhd (), 250

\upvarphi (), 240

trim, 330

unsrt, 174

\upvarpi (), 240

trivlist , 104

unsrtnat, 187

\upvarrho (), 240

TrueType, 81, 260

\upalpha (), 240

\upvarsigma (), 240

\ttdefault, 76

\Uparrow (*), 253, 256

\upvartheta (), 240

\ttfamily, 63

\uparrow ("), 253, 256

\upxi (), 240

TUG, 7

\upbeta (), 240

\upzeta (), 240

Turquoise, 368

\upchi (), 240

url, 153, 172

twocolumn, 139, 149

\updelta (), 240

\url, 172

\twocolumn, 150

\Updownarrow (m), 253, 256

\twoheadleftarrow (),

\updownarrow (l), 253, 256

254
\twoheadrightarrow (),
254

\upepsilon (), 240


\upeta (), 240
\upgamma (), 240

vi
=
d
\upharpoonleft
(),
254
\txt, 377
mo
?
\upharpoonright
(), 254
, 369
p
h
p240
\upiotam
(),
.
ru (), 240
\upkappa
o
f
U
s/\uplambda (), 240
b
b
UCS, 18
n/ \uplus (]), 250
c
.
\u, 52
\upmu (), 240
an
z
ulem, 7880
\upnu (), 240
o
d
\ulem, 78 ww.
\upomega (), 240
w
/
\ULforem,
79
\upphi (), 240
:/ 433
p
\uncover,
\uppi (), 240
t
ht
txfonts, 62, 68, 239

1&
4
5
\usecolortheme,
d=103 427
i
\usecounter,
t
d& 67
a
\usefont,
e
r
wth\usefonttheme, 427
\usebox, 90

upgreek, 240

\useinnertheme, 427
\usempxpackage, 404
\useoutertheme, 427
\usepackage, 40
\usetagform, 274

\usetikzlibrary, 389
UTF-16, 18
UTF-32, 18
UTF-8, 18, 51, 61
UTF8, 141
\uuline, 79
\uwave, 79

\underaccent, 241

\uppsi (), 240

\underbrace, 230

\uprho (), 240

\underbracket, 230

\uproot, 233

\underleftarrow, 229

\upshape, 63

\v, 52

\underleftrightarrow,

\upsigma (), 240

\value, 101

229

\Upsilon ( ), 239

\varDelta (), 239

\underline, 78, 229

\upsilon (), 239

\varepsilon ("), 239

\underrightarrow, 229

\uptau (), 240

\varGamma ( ), 239

\undertilde, 241

\uptheta (), 240

Unicode, 18, 260

\upuparrows (), 254

\varinjlim (lim), 247


!
\varkappa (~), 239

unicode-math, 218, 261

\upupsilon (), 240

\varLambda (), 239

\unitlength, 396

\uput, 382, 385

\varliminf (lim), 247

a=
r
t
ex

latexbook 2013/4/28 8:56 page 564 #578

564
\varlimsup (lim), 247

Verbatim , 111

height, 323, 330

\varnothing (), 242

verbatim, 111, 455

scale, 323, 330

\varOmega (), 239

verbatim , 110

width, 323, 330

\varPhi (), 239

verbatim* , 110

\width, 91

\varphi ('), 239

\verbatiminput, 111

width,

\varPi ( ), 239

VerbatimOut , 304

WildStrawberry, 368

\varpi ($), 239

verbatimtex, 402

WinEdt, 5, 19

\varprojlim (lim), 247

verse , 96

winfonts, 141

\varpropto (_), 252

\Vert (k), 256

Word, 492

\varPsi ( ), 239

\vert (j), 256

\wp (}), 242

\varrho (%), 239

\vfill, 121

\varSigma ( ), 239

viewport, 330

\varsigma (&), 239

Violet, 368

\varsubsetneq (), 251

VioletRed, 368

\varsubsetneqq (), 252

violet, 368

\varsupsetneq (), 251

\visible, 433

\varsupsetneqq (), 252

\vline, 293

\varTheta (), 239

Vmatrix , 234

\vartheta (#), 239

vmatrix , 234

vi
=
d
o

?m
p
h
p

um.

Vmatrix*
or , 236
f
/
bs vmatrix* , 236
\vartriangleleft (C),
b
/
\voffset, 142
252
cn
.
\vphantom, 233, 282
n
\vartriangleright
a(B),
z
o
\vrule, 310
252.d
w
\vspace, 121
\varUpsilon
ww ( ), 239
/
/
\Vvdash (), 252
: , 125, 352
varwidth
p
t
ht varwidth , 125, 352
\vartriangle (M), 242

\varXi (), 239


\Vdash ( ), 252

1&
4
5
wrapg, 361364
d=
wrapguret, i
364
d& , 362
a
wrapfigure
e
r
wthwraptable , 362
\wr (o), 250

W
\wd, 91

a=
r
t
ex

, 427
, 335
, 138

X
\Xcline, 309
xcolor, 367369, 371, 372,

427, 451
\xdef, 471, 472
xdvipdfmx, 30
xeCJK, 31, 35, 56, 58, 65, 70,

73, 74, 76, 108,


155, 282, 429,
495, 516

\vDash (), 252

\wedge (^), 250

\vdash (`), 251


:
\vdots (::), 234, 259

\XeLaTeX, 126

\whileboolexpr, 475
\whiledo, 475

XTEX, 18, 30
\XeTeX, 126

\vec (E
a), 240

White, 368

\XeTeXinputencoding, 142

\vector, 397

white, 366, 368

xetex, 328

\vee (_), 250

241
\wideparen (abc),

xfrac, 231, 432, 501

\veebar (Y), 250

c 240
\widehat (abc),

\verb, 109

f 240
\widetilde (abc),

\Xi (), 239

\verb*, 110

241
\widetriangle (abc),

\Xhline, 309
\xi (), 239

latexbook 2013/4/28 8:56 page 565 #579

565

xifthen, 476, 477

YellowGreen, 368

lightgray, 368

xindy, 219

YellowOrange, 368

LimeGreen, 368

xkeyval, 521

yellow, 366, 368

lime, 368

\xleftarrow, 255

\yen (U), 242

Magenta, 368

\xLeftrightarrow, 255

yhmath, 235, 240, 241

magenta, 366, 368

\xleftrightarrow, 255

Mahogany, 368

\xlongequal, 255

Apricot, 368

Maroon, 368

\xLongleftarrow, 255

Aquamarine, 368

Melon, 368

\xlongleftarrow, 255

Bittersweet, 368

MidnightBlue, 368

\xLongleftrightarrow,

Black, 368

Mulberry, 368

black, 366, 368

NavyBlue, 368

Blue, 368

OliveGreen, 368

255
\xlongleftrightarrow,
255

BlueGreen, 368

\xLongrightarrow, 255

BlueViolet, 368

\xlongrightarrow, 255

blue, 366, 368

\xout, 79

BrickRed, 368

xparse, 480

Brown, 368

xr, 169, 219

\xrightarrow, 255
xspace, 481

s/
xstring, 483, 521
b
b
xtab, 306, 307, 350
n/
c
.
xtabular , 306 an
z
xtemplate, 432 do
.
xunicode, 61,
ww75
w
/
/
xy, :
373
p
t
ht \xymatrix, 373, 378

ti
&
d
eaOrange, 368
olive, 368

th
w
e
i

=v
d
o
m

brown, 368p?
ph 368
BurntOrange,
.
m
u
forCadetBlue, 368

&

41
5
=
d

OrangeRed, 368
orange, 368
Orchid, 368
Peach, 368
Periwinkle, 368
PineGreen, 368

CarnationPink, 368

pink, 368

Cerulean, 368

Plum, 368

CornflowerBlue, 368

ProcessBlue, 368

Cyan, 368

Purple, 368

cyan, 366, 368

purple, 368

Dandelion, 368

RawSienna, 368

darkgray, 368

Red, 368

, 239

DarkOrchid, 368

RedOrange, 368

, 239, 240

Emerald, 368

RedViolet, 368

, 225

ForestGreen, 368

red, 366, 368

, 229

Fuchsia, 368

Rhodamine, 368

, 38, 221

Goldenrod, 368

RoyalBlue, 368

, 87

Gray, 368

RoyalPurple, 368

, 66

gray, 368

RubineRed, 368

Green, 368

Salmon, 368

GreenYellow, 368

SeaGreen, 368

green, 366, 368

Sepia, 368

Yap, 5

JungleGreen, 368

SkyBlue, 368

Yellow, 368

Lavender, 368

SpringGreen, 368

a=
r
t
ex

latexbook 2013/4/28 8:56 page 566 #580

566
Tan, 368

, 85

OMS, 69

TealBlue, 368

, 366

OMX, 69

teal, 368

OT1, 69

Thistle, 368

Turquoise, 368

\zeta (), 239

T1, 69
U, 69

Violet, 368

zhmCJK, 155, 156

, 62

VioletRed, 368

zhmetrics, 155

, 62

violet, 368

\zihao, 37, 82
zref, 219

, 62

White, 368
white, 366, 368

, 38, 221

WildStrawberry, 368

, 417

Yellow, 368

, 125

YellowGreen, 368

, 240

YellowOrange, 368

, 116

yellow, 366, 368

, 427

, 145

, 34

, 146

, 244

, 64
, 64

?
, 16 hp
p
fancy, 147
, 16
m.
u
r
headings, 146

fo
/
s
myheadings, 146
bb , 276
/
plain, 146
n
.c
n
, 54
, 62
a
z
o
, 165
EU1, 61, 69
.d
w
w
,
366
OML, 69
w
/
/
p:
t
t
h

mod

empty, 146

=vi

hr
t
w
e

&

41
5
, 64
=
i62d
t
,
&
ad
, 64

, 63

, 63
, 63
, 63
, 62
, 62
, 63
, 63
, 63

, 427
, 66
, 462

a=
r
t
ex