home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
You can browse this item here: clsguide.tex
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Corel 10 Texture (image/corel10Texture)
| ext
| Unsupported |
1%
| dexvert
| Croteam texture file (image/croteamTextureFile)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| HTML document text
| default (weak)
| |
99%
| file
| LaTeX 2e document text
| default
| |
98%
| file
| LaTeX document text
| default
| |
97%
| file
| LaTeX document, ASCII text
| default
| |
100%
| TrID
| LaTeX 2e document (with rem)
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/280 LaTeX (Master document)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| text/x-matlab
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 5c 69 66 66 61 6c | 73 65 20 6d 65 74 61 2d |% \iffal|se meta-|
|00000010| 63 6f 6d 6d 65 6e 74 0a | 25 0a 25 20 43 6f 70 79 |comment.|%.% Copy|
|00000020| 72 69 67 68 74 20 31 39 | 39 34 20 74 68 65 20 4c |right 19|94 the L|
|00000030| 61 54 65 58 33 20 70 72 | 6f 6a 65 63 74 20 61 6e |aTeX3 pr|oject an|
|00000040| 64 20 74 68 65 20 69 6e | 64 69 76 69 64 75 61 6c |d the in|dividual|
|00000050| 20 61 75 74 68 6f 72 73 | 2e 0a 25 20 41 6c 6c 20 | authors|..% All |
|00000060| 72 69 67 68 74 73 20 72 | 65 73 65 72 76 65 64 2e |rights r|eserved.|
|00000070| 20 46 6f 72 20 66 75 72 | 74 68 65 72 20 63 6f 70 | For fur|ther cop|
|00000080| 79 72 69 67 68 74 20 69 | 6e 66 6f 72 6d 61 74 69 |yright i|nformati|
|00000090| 6f 6e 20 73 65 65 20 74 | 68 65 20 66 69 6c 65 0a |on see t|he file.|
|000000a0| 25 20 6c 65 67 61 6c 2e | 74 78 74 2c 20 61 6e 64 |% legal.|txt, and|
|000000b0| 20 61 6e 79 20 6f 74 68 | 65 72 20 63 6f 70 79 72 | any oth|er copyr|
|000000c0| 69 67 68 74 20 69 6e 64 | 69 63 61 74 65 64 20 69 |ight ind|icated i|
|000000d0| 6e 20 74 68 69 73 20 66 | 69 6c 65 2e 0a 25 20 0a |n this f|ile..% .|
|000000e0| 25 20 54 68 69 73 20 66 | 69 6c 65 20 69 73 20 70 |% This f|ile is p|
|000000f0| 61 72 74 20 6f 66 20 74 | 68 65 20 4c 61 54 65 58 |art of t|he LaTeX|
|00000100| 32 65 20 73 79 73 74 65 | 6d 2e 0a 25 20 2d 2d 2d |2e syste|m..% ---|
|00000110| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000120| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000130| 2d 2d 2d 2d 2d 0a 25 20 | 0a 25 20 20 54 68 69 73 |-----.% |.% This|
|00000140| 20 73 79 73 74 65 6d 20 | 69 73 20 64 69 73 74 72 | system |is distr|
|00000150| 69 62 75 74 65 64 20 69 | 6e 20 74 68 65 20 68 6f |ibuted i|n the ho|
|00000160| 70 65 20 74 68 61 74 20 | 69 74 20 77 69 6c 6c 20 |pe that |it will |
|00000170| 62 65 20 75 73 65 66 75 | 6c 2c 0a 25 20 20 62 75 |be usefu|l,.% bu|
|00000180| 74 20 57 49 54 48 4f 55 | 54 20 41 4e 59 20 57 41 |t WITHOU|T ANY WA|
|00000190| 52 52 41 4e 54 59 3b 20 | 77 69 74 68 6f 75 74 20 |RRANTY; |without |
|000001a0| 65 76 65 6e 20 74 68 65 | 20 69 6d 70 6c 69 65 64 |even the| implied|
|000001b0| 20 77 61 72 72 61 6e 74 | 79 20 6f 66 0a 25 20 20 | warrant|y of.% |
|000001c0| 4d 45 52 43 48 41 4e 54 | 41 42 49 4c 49 54 59 20 |MERCHANT|ABILITY |
|000001d0| 6f 72 20 46 49 54 4e 45 | 53 53 20 46 4f 52 20 41 |or FITNE|SS FOR A|
|000001e0| 20 50 41 52 54 49 43 55 | 4c 41 52 20 50 55 52 50 | PARTICU|LAR PURP|
|000001f0| 4f 53 45 2e 0a 25 20 0a | 25 20 0a 25 20 49 4d 50 |OSE..% .|% .% IMP|
|00000200| 4f 52 54 41 4e 54 20 4e | 4f 54 49 43 45 3a 0a 25 |ORTANT N|OTICE:.%|
|00000210| 20 0a 25 20 46 6f 72 20 | 65 72 72 6f 72 20 72 65 | .% For |error re|
|00000220| 70 6f 72 74 73 20 69 6e | 20 63 61 73 65 20 6f 66 |ports in| case of|
|00000230| 20 55 4e 43 48 41 4e 47 | 45 44 20 76 65 72 73 69 | UNCHANG|ED versi|
|00000240| 6f 6e 73 20 73 65 65 20 | 62 75 67 73 2e 74 78 74 |ons see |bugs.txt|
|00000250| 2e 0a 25 20 0a 25 20 50 | 6c 65 61 73 65 20 64 6f |..% .% P|lease do|
|00000260| 20 6e 6f 74 20 72 65 71 | 75 65 73 74 20 75 70 64 | not req|uest upd|
|00000270| 61 74 65 73 20 66 72 6f | 6d 20 75 73 20 64 69 72 |ates fro|m us dir|
|00000280| 65 63 74 6c 79 2e 20 20 | 44 69 73 74 72 69 62 75 |ectly. |Distribu|
|00000290| 74 69 6f 6e 20 69 73 0a | 25 20 64 6f 6e 65 20 74 |tion is.|% done t|
|000002a0| 68 72 6f 75 67 68 20 4d | 61 69 6c 2d 53 65 72 76 |hrough M|ail-Serv|
|000002b0| 65 72 73 20 61 6e 64 20 | 54 65 58 20 6f 72 67 61 |ers and |TeX orga|
|000002c0| 6e 69 7a 61 74 69 6f 6e | 73 2e 0a 25 20 0a 25 20 |nization|s..% .% |
|000002d0| 59 6f 75 20 61 72 65 20 | 6e 6f 74 20 61 6c 6c 6f |You are |not allo|
|000002e0| 77 65 64 20 74 6f 20 63 | 68 61 6e 67 65 20 74 68 |wed to c|hange th|
|000002f0| 69 73 20 66 69 6c 65 2e | 0a 25 20 0a 25 20 59 6f |is file.|.% .% Yo|
|00000300| 75 20 61 72 65 20 61 6c | 6c 6f 77 65 64 20 74 6f |u are al|lowed to|
|00000310| 20 64 69 73 74 72 69 62 | 75 74 65 20 74 68 69 73 | distrib|ute this|
|00000320| 20 66 69 6c 65 20 75 6e | 64 65 72 20 74 68 65 20 | file un|der the |
|00000330| 63 6f 6e 64 69 74 69 6f | 6e 20 74 68 61 74 0a 25 |conditio|n that.%|
|00000340| 20 69 74 20 69 73 20 64 | 69 73 74 72 69 62 75 74 | it is d|istribut|
|00000350| 65 64 20 74 6f 67 65 74 | 68 65 72 20 77 69 74 68 |ed toget|her with|
|00000360| 20 61 6c 6c 20 66 69 6c | 65 73 20 6d 65 6e 74 69 | all fil|es menti|
|00000370| 6f 6e 65 64 20 69 6e 20 | 6d 61 6e 69 66 65 73 74 |oned in |manifest|
|00000380| 2e 74 78 74 2e 0a 25 20 | 0a 25 20 49 66 20 79 6f |.txt..% |.% If yo|
|00000390| 75 20 72 65 63 65 69 76 | 65 20 6f 6e 6c 79 20 73 |u receiv|e only s|
|000003a0| 6f 6d 65 20 6f 66 20 74 | 68 65 73 65 20 66 69 6c |ome of t|hese fil|
|000003b0| 65 73 20 66 72 6f 6d 20 | 73 6f 6d 65 6f 6e 65 2c |es from |someone,|
|000003c0| 20 63 6f 6d 70 6c 61 69 | 6e 21 0a 25 20 0a 25 20 | complai|n!.% .% |
|000003d0| 59 6f 75 20 61 72 65 20 | 4e 4f 54 20 41 4c 4c 4f |You are |NOT ALLO|
|000003e0| 57 45 44 20 74 6f 20 64 | 69 73 74 72 69 62 75 74 |WED to d|istribut|
|000003f0| 65 20 74 68 69 73 20 66 | 69 6c 65 20 61 6c 6f 6e |e this f|ile alon|
|00000400| 65 2e 20 20 59 6f 75 20 | 61 72 65 20 4e 4f 54 0a |e. You |are NOT.|
|00000410| 25 20 41 4c 4c 4f 57 45 | 44 20 74 6f 20 74 61 6b |% ALLOWE|D to tak|
|00000420| 65 20 6d 6f 6e 65 79 20 | 66 6f 72 20 74 68 65 20 |e money |for the |
|00000430| 64 69 73 74 72 69 62 75 | 74 69 6f 6e 20 6f 72 20 |distribu|tion or |
|00000440| 75 73 65 20 6f 66 20 65 | 69 74 68 65 72 20 74 68 |use of e|ither th|
|00000450| 69 73 0a 25 20 66 69 6c | 65 20 6f 72 20 61 20 63 |is.% fil|e or a c|
|00000460| 68 61 6e 67 65 64 20 76 | 65 72 73 69 6f 6e 2c 20 |hanged v|ersion, |
|00000470| 65 78 63 65 70 74 20 66 | 6f 72 20 61 20 6e 6f 6d |except f|or a nom|
|00000480| 69 6e 61 6c 20 63 68 61 | 72 67 65 20 66 6f 72 20 |inal cha|rge for |
|00000490| 63 6f 70 79 69 6e 67 0a | 25 20 65 74 63 2e 0a 25 |copying.|% etc..%|
|000004a0| 20 5c 66 69 0a 25 20 46 | 69 6c 65 6e 61 6d 65 3a | \fi.% F|ilename:|
|000004b0| 20 63 6c 73 67 75 69 64 | 65 2e 74 65 78 0a 0a 5c | clsguid|e.tex..\|
|000004c0| 4e 65 65 64 73 54 65 58 | 46 6f 72 6d 61 74 7b 4c |NeedsTeX|Format{L|
|000004d0| 61 54 65 58 32 65 7d 5b | 31 39 39 34 2f 31 32 2f |aTeX2e}[|1994/12/|
|000004e0| 30 31 5d 0a 0a 5c 64 6f | 63 75 6d 65 6e 74 63 6c |01]..\do|cumentcl|
|000004f0| 61 73 73 7b 6c 74 78 67 | 75 69 64 65 7d 5b 31 39 |ass{ltxg|uide}[19|
|00000500| 39 34 2f 31 31 2f 32 30 | 5d 0a 0a 5c 74 69 74 6c |94/11/20|]..\titl|
|00000510| 65 7b 5c 4c 61 54 65 58 | 65 7e 66 6f 72 20 63 6c |e{\LaTeX|e~for cl|
|00000520| 61 73 73 20 61 6e 64 20 | 70 61 63 6b 61 67 65 20 |ass and |package |
|00000530| 77 72 69 74 65 72 73 7d | 0a 0a 5c 61 75 74 68 6f |writers}|..\autho|
|00000540| 72 7b 43 6f 70 79 72 69 | 67 68 74 20 5c 63 6f 70 |r{Copyri|ght \cop|
|00000550| 79 72 69 67 68 74 7e 31 | 39 39 34 20 54 68 65 20 |yright~1|994 The |
|00000560| 5c 4c 61 54 65 58 33 20 | 50 72 6f 6a 65 63 74 5c |\LaTeX3 |Project\|
|00000570| 5c 0a 20 20 20 41 6c 6c | 20 72 69 67 68 74 73 20 |\. All| rights |
|00000580| 72 65 73 65 72 76 65 64 | 7d 0a 0a 5c 64 61 74 65 |reserved|}..\date|
|00000590| 7b 31 20 44 65 63 65 6d | 62 65 72 20 31 39 39 34 |{1 Decem|ber 1994|
|000005a0| 7d 0a 20 0a 5c 62 65 67 | 69 6e 7b 64 6f 63 75 6d |}. .\beg|in{docum|
|000005b0| 65 6e 74 7d 0a 20 0a 5c | 6d 61 6b 65 74 69 74 6c |ent}. .\|maketitl|
|000005c0| 65 0a 20 0a 5c 74 61 62 | 6c 65 6f 66 63 6f 6e 74 |e. .\tab|leofcont|
|000005d0| 65 6e 74 73 0a 20 0a 5c | 73 65 63 74 69 6f 6e 7b |ents. .\|section{|
|000005e0| 49 6e 74 72 6f 64 75 63 | 74 69 6f 6e 7d 0a 20 0a |Introduc|tion}. .|
|000005f0| 54 68 69 73 20 64 6f 63 | 75 6d 65 6e 74 20 69 73 |This doc|ument is|
|00000600| 20 61 6e 20 69 6e 74 72 | 6f 64 75 63 74 69 6f 6e | an intr|oduction|
|00000610| 20 74 6f 20 77 72 69 74 | 69 6e 67 20 63 6c 61 73 | to writ|ing clas|
|00000620| 73 65 73 20 61 6e 64 20 | 70 61 63 6b 61 67 65 73 |ses and |packages|
|00000630| 20 66 6f 72 0a 5c 4c 61 | 54 65 58 7b 7d 2c 20 77 | for.\La|TeX{}, w|
|00000640| 69 74 68 20 73 70 65 63 | 69 61 6c 20 61 74 74 65 |ith spec|ial atte|
|00000650| 6e 74 69 6f 6e 20 67 69 | 76 65 6e 20 74 6f 20 75 |ntion gi|ven to u|
|00000660| 70 67 72 61 64 69 6e 67 | 20 65 78 69 73 74 69 6e |pgrading| existin|
|00000670| 67 0a 5c 4c 61 54 65 58 | 7e 32 2e 30 39 20 70 61 |g.\LaTeX|~2.09 pa|
|00000680| 63 6b 61 67 65 73 20 74 | 6f 20 5c 4c 61 54 65 58 |ckages t|o \LaTeX|
|00000690| 65 7b 7d 2e 20 20 54 68 | 65 20 6c 61 74 74 65 72 |e{}. Th|e latter|
|000006a0| 20 73 75 62 6a 65 63 74 | 20 77 69 6c 6c 20 61 6c | subject| will al|
|000006b0| 73 6f 20 62 65 0a 63 6f | 76 65 72 65 64 20 69 6e |so be.co|vered in|
|000006c0| 20 61 6e 20 61 72 74 69 | 63 6c 65 20 62 79 20 4a | an arti|cle by J|
|000006d0| 6f 68 61 6e 6e 65 73 20 | 42 72 61 61 6d 73 20 74 |ohannes |Braams t|
|000006e0| 6f 20 62 65 20 70 75 62 | 6c 69 73 68 65 64 20 69 |o be pub|lished i|
|000006f0| 6e 20 54 55 47 62 6f 61 | 74 2e 0a 20 0a 5c 73 75 |n TUGboa|t.. .\su|
|00000700| 62 73 65 63 74 69 6f 6e | 7b 57 72 69 74 69 6e 67 |bsection|{Writing|
|00000710| 20 63 6c 61 73 73 65 73 | 20 61 6e 64 20 70 61 63 | classes| and pac|
|00000720| 6b 61 67 65 73 20 66 6f | 72 20 5c 4c 61 54 65 58 |kages fo|r \LaTeX|
|00000730| 65 7d 0a 20 0a 5c 4c 61 | 54 65 58 7b 7d 20 69 73 |e}. .\La|TeX{} is|
|00000740| 20 61 20 64 6f 63 75 6d | 65 6e 74 20 70 72 65 70 | a docum|ent prep|
|00000750| 61 72 61 74 69 6f 6e 20 | 73 79 73 74 65 6d 20 74 |aration |system t|
|00000760| 68 61 74 20 65 6e 61 62 | 6c 65 73 20 74 68 65 20 |hat enab|les the |
|00000770| 64 6f 63 75 6d 65 6e 74 | 0a 77 72 69 74 65 72 20 |document|.writer |
|00000780| 74 6f 20 63 6f 6e 63 65 | 6e 74 72 61 74 65 20 6f |to conce|ntrate o|
|00000790| 6e 20 74 68 65 20 63 6f | 6e 74 65 6e 74 73 20 6f |n the co|ntents o|
|000007a0| 66 20 74 68 65 69 72 20 | 74 65 78 74 2c 20 77 69 |f their |text, wi|
|000007b0| 74 68 6f 75 74 20 62 6f | 74 68 65 72 69 6e 67 0a |thout bo|thering.|
|000007c0| 74 6f 6f 20 6d 75 63 68 | 20 61 62 6f 75 74 20 74 |too much| about t|
|000007d0| 68 65 20 66 6f 72 6d 61 | 74 74 69 6e 67 20 6f 66 |he forma|tting of|
|000007e0| 20 69 74 2e 20 20 46 6f | 72 20 65 78 61 6d 70 6c | it. Fo|r exampl|
|000007f0| 65 2c 20 63 68 61 70 74 | 65 72 73 20 61 72 65 0a |e, chapt|ers are.|
|00000800| 69 6e 64 69 63 61 74 65 | 64 20 62 79 20 7c 5c 63 |indicate|d by |\c|
|00000810| 68 61 70 74 65 72 7b 3c | 74 69 74 6c 65 3e 7d 7c |hapter{<|title>}||
|00000820| 20 72 61 74 68 65 72 20 | 74 68 61 6e 20 62 79 20 | rather |than by |
|00000830| 73 65 6c 65 63 74 69 6e | 67 20 31 38 70 74 20 62 |selectin|g 18pt b|
|00000840| 6f 6c 64 2e 0a 20 0a 54 | 68 65 20 66 69 6c 65 20 |old.. .T|he file |
|00000850| 74 68 61 74 20 63 6f 6e | 74 61 69 6e 73 20 74 68 |that con|tains th|
|00000860| 65 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 61 62 |e inform|ation ab|
|00000870| 6f 75 74 20 68 6f 77 20 | 74 6f 20 74 75 72 6e 20 |out how |to turn |
|00000880| 6c 6f 67 69 63 61 6c 0a | 73 74 72 75 63 74 75 72 |logical.|structur|
|00000890| 65 20 28 6c 69 6b 65 20 | 60 7c 5c 63 68 61 70 74 |e (like |`|\chapt|
|000008a0| 65 72 7c 27 29 20 69 6e | 74 6f 20 66 6f 72 6d 61 |er|') in|to forma|
|000008b0| 74 74 69 6e 67 20 28 6c | 69 6b 65 20 60 31 38 70 |tting (l|ike `18p|
|000008c0| 74 20 62 6f 6c 64 20 72 | 61 67 67 65 64 0a 72 69 |t bold r|agged.ri|
|000008d0| 67 68 74 27 29 20 69 73 | 20 61 20 5c 65 6d 70 68 |ght') is| a \emph|
|000008e0| 7b 64 6f 63 75 6d 65 6e | 74 20 63 6c 61 73 73 7d |{documen|t class}|
|000008f0| 2e 20 20 49 6e 20 61 64 | 64 69 74 69 6f 6e 2c 20 |. In ad|dition, |
|00000900| 73 6f 6d 65 20 66 65 61 | 74 75 72 65 73 20 28 73 |some fea|tures (s|
|00000910| 75 63 68 0a 61 73 20 63 | 6f 6c 6f 75 72 20 6f 72 |uch.as c|olour or|
|00000920| 20 69 6e 63 6c 75 64 65 | 64 20 67 72 61 70 68 69 | include|d graphi|
|00000930| 63 73 29 20 61 72 65 20 | 69 6e 64 65 70 65 6e 64 |cs) are |independ|
|00000940| 65 6e 74 20 6f 66 20 74 | 68 65 20 64 6f 63 75 6d |ent of t|he docum|
|00000950| 65 6e 74 20 63 6c 61 73 | 73 0a 61 6e 64 20 74 68 |ent clas|s.and th|
|00000960| 65 73 65 20 61 72 65 20 | 63 6f 6e 74 61 69 6e 65 |ese are |containe|
|00000970| 64 20 69 6e 20 5c 65 6d | 70 68 7b 70 61 63 6b 61 |d in \em|ph{packa|
|00000980| 67 65 73 7d 2e 0a 20 0a | 4f 6e 65 20 6f 66 20 74 |ges}.. .|One of t|
|00000990| 68 65 20 6c 61 72 67 65 | 73 74 20 64 69 66 66 65 |he large|st diffe|
|000009a0| 72 65 6e 63 65 73 20 62 | 65 74 77 65 65 6e 20 5c |rences b|etween \|
|000009b0| 4c 61 54 65 58 7e 32 2e | 30 39 20 61 6e 64 20 5c |LaTeX~2.|09 and \|
|000009c0| 4c 61 54 65 58 65 7b 7d | 20 69 73 20 69 6e 0a 74 |LaTeXe{}| is in.t|
|000009d0| 68 65 20 63 6f 6d 6d 61 | 6e 64 73 20 75 73 65 64 |he comma|nds used|
|000009e0| 20 74 6f 20 77 72 69 74 | 65 20 70 61 63 6b 61 67 | to writ|e packag|
|000009f0| 65 73 20 61 6e 64 20 63 | 6c 61 73 73 65 73 2e 20 |es and c|lasses. |
|00000a00| 20 49 6e 20 5c 4c 61 54 | 65 58 7e 32 2e 30 39 2c | In \LaT|eX~2.09,|
|00000a10| 0a 74 68 65 72 65 20 77 | 61 73 20 76 65 72 79 20 |.there w|as very |
|00000a20| 6c 69 74 74 6c 65 20 73 | 75 70 70 6f 72 74 20 66 |little s|upport f|
|00000a30| 6f 72 20 77 72 69 74 69 | 6e 67 20 7c 2e 73 74 79 |or writi|ng |.sty|
|00000a40| 7c 20 66 69 6c 65 73 2c | 20 61 6e 64 20 73 6f 20 || files,| and so |
|00000a50| 77 72 69 74 65 72 73 0a | 68 61 64 20 74 6f 20 72 |writers.|had to r|
|00000a60| 65 73 6f 72 74 20 74 6f | 20 75 73 69 6e 67 20 6c |esort to| using l|
|00000a70| 6f 77 2d 6c 65 76 65 6c | 20 63 6f 6d 6d 61 6e 64 |ow-level| command|
|00000a80| 73 2e 0a 20 0a 5c 4c 61 | 54 65 58 65 7b 7d 20 70 |s.. .\La|TeXe{} p|
|00000a90| 72 6f 76 69 64 65 73 20 | 68 69 67 68 2d 6c 65 76 |rovides |high-lev|
|00000aa0| 65 6c 20 63 6f 6d 6d 61 | 6e 64 73 20 66 6f 72 20 |el comma|nds for |
|00000ab0| 73 74 72 75 63 74 75 72 | 69 6e 67 20 70 61 63 6b |structur|ing pack|
|00000ac0| 61 67 65 73 2e 20 20 49 | 74 0a 69 73 20 61 6c 73 |ages. I|t.is als|
|00000ad0| 6f 20 6d 75 63 68 20 65 | 61 73 69 65 72 20 74 6f |o much e|asier to|
|00000ae0| 20 62 75 69 6c 64 20 63 | 6c 61 73 73 65 73 20 61 | build c|lasses a|
|00000af0| 6e 64 20 70 61 63 6b 61 | 67 65 73 20 6f 6e 20 74 |nd packa|ges on t|
|00000b00| 6f 70 20 6f 66 20 65 61 | 63 68 0a 6f 74 68 65 72 |op of ea|ch.other|
|00000b10| 2c 20 66 6f 72 20 65 78 | 61 6d 70 6c 65 20 77 72 |, for ex|ample wr|
|00000b20| 69 74 69 6e 67 20 61 20 | 6c 6f 63 61 6c 20 74 65 |iting a |local te|
|00000b30| 63 68 6e 69 63 61 6c 20 | 72 65 70 6f 72 74 20 63 |chnical |report c|
|00000b40| 6c 61 73 73 20 62 61 73 | 65 64 20 6f 6e 0a 7c 61 |lass bas|ed on.|a|
|00000b50| 72 74 69 63 6c 65 7c 2e | 0a 20 0a 5c 73 75 62 73 |rticle|.|. .\subs|
|00000b60| 65 63 74 69 6f 6e 7b 4f | 76 65 72 76 69 65 77 7d |ection{O|verview}|
|00000b70| 0a 20 0a 54 68 69 73 20 | 64 6f 63 75 6d 65 6e 74 |. .This |document|
|00000b80| 20 63 6f 6e 74 61 69 6e | 73 20 61 6e 20 6f 76 65 | contain|s an ove|
|00000b90| 72 76 69 65 77 20 6f 66 | 20 68 6f 77 20 74 6f 20 |rview of| how to |
|00000ba0| 77 72 69 74 65 20 63 6c | 61 73 73 65 73 20 61 6e |write cl|asses an|
|00000bb0| 64 0a 70 61 63 6b 61 67 | 65 73 20 66 6f 72 20 5c |d.packag|es for \|
|00000bc0| 4c 61 54 65 58 7b 7d 2e | 20 20 49 74 20 64 6f 65 |LaTeX{}.| It doe|
|00000bd0| 73 20 5c 65 6d 70 68 7b | 6e 6f 74 7d 20 69 6e 74 |s \emph{|not} int|
|00000be0| 72 6f 64 75 63 65 20 61 | 6c 6c 20 6f 66 20 74 68 |roduce a|ll of th|
|00000bf0| 65 0a 63 6f 6d 6d 61 6e | 64 73 20 6e 65 63 65 73 |e.comman|ds neces|
|00000c00| 73 61 72 79 20 74 6f 20 | 77 72 69 74 65 20 70 61 |sary to |write pa|
|00000c10| 63 6b 61 67 65 73 3a 20 | 74 68 65 73 65 20 63 61 |ckages: |these ca|
|00000c20| 6e 20 62 65 20 66 6f 75 | 6e 64 20 69 6e 20 65 69 |n be fou|nd in ei|
|00000c30| 74 68 65 72 0a 5c 65 6d | 70 68 7b 5c 4c 61 54 65 |ther.\em|ph{\LaTe|
|00000c40| 58 62 6f 6f 6b 7d 20 6f | 72 20 5c 65 6d 70 68 7b |Xbook} o|r \emph{|
|00000c50| 5c 4c 61 54 65 58 63 6f | 6d 70 7d 2e 20 20 42 75 |\LaTeXco|mp}. Bu|
|00000c60| 74 20 69 74 20 64 6f 65 | 73 20 64 65 73 63 72 69 |t it doe|s descri|
|00000c70| 62 65 20 74 68 65 20 6e | 65 77 0a 63 6f 6d 6d 61 |be the n|ew.comma|
|00000c80| 6e 64 73 20 66 6f 72 20 | 73 74 72 75 63 74 75 72 |nds for |structur|
|00000c90| 69 6e 67 20 63 6c 61 73 | 73 65 73 20 61 6e 64 20 |ing clas|ses and |
|00000ca0| 70 61 63 6b 61 67 65 73 | 2e 0a 5c 62 65 67 69 6e |packages|..\begin|
|00000cb0| 7b 64 65 73 63 72 69 70 | 74 69 6f 6e 7d 0a 20 0a |{descrip|tion}. .|
|00000cc0| 5c 69 74 65 6d 5b 53 65 | 63 74 69 6f 6e 7e 5c 72 |\item[Se|ction~\r|
|00000cd0| 65 66 7b 53 65 63 3a 67 | 65 6e 65 72 61 6c 7d 5d |ef{Sec:g|eneral}]|
|00000ce0| 20 63 6f 6e 74 61 69 6e | 73 20 73 6f 6d 65 20 67 | contain|s some g|
|00000cf0| 65 6e 65 72 61 6c 20 61 | 64 76 69 63 65 20 61 62 |eneral a|dvice ab|
|00000d00| 6f 75 74 0a 20 20 77 72 | 69 74 69 6e 67 20 63 6c |out. wr|iting cl|
|00000d10| 61 73 73 65 73 20 61 6e | 64 20 70 61 63 6b 61 67 |asses an|d packag|
|00000d20| 65 73 2e 20 20 49 74 20 | 64 65 73 63 72 69 62 65 |es. It |describe|
|00000d30| 73 20 74 68 65 20 64 69 | 66 66 65 72 65 6e 63 65 |s the di|fference|
|00000d40| 20 62 65 74 77 65 65 6e | 0a 20 20 63 6c 61 73 73 | between|. class|
|00000d50| 65 73 20 61 6e 64 20 70 | 61 63 6b 61 67 65 73 2c |es and p|ackages,|
|00000d60| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 20 6e 61 6d | the com|mand nam|
|00000d70| 69 6e 67 20 63 6f 6e 76 | 65 6e 74 69 6f 6e 73 2c |ing conv|entions,|
|00000d80| 20 74 68 65 20 75 73 65 | 20 6f 66 0a 20 20 7c 64 | the use| of. |d|
|00000d90| 6f 63 7c 20 61 6e 64 20 | 7c 64 6f 63 73 74 72 69 |oc| and ||docstri|
|00000da0| 70 7c 2c 20 68 6f 77 20 | 5c 54 65 58 27 73 20 70 |p|, how |\TeX's p|
|00000db0| 72 69 6d 69 74 69 76 65 | 20 66 69 6c 65 20 61 6e |rimitive| file an|
|00000dc0| 64 20 62 6f 78 20 63 6f | 6d 6d 61 6e 64 73 0a 20 |d box co|mmands. |
|00000dd0| 20 69 6e 74 65 72 61 63 | 74 20 77 69 74 68 20 5c | interac|t with \|
|00000de0| 4c 61 54 65 58 7b 7d 2e | 20 49 74 20 61 6c 73 6f |LaTeX{}.| It also|
|00000df0| 20 63 6f 6e 74 61 69 6e | 73 20 73 6f 6d 65 20 68 | contain|s some h|
|00000e00| 69 6e 74 73 20 61 62 6f | 75 74 20 67 65 6e 65 72 |ints abo|ut gener|
|00000e10| 61 6c 0a 20 20 5c 4c 61 | 54 65 58 7b 7d 20 73 74 |al. \La|TeX{} st|
|00000e20| 79 6c 65 2e 0a 20 0a 5c | 69 74 65 6d 5b 53 65 63 |yle.. .\|item[Sec|
|00000e30| 74 69 6f 6e 7e 5c 72 65 | 66 7b 53 65 63 3a 73 74 |tion~\re|f{Sec:st|
|00000e40| 72 75 63 74 75 72 65 7d | 5d 20 64 65 73 63 72 69 |ructure}|] descri|
|00000e50| 62 65 73 20 74 68 65 20 | 73 74 72 75 63 74 75 72 |bes the |structur|
|00000e60| 65 20 6f 66 20 63 6c 61 | 73 73 65 73 0a 20 20 61 |e of cla|sses. a|
|00000e70| 6e 64 20 70 61 63 6b 61 | 67 65 73 2e 20 20 54 68 |nd packa|ges. Th|
|00000e80| 69 73 20 69 6e 63 6c 75 | 64 65 73 20 62 75 69 6c |is inclu|des buil|
|00000e90| 64 69 6e 67 20 63 6c 61 | 73 73 65 73 20 61 6e 64 |ding cla|sses and|
|00000ea0| 20 70 61 63 6b 61 67 65 | 73 20 6f 6e 20 74 6f 70 | package|s on top|
|00000eb0| 20 6f 66 0a 20 20 6f 74 | 68 65 72 20 63 6c 61 73 | of. ot|her clas|
|00000ec0| 73 65 73 20 61 6e 64 20 | 70 61 63 6b 61 67 65 73 |ses and |packages|
|00000ed0| 2c 20 64 65 63 6c 61 72 | 69 6e 67 20 6f 70 74 69 |, declar|ing opti|
|00000ee0| 6f 6e 73 20 61 6e 64 20 | 64 65 63 6c 61 72 69 6e |ons and |declarin|
|00000ef0| 67 0a 20 20 63 6f 6d 6d | 61 6e 64 73 2e 20 20 49 |g. comm|ands. I|
|00000f00| 74 20 61 6c 73 6f 20 63 | 6f 6e 74 61 69 6e 73 20 |t also c|ontains |
|00000f10| 65 78 61 6d 70 6c 65 20 | 63 6c 61 73 73 65 73 2e |example |classes.|
|00000f20| 0a 20 0a 5c 69 74 65 6d | 5b 53 65 63 74 69 6f 6e |. .\item|[Section|
|00000f30| 7e 5c 72 65 66 7b 53 65 | 63 3a 63 6f 6d 6d 61 6e |~\ref{Se|c:comman|
|00000f40| 64 73 7d 5d 20 6c 69 73 | 74 73 20 74 68 65 20 6e |ds}] lis|ts the n|
|00000f50| 65 77 20 63 6c 61 73 73 | 20 61 6e 64 20 70 61 63 |ew class| and pac|
|00000f60| 6b 61 67 65 0a 20 20 20 | 63 6f 6d 6d 61 6e 64 73 |kage. |commands|
|00000f70| 2e 0a 20 0a 20 5c 69 74 | 65 6d 5b 53 65 63 74 69 |.. . \it|em[Secti|
|00000f80| 6f 6e 7e 5c 72 65 66 7b | 53 65 63 3a 75 70 67 72 |on~\ref{|Sec:upgr|
|00000f90| 61 64 65 7d 5d 20 67 69 | 76 65 73 20 64 65 74 61 |ade}] gi|ves deta|
|00000fa0| 69 6c 65 64 20 61 64 76 | 69 63 65 20 6f 6e 20 68 |iled adv|ice on h|
|00000fb0| 6f 77 20 74 6f 0a 20 20 | 20 75 70 67 72 61 64 65 |ow to. | upgrade|
|00000fc0| 20 65 78 69 73 74 69 6e | 67 20 5c 4c 61 54 65 58 | existin|g \LaTeX|
|00000fd0| 7e 32 2e 30 39 20 63 6c | 61 73 73 65 73 20 61 6e |~2.09 cl|asses an|
|00000fe0| 64 20 70 61 63 6b 61 67 | 65 73 20 74 6f 20 5c 4c |d packag|es to \L|
|00000ff0| 61 54 65 58 65 7b 7d 2e | 0a 20 0a 5c 65 6e 64 7b |aTeXe{}.|. .\end{|
|00001000| 64 65 73 63 72 69 70 74 | 69 6f 6e 7d 0a 20 0a 5c |descript|ion}. .\|
|00001010| 73 75 62 73 65 63 74 69 | 6f 6e 7b 46 75 72 74 68 |subsecti|on{Furth|
|00001020| 65 72 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 7d 0a |er infor|mation}.|
|00001030| 20 0a 46 6f 72 20 61 20 | 67 65 6e 65 72 61 6c 20 | .For a |general |
|00001040| 69 6e 74 72 6f 64 75 63 | 74 69 6f 6e 20 74 6f 20 |introduc|tion to |
|00001050| 5c 4c 61 54 65 58 7b 7d | 2c 20 69 6e 63 6c 75 64 |\LaTeX{}|, includ|
|00001060| 69 6e 67 20 74 68 65 20 | 6e 65 77 20 66 65 61 74 |ing the |new feat|
|00001070| 75 72 65 73 20 6f 66 0a | 5c 4c 61 54 65 58 65 7b |ures of.|\LaTeXe{|
|00001080| 7d 2c 20 79 6f 75 20 73 | 68 6f 75 6c 64 20 72 65 |}, you s|hould re|
|00001090| 61 64 20 5c 65 6d 70 68 | 7b 5c 4c 61 54 65 58 62 |ad \emph|{\LaTeXb|
|000010a0| 6f 6f 6b 7d 0a 62 79 20 | 4c 65 73 6c 69 65 20 4c |ook}.by |Leslie L|
|000010b0| 61 6d 70 6f 72 74 7e 5c | 63 69 74 65 7b 41 2d 57 |amport~\|cite{A-W|
|000010c0| 3a 4c 4c 61 39 34 7d 2e | 0a 20 0a 41 20 6d 6f 72 |:LLa94}.|. .A mor|
|000010d0| 65 20 64 65 74 61 69 6c | 65 64 20 64 65 73 63 72 |e detail|ed descr|
|000010e0| 69 70 74 69 6f 6e 20 6f | 66 20 74 68 65 20 6e 65 |iption o|f the ne|
|000010f0| 77 20 66 65 61 74 75 72 | 65 73 20 6f 66 20 5c 4c |w featur|es of \L|
|00001100| 61 54 65 58 7b 7d 2c 20 | 61 6e 64 20 61 6e 0a 6f |aTeX{}, |and an.o|
|00001110| 76 65 72 76 69 65 77 20 | 6f 66 20 6d 6f 72 65 20 |verview |of more |
|00001120| 74 68 61 6e 20 31 35 30 | 20 70 61 63 6b 61 67 65 |than 150| package|
|00001130| 73 2c 20 69 73 20 74 6f | 20 62 65 20 66 6f 75 6e |s, is to| be foun|
|00001140| 64 20 69 6e 0a 5c 65 6d | 70 68 7b 5c 4c 61 54 65 |d in.\em|ph{\LaTe|
|00001150| 58 63 6f 6d 70 7d 20 62 | 79 20 4d 69 63 68 65 6c |Xcomp} b|y Michel|
|00001160| 20 47 6f 6f 73 73 65 6e | 73 2c 20 46 72 61 6e 6b | Goossen|s, Frank|
|00001170| 20 4d 69 74 74 65 6c 62 | 61 63 68 20 61 6e 64 20 | Mittelb|ach and |
|00001180| 41 6c 65 78 61 6e 64 65 | 72 0a 53 61 6d 61 72 69 |Alexande|r.Samari|
|00001190| 6e 7e 5c 63 69 74 65 7b | 41 2d 57 3a 47 4d 53 39 |n~\cite{|A-W:GMS9|
|000011a0| 34 7d 2e 0a 20 0a 54 68 | 65 20 5c 4c 61 54 65 58 |4}.. .Th|e \LaTeX|
|000011b0| 7b 7d 20 73 79 73 74 65 | 6d 20 69 73 20 62 61 73 |{} syste|m is bas|
|000011c0| 65 64 20 6f 6e 20 5c 54 | 65 58 7b 7d 2c 20 77 68 |ed on \T|eX{}, wh|
|000011d0| 69 63 68 20 69 73 0a 64 | 65 73 63 72 69 62 65 64 |ich is.d|escribed|
|000011e0| 20 69 6e 20 5c 65 6d 70 | 68 7b 54 68 65 20 5c 54 | in \emp|h{The \T|
|000011f0| 65 58 20 62 6f 6f 6b 7d | 20 62 79 20 44 6f 6e 61 |eX book}| by Dona|
|00001200| 6c 64 20 45 2e 7e 4b 6e | 75 74 68 7e 5c 63 69 74 |ld E.~Kn|uth~\cit|
|00001210| 65 7b 41 2d 57 3a 44 45 | 4b 39 31 7d 2e 0a 20 0a |e{A-W:DE|K91}.. .|
|00001220| 54 68 65 72 65 20 61 72 | 65 20 61 20 6e 75 6d 62 |There ar|e a numb|
|00001230| 65 72 20 6f 66 20 64 6f | 63 75 6d 65 6e 74 61 74 |er of do|cumentat|
|00001240| 69 6f 6e 20 66 69 6c 65 | 73 20 77 68 69 63 68 20 |ion file|s which |
|00001250| 61 63 63 6f 6d 70 61 6e | 79 20 65 76 65 72 79 20 |accompan|y every |
|00001260| 63 6f 70 79 0a 6f 66 20 | 5c 4c 61 54 65 58 7b 7d |copy.of |\LaTeX{}|
|00001270| 2e 20 20 41 20 63 6f 70 | 79 20 6f 66 20 5c 65 6d |. A cop|y of \em|
|00001280| 70 68 7b 5c 4c 61 54 65 | 58 7b 7d 20 4e 65 77 73 |ph{\LaTe|X{} News|
|00001290| 7d 20 77 69 6c 6c 20 63 | 6f 6d 65 20 6f 75 74 20 |} will c|ome out |
|000012a0| 77 69 74 68 20 65 61 63 | 68 0a 73 69 78 2d 6d 6f |with eac|h.six-mo|
|000012b0| 6e 74 68 6c 79 20 72 65 | 6c 65 61 73 65 20 6f 66 |nthly re|lease of|
|000012c0| 20 5c 4c 61 54 65 58 7b | 7d 2c 20 61 6e 64 20 69 | \LaTeX{|}, and i|
|000012d0| 73 20 66 6f 75 6e 64 20 | 69 6e 20 74 68 65 20 66 |s found |in the f|
|000012e0| 69 6c 65 73 0a 7c 6c 74 | 6e 65 77 73 2a 2e 74 65 |iles.|lt|news*.te|
|000012f0| 78 7c 2e 20 20 54 68 65 | 20 61 75 74 68 6f 72 27 |x|. The| author'|
|00001300| 73 20 67 75 69 64 65 20 | 5c 65 6d 70 68 7b 5c 75 |s guide |\emph{\u|
|00001310| 73 72 67 75 69 64 65 7d | 20 64 65 73 63 72 69 62 |srguide}| describ|
|00001320| 65 73 20 74 68 65 20 6e | 65 77 0a 5c 4c 61 54 65 |es the n|ew.\LaTe|
|00001330| 58 7b 7d 20 64 6f 63 75 | 6d 65 6e 74 20 66 65 61 |X{} docu|ment fea|
|00001340| 74 75 72 65 73 3b 20 69 | 74 20 69 73 20 69 6e 20 |tures; i|t is in |
|00001350| 7c 75 73 72 67 75 69 64 | 65 2e 74 65 78 7c 2e 20 ||usrguid|e.tex|. |
|00001360| 20 54 68 65 20 67 75 69 | 64 65 0a 5c 65 6d 70 68 | The gui|de.\emph|
|00001370| 7b 5c 66 6e 74 67 75 69 | 64 65 7d 20 64 65 73 63 |{\fntgui|de} desc|
|00001380| 72 69 62 65 73 20 74 68 | 65 20 5c 4c 61 54 65 58 |ribes th|e \LaTeX|
|00001390| 7b 7d 20 66 6f 6e 74 20 | 73 65 6c 65 63 74 69 6f |{} font |selectio|
|000013a0| 6e 20 73 63 68 65 6d 65 | 20 66 6f 72 0a 63 6c 61 |n scheme| for.cla|
|000013b0| 73 73 2d 20 61 6e 64 20 | 70 61 63 6b 61 67 65 2d |ss- and |package-|
|000013c0| 77 72 69 74 65 72 73 3b | 20 69 74 20 69 73 20 69 |writers;| it is i|
|000013d0| 6e 20 7c 66 6e 74 67 75 | 69 64 65 2e 74 65 78 7c |n |fntgu|ide.tex||
|000013e0| 2e 0a 0a 57 65 20 61 72 | 65 20 67 72 61 64 75 61 |...We ar|e gradua|
|000013f0| 6c 6c 79 20 74 75 72 6e | 69 6e 67 20 74 68 65 20 |lly turn|ing the |
|00001400| 73 6f 75 72 63 65 20 63 | 6f 64 65 20 66 6f 72 20 |source c|ode for |
|00001410| 5c 4c 61 54 65 58 7b 7d | 20 69 6e 74 6f 20 61 20 |\LaTeX{}| into a |
|00001420| 5c 4c 61 54 65 58 7b 7d | 0a 64 6f 63 75 6d 65 6e |\LaTeX{}|.documen|
|00001430| 74 20 5c 65 6d 70 68 7b | 5c 73 6f 75 72 63 65 63 |t \emph{|\sourcec|
|00001440| 6f 64 65 7d 2e 20 20 54 | 68 69 73 20 64 6f 63 75 |ode}. T|his docu|
|00001450| 6d 65 6e 74 20 69 6e 63 | 6c 75 64 65 73 20 61 6e |ment inc|ludes an|
|00001460| 20 69 6e 64 65 78 20 6f | 66 0a 5c 4c 61 54 65 58 | index o|f.\LaTeX|
|00001470| 7b 7d 20 63 6f 6d 6d 61 | 6e 64 73 20 61 6e 64 20 |{} comma|nds and |
|00001480| 63 61 6e 20 62 65 20 74 | 79 70 65 73 65 74 20 66 |can be t|ypeset f|
|00001490| 72 6f 6d 20 7c 73 6f 75 | 72 63 65 32 65 2e 74 65 |rom |sou|rce2e.te|
|000014a0| 78 7c 2e 0a 20 0a 46 6f | 72 20 6d 6f 72 65 20 69 |x|.. .Fo|r more i|
|000014b0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 61 62 6f 75 74 |nformati|on about|
|000014c0| 20 5c 54 65 58 7b 7d 20 | 61 6e 64 20 5c 4c 61 54 | \TeX{} |and \LaT|
|000014d0| 65 58 7b 7d 2c 20 70 6c | 65 61 73 65 20 63 6f 6e |eX{}, pl|ease con|
|000014e0| 74 61 63 74 20 79 6f 75 | 72 20 0a 6c 6f 63 61 6c |tact you|r .local|
|000014f0| 20 5c 54 65 58 7b 7d 20 | 55 73 65 72 73 20 47 72 | \TeX{} |Users Gr|
|00001500| 6f 75 70 2c 20 6f 72 20 | 74 68 65 20 69 6e 74 65 |oup, or |the inte|
|00001510| 72 6e 61 74 69 6f 6e 61 | 6c 20 5c 54 65 58 7b 7d |rnationa|l \TeX{}|
|00001520| 20 55 73 65 72 73 20 47 | 72 6f 75 70 2c 20 0a 50 | Users G|roup, .P|
|00001530| 2e 7e 4f 2e 5c 20 42 6f | 78 7e 38 36 39 2c 20 53 |.~O.\ Bo|x~869, S|
|00001540| 61 6e 74 61 20 42 61 72 | 62 61 72 61 2c 20 43 41 |anta Bar|bara, CA|
|00001550| 20 39 33 31 30 32 2d 30 | 38 36 39 2c 20 55 53 41 | 93102-0|869, USA|
|00001560| 2c 20 46 61 78 3a 7e 2b | 31 20 38 30 35 20 39 36 |, Fax:~+|1 805 96|
|00001570| 33 20 0a 38 33 35 38 2c | 20 45 2d 6d 61 69 6c 3a |3 .8358,| E-mail:|
|00001580| 7e 74 75 67 40 74 75 67 | 2e 6f 72 67 2e 0a 20 0a |~tug@tug|.org.. .|
|00001590| 0a 5c 73 65 63 74 69 6f | 6e 7b 57 72 69 74 69 6e |.\sectio|n{Writin|
|000015a0| 67 20 63 6c 61 73 73 65 | 73 20 61 6e 64 20 70 61 |g classe|s and pa|
|000015b0| 63 6b 61 67 65 73 7d 0a | 5c 6c 61 62 65 6c 7b 53 |ckages}.|\label{S|
|000015c0| 65 63 3a 77 72 69 74 69 | 6e 67 7d 0a 20 0a 54 68 |ec:writi|ng}. .Th|
|000015d0| 69 73 20 73 65 63 74 69 | 6f 6e 20 63 6f 76 65 72 |is secti|on cover|
|000015e0| 73 20 73 6f 6d 65 20 67 | 65 6e 65 72 61 6c 20 70 |s some g|eneral p|
|000015f0| 6f 69 6e 74 73 20 63 6f | 6e 63 65 72 6e 65 64 20 |oints co|ncerned |
|00001600| 77 69 74 68 20 77 72 69 | 74 69 6e 67 0a 5c 4c 61 |with wri|ting.\La|
|00001610| 54 65 58 7b 7d 20 63 6c | 61 73 73 65 73 20 61 6e |TeX{} cl|asses an|
|00001620| 64 20 70 61 63 6b 61 67 | 65 73 2e 0a 0a 0a 5c 73 |d packag|es....\s|
|00001630| 75 62 73 65 63 74 69 6f | 6e 7b 4f 6c 64 20 76 65 |ubsectio|n{Old ve|
|00001640| 72 73 69 6f 6e 73 7d 0a | 0a 49 66 20 79 6f 75 20 |rsions}.|.If you |
|00001650| 61 72 65 20 75 70 67 72 | 61 64 69 6e 67 20 61 6e |are upgr|ading an|
|00001660| 20 65 78 69 73 74 69 6e | 67 20 5c 4c 61 54 65 58 | existin|g \LaTeX|
|00001670| 7e 32 2e 30 39 20 73 74 | 79 6c 65 20 66 69 6c 65 |~2.09 st|yle file|
|00001680| 20 74 68 65 6e 20 77 65 | 0a 72 65 63 6f 6d 6d 65 | then we|.recomme|
|00001690| 6e 64 20 66 72 65 65 7a | 69 6e 67 20 74 68 65 20 |nd freez|ing the |
|000016a0| 32 2e 30 39 20 76 65 72 | 73 69 6f 6e 20 61 6e 64 |2.09 ver|sion and|
|000016b0| 20 6e 6f 20 6c 6f 6e 67 | 65 72 20 6d 61 69 6e 74 | no long|er maint|
|000016c0| 61 69 6e 69 6e 67 20 69 | 74 2e 0a 45 78 70 65 72 |aining i|t..Exper|
|000016d0| 69 65 6e 63 65 20 77 69 | 74 68 20 74 68 65 20 76 |ience wi|th the v|
|000016e0| 61 72 69 6f 75 73 20 64 | 69 61 6c 65 63 74 73 20 |arious d|ialects |
|000016f0| 6f 66 20 5c 4c 61 54 65 | 58 7b 7d 20 77 68 69 63 |of \LaTe|X{} whic|
|00001700| 68 20 65 78 69 73 74 65 | 64 20 69 6e 20 74 68 65 |h existe|d in the|
|00001710| 0a 65 61 72 6c 79 20 31 | 39 39 30 27 73 20 73 75 |.early 1|990's su|
|00001720| 67 67 65 73 74 73 20 74 | 68 61 74 20 6d 61 69 6e |ggests t|hat main|
|00001730| 74 61 69 6e 69 6e 67 20 | 70 61 63 6b 61 67 65 73 |taining |packages|
|00001740| 20 66 6f 72 20 64 69 66 | 66 65 72 65 6e 74 20 76 | for dif|ferent v|
|00001750| 65 72 73 69 6f 6e 73 0a | 6f 66 20 5c 4c 61 54 65 |ersions.|of \LaTe|
|00001760| 58 7b 7d 20 69 73 20 61 | 6c 6d 6f 73 74 20 69 6d |X{} is a|lmost im|
|00001770| 70 6f 73 73 69 62 6c 65 | 2e 20 20 49 74 20 77 69 |possible|. It wi|
|00001780| 6c 6c 2c 20 6f 66 20 63 | 6f 75 72 73 65 2c 20 62 |ll, of c|ourse, b|
|00001790| 65 20 6e 65 63 65 73 73 | 61 72 79 0a 66 6f 72 20 |e necess|ary.for |
|000017a0| 73 6f 6d 65 20 6f 72 67 | 61 6e 69 73 61 74 69 6f |some org|anisatio|
|000017b0| 6e 73 20 74 6f 20 6d 61 | 69 6e 74 61 69 6e 20 62 |ns to ma|intain b|
|000017c0| 6f 74 68 20 76 65 72 73 | 69 6f 6e 73 20 69 6e 20 |oth vers|ions in |
|000017d0| 70 61 72 61 6c 6c 65 6c | 20 66 6f 72 20 73 6f 6d |parallel| for som|
|000017e0| 65 0a 74 69 6d 65 20 62 | 75 74 20 74 68 69 73 20 |e.time b|ut this |
|000017f0| 69 73 20 6e 6f 74 20 65 | 73 73 65 6e 74 69 61 6c |is not e|ssential|
|00001800| 20 66 6f 72 20 74 68 6f | 73 65 20 70 61 63 6b 61 | for tho|se packa|
|00001810| 67 65 73 20 61 6e 64 20 | 63 6c 61 73 73 65 73 0a |ges and |classes.|
|00001820| 73 75 70 70 6f 72 74 65 | 64 20 62 79 20 69 6e 64 |supporte|d by ind|
|00001830| 69 76 69 64 75 61 6c 73 | 3a 20 74 68 65 79 20 73 |ividuals|: they s|
|00001840| 68 6f 75 6c 64 20 73 75 | 70 70 6f 72 74 20 6f 6e |hould su|pport on|
|00001850| 6c 79 20 74 68 65 20 6e | 65 77 20 73 74 61 6e 64 |ly the n|ew stand|
|00001860| 61 72 64 0a 5c 4c 61 54 | 65 58 65 7b 7d 2c 20 6e |ard.\LaT|eXe{}, n|
|00001870| 6f 74 20 6f 62 73 6f 6c | 65 74 65 20 76 65 72 73 |ot obsol|ete vers|
|00001880| 69 6f 6e 73 20 6f 66 20 | 5c 4c 61 54 65 58 7b 7d |ions of |\LaTeX{}|
|00001890| 2e 0a 0a 0a 5c 73 75 62 | 73 65 63 74 69 6f 6e 7b |....\sub|section{|
|000018a0| 55 73 69 6e 67 20 64 6f | 63 73 74 72 69 70 20 61 |Using do|cstrip a|
|000018b0| 6e 64 20 64 6f 63 7d 0a | 20 0a 49 66 20 79 6f 75 |nd doc}.| .If you|
|000018c0| 20 61 72 65 20 67 6f 69 | 6e 67 20 74 6f 20 77 72 | are goi|ng to wr|
|000018d0| 69 74 65 20 61 20 6c 61 | 72 67 65 20 63 6c 61 73 |ite a la|rge clas|
|000018e0| 73 20 6f 72 20 70 61 63 | 6b 61 67 65 20 66 6f 72 |s or pac|kage for|
|000018f0| 20 5c 4c 61 54 65 58 7b | 7d 20 74 68 65 6e 0a 79 | \LaTeX{|} then.y|
|00001900| 6f 75 20 73 68 6f 75 6c | 64 20 63 6f 6e 73 69 64 |ou shoul|d consid|
|00001910| 65 72 20 75 73 69 6e 67 | 20 74 68 65 20 7c 64 6f |er using| the |do|
|00001920| 63 7c 20 73 6f 66 74 77 | 61 72 65 20 77 68 69 63 |c| softw|are whic|
|00001930| 68 20 63 6f 6d 65 73 20 | 77 69 74 68 0a 5c 4c 61 |h comes |with.\La|
|00001940| 54 65 58 7b 7d 2e 20 0a | 5c 4c 61 54 65 58 7b 7d |TeX{}. .|\LaTeX{}|
|00001950| 20 63 6c 61 73 73 65 73 | 20 61 6e 64 20 70 61 63 | classes| and pac|
|00001960| 6b 61 67 65 73 20 77 72 | 69 74 74 65 6e 20 75 73 |kages wr|itten us|
|00001970| 69 6e 67 20 74 68 69 73 | 20 63 61 6e 20 62 65 0a |ing this| can be.|
|00001980| 70 72 6f 63 65 73 73 65 | 64 20 69 6e 20 74 77 6f |processe|d in two|
|00001990| 20 77 61 79 73 3a 20 74 | 68 65 79 20 63 61 6e 20 | ways: t|hey can |
|000019a0| 62 65 20 72 75 6e 20 74 | 68 72 6f 75 67 68 20 5c |be run t|hrough \|
|000019b0| 4c 61 54 65 58 7b 7d 2c | 20 74 6f 20 70 72 6f 64 |LaTeX{},| to prod|
|000019c0| 75 63 65 0a 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |uce.docu|mentatio|
|000019d0| 6e 3b 20 61 6e 64 20 74 | 68 65 79 20 63 61 6e 20 |n; and t|hey can |
|000019e0| 62 65 20 70 72 6f 63 65 | 73 73 65 64 20 77 69 74 |be proce|ssed wit|
|000019f0| 68 20 7c 64 6f 63 73 74 | 72 69 70 7c 2c 20 74 6f |h |docst|rip|, to|
|00001a00| 20 70 72 6f 64 75 63 65 | 0a 74 68 65 20 7c 2e 63 | produce|.the |.c|
|00001a10| 6c 73 7c 20 6f 72 20 7c | 2e 73 74 79 7c 20 66 69 |ls| or ||.sty| fi|
|00001a20| 6c 65 2e 0a 20 0a 54 68 | 65 20 7c 64 6f 63 7c 20 |le.. .Th|e |doc| |
|00001a30| 73 6f 66 74 77 61 72 65 | 20 63 61 6e 20 61 75 74 |software| can aut|
|00001a40| 6f 6d 61 74 69 63 61 6c | 6c 79 20 67 65 6e 65 72 |omatical|ly gener|
|00001a50| 61 74 65 20 69 6e 64 65 | 78 65 73 20 6f 66 20 64 |ate inde|xes of d|
|00001a60| 65 66 69 6e 69 74 69 6f | 6e 73 2c 0a 69 6e 64 65 |efinitio|ns,.inde|
|00001a70| 78 65 73 20 6f 66 20 63 | 6f 6d 6d 61 6e 64 20 75 |xes of c|ommand u|
|00001a80| 73 65 2c 20 61 6e 64 20 | 63 68 61 6e 67 65 2d 6c |se, and |change-l|
|00001a90| 6f 67 20 6c 69 73 74 73 | 2e 20 20 49 74 20 69 73 |og lists|. It is|
|00001aa0| 20 76 65 72 79 20 75 73 | 65 66 75 6c 20 66 6f 72 | very us|eful for|
|00001ab0| 0a 6d 61 69 6e 74 61 69 | 6e 69 6e 67 20 61 6e 64 |.maintai|ning and|
|00001ac0| 20 64 6f 63 75 6d 65 6e | 74 69 6e 67 20 6c 61 72 | documen|ting lar|
|00001ad0| 67 65 20 5c 54 65 58 7b | 7d 20 73 6f 75 72 63 65 |ge \TeX{|} source|
|00001ae0| 73 2e 0a 20 0a 54 68 65 | 20 64 6f 63 75 6d 65 6e |s.. .The| documen|
|00001af0| 74 65 64 20 73 6f 75 72 | 63 65 73 20 6f 66 20 74 |ted sour|ces of t|
|00001b00| 68 65 20 5c 4c 61 54 65 | 58 7b 7d 20 6b 65 72 6e |he \LaTe|X{} kern|
|00001b10| 65 6c 20 69 74 73 65 6c | 66 20 2c 61 6e 64 20 6f |el itsel|f ,and o|
|00001b20| 66 20 74 68 65 0a 73 74 | 61 6e 64 61 72 64 20 63 |f the.st|andard c|
|00001b30| 6c 61 73 73 65 73 2c 20 | 65 74 63 2c 20 61 72 65 |lasses, |etc, are|
|00001b40| 20 7c 64 6f 63 7c 20 64 | 6f 63 75 6d 65 6e 74 73 | |doc| d|ocuments|
|00001b50| 3b 20 74 68 65 79 20 61 | 72 65 20 69 6e 20 74 68 |; they a|re in th|
|00001b60| 65 20 7c 2e 64 74 78 7c | 0a 66 69 6c 65 73 20 69 |e |.dtx||.files i|
|00001b70| 6e 20 74 68 65 20 64 69 | 73 74 72 69 62 75 74 69 |n the di|stributi|
|00001b80| 6f 6e 2e 20 20 59 6f 75 | 20 63 61 6e 2c 20 69 6e |on. You| can, in|
|00001b90| 20 66 61 63 74 2c 20 74 | 79 70 65 73 65 74 20 74 | fact, t|ypeset t|
|00001ba0| 68 65 20 73 6f 75 72 63 | 65 20 63 6f 64 65 0a 6f |he sourc|e code.o|
|00001bb0| 66 20 74 68 65 20 6b 65 | 72 6e 65 6c 20 61 73 20 |f the ke|rnel as |
|00001bc0| 6f 6e 65 20 6c 6f 6e 67 | 20 64 6f 63 75 6d 65 6e |one long| documen|
|00001bd0| 74 2c 20 63 6f 6d 70 6c | 65 74 65 20 77 69 74 68 |t, compl|ete with|
|00001be0| 20 69 6e 64 65 78 2c 20 | 62 79 20 72 75 6e 6e 69 | index, |by runni|
|00001bf0| 6e 67 0a 5c 4c 61 54 65 | 58 7b 7d 20 6f 6e 20 7c |ng.\LaTe|X{} on ||
|00001c00| 73 6f 75 72 63 65 32 65 | 2e 74 65 78 7c 2e 0a 20 |source2e|.tex|.. |
|00001c10| 0a 46 6f 72 20 6d 6f 72 | 65 20 69 6e 66 6f 72 6d |.For mor|e inform|
|00001c20| 61 74 69 6f 6e 20 6f 6e | 20 7c 64 6f 63 7c 20 61 |ation on| |doc| a|
|00001c30| 6e 64 20 7c 64 6f 63 73 | 74 72 69 70 7c 2c 20 63 |nd |docs|trip|, c|
|00001c40| 6f 6e 73 75 6c 74 20 74 | 68 65 20 66 69 6c 65 73 |onsult t|he files|
|00001c50| 0a 7c 64 6f 63 73 74 72 | 69 70 2e 64 74 78 7c 2c |.|docstr|ip.dtx|,|
|00001c60| 20 7c 64 6f 63 2e 64 74 | 78 7c 2c 20 61 6e 64 20 | |doc.dt|x|, and |
|00001c70| 5c 65 6d 70 68 7b 5c 4c | 61 54 65 58 63 6f 6d 70 |\emph{\L|aTeXcomp|
|00001c80| 7d 2e 20 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 73 |}. For |examples|
|00001c90| 20 6f 66 20 69 74 73 0a | 75 73 65 2c 20 6c 6f 6f | of its.|use, loo|
|00001ca0| 6b 20 61 74 20 74 68 65 | 20 7c 2e 64 74 78 7c 20 |k at the| |.dtx| |
|00001cb0| 66 69 6c 65 73 2e 0a 0a | 5c 73 75 62 73 65 63 74 |files...|\subsect|
|00001cc0| 69 6f 6e 7b 49 73 20 69 | 74 20 61 20 63 6c 61 73 |ion{Is i|t a clas|
|00001cd0| 73 20 6f 72 20 61 20 70 | 61 63 6b 61 67 65 3f 7d |s or a p|ackage?}|
|00001ce0| 0a 5c 6c 61 62 65 6c 7b | 53 65 63 3a 63 6c 61 73 |.\label{|Sec:clas|
|00001cf0| 73 6f 72 70 6b 67 7d 0a | 20 0a 54 68 65 20 66 69 |sorpkg}.| .The fi|
|00001d00| 72 73 74 20 74 68 69 6e | 67 20 74 6f 20 64 6f 20 |rst thin|g to do |
|00001d10| 77 68 65 6e 20 79 6f 75 | 20 77 61 6e 74 20 74 6f |when you| want to|
|00001d20| 20 70 75 74 20 73 6f 6d | 65 20 6e 65 77 20 5c 4c | put som|e new \L|
|00001d30| 61 54 65 58 7b 7d 20 63 | 6f 6d 6d 61 6e 64 73 0a |aTeX{} c|ommands.|
|00001d40| 69 6e 20 61 20 66 69 6c | 65 20 69 73 20 74 6f 20 |in a fil|e is to |
|00001d50| 64 65 63 69 64 65 20 77 | 68 65 74 68 65 72 20 69 |decide w|hether i|
|00001d60| 74 20 73 68 6f 75 6c 64 | 20 62 65 20 61 20 5c 65 |t should| be a \e|
|00001d70| 6d 70 68 7b 64 6f 63 75 | 6d 65 6e 74 20 63 6c 61 |mph{docu|ment cla|
|00001d80| 73 73 7d 20 6f 72 20 61 | 0a 5c 65 6d 70 68 7b 70 |ss} or a|.\emph{p|
|00001d90| 61 63 6b 61 67 65 7d 2e | 20 20 54 68 65 20 72 75 |ackage}.| The ru|
|00001da0| 6c 65 20 6f 66 20 74 68 | 75 6d 62 20 69 73 3a 0a |le of th|umb is:.|
|00001db0| 5c 62 65 67 69 6e 7b 71 | 75 6f 74 65 7d 0a 20 20 |\begin{q|uote}. |
|00001dc0| 49 66 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 73 20 |If the c|ommands |
|00001dd0| 63 6f 75 6c 64 20 62 65 | 20 75 73 65 64 20 77 69 |could be| used wi|
|00001de0| 74 68 20 61 6e 79 20 64 | 6f 63 75 6d 65 6e 74 20 |th any d|ocument |
|00001df0| 63 6c 61 73 73 2c 20 74 | 68 65 6e 20 6d 61 6b 65 |class, t|hen make|
|00001e00| 0a 20 20 74 68 65 6d 20 | 61 20 70 61 63 6b 61 67 |. them |a packag|
|00001e10| 65 3b 20 61 6e 64 20 69 | 66 20 6e 6f 74 2c 20 74 |e; and i|f not, t|
|00001e20| 68 65 6e 20 6d 61 6b 65 | 20 74 68 65 6d 20 61 20 |hen make| them a |
|00001e30| 63 6c 61 73 73 2e 0a 5c | 65 6e 64 7b 71 75 6f 74 |class..\|end{quot|
|00001e40| 65 7d 0a 0a 54 68 65 72 | 65 20 61 72 65 20 74 77 |e}..Ther|e are tw|
|00001e50| 6f 20 6d 61 6a 6f 72 20 | 74 79 70 65 73 20 6f 66 |o major |types of|
|00001e60| 20 63 6c 61 73 73 3a 20 | 74 68 6f 73 65 20 6c 69 | class: |those li|
|00001e70| 6b 65 20 7c 61 72 74 69 | 63 6c 65 7c 2c 20 7c 72 |ke |arti|cle|, |r|
|00001e80| 65 70 6f 72 74 7c 20 6f | 72 0a 7c 6c 65 74 74 65 |eport| o|r.|lette|
|00001e90| 72 7c 2c 20 77 68 69 63 | 68 20 61 72 65 20 66 72 |r|, whic|h are fr|
|00001ea0| 65 65 2d 73 74 61 6e 64 | 69 6e 67 3b 20 61 6e 64 |ee-stand|ing; and|
|00001eb0| 20 74 68 6f 73 65 20 77 | 68 69 63 68 20 61 72 65 | those w|hich are|
|00001ec0| 20 65 78 74 65 6e 73 69 | 6f 6e 73 20 6f 72 0a 76 | extensi|ons or.v|
|00001ed0| 61 72 69 61 74 69 6f 6e | 73 20 6f 66 20 6f 74 68 |ariation|s of oth|
|00001ee0| 65 72 20 63 6c 61 73 73 | 65 73 2d 2d 2d 66 6f 72 |er class|es---for|
|00001ef0| 20 65 78 61 6d 70 6c 65 | 2c 20 74 68 65 20 7c 70 | example|, the |p|
|00001f00| 72 6f 63 7c 20 64 6f 63 | 75 6d 65 6e 74 20 63 6c |roc| doc|ument cl|
|00001f10| 61 73 73 2c 0a 77 68 69 | 63 68 20 69 73 20 62 75 |ass,.whi|ch is bu|
|00001f20| 69 6c 74 20 6f 6e 20 74 | 68 65 20 7c 61 72 74 69 |ilt on t|he |arti|
|00001f30| 63 6c 65 7c 20 64 6f 63 | 75 6d 65 6e 74 20 63 6c |cle| doc|ument cl|
|00001f40| 61 73 73 2e 0a 0a 54 68 | 75 73 2c 20 61 20 63 6f |ass...Th|us, a co|
|00001f50| 6d 70 61 6e 79 20 6d 69 | 67 68 74 20 68 61 76 65 |mpany mi|ght have|
|00001f60| 20 61 20 6c 6f 63 61 6c | 20 7c 6f 77 6e 6c 65 74 | a local| |ownlet|
|00001f70| 7c 20 63 6c 61 73 73 20 | 66 6f 72 20 70 72 69 6e || class |for prin|
|00001f80| 74 69 6e 67 20 6c 65 74 | 74 65 72 73 0a 77 69 74 |ting let|ters.wit|
|00001f90| 68 20 74 68 65 69 72 20 | 6f 77 6e 20 68 65 61 64 |h their |own head|
|00001fa0| 65 64 20 6e 6f 74 65 70 | 61 70 65 72 2e 20 20 53 |ed notep|aper. S|
|00001fb0| 75 63 68 20 61 20 63 6c | 61 73 73 20 77 6f 75 6c |uch a cl|ass woul|
|00001fc0| 64 20 62 75 69 6c 64 20 | 6f 6e 20 74 6f 70 20 6f |d build |on top o|
|00001fd0| 66 0a 74 68 65 20 65 78 | 69 73 74 69 6e 67 20 7c |f.the ex|isting ||
|00001fe0| 6c 65 74 74 65 72 7c 20 | 63 6c 61 73 73 20 62 75 |letter| |class bu|
|00001ff0| 74 20 69 74 20 63 61 6e | 6e 6f 74 20 62 65 20 75 |t it can|not be u|
|00002000| 73 65 64 20 77 69 74 68 | 20 61 6e 79 20 6f 74 68 |sed with| any oth|
|00002010| 65 72 0a 64 6f 63 75 6d | 65 6e 74 20 63 6c 61 73 |er.docum|ent clas|
|00002020| 73 2c 20 73 6f 20 77 65 | 20 68 61 76 65 20 7c 6f |s, so we| have |o|
|00002030| 77 6e 6c 65 74 2e 63 6c | 73 7c 20 72 61 74 68 65 |wnlet.cl|s| rathe|
|00002040| 72 20 74 68 61 6e 20 7c | 6f 77 6e 6c 65 74 2e 73 |r than ||ownlet.s|
|00002050| 74 79 7c 2e 0a 20 0a 54 | 68 65 20 7c 67 72 61 70 |ty|.. .T|he |grap|
|00002060| 68 69 63 73 7c 20 70 61 | 63 6b 61 67 65 2c 20 69 |hics| pa|ckage, i|
|00002070| 6e 20 63 6f 6e 74 72 61 | 73 74 2c 20 70 72 6f 76 |n contra|st, prov|
|00002080| 69 64 65 73 20 63 6f 6d | 6d 61 6e 64 73 20 66 6f |ides com|mands fo|
|00002090| 72 20 69 6e 63 6c 75 64 | 69 6e 67 0a 69 6d 61 67 |r includ|ing.imag|
|000020a0| 65 73 20 69 6e 74 6f 20 | 61 20 5c 4c 61 54 65 58 |es into |a \LaTeX|
|000020b0| 7b 7d 20 64 6f 63 75 6d | 65 6e 74 2e 20 20 53 69 |{} docum|ent. Si|
|000020c0| 6e 63 65 20 74 68 65 73 | 65 20 63 6f 6d 6d 61 6e |nce thes|e comman|
|000020d0| 64 73 20 63 61 6e 20 62 | 65 20 75 73 65 64 0a 77 |ds can b|e used.w|
|000020e0| 69 74 68 20 61 6e 79 20 | 64 6f 63 75 6d 65 6e 74 |ith any |document|
|000020f0| 20 63 6c 61 73 73 2c 20 | 77 65 20 68 61 76 65 20 | class, |we have |
|00002100| 7c 67 72 61 70 68 69 63 | 73 2e 73 74 79 7c 20 72 ||graphic|s.sty| r|
|00002110| 61 74 68 65 72 20 74 68 | 61 6e 0a 7c 67 72 61 70 |ather th|an.|grap|
|00002120| 68 69 63 73 2e 63 6c 73 | 7c 2e 0a 20 0a 0a 5c 73 |hics.cls||.. ..\s|
|00002130| 75 62 73 65 63 74 69 6f | 6e 7b 43 6f 6d 6d 61 6e |ubsectio|n{Comman|
|00002140| 64 20 6e 61 6d 65 73 7d | 0a 20 0a 5c 4c 61 54 65 |d names}|. .\LaTe|
|00002150| 58 7b 7d 20 68 61 73 20 | 74 68 72 65 65 20 74 79 |X{} has |three ty|
|00002160| 70 65 73 20 6f 66 20 63 | 6f 6d 6d 61 6e 64 2e 0a |pes of c|ommand..|
|00002170| 20 0a 54 68 65 72 65 20 | 61 72 65 20 74 68 65 20 | .There |are the |
|00002180| 61 75 74 68 6f 72 20 63 | 6f 6d 6d 61 6e 64 73 2c |author c|ommands,|
|00002190| 20 73 75 63 68 20 61 73 | 20 7c 5c 73 65 63 74 69 | such as| |\secti|
|000021a0| 6f 6e 7c 2c 20 7c 5c 65 | 6d 70 68 7c 20 61 6e 64 |on|, |\e|mph| and|
|000021b0| 0a 7c 5c 74 69 6d 65 73 | 7c 3a 20 20 6d 6f 73 74 |.|\times||: most|
|000021c0| 20 6f 66 20 74 68 65 73 | 65 20 68 61 76 65 20 73 | of thes|e have s|
|000021d0| 68 6f 72 74 20 6e 61 6d | 65 73 2c 20 61 6c 6c 20 |hort nam|es, all |
|000021e0| 69 6e 20 6c 6f 77 65 72 | 20 63 61 73 65 2e 0a 20 |in lower| case.. |
|000021f0| 0a 54 68 65 72 65 20 61 | 72 65 20 74 68 65 20 63 |.There a|re the c|
|00002200| 6c 61 73 73 20 61 6e 64 | 20 70 61 63 6b 61 67 65 |lass and| package|
|00002210| 20 77 72 69 74 65 72 20 | 63 6f 6d 6d 61 6e 64 73 | writer |commands|
|00002220| 3a 0a 6d 6f 73 74 20 6f | 66 20 74 68 65 73 65 20 |:.most o|f these |
|00002230| 68 61 76 65 20 6c 6f 6e | 67 20 6d 69 78 65 64 2d |have lon|g mixed-|
|00002240| 63 61 73 65 20 6e 61 6d | 65 73 20 73 75 63 68 20 |case nam|es such |
|00002250| 61 73 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |as the f|ollowing|
|00002260| 2e 0a 5c 62 65 67 69 6e | 7b 76 65 72 62 61 74 69 |..\begin|{verbati|
|00002270| 6d 7d 0a 20 20 20 5c 49 | 6e 70 75 74 49 66 46 69 |m}. \I|nputIfFi|
|00002280| 6c 65 45 78 69 73 74 73 | 20 20 5c 52 65 71 75 69 |leExists| \Requi|
|00002290| 72 65 50 61 63 6b 61 67 | 65 20 20 5c 50 61 73 73 |rePackag|e \Pass|
|000022a0| 4f 70 74 69 6f 6e 73 54 | 6f 43 6c 61 73 73 0a 5c |OptionsT|oClass.\|
|000022b0| 65 6e 64 7b 76 65 72 62 | 61 74 69 6d 7d 0a 20 0a |end{verb|atim}. .|
|000022c0| 46 69 6e 61 6c 6c 79 2c | 20 74 68 65 72 65 20 61 |Finally,| there a|
|000022d0| 72 65 20 74 68 65 20 69 | 6e 74 65 72 6e 61 6c 20 |re the i|nternal |
|000022e0| 63 6f 6d 6d 61 6e 64 73 | 20 75 73 65 64 20 69 6e |commands| used in|
|000022f0| 20 74 68 65 20 5c 4c 61 | 54 65 58 7b 7d 0a 69 6d | the \La|TeX{}.im|
|00002300| 70 6c 65 6d 65 6e 74 61 | 74 69 6f 6e 2c 20 73 75 |plementa|tion, su|
|00002310| 63 68 20 61 73 20 7c 5c | 40 74 65 6d 70 63 6e 74 |ch as |\|@tempcnt|
|00002320| 61 7c 2c 20 7c 5c 40 69 | 66 6e 65 78 74 63 68 61 |a|, |\@i|fnextcha|
|00002330| 72 7c 20 61 6e 64 20 7c | 5c 40 65 68 61 7c 3a 0a |r| and ||\@eha|:.|
|00002340| 6d 6f 73 74 20 6f 66 20 | 74 68 65 73 65 20 63 6f |most of |these co|
|00002350| 6d 6d 61 6e 64 73 20 63 | 6f 6e 74 61 69 6e 20 7c |mmands c|ontain ||
|00002360| 40 7c 20 69 6e 20 74 68 | 65 69 72 20 6e 61 6d 65 |@| in th|eir name|
|00002370| 2c 20 77 68 69 63 68 20 | 6d 65 61 6e 73 20 74 68 |, which |means th|
|00002380| 65 79 0a 63 61 6e 6e 6f | 74 20 62 65 20 75 73 65 |ey.canno|t be use|
|00002390| 64 20 69 6e 20 64 6f 63 | 75 6d 65 6e 74 73 2c 20 |d in doc|uments, |
|000023a0| 6f 6e 6c 79 20 69 6e 20 | 63 6c 61 73 73 20 61 6e |only in |class an|
|000023b0| 64 20 70 61 63 6b 61 67 | 65 20 66 69 6c 65 73 2e |d packag|e files.|
|000023c0| 0a 20 0a 55 6e 66 6f 72 | 74 75 6e 61 74 65 6c 79 |. .Unfor|tunately|
|000023d0| 2c 20 66 6f 72 20 68 69 | 73 74 6f 72 69 63 61 6c |, for hi|storical|
|000023e0| 20 72 65 61 73 6f 6e 73 | 20 74 68 65 20 64 69 73 | reasons| the dis|
|000023f0| 74 69 6e 63 74 69 6f 6e | 20 62 65 74 77 65 65 6e |tinction| between|
|00002400| 20 74 68 65 73 65 0a 63 | 6f 6d 6d 61 6e 64 73 20 | these.c|ommands |
|00002410| 69 73 20 6f 66 74 65 6e | 20 62 6c 75 72 72 65 64 |is often| blurred|
|00002420| 2e 20 20 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |. For e|xample, |
|00002430| 7c 5c 68 62 6f 78 7c 20 | 69 73 20 61 6e 20 69 6e ||\hbox| |is an in|
|00002440| 74 65 72 6e 61 6c 0a 63 | 6f 6d 6d 61 6e 64 20 77 |ternal.c|ommand w|
|00002450| 68 69 63 68 20 73 68 6f | 75 6c 64 20 6f 6e 6c 79 |hich sho|uld only|
|00002460| 20 62 65 20 75 73 65 64 | 20 69 6e 20 74 68 65 20 | be used| in the |
|00002470| 5c 4c 61 54 65 58 7b 7d | 20 6b 65 72 6e 65 6c 2c |\LaTeX{}| kernel,|
|00002480| 20 77 68 65 72 65 61 73 | 0a 7c 5c 6d 40 6e 65 7c | whereas|.|\m@ne||
|00002490| 20 69 73 20 74 68 65 20 | 63 6f 6e 73 74 61 6e 74 | is the |constant|
|000024a0| 20 24 2d 31 24 20 61 6e | 64 20 63 6f 75 6c 64 20 | $-1$ an|d could |
|000024b0| 68 61 76 65 20 62 65 65 | 6e 20 7c 5c 4d 69 6e 75 |have bee|n |\Minu|
|000024c0| 73 4f 6e 65 7c 2e 0a 20 | 0a 48 6f 77 65 76 65 72 |sOne|.. |.However|
|000024d0| 2c 20 74 68 69 73 20 72 | 75 6c 65 20 6f 66 20 74 |, this r|ule of t|
|000024e0| 68 75 6d 62 20 69 73 20 | 73 74 69 6c 6c 20 75 73 |humb is |still us|
|000024f0| 65 66 75 6c 3a 20 69 66 | 20 61 20 63 6f 6d 6d 61 |eful: if| a comma|
|00002500| 6e 64 20 68 61 73 20 7c | 40 7c 20 69 6e 0a 69 74 |nd has ||@| in.it|
|00002510| 73 20 6e 61 6d 65 20 74 | 68 65 6e 20 69 74 20 69 |s name t|hen it i|
|00002520| 73 20 6e 6f 74 20 70 61 | 72 74 20 6f 66 20 74 68 |s not pa|rt of th|
|00002530| 65 20 73 75 70 70 6f 72 | 74 65 64 20 5c 4c 61 54 |e suppor|ted \LaT|
|00002540| 65 58 7b 7d 20 6c 61 6e | 67 75 61 67 65 2d 2d 2d |eX{} lan|guage---|
|00002550| 61 6e 64 0a 69 74 73 20 | 62 65 68 61 76 69 6f 75 |and.its |behaviou|
|00002560| 72 20 6d 61 79 20 63 68 | 61 6e 67 65 20 69 6e 20 |r may ch|ange in |
|00002570| 66 75 74 75 72 65 20 72 | 65 6c 65 61 73 65 73 21 |future r|eleases!|
|00002580| 20 20 49 66 20 61 20 63 | 6f 6d 6d 61 6e 64 20 69 | If a c|ommand i|
|00002590| 73 0a 6d 69 78 65 64 2d | 63 61 73 65 2c 20 6f 72 |s.mixed-|case, or|
|000025a0| 20 69 73 20 64 65 73 63 | 72 69 62 65 64 20 69 6e | is desc|ribed in|
|000025b0| 20 5c 65 6d 70 68 7b 5c | 4c 61 54 65 58 62 6f 6f | \emph{\|LaTeXboo|
|000025c0| 6b 7d 2c 20 74 68 65 6e | 20 79 6f 75 20 63 61 6e |k}, then| you can|
|000025d0| 20 72 65 6c 79 20 6f 6e | 0a 66 75 74 75 72 65 20 | rely on|.future |
|000025e0| 72 65 6c 65 61 73 65 73 | 20 6f 66 20 5c 4c 61 54 |releases| of \LaT|
|000025f0| 65 58 65 7b 7d 20 73 75 | 70 70 6f 72 74 69 6e 67 |eXe{} su|pporting|
|00002600| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 2e 0a 20 0a | the com|mand.. .|
|00002610| 5c 73 75 62 73 65 63 74 | 69 6f 6e 7b 42 6f 78 20 |\subsect|ion{Box |
|00002620| 63 6f 6d 6d 61 6e 64 73 | 20 61 6e 64 20 63 6f 6c |commands| and col|
|00002630| 6f 75 72 7d 0a 5c 6c 61 | 62 65 6c 7b 53 65 63 3a |our}.\la|bel{Sec:|
|00002640| 63 6f 6c 6f 75 72 7d 0a | 20 0a 45 76 65 6e 20 69 |colour}.| .Even i|
|00002650| 66 20 79 6f 75 20 64 6f | 20 6e 6f 74 20 69 6e 74 |f you do| not int|
|00002660| 65 6e 64 20 74 6f 20 75 | 73 65 20 63 6f 6c 6f 75 |end to u|se colou|
|00002670| 72 20 69 6e 20 79 6f 75 | 72 20 6f 77 6e 20 64 6f |r in you|r own do|
|00002680| 63 75 6d 65 6e 74 73 2c | 20 62 79 0a 74 61 6b 69 |cuments,| by.taki|
|00002690| 6e 67 20 6e 6f 74 65 20 | 6f 66 20 74 68 65 20 70 |ng note |of the p|
|000026a0| 6f 69 6e 74 73 20 69 6e | 20 74 68 69 73 20 73 65 |oints in| this se|
|000026b0| 63 74 69 6f 6e 20 79 6f | 75 20 63 61 6e 20 65 6e |ction yo|u can en|
|000026c0| 73 75 72 65 20 74 68 61 | 74 20 79 6f 75 72 0a 63 |sure tha|t your.c|
|000026d0| 6c 61 73 73 20 6f 72 20 | 70 61 63 6b 61 67 65 20 |lass or |package |
|000026e0| 69 73 20 63 6f 6d 70 61 | 74 69 62 6c 65 20 77 69 |is compa|tible wi|
|000026f0| 74 68 20 74 68 65 20 7c | 63 6f 6c 6f 72 7c 20 70 |th the ||color| p|
|00002700| 61 63 6b 61 67 65 2e 20 | 54 68 69 73 20 6d 61 79 |ackage. |This may|
|00002710| 0a 62 65 6e 65 66 69 74 | 20 70 65 6f 70 6c 65 20 |.benefit| people |
|00002720| 75 73 69 6e 67 20 79 6f | 75 72 20 63 6c 61 73 73 |using yo|ur class|
|00002730| 20 6f 72 20 70 61 63 6b | 61 67 65 20 77 68 6f 20 | or pack|age who |
|00002740| 68 61 76 65 20 61 63 63 | 65 73 73 20 74 6f 20 63 |have acc|ess to c|
|00002750| 6f 6c 6f 75 72 0a 70 72 | 69 6e 74 65 72 73 2e 0a |olour.pr|inters..|
|00002760| 20 0a 54 68 65 20 73 69 | 6d 70 6c 65 73 74 20 77 | .The si|mplest w|
|00002770| 61 79 20 74 6f 20 65 6e | 73 75 72 65 20 60 63 6f |ay to en|sure `co|
|00002780| 6c 6f 75 72 20 73 61 66 | 65 74 79 27 20 69 73 20 |lour saf|ety' is |
|00002790| 74 6f 20 61 6c 77 61 79 | 73 20 75 73 65 20 5c 4c |to alway|s use \L|
|000027a0| 61 54 65 58 7b 7d 0a 62 | 6f 78 20 63 6f 6d 6d 61 |aTeX{}.b|ox comma|
|000027b0| 6e 64 73 20 72 61 74 68 | 65 72 20 74 68 61 6e 20 |nds rath|er than |
|000027c0| 5c 54 65 58 7b 7d 20 70 | 72 69 6d 69 74 69 76 65 |\TeX{} p|rimitive|
|000027d0| 73 2c 20 74 68 61 74 20 | 69 73 20 75 73 65 20 7c |s, that |is use ||
|000027e0| 5c 73 62 6f 78 7c 20 72 | 61 74 68 65 72 0a 74 68 |\sbox| r|ather.th|
|000027f0| 61 6e 20 7c 5c 73 65 74 | 62 6f 78 7c 2c 20 7c 5c |an |\set|box|, |\|
|00002800| 6d 62 6f 78 7c 20 72 61 | 74 68 65 72 20 74 68 61 |mbox| ra|ther tha|
|00002810| 6e 20 7c 5c 68 62 6f 78 | 7c 20 61 6e 64 20 7c 5c |n |\hbox|| and |\|
|00002820| 70 61 72 62 6f 78 7c 20 | 6f 72 0a 7c 5c 6d 69 6e |parbox| |or.|\min|
|00002830| 69 70 61 67 65 7c 20 72 | 61 74 68 65 72 20 74 68 |ipage| r|ather th|
|00002840| 61 6e 20 7c 5c 76 62 6f | 78 7c 2e 20 20 54 68 65 |an |\vbo|x|. The|
|00002850| 20 5c 4c 61 54 65 58 7b | 7d 20 62 6f 78 20 63 6f | \LaTeX{|} box co|
|00002860| 6d 6d 61 6e 64 73 20 68 | 61 76 65 20 6e 65 77 0a |mmands h|ave new.|
|00002870| 6f 70 74 69 6f 6e 73 20 | 77 68 69 63 68 20 6d 65 |options |which me|
|00002880| 61 6e 20 74 68 61 74 20 | 74 68 65 79 20 61 72 65 |an that |they are|
|00002890| 20 6e 6f 77 20 61 73 20 | 70 6f 77 65 72 66 75 6c | now as |powerful|
|000028a0| 20 61 73 20 74 68 65 20 | 5c 54 65 58 7b 7d 0a 70 | as the |\TeX{}.p|
|000028b0| 72 69 6d 69 74 69 76 65 | 73 2e 0a 20 0a 41 73 20 |rimitive|s.. .As |
|000028c0| 61 6e 20 65 78 61 6d 70 | 6c 65 20 6f 66 20 77 68 |an examp|le of wh|
|000028d0| 61 74 20 63 61 6e 20 67 | 6f 20 77 72 6f 6e 67 2c |at can g|o wrong,|
|000028e0| 20 63 6f 6e 73 69 64 65 | 72 20 74 68 61 74 20 69 | conside|r that i|
|000028f0| 6e 20 0a 7c 7b 5c 74 74 | 66 61 6d 69 6c 79 20 3c |n .|{\tt|family <|
|00002900| 74 65 78 74 3e 7d 7c 0a | 74 68 65 20 66 6f 6e 74 |text>}|.|the font|
|00002910| 20 69 73 20 72 65 73 74 | 6f 72 65 64 20 6a 75 73 | is rest|ored jus|
|00002920| 74 20 5c 65 6d 70 68 7b | 62 65 66 6f 72 65 7d 20 |t \emph{|before} |
|00002930| 74 68 65 20 7c 7d 7c 2c | 20 77 68 65 72 65 61 73 |the |}|,| whereas|
|00002940| 20 69 6e 20 74 68 65 0a | 73 69 6d 69 6c 61 72 20 | in the.|similar |
|00002950| 6c 6f 6f 6b 69 6e 67 20 | 63 6f 6e 73 74 72 75 63 |looking |construc|
|00002960| 74 69 6f 6e 0a 7c 7b 5c | 63 6f 6c 6f 72 7b 67 72 |tion.|{\|color{gr|
|00002970| 65 65 6e 7d 20 3c 74 65 | 78 74 3e 7d 7c 0a 74 68 |een} <te|xt>}|.th|
|00002980| 65 20 63 6f 6c 6f 75 72 | 20 69 73 20 72 65 73 74 |e colour| is rest|
|00002990| 6f 72 65 64 20 6a 75 73 | 74 20 5c 65 6d 70 68 7b |ored jus|t \emph{|
|000029a0| 61 66 74 65 72 7d 20 74 | 68 65 20 66 69 6e 61 6c |after} t|he final|
|000029b0| 20 7c 7d 7c 2e 20 4e 6f | 72 6d 61 6c 6c 79 20 74 | |}|. No|rmally t|
|000029c0| 68 69 73 0a 64 69 73 74 | 69 6e 63 74 69 6f 6e 20 |his.dist|inction |
|000029d0| 64 6f 65 73 20 6e 6f 74 | 20 6d 61 74 74 65 72 20 |does not| matter |
|000029e0| 61 74 20 61 6c 6c 3b 20 | 62 75 74 20 63 6f 6e 73 |at all; |but cons|
|000029f0| 69 64 65 72 20 61 20 70 | 72 69 6d 69 74 69 76 65 |ider a p|rimitive|
|00002a00| 20 5c 54 65 58 7b 7d 0a | 62 6f 78 20 61 73 73 69 | \TeX{}.|box assi|
|00002a10| 67 6e 6d 65 6e 74 20 73 | 75 63 68 20 61 73 3a 0a |gnment s|uch as:.|
|00002a20| 5c 62 65 67 69 6e 7b 76 | 65 72 62 61 74 69 6d 7d |\begin{v|erbatim}|
|00002a30| 0a 20 20 20 5c 73 65 74 | 62 6f 78 30 3d 5c 68 62 |. \set|box0=\hb|
|00002a40| 6f 78 7b 5c 63 6f 6c 6f | 72 7b 67 72 65 65 6e 7d |ox{\colo|r{green}|
|00002a50| 20 3c 74 65 78 74 3e 7d | 0a 5c 65 6e 64 7b 76 65 | <text>}|.\end{ve|
|00002a60| 72 62 61 74 69 6d 7d 0a | 4e 6f 77 20 74 68 65 20 |rbatim}.|Now the |
|00002a70| 63 6f 6c 6f 75 72 2d 72 | 65 73 74 6f 72 65 20 6f |colour-r|estore o|
|00002a80| 63 63 75 72 73 20 61 66 | 74 65 72 20 74 68 65 20 |ccurs af|ter the |
|00002a90| 7c 7d 7c 20 61 6e 64 20 | 73 6f 20 69 73 20 5c 65 ||}| and |so is \e|
|00002aa0| 6d 70 68 7b 6e 6f 74 7d | 0a 73 74 6f 72 65 64 20 |mph{not}|.stored |
|00002ab0| 69 6e 20 74 68 65 20 62 | 6f 78 2e 20 45 78 61 63 |in the b|ox. Exac|
|00002ac0| 74 6c 79 20 77 68 61 74 | 20 62 61 64 20 65 66 66 |tly what| bad eff|
|00002ad0| 65 63 74 73 20 74 68 69 | 73 20 63 61 6e 20 68 61 |ects thi|s can ha|
|00002ae0| 76 65 20 64 65 70 65 6e | 64 73 20 6f 6e 0a 68 6f |ve depen|ds on.ho|
|00002af0| 77 20 63 6f 6c 6f 75 72 | 20 69 73 20 69 6d 70 6c |w colour| is impl|
|00002b00| 65 6d 65 6e 74 65 64 3a | 20 69 74 20 63 61 6e 20 |emented:| it can |
|00002b10| 72 61 6e 67 65 20 66 72 | 6f 6d 20 67 65 74 74 69 |range fr|om getti|
|00002b20| 6e 67 20 74 68 65 20 77 | 72 6f 6e 67 0a 63 6f 6c |ng the w|rong.col|
|00002b30| 6f 75 72 73 20 69 6e 20 | 74 68 65 20 72 65 73 74 |ours in |the rest|
|00002b40| 20 6f 66 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 | of the |document|
|00002b50| 2c 20 74 6f 20 63 61 75 | 73 69 6e 67 20 65 72 72 |, to cau|sing err|
|00002b60| 6f 72 73 20 69 6e 20 74 | 68 65 0a 64 76 69 2d 64 |ors in t|he.dvi-d|
|00002b70| 72 69 76 65 72 20 75 73 | 65 64 20 74 6f 20 70 72 |river us|ed to pr|
|00002b80| 69 6e 74 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 |int the |document|
|00002b90| 2e 0a 20 0a 41 6c 73 6f | 20 6f 66 20 69 6e 74 65 |.. .Also| of inte|
|00002ba0| 72 65 73 74 20 69 73 20 | 74 68 65 20 63 6f 6d 6d |rest is |the comm|
|00002bb0| 61 6e 64 20 7c 5c 6e 6f | 72 6d 61 6c 63 6f 6c 6f |and |\no|rmalcolo|
|00002bc0| 72 7c 2e 20 20 20 54 68 | 69 73 20 69 73 20 0a 6e |r|. Th|is is .n|
|00002bd0| 6f 72 6d 61 6c 6c 79 20 | 6a 75 73 74 20 7c 5c 72 |ormally |just |\r|
|00002be0| 65 6c 61 78 7c 20 28 69 | 2e 65 2e 2c 20 64 6f 65 |elax| (i|.e., doe|
|00002bf0| 73 20 6e 6f 74 68 69 6e | 67 29 0a 62 75 74 20 79 |s nothin|g).but y|
|00002c00| 6f 75 20 63 61 6e 20 75 | 73 65 20 69 74 20 72 61 |ou can u|se it ra|
|00002c10| 74 68 65 72 20 6c 69 6b | 65 20 7c 5c 6e 6f 72 6d |ther lik|e |\norm|
|00002c20| 61 6c 66 6f 6e 74 7c 20 | 74 6f 20 0a 73 65 74 20 |alfont| |to .set |
|00002c30| 72 65 67 69 6f 6e 73 20 | 6f 66 20 74 68 65 20 70 |regions |of the p|
|00002c40| 61 67 65 20 73 75 63 68 | 20 61 73 20 63 61 70 74 |age such| as capt|
|00002c50| 69 6f 6e 73 20 6f 72 20 | 73 65 63 74 69 6f 6e 20 |ions or |section |
|00002c60| 68 65 61 64 69 6e 67 73 | 20 74 6f 20 74 68 65 20 |headings| to the |
|00002c70| 0a 60 6d 61 69 6e 20 64 | 6f 63 75 6d 65 6e 74 20 |.`main d|ocument |
|00002c80| 63 6f 6c 6f 75 72 27 2e | 0a 0a 0a 5c 73 75 62 73 |colour'.|...\subs|
|00002c90| 65 63 74 69 6f 6e 7b 44 | 65 66 69 6e 69 6e 67 20 |ection{D|efining |
|00002ca0| 74 65 78 74 20 61 6e 64 | 20 6d 61 74 68 20 63 68 |text and| math ch|
|00002cb0| 61 72 61 63 74 65 72 73 | 7d 0a 5c 6c 61 62 65 6c |aracters|}.\label|
|00002cc0| 7b 53 65 63 3a 63 68 61 | 72 73 7d 0a 0a 42 65 63 |{Sec:cha|rs}..Bec|
|00002cd0| 61 75 73 65 20 5c 4c 61 | 54 65 58 65 7b 7d 20 73 |ause \La|TeXe{} s|
|00002ce0| 75 70 70 6f 72 74 73 20 | 64 69 66 66 65 72 65 6e |upports |differen|
|00002cf0| 74 20 65 6e 63 6f 64 69 | 6e 67 73 2c 20 64 65 66 |t encodi|ngs, def|
|00002d00| 69 6e 69 74 69 6f 6e 73 | 20 6f 66 20 63 6f 6d 6d |initions| of comm|
|00002d10| 61 6e 64 73 0a 66 6f 72 | 20 70 72 6f 64 75 63 69 |ands.for| produci|
|00002d20| 6e 67 20 73 79 6d 62 6f | 6c 73 2c 20 61 63 63 65 |ng symbo|ls, acce|
|00002d30| 6e 74 73 2c 20 63 6f 6d | 70 6f 73 69 74 65 20 67 |nts, com|posite g|
|00002d40| 6c 79 70 68 73 2c 20 65 | 74 63 2e 5c 20 6d 75 73 |lyphs, e|tc.\ mus|
|00002d50| 74 20 62 65 0a 64 65 66 | 69 6e 65 64 20 75 73 69 |t be.def|ined usi|
|00002d60| 6e 67 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 73 20 |ng the c|ommands |
|00002d70| 70 72 6f 76 69 64 65 64 | 20 66 6f 72 20 74 68 69 |provided| for thi|
|00002d80| 73 20 70 75 72 70 6f 73 | 65 20 61 6e 64 20 64 65 |s purpos|e and de|
|00002d90| 73 63 72 69 62 65 64 20 | 69 6e 0a 5c 65 6d 70 68 |scribed |in.\emph|
|00002da0| 7b 5c 66 6e 74 67 75 69 | 64 65 7d 2e 20 20 54 68 |{\fntgui|de}. Th|
|00002db0| 69 73 20 70 61 72 74 20 | 6f 66 20 74 68 65 20 73 |is part |of the s|
|00002dc0| 79 73 74 65 6d 20 69 73 | 20 73 74 69 6c 6c 20 75 |ystem is| still u|
|00002dd0| 6e 64 65 72 20 64 65 76 | 65 6c 6f 70 6d 65 6e 74 |nder dev|elopment|
|00002de0| 0a 73 6f 20 73 75 63 68 | 20 74 61 73 6b 73 20 73 |.so such| tasks s|
|00002df0| 68 6f 75 6c 64 20 62 65 | 20 75 6e 64 65 72 74 61 |hould be| underta|
|00002e00| 6b 65 6e 20 77 69 74 68 | 20 67 72 65 61 74 20 63 |ken with| great c|
|00002e10| 61 75 74 69 6f 6e 2e 0a | 0a 41 6c 73 6f 2c 20 7c |aution..|.Also, ||
|00002e20| 5c 44 65 63 6c 61 72 65 | 52 6f 62 75 73 74 43 6f |\Declare|RobustCo|
|00002e30| 6d 6d 61 6e 64 7c 20 73 | 68 6f 75 6c 64 20 62 65 |mmand| s|hould be|
|00002e40| 20 75 73 65 64 20 66 6f | 72 20 65 6e 63 6f 64 69 | used fo|r encodi|
|00002e50| 6e 67 2d 69 6e 64 65 70 | 65 6e 64 65 6e 74 0a 63 |ng-indep|endent.c|
|00002e60| 6f 6d 6d 61 6e 64 73 20 | 6f 66 20 74 68 69 73 20 |ommands |of this |
|00002e70| 74 79 70 65 2e 0a 0a 4e | 6f 74 65 20 74 68 61 74 |type...N|ote that|
|00002e80| 20 69 74 20 69 73 20 6e | 6f 20 6c 6f 6e 67 65 72 | it is n|o longer|
|00002e90| 20 70 6f 73 73 69 62 6c | 65 20 74 6f 20 72 65 66 | possibl|e to ref|
|00002ea0| 65 72 20 74 6f 20 74 68 | 65 20 6d 61 74 68 20 66 |er to th|e math f|
|00002eb0| 6f 6e 74 20 73 65 74 2d | 75 70 0a 6f 75 74 73 69 |ont set-|up.outsi|
|00002ec0| 64 65 20 6d 61 74 68 20 | 6d 6f 64 65 3a 20 66 6f |de math |mode: fo|
|00002ed0| 72 20 65 78 61 6d 70 6c | 65 2c 20 6e 65 69 74 68 |r exampl|e, neith|
|00002ee0| 65 72 20 7c 5c 74 65 78 | 74 66 6f 6e 74 20 31 7c |er |\tex|tfont 1||
|00002ef0| 20 6e 6f 72 0a 7c 5c 73 | 63 72 69 70 74 66 6f 6e | nor.|\s|criptfon|
|00002f00| 74 20 32 7c 20 61 72 65 | 20 67 75 61 72 61 6e 74 |t 2| are| guarant|
|00002f10| 65 65 64 20 74 6f 20 62 | 65 20 64 65 66 69 6e 65 |eed to b|e define|
|00002f20| 64 20 69 6e 20 6f 74 68 | 65 72 20 6d 6f 64 65 73 |d in oth|er modes|
|00002f30| 2e 0a 0a 0a 5c 73 75 62 | 73 65 63 74 69 6f 6e 7b |....\sub|section{|
|00002f40| 47 65 6e 65 72 61 6c 20 | 73 74 79 6c 65 7d 0a 5c |General |style}.\|
|00002f50| 6c 61 62 65 6c 7b 53 65 | 63 3a 67 65 6e 65 72 61 |label{Se|c:genera|
|00002f60| 6c 7d 0a 0a 54 68 65 20 | 6e 65 77 20 73 79 73 74 |l}..The |new syst|
|00002f70| 65 6d 20 70 72 6f 76 69 | 64 65 73 20 6d 61 6e 79 |em provi|des many|
|00002f80| 20 63 6f 6d 6d 61 6e 64 | 73 20 64 65 73 69 67 6e | command|s design|
|00002f90| 65 64 20 74 6f 20 68 65 | 6c 70 20 79 6f 75 20 70 |ed to he|lp you p|
|00002fa0| 72 6f 64 75 63 65 0a 77 | 65 6c 6c 2d 73 74 72 75 |roduce.w|ell-stru|
|00002fb0| 63 74 75 72 65 64 20 63 | 6c 61 73 73 20 61 6e 64 |ctured c|lass and|
|00002fc0| 20 70 61 63 6b 61 67 65 | 20 66 69 6c 65 73 20 74 | package| files t|
|00002fd0| 68 61 74 20 61 72 65 20 | 62 6f 74 68 20 72 6f 62 |hat are |both rob|
|00002fe0| 75 73 74 20 61 6e 64 0a | 70 6f 72 74 61 62 6c 65 |ust and.|portable|
|00002ff0| 2e 20 20 54 68 69 73 20 | 73 65 63 74 69 6f 6e 20 |. This |section |
|00003000| 6f 75 74 6c 69 6e 65 73 | 20 73 6f 6d 65 20 77 61 |outlines| some wa|
|00003010| 79 73 20 74 6f 20 6d 61 | 6b 65 20 69 6e 74 65 6c |ys to ma|ke intel|
|00003020| 6c 69 67 65 6e 74 20 75 | 73 65 20 6f 66 0a 74 68 |ligent u|se of.th|
|00003030| 65 73 65 2e 20 0a 0a 5c | 73 75 62 73 75 62 73 65 |ese. ..\|subsubse|
|00003040| 63 74 69 6f 6e 7b 4c 6f | 61 64 69 6e 67 20 6f 74 |ction{Lo|ading ot|
|00003050| 68 65 72 20 66 69 6c 65 | 73 7d 0a 5c 6c 61 62 65 |her file|s}.\labe|
|00003060| 6c 7b 53 65 63 3a 6c 6f | 61 64 69 6e 67 7d 0a 20 |l{Sec:lo|ading}. |
|00003070| 0a 5c 4c 61 54 65 58 7b | 7d 20 70 72 6f 76 69 64 |.\LaTeX{|} provid|
|00003080| 65 73 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 73 20 |es the c|ommands |
|00003090| 7c 5c 4c 6f 61 64 43 6c | 61 73 73 7c 20 61 6e 64 ||\LoadCl|ass| and|
|000030a0| 20 7c 5c 52 65 71 75 69 | 72 65 50 61 63 6b 61 67 | |\Requi|rePackag|
|000030b0| 65 7c 20 66 6f 72 0a 75 | 73 69 6e 67 20 63 6c 61 |e| for.u|sing cla|
|000030c0| 73 73 65 73 20 6f 72 20 | 70 61 63 6b 61 67 65 73 |sses or |packages|
|000030d0| 20 69 6e 73 69 64 65 20 | 6f 74 68 65 72 20 63 6c | inside |other cl|
|000030e0| 61 73 73 65 73 20 6f 72 | 20 70 61 63 6b 61 67 65 |asses or| package|
|000030f0| 73 2e 20 20 57 65 0a 72 | 65 63 6f 6d 6d 65 6e 64 |s. We.r|ecommend|
|00003100| 20 73 74 72 6f 6e 67 6c | 79 20 74 68 61 74 20 79 | strongl|y that y|
|00003110| 6f 75 20 75 73 65 20 74 | 68 65 6d 2c 20 72 61 74 |ou use t|hem, rat|
|00003120| 68 65 72 20 74 68 61 6e | 20 74 68 65 20 70 72 69 |her than| the pri|
|00003130| 6d 69 74 69 76 65 0a 7c | 5c 69 6e 70 75 74 7c 20 |mitive.||\input| |
|00003140| 63 6f 6d 6d 61 6e 64 2c | 20 66 6f 72 20 61 20 6e |command,| for a n|
|00003150| 75 6d 62 65 72 20 6f 66 | 20 72 65 61 73 6f 6e 73 |umber of| reasons|
|00003160| 2e 0a 20 0a 46 69 6c 65 | 73 20 6c 6f 61 64 65 64 |.. .File|s loaded|
|00003170| 20 77 69 74 68 20 7c 5c | 69 6e 70 75 74 20 3c 66 | with |\|input <f|
|00003180| 69 6c 65 6e 61 6d 65 3e | 7c 20 77 69 6c 6c 20 6e |ilename>|| will n|
|00003190| 6f 74 20 62 65 20 6c 69 | 73 74 65 64 20 69 6e 20 |ot be li|sted in |
|000031a0| 74 68 65 0a 7c 5c 6c 69 | 73 74 66 69 6c 65 73 7c |the.|\li|stfiles||
|000031b0| 20 6c 69 73 74 2e 0a 20 | 0a 49 66 20 61 20 70 61 | list.. |.If a pa|
|000031c0| 63 6b 61 67 65 20 69 73 | 20 61 6c 77 61 79 73 20 |ckage is| always |
|000031d0| 6c 6f 61 64 65 64 20 77 | 69 74 68 20 7c 5c 52 65 |loaded w|ith |\Re|
|000031e0| 71 75 69 72 65 50 61 63 | 6b 61 67 65 7c 20 6f 72 |quirePac|kage| or|
|000031f0| 20 7c 5c 75 73 65 70 61 | 63 6b 61 67 65 7c 0a 74 | |\usepa|ckage|.t|
|00003200| 68 65 6e 2c 20 65 76 65 | 6e 20 69 66 20 69 74 73 |hen, eve|n if its|
|00003210| 20 6c 6f 61 64 69 6e 67 | 20 69 73 20 72 65 71 75 | loading| is requ|
|00003220| 65 73 74 65 64 20 73 65 | 76 65 72 61 6c 20 74 69 |ested se|veral ti|
|00003230| 6d 65 73 2c 20 69 74 20 | 77 69 6c 6c 20 62 65 0a |mes, it |will be.|
|00003240| 6c 6f 61 64 65 64 20 6f | 6e 6c 79 20 6f 6e 63 65 |loaded o|nly once|
|00003250| 2e 20 20 42 79 20 63 6f | 6e 74 72 61 73 74 2c 20 |. By co|ntrast, |
|00003260| 69 66 20 69 74 20 69 73 | 20 6c 6f 61 64 65 64 20 |if it is| loaded |
|00003270| 77 69 74 68 20 7c 5c 69 | 6e 70 75 74 7c 20 74 68 |with |\i|nput| th|
|00003280| 65 6e 20 69 74 0a 63 61 | 6e 20 62 65 20 6c 6f 61 |en it.ca|n be loa|
|00003290| 64 65 64 20 6d 6f 72 65 | 20 74 68 61 6e 20 6f 6e |ded more| than on|
|000032a0| 63 65 3b 20 73 75 63 68 | 20 61 6e 20 65 78 74 72 |ce; such| an extr|
|000032b0| 61 20 6c 6f 61 64 69 6e | 67 20 6d 61 79 20 77 61 |a loadin|g may wa|
|000032c0| 73 74 65 20 74 69 6d 65 | 20 61 6e 64 0a 6d 65 6d |ste time| and.mem|
|000032d0| 6f 72 79 20 61 6e 64 20 | 69 74 20 6d 61 79 20 70 |ory and |it may p|
|000032e0| 72 6f 64 75 63 65 20 73 | 74 72 61 6e 67 65 20 72 |roduce s|trange r|
|000032f0| 65 73 75 6c 74 73 2e 0a | 20 0a 49 66 20 61 20 70 |esults..| .If a p|
|00003300| 61 63 6b 61 67 65 20 70 | 72 6f 76 69 64 65 73 20 |ackage p|rovides |
|00003310| 6f 70 74 69 6f 6e 2d 70 | 72 6f 63 65 73 73 69 6e |option-p|rocessin|
|00003320| 67 20 74 68 65 6e 2c 20 | 61 67 61 69 6e 2c 20 73 |g then, |again, s|
|00003330| 74 72 61 6e 67 65 20 72 | 65 73 75 6c 74 73 0a 61 |trange r|esults.a|
|00003340| 72 65 20 70 6f 73 73 69 | 62 6c 65 20 69 66 20 74 |re possi|ble if t|
|00003350| 68 65 20 70 61 63 6b 61 | 67 65 20 69 73 20 7c 5c |he packa|ge is |\|
|00003360| 69 6e 70 75 74 7c 20 72 | 61 74 68 65 72 20 74 68 |input| r|ather th|
|00003370| 61 6e 20 6c 6f 61 64 65 | 64 20 62 79 20 6d 65 61 |an loade|d by mea|
|00003380| 6e 73 20 6f 66 0a 7c 5c | 75 73 65 70 61 63 6b 61 |ns of.|\|usepacka|
|00003390| 67 65 7c 20 6f 72 20 7c | 5c 52 65 71 75 69 72 65 |ge| or ||\Require|
|000033a0| 50 61 63 6b 61 67 65 7c | 2e 0a 20 0a 49 66 20 74 |Package||.. .If t|
|000033b0| 68 65 20 70 61 63 6b 61 | 67 65 20 7c 66 6f 6f 2e |he packa|ge |foo.|
|000033c0| 73 74 79 7c 20 6c 6f 61 | 64 73 20 74 68 65 20 70 |sty| loa|ds the p|
|000033d0| 61 63 6b 61 67 65 20 7c | 62 61 7a 2e 73 74 79 7c |ackage ||baz.sty||
|000033e0| 20 62 79 20 75 73 65 20 | 6f 66 0a 7c 5c 69 6e 70 | by use |of.|\inp|
|000033f0| 75 74 20 62 61 7a 2e 73 | 74 79 7c 20 74 68 65 6e |ut baz.s|ty| then|
|00003400| 20 74 68 65 20 75 73 65 | 72 20 77 69 6c 6c 20 67 | the use|r will g|
|00003410| 65 74 20 61 20 77 61 72 | 6e 69 6e 67 3a 0a 5c 62 |et a war|ning:.\b|
|00003420| 65 67 69 6e 7b 76 65 72 | 62 61 74 69 6d 7d 0a 20 |egin{ver|batim}. |
|00003430| 20 20 4c 61 54 65 58 20 | 57 61 72 6e 69 6e 67 3a | LaTeX |Warning:|
|00003440| 20 59 6f 75 20 68 61 76 | 65 20 72 65 71 75 65 73 | You hav|e reques|
|00003450| 74 65 64 20 70 61 63 6b | 61 67 65 20 60 66 6f 6f |ted pack|age `foo|
|00003460| 27 2c 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |',. | |
|00003470| 20 20 20 20 20 62 75 74 | 20 74 68 65 20 70 61 63 | but| the pac|
|00003480| 6b 61 67 65 20 70 72 6f | 76 69 64 65 73 20 60 62 |kage pro|vides `b|
|00003490| 61 7a 27 2e 0a 5c 65 6e | 64 7b 76 65 72 62 61 74 |az'..\en|d{verbat|
|000034a0| 69 6d 7d 0a 54 68 75 73 | 2c 20 66 6f 72 20 73 65 |im}.Thus|, for se|
|000034b0| 76 65 72 61 6c 20 72 65 | 61 73 6f 6e 73 2c 20 75 |veral re|asons, u|
|000034c0| 73 69 6e 67 20 7c 5c 69 | 6e 70 75 74 7c 20 74 6f |sing |\i|nput| to|
|000034d0| 20 6c 6f 61 64 20 70 61 | 63 6b 61 67 65 73 20 69 | load pa|ckages i|
|000034e0| 73 20 6e 6f 74 20 61 0a | 67 6f 6f 64 20 69 64 65 |s not a.|good ide|
|000034f0| 61 2e 0a 20 0a 55 6e 66 | 6f 72 74 75 6e 61 74 65 |a.. .Unf|ortunate|
|00003500| 6c 79 2c 20 69 66 20 79 | 6f 75 20 61 72 65 20 75 |ly, if y|ou are u|
|00003510| 70 67 72 61 64 69 6e 67 | 20 74 68 65 20 66 69 6c |pgrading| the fil|
|00003520| 65 20 7c 6d 79 63 6c 61 | 73 73 2e 73 74 79 7c 20 |e |mycla|ss.sty| |
|00003530| 74 6f 20 61 20 63 6c 61 | 73 73 0a 66 69 6c 65 20 |to a cla|ss.file |
|00003540| 74 68 65 6e 20 79 6f 75 | 20 68 61 76 65 20 74 6f |then you| have to|
|00003550| 20 6d 61 6b 65 20 73 75 | 72 65 20 74 68 61 74 20 | make su|re that |
|00003560| 61 6e 79 20 6f 6c 64 20 | 66 69 6c 65 73 20 77 68 |any old |files wh|
|00003570| 69 63 68 20 63 6f 6e 74 | 61 69 6e 0a 7c 5c 69 6e |ich cont|ain.|\in|
|00003580| 70 75 74 20 6d 79 63 6c | 61 73 73 2e 73 74 79 7c |put mycl|ass.sty||
|00003590| 20 73 74 69 6c 6c 20 77 | 6f 72 6b 2e 0a 0a 54 68 | still w|ork...Th|
|000035a0| 69 73 20 69 73 20 61 6c | 73 6f 20 74 72 75 65 20 |is is al|so true |
|000035b0| 6f 66 20 74 68 65 20 73 | 74 61 6e 64 61 72 64 20 |of the s|tandard |
|000035c0| 63 6c 61 73 73 65 73 20 | 28 7c 61 72 74 69 63 6c |classes |(|articl|
|000035d0| 65 7c 2c 20 7c 62 6f 6f | 6b 7c 20 61 6e 64 0a 7c |e|, |boo|k| and.||
|000035e0| 72 65 70 6f 72 74 7c 29 | 2c 20 73 69 6e 63 65 20 |report|)|, since |
|000035f0| 61 20 6c 6f 74 20 6f 66 | 20 65 78 69 73 74 69 6e |a lot of| existin|
|00003600| 67 20 5c 4c 61 54 65 58 | 7e 32 2e 30 39 20 64 6f |g \LaTeX|~2.09 do|
|00003610| 63 75 6d 65 6e 74 20 73 | 74 79 6c 65 73 20 63 6f |cument s|tyles co|
|00003620| 6e 74 61 69 6e 0a 7c 5c | 69 6e 70 75 74 20 61 72 |ntain.|\|input ar|
|00003630| 74 69 63 6c 65 2e 73 74 | 79 7c 2e 20 20 54 68 65 |ticle.st|y|. The|
|00003640| 20 61 70 70 72 6f 61 63 | 68 20 77 68 69 63 68 20 | approac|h which |
|00003650| 77 65 20 74 6f 6f 6b 20 | 77 61 73 20 74 6f 20 70 |we took |was to p|
|00003660| 72 6f 76 69 64 65 0a 6d | 69 6e 69 6d 61 6c 20 66 |rovide.m|inimal f|
|00003670| 69 6c 65 73 20 7c 61 72 | 74 69 63 6c 65 2e 73 74 |iles |ar|ticle.st|
|00003680| 79 7c 2c 20 7c 62 6f 6f | 6b 2e 73 74 79 7c 20 61 |y|, |boo|k.sty| a|
|00003690| 6e 64 20 7c 72 65 70 6f | 72 74 2e 73 74 79 7c 2c |nd |repo|rt.sty|,|
|000036a0| 20 77 68 69 63 68 20 6c | 6f 61 64 0a 74 68 65 20 | which l|oad.the |
|000036b0| 61 70 70 72 6f 70 72 69 | 61 74 65 20 63 6c 61 73 |appropri|ate clas|
|000036c0| 73 20 66 69 6c 65 73 2e | 0a 0a 46 6f 72 20 65 78 |s files.|..For ex|
|000036d0| 61 6d 70 6c 65 2c 20 7c | 61 72 74 69 63 6c 65 2e |ample, ||article.|
|000036e0| 73 74 79 7c 20 63 6f 6e | 74 61 69 6e 73 20 6a 75 |sty| con|tains ju|
|000036f0| 73 74 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |st the f|ollowing|
|00003700| 20 6c 69 6e 65 73 3a 0a | 5c 62 65 67 69 6e 7b 76 | lines:.|\begin{v|
|00003710| 65 72 62 61 74 69 6d 7d | 0a 20 20 20 5c 4e 65 65 |erbatim}|. \Nee|
|00003720| 64 73 54 65 58 46 6f 72 | 6d 61 74 7b 4c 61 54 65 |dsTeXFor|mat{LaTe|
|00003730| 58 32 65 7d 0a 20 20 20 | 5c 40 6f 62 73 6f 6c 65 |X2e}. |\@obsole|
|00003740| 74 65 66 69 6c 65 7b 61 | 72 74 69 63 6c 65 2e 73 |tefile{a|rticle.s|
|00003750| 74 79 7d 7b 61 72 74 69 | 63 6c 65 2e 63 6c 73 7d |ty}{arti|cle.cls}|
|00003760| 0a 20 20 20 5c 4c 6f 61 | 64 43 6c 61 73 73 7b 61 |. \Loa|dClass{a|
|00003770| 72 74 69 63 6c 65 7d 0a | 5c 65 6e 64 7b 76 65 72 |rticle}.|\end{ver|
|00003780| 62 61 74 69 6d 7d 0a 59 | 6f 75 20 6d 61 79 20 77 |batim}.Y|ou may w|
|00003790| 69 73 68 20 74 6f 20 64 | 6f 20 74 68 65 20 73 61 |ish to d|o the sa|
|000037a0| 6d 65 20 6f 72 2c 20 69 | 66 20 79 6f 75 20 74 68 |me or, i|f you th|
|000037b0| 69 6e 6b 20 74 68 61 74 | 20 69 74 20 69 73 20 73 |ink that| it is s|
|000037c0| 61 66 65 20 74 6f 20 64 | 6f 20 73 6f 2c 0a 79 6f |afe to d|o so,.yo|
|000037d0| 75 20 6d 61 79 20 64 65 | 63 69 64 65 20 74 6f 20 |u may de|cide to |
|000037e0| 6a 75 73 74 20 72 65 6d | 6f 76 65 20 7c 6d 79 63 |just rem|ove |myc|
|000037f0| 6c 61 73 73 2e 73 74 79 | 7c 2e 0a 20 0a 5c 73 75 |lass.sty||.. .\su|
|00003800| 62 73 75 62 73 65 63 74 | 69 6f 6e 7b 4d 61 6b 65 |bsubsect|ion{Make|
|00003810| 20 69 74 20 72 6f 62 75 | 73 74 7d 0a 0a 57 65 20 | it robu|st}..We |
|00003820| 63 6f 6e 73 69 64 65 72 | 20 69 74 20 67 6f 6f 64 |consider| it good|
|00003830| 20 70 72 61 63 74 69 63 | 65 2c 20 77 68 65 6e 20 | practic|e, when |
|00003840| 77 72 69 74 69 6e 67 20 | 70 61 63 6b 61 67 65 73 |writing |packages|
|00003850| 20 61 6e 64 20 63 6c 61 | 73 73 65 73 2c 20 74 6f | and cla|sses, to|
|00003860| 20 75 73 65 0a 5c 4c 61 | 54 65 58 7b 7d 20 63 6f | use.\La|TeX{} co|
|00003870| 6d 6d 61 6e 64 73 20 61 | 73 20 6d 75 63 68 20 61 |mmands a|s much a|
|00003880| 73 20 70 6f 73 73 69 62 | 6c 65 2e 0a 0a 54 68 75 |s possib|le...Thu|
|00003890| 73 2c 20 69 6e 73 74 65 | 61 64 20 6f 66 20 75 73 |s, inste|ad of us|
|000038a0| 69 6e 67 20 7c 5c 64 65 | 66 2e 2e 2e 7c 20 77 65 |ing |\de|f...| we|
|000038b0| 20 72 65 63 6f 6d 6d 65 | 6e 64 20 75 73 69 6e 67 | recomme|nd using|
|000038c0| 20 6f 6e 65 20 6f 66 0a | 7c 5c 6e 65 77 63 6f 6d | one of.||\newcom|
|000038d0| 6d 61 6e 64 7c 2c 20 7c | 5c 72 65 6e 65 77 63 6f |mand|, ||\renewco|
|000038e0| 6d 6d 61 6e 64 7c 20 6f | 72 20 7c 5c 70 72 6f 76 |mmand| o|r |\prov|
|000038f0| 69 64 65 63 6f 6d 6d 61 | 6e 64 7c 3b 20 7c 5c 43 |idecomma|nd|; |\C|
|00003900| 68 65 63 6b 43 6f 6d 6d | 61 6e 64 7c 20 69 73 0a |heckComm|and| is.|
|00003910| 61 6c 73 6f 20 75 73 65 | 66 75 6c 2e 20 44 6f 69 |also use|ful. Doi|
|00003920| 6e 67 20 74 68 69 73 20 | 6d 61 6b 65 73 0a 69 74 |ng this |makes.it|
|00003930| 20 6c 65 73 73 20 6c 69 | 6b 65 6c 79 20 74 68 61 | less li|kely tha|
|00003940| 74 20 79 6f 75 20 77 69 | 6c 6c 20 69 6e 61 64 76 |t you wi|ll inadv|
|00003950| 65 72 74 65 6e 74 6c 79 | 20 72 65 64 65 66 69 6e |ertently| redefin|
|00003960| 65 20 61 20 63 6f 6d 6d | 61 6e 64 2c 20 67 69 76 |e a comm|and, giv|
|00003970| 69 6e 67 0a 75 6e 65 78 | 70 65 63 74 65 64 20 72 |ing.unex|pected r|
|00003980| 65 73 75 6c 74 73 2e 0a | 20 0a 57 68 65 6e 20 79 |esults..| .When y|
|00003990| 6f 75 20 64 65 66 69 6e | 65 20 61 6e 20 65 6e 76 |ou defin|e an env|
|000039a0| 69 72 6f 6e 6d 65 6e 74 | 2c 20 75 73 65 20 7c 5c |ironment|, use |\|
|000039b0| 6e 65 77 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 7c 20 |newenvir|onment| |
|000039c0| 6f 72 0a 7c 5c 72 65 6e | 65 77 65 6e 76 69 72 6f |or.|\ren|ewenviro|
|000039d0| 6e 6d 65 6e 74 7c 20 69 | 6e 73 74 65 61 64 20 7c |nment| i|nstead ||
|000039e0| 5c 64 65 66 5c 66 6f 6f | 7b 2e 2e 2e 7d 7c 20 61 |\def\foo|{...}| a|
|000039f0| 6e 64 20 7c 5c 64 65 66 | 5c 65 6e 64 66 6f 6f 7b |nd |\def|\endfoo{|
|00003a00| 2e 2e 2e 7d 7c 2e 0a 20 | 0a 49 66 20 79 6f 75 20 |...}|.. |.If you |
|00003a10| 6e 65 65 64 20 74 6f 20 | 73 65 74 20 6f 72 20 63 |need to |set or c|
|00003a20| 68 61 6e 67 65 20 74 68 | 65 20 76 61 6c 75 65 20 |hange th|e value |
|00003a30| 6f 66 20 61 20 5c 6d 7b | 64 69 6d 65 6e 7d 20 6f |of a \m{|dimen} o|
|00003a40| 72 20 5c 6d 7b 73 6b 69 | 70 7d 0a 72 65 67 69 73 |r \m{ski|p}.regis|
|00003a50| 74 65 72 2c 20 75 73 65 | 20 7c 5c 73 65 74 6c 65 |ter, use| |\setle|
|00003a60| 6e 67 74 68 7c 2e 0a 20 | 0a 54 6f 20 6d 61 6e 69 |ngth|.. |.To mani|
|00003a70| 70 75 6c 61 74 65 20 62 | 6f 78 65 73 2c 20 75 73 |pulate b|oxes, us|
|00003a80| 65 20 5c 4c 61 54 65 58 | 7b 7d 20 63 6f 6d 6d 61 |e \LaTeX|{} comma|
|00003a90| 6e 64 73 20 73 75 63 68 | 20 61 73 20 7c 5c 73 62 |nds such| as |\sb|
|00003aa0| 6f 78 7c 2c 0a 7c 5c 6d | 62 6f 78 7c 20 61 6e 64 |ox|,.|\m|box| and|
|00003ab0| 20 7c 5c 70 61 72 62 6f | 78 7c 20 72 61 74 68 65 | |\parbo|x| rathe|
|00003ac0| 72 20 74 68 61 6e 20 7c | 5c 73 65 74 62 6f 78 7c |r than ||\setbox||
|00003ad0| 2c 20 7c 5c 68 62 6f 78 | 7c 20 61 6e 64 20 7c 5c |, |\hbox|| and |\|
|00003ae0| 76 62 6f 78 7c 2e 0a 20 | 0a 55 73 65 20 7c 5c 50 |vbox|.. |.Use |\P|
|00003af0| 61 63 6b 61 67 65 45 72 | 72 6f 72 7c 2c 20 7c 5c |ackageEr|ror|, |\|
|00003b00| 50 61 63 6b 61 67 65 57 | 61 72 6e 69 6e 67 7c 20 |PackageW|arning| |
|00003b10| 6f 72 20 7c 5c 50 61 63 | 6b 61 67 65 49 6e 66 6f |or |\Pac|kageInfo|
|00003b20| 7c 20 28 6f 72 20 74 68 | 65 0a 65 71 75 69 76 61 || (or th|e.equiva|
|00003b30| 6c 65 6e 74 20 63 6c 61 | 73 73 20 63 6f 6d 6d 61 |lent cla|ss comma|
|00003b40| 6e 64 73 29 20 72 61 74 | 68 65 72 20 74 68 61 6e |nds) rat|her than|
|00003b50| 20 7c 5c 40 6c 61 74 65 | 78 65 72 72 7c 2c 20 7c | |\@late|xerr|, ||
|00003b60| 5c 40 77 61 72 6e 69 6e | 67 7c 20 6f 72 0a 7c 5c |\@warnin|g| or.|\|
|00003b70| 77 6c 6f 67 7c 2e 0a 20 | 0a 49 74 20 69 73 20 73 |wlog|.. |.It is s|
|00003b80| 74 69 6c 6c 20 70 6f 73 | 73 69 62 6c 65 20 74 6f |till pos|sible to|
|00003b90| 20 64 65 63 6c 61 72 65 | 20 6f 70 74 69 6f 6e 73 | declare| options|
|00003ba0| 20 62 79 20 64 65 66 69 | 6e 69 6e 67 20 7c 5c 64 | by defi|ning |\d|
|00003bb0| 73 40 3c 6f 70 74 69 6f | 6e 3e 7c 20 61 6e 64 0a |s@<optio|n>| and.|
|00003bc0| 63 61 6c 6c 69 6e 67 20 | 7c 5c 40 6f 70 74 69 6f |calling ||\@optio|
|00003bd0| 6e 73 7c 3b 20 62 75 74 | 20 77 65 20 72 65 63 6f |ns|; but| we reco|
|00003be0| 6d 6d 65 6e 64 20 74 68 | 65 20 7c 5c 44 65 63 6c |mmend th|e |\Decl|
|00003bf0| 61 72 65 4f 70 74 69 6f | 6e 7c 20 61 6e 64 0a 7c |areOptio|n| and.||
|00003c00| 5c 50 72 6f 63 65 73 73 | 4f 70 74 69 6f 6e 73 7c |\Process|Options||
|00003c10| 20 63 6f 6d 6d 61 6e 64 | 73 20 69 6e 73 74 65 61 | command|s instea|
|00003c20| 64 2e 20 20 54 68 65 73 | 65 20 61 72 65 20 6d 6f |d. Thes|e are mo|
|00003c30| 72 65 20 70 6f 77 65 72 | 66 75 6c 20 61 6e 64 20 |re power|ful and |
|00003c40| 75 73 65 0a 6c 65 73 73 | 20 6d 65 6d 6f 72 79 2e |use.less| memory.|
|00003c50| 20 20 53 6f 20 72 61 74 | 68 65 72 20 74 68 61 6e | So rat|her than|
|00003c60| 20 75 73 69 6e 67 3a 0a | 5c 62 65 67 69 6e 7b 76 | using:.|\begin{v|
|00003c70| 65 72 62 61 74 69 6d 7d | 0a 20 20 20 5c 64 65 66 |erbatim}|. \def|
|00003c80| 5c 64 73 40 64 72 61 66 | 74 7b 5c 6f 76 65 72 66 |\ds@draf|t{\overf|
|00003c90| 75 6c 6c 72 75 6c 65 20 | 35 70 74 7d 0a 20 20 20 |ullrule |5pt}. |
|00003ca0| 5c 40 6f 70 74 69 6f 6e | 73 0a 5c 65 6e 64 7b 76 |\@option|s.\end{v|
|00003cb0| 65 72 62 61 74 69 6d 7d | 0a 79 6f 75 20 73 68 6f |erbatim}|.you sho|
|00003cc0| 75 6c 64 20 75 73 65 3a | 0a 5c 62 65 67 69 6e 7b |uld use:|.\begin{|
|00003cd0| 76 65 72 62 61 74 69 6d | 7d 0a 20 20 20 5c 44 65 |verbatim|}. \De|
|00003ce0| 63 6c 61 72 65 4f 70 74 | 69 6f 6e 7b 64 72 61 66 |clareOpt|ion{draf|
|00003cf0| 74 7d 7b 5c 73 65 74 6c | 65 6e 67 74 68 7b 5c 6f |t}{\setl|ength{\o|
|00003d00| 76 65 72 66 75 6c 6c 72 | 75 6c 65 7d 7b 35 70 74 |verfullr|ule}{5pt|
|00003d10| 7d 7d 0a 20 20 20 5c 50 | 72 6f 63 65 73 73 4f 70 |}}. \P|rocessOp|
|00003d20| 74 69 6f 6e 73 0a 5c 65 | 6e 64 7b 76 65 72 62 61 |tions.\e|nd{verba|
|00003d30| 74 69 6d 7d 0a 0a 54 68 | 65 20 61 64 76 61 6e 74 |tim}..Th|e advant|
|00003d40| 61 67 65 20 6f 66 20 74 | 68 69 73 20 6b 69 6e 64 |age of t|his kind|
|00003d50| 20 6f 66 20 70 72 61 63 | 74 69 63 65 20 69 73 20 | of prac|tice is |
|00003d60| 74 68 61 74 20 79 6f 75 | 72 20 63 6f 64 65 20 69 |that you|r code i|
|00003d70| 73 20 6d 6f 72 65 0a 72 | 65 61 64 61 62 6c 65 20 |s more.r|eadable |
|00003d80| 61 6e 64 2c 20 6d 6f 72 | 65 20 69 6d 70 6f 72 74 |and, mor|e import|
|00003d90| 61 6e 74 2c 20 74 68 61 | 74 20 69 74 20 69 73 20 |ant, tha|t it is |
|00003da0| 6c 65 73 73 20 6c 69 6b | 65 6c 79 20 74 6f 20 62 |less lik|ely to b|
|00003db0| 72 65 61 6b 20 77 68 65 | 6e 0a 75 73 65 64 20 77 |reak whe|n.used w|
|00003dc0| 69 74 68 20 66 75 74 75 | 72 65 20 76 65 72 73 69 |ith futu|re versi|
|00003dd0| 6f 6e 73 20 6f 66 20 5c | 4c 61 54 65 58 7b 7d 2e |ons of \|LaTeX{}.|
|00003de0| 0a 0a 5c 73 75 62 73 75 | 62 73 65 63 74 69 6f 6e |..\subsu|bsection|
|00003df0| 7b 4d 61 6b 65 20 69 74 | 20 70 6f 72 74 61 62 6c |{Make it| portabl|
|00003e00| 65 7d 0a 0a 49 74 20 69 | 73 20 61 6c 73 6f 20 73 |e}..It i|s also s|
|00003e10| 65 6e 73 69 62 6c 65 20 | 74 6f 20 6d 61 6b 65 20 |ensible |to make |
|00003e20| 79 6f 75 72 20 66 69 6c | 65 73 20 61 72 65 20 61 |your fil|es are a|
|00003e30| 73 20 70 6f 72 74 61 62 | 6c 65 20 61 73 20 70 6f |s portab|le as po|
|00003e40| 73 73 69 62 6c 65 2e 20 | 54 6f 0a 65 6e 73 75 72 |ssible. |To.ensur|
|00003e50| 65 20 74 68 69 73 3b 20 | 74 68 65 79 20 73 68 6f |e this; |they sho|
|00003e60| 75 6c 64 20 63 6f 6e 74 | 61 69 6e 20 6f 6e 6c 79 |uld cont|ain only|
|00003e70| 20 76 69 73 69 62 6c 65 | 20 37 2d 62 69 74 20 74 | visible| 7-bit t|
|00003e80| 65 78 74 3b 20 61 6e 64 | 20 74 68 65 0a 66 69 6c |ext; and| the.fil|
|00003e90| 65 6e 61 6d 65 73 20 73 | 68 6f 75 6c 64 20 63 6f |enames s|hould co|
|00003ea0| 6e 74 61 69 6e 20 61 74 | 20 6d 6f 73 74 20 65 69 |ntain at| most ei|
|00003eb0| 67 68 74 20 63 68 61 72 | 61 63 74 65 72 73 20 28 |ght char|acters (|
|00003ec0| 70 6c 75 73 20 74 68 65 | 20 74 68 72 65 65 0a 6c |plus the| three.l|
|00003ed0| 65 74 74 65 72 20 65 78 | 74 65 6e 73 69 6f 6e 29 |etter ex|tension)|
|00003ee0| 2e 0a 0a 49 74 20 69 73 | 20 61 6c 73 6f 20 75 73 |...It is| also us|
|00003ef0| 65 66 75 6c 20 69 66 20 | 6c 6f 63 61 6c 20 63 6c |eful if |local cl|
|00003f00| 61 73 73 65 73 20 6f 72 | 20 70 61 63 6b 61 67 65 |asses or| package|
|00003f10| 73 20 68 61 76 65 20 61 | 20 63 6f 6d 6d 6f 6e 20 |s have a| common |
|00003f20| 70 72 65 66 69 78 2c 0a | 66 6f 72 20 65 78 61 6d |prefix,.|for exam|
|00003f30| 70 6c 65 20 74 68 65 20 | 55 6e 69 76 65 72 73 69 |ple the |Universi|
|00003f40| 74 79 20 6f 66 20 4e 6f | 77 68 65 72 65 20 63 6c |ty of No|where cl|
|00003f50| 61 73 73 65 73 20 6d 69 | 67 68 74 20 62 65 67 69 |asses mi|ght begi|
|00003f60| 6e 20 77 69 74 68 20 7c | 75 6e 77 7c 2e 0a 54 68 |n with ||unw|..Th|
|00003f70| 69 73 20 68 65 6c 70 73 | 20 74 6f 20 61 76 6f 69 |is helps| to avoi|
|00003f80| 64 20 65 76 65 72 79 20 | 55 6e 69 76 65 72 73 69 |d every |Universi|
|00003f90| 74 79 20 68 61 76 69 6e | 67 20 69 74 73 20 6f 77 |ty havin|g its ow|
|00003fa0| 6e 20 74 68 65 73 69 73 | 20 63 6c 61 73 73 2c 20 |n thesis| class, |
|00003fb0| 61 6c 6c 0a 63 61 6c 6c | 65 64 20 7c 74 68 65 73 |all.call|ed |thes|
|00003fc0| 69 73 2e 63 6c 73 7c 2e | 0a 20 0a 49 66 20 79 6f |is.cls|.|. .If yo|
|00003fd0| 75 20 72 65 6c 79 20 6f | 6e 20 73 6f 6d 65 20 66 |u rely o|n some f|
|00003fe0| 65 61 74 75 72 65 73 20 | 6f 66 20 74 68 65 20 5c |eatures |of the \|
|00003ff0| 4c 61 54 65 58 7b 7d 20 | 6b 65 72 6e 65 6c 2c 20 |LaTeX{} |kernel, |
|00004000| 6f 72 20 6f 6e 20 61 20 | 70 61 63 6b 61 67 65 2c |or on a |package,|
|00004010| 0a 70 6c 65 61 73 65 20 | 73 70 65 63 69 66 79 20 |.please |specify |
|00004020| 74 68 65 20 72 65 6c 65 | 61 73 65 2d 64 61 74 65 |the rele|ase-date|
|00004030| 20 79 6f 75 20 6e 65 65 | 64 2e 20 20 46 6f 72 20 | you nee|d. For |
|00004040| 65 78 61 6d 70 6c 65 2c | 20 74 68 65 20 70 61 63 |example,| the pac|
|00004050| 6b 61 67 65 0a 65 72 72 | 6f 72 20 63 6f 6d 6d 61 |kage.err|or comma|
|00004060| 6e 64 73 20 77 65 72 65 | 20 69 6e 74 72 6f 64 75 |nds were| introdu|
|00004070| 63 65 64 20 69 6e 20 74 | 68 65 20 4a 75 6e 65 20 |ced in t|he June |
|00004080| 31 39 39 34 20 72 65 6c | 65 61 73 65 20 73 6f 2c |1994 rel|ease so,|
|00004090| 20 69 66 20 79 6f 75 20 | 75 73 65 0a 74 68 65 6d | if you |use.them|
|000040a0| 20 74 68 65 6e 20 79 6f | 75 20 73 68 6f 75 6c 64 | then yo|u should|
|000040b0| 20 70 75 74 3a 0a 5c 62 | 65 67 69 6e 7b 76 65 72 | put:.\b|egin{ver|
|000040c0| 62 61 74 69 6d 7d 0a 20 | 20 20 5c 4e 65 65 64 73 |batim}. | \Needs|
|000040d0| 54 65 58 46 6f 72 6d 61 | 74 7b 4c 61 54 65 58 32 |TeXForma|t{LaTeX2|
|000040e0| 65 7d 5b 31 39 39 34 2f | 30 36 2f 30 31 5d 0a 5c |e}[1994/|06/01].\|
|000040f0| 65 6e 64 7b 76 65 72 62 | 61 74 69 6d 7d 0a 0a 5c |end{verb|atim}..\|
|00004100| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 7b 55 73 |subsubse|ction{Us|
|00004110| 65 66 75 6c 20 68 6f 6f | 6b 73 7d 0a 0a 53 6f 6d |eful hoo|ks}..Som|
|00004120| 65 20 70 61 63 6b 61 67 | 65 73 20 61 6e 64 20 64 |e packag|es and d|
|00004130| 6f 63 75 6d 65 6e 74 20 | 73 74 79 6c 65 73 20 68 |ocument |styles h|
|00004140| 61 64 20 74 6f 20 72 65 | 64 65 66 69 6e 65 20 74 |ad to re|define t|
|00004150| 68 65 20 63 6f 6d 6d 61 | 6e 64 0a 7c 5c 64 6f 63 |he comma|nd.|\doc|
|00004160| 75 6d 65 6e 74 7c 20 6f | 72 20 7c 5c 65 6e 64 64 |ument| o|r |\endd|
|00004170| 6f 63 75 6d 65 6e 74 7c | 20 74 6f 20 61 63 68 69 |ocument|| to achi|
|00004180| 65 76 65 20 74 68 65 69 | 72 20 67 6f 61 6c 2e 20 |eve thei|r goal. |
|00004190| 20 54 68 69 73 20 69 73 | 20 6e 6f 0a 6c 6f 6e 67 | This is| no.long|
|000041a0| 65 72 20 6e 65 63 65 73 | 73 61 72 79 2e 20 59 6f |er neces|sary. Yo|
|000041b0| 75 20 63 61 6e 20 6e 6f | 77 20 75 73 65 20 74 68 |u can no|w use th|
|000041c0| 65 20 60 68 6f 6f 6b 73 | 27 20 7c 5c 41 74 42 65 |e `hooks|' |\AtBe|
|000041d0| 67 69 6e 44 6f 63 75 6d | 65 6e 74 7c 20 61 6e 64 |ginDocum|ent| and|
|000041e0| 0a 7c 5c 41 74 45 6e 64 | 44 6f 63 75 6d 65 6e 74 |.|\AtEnd|Document|
|000041f0| 7c 20 28 73 65 65 20 53 | 65 63 74 69 6f 6e 7e 5c || (see S|ection~\|
|00004200| 72 65 66 7b 53 65 63 3a | 64 65 6c 61 79 73 7d 29 |ref{Sec:|delays})|
|00004210| 2e 20 20 41 67 61 69 6e | 2c 20 75 73 69 6e 67 20 |. Again|, using |
|00004220| 74 68 65 73 65 0a 68 6f | 6f 6b 73 20 6d 61 6b 65 |these.ho|oks make|
|00004230| 73 20 69 74 20 6c 65 73 | 73 20 6c 69 6b 65 6c 79 |s it les|s likely|
|00004240| 20 74 68 61 74 20 79 6f | 75 72 20 63 6f 64 65 20 | that yo|ur code |
|00004250| 62 72 65 61 6b 73 20 77 | 69 74 68 20 66 75 74 75 |breaks w|ith futu|
|00004260| 72 65 20 76 65 72 73 69 | 6f 6e 73 0a 6f 66 20 5c |re versi|ons.of \|
|00004270| 4c 61 54 65 58 7b 7d 2e | 20 49 74 20 61 6c 73 6f |LaTeX{}.| It also|
|00004280| 20 6d 61 6b 65 73 20 69 | 74 20 6d 6f 72 65 20 6c | makes i|t more l|
|00004290| 69 6b 65 6c 79 20 74 68 | 61 74 20 79 6f 75 72 20 |ikely th|at your |
|000042a0| 70 61 63 6b 61 67 65 20 | 63 61 6e 20 77 6f 72 6b |package |can work|
|000042b0| 0a 74 6f 67 65 74 68 65 | 72 20 77 69 74 68 20 73 |.togethe|r with s|
|000042c0| 6f 6d 65 6f 6e 65 20 65 | 6c 73 65 27 73 2e 0a 0a |omeone e|lse's...|
|000042d0| 0a 5c 73 65 63 74 69 6f | 6e 7b 54 68 65 20 73 74 |.\sectio|n{The st|
|000042e0| 72 75 63 74 75 72 65 20 | 6f 66 20 61 20 63 6c 61 |ructure |of a cla|
|000042f0| 73 73 20 6f 72 20 70 61 | 63 6b 61 67 65 7d 0a 5c |ss or pa|ckage}.\|
|00004300| 6c 61 62 65 6c 7b 53 65 | 63 3a 73 74 72 75 63 74 |label{Se|c:struct|
|00004310| 75 72 65 7d 0a 20 0a 5c | 4c 61 54 65 58 65 7b 7d |ure}. .\|LaTeXe{}|
|00004320| 20 63 6c 61 73 73 65 73 | 20 61 6e 64 20 70 61 63 | classes| and pac|
|00004330| 6b 61 67 65 73 20 68 61 | 76 65 20 6d 6f 72 65 20 |kages ha|ve more |
|00004340| 73 74 72 75 63 74 75 72 | 65 20 74 68 61 6e 20 5c |structur|e than \|
|00004350| 4c 61 54 65 58 7e 32 2e | 30 39 0a 73 74 79 6c 65 |LaTeX~2.|09.style|
|00004360| 20 66 69 6c 65 73 20 64 | 69 64 2e 20 20 54 68 65 | files d|id. The|
|00004370| 20 6f 75 74 6c 69 6e 65 | 20 6f 66 20 61 20 63 6c | outline| of a cl|
|00004380| 61 73 73 20 6f 72 20 70 | 61 63 6b 61 67 65 20 66 |ass or p|ackage f|
|00004390| 69 6c 65 20 69 73 3a 0a | 5c 62 65 67 69 6e 7b 64 |ile is:.|\begin{d|
|000043a0| 65 73 63 72 69 70 74 69 | 6f 6e 7d 0a 5c 69 74 65 |escripti|on}.\ite|
|000043b0| 6d 5b 49 64 65 6e 74 69 | 66 69 63 61 74 69 6f 6e |m[Identi|fication|
|000043c0| 5d 20 54 68 65 20 66 69 | 6c 65 20 73 61 79 73 20 |] The fi|le says |
|000043d0| 74 68 61 74 20 69 74 20 | 69 73 20 61 20 5c 4c 61 |that it |is a \La|
|000043e0| 54 65 58 65 7b 7d 20 70 | 61 63 6b 61 67 65 20 6f |TeXe{} p|ackage o|
|000043f0| 72 0a 20 20 20 63 6c 61 | 73 73 2c 20 61 6e 64 20 |r. cla|ss, and |
|00004400| 67 69 76 65 73 20 61 20 | 73 68 6f 72 74 20 64 65 |gives a |short de|
|00004410| 73 63 72 69 70 74 69 6f | 6e 20 6f 66 20 69 74 73 |scriptio|n of its|
|00004420| 65 6c 66 2e 0a 5c 69 74 | 65 6d 5b 50 72 65 6c 69 |elf..\it|em[Preli|
|00004430| 6d 69 6e 61 72 79 20 64 | 65 63 6c 61 72 61 74 69 |minary d|eclarati|
|00004440| 6f 6e 73 5d 0a 20 20 20 | 48 65 72 65 20 74 68 65 |ons]. |Here the|
|00004450| 20 66 69 6c 65 20 64 65 | 63 6c 61 72 65 73 20 73 | file de|clares s|
|00004460| 6f 6d 65 20 63 6f 6d 6d | 61 6e 64 73 20 61 6e 64 |ome comm|ands and|
|00004470| 20 63 61 6e 20 61 6c 73 | 6f 20 6c 6f 61 64 0a 20 | can als|o load. |
|00004480| 20 20 6f 74 68 65 72 20 | 66 69 6c 65 73 2e 20 20 | other |files. |
|00004490| 55 73 75 61 6c 6c 79 20 | 74 68 65 73 65 20 63 6f |Usually |these co|
|000044a0| 6d 6d 61 6e 64 73 20 77 | 69 6c 6c 20 62 65 20 6a |mmands w|ill be j|
|000044b0| 75 73 74 20 74 68 6f 73 | 65 20 6e 65 65 64 65 64 |ust thos|e needed|
|000044c0| 20 66 6f 72 0a 20 20 20 | 74 68 65 20 63 6f 64 65 | for. |the code|
|000044d0| 20 75 73 65 64 20 69 6e | 20 74 68 65 20 64 65 63 | used in| the dec|
|000044e0| 6c 61 72 65 64 20 6f 70 | 74 69 6f 6e 73 2e 0a 5c |lared op|tions..\|
|000044f0| 69 74 65 6d 5b 4f 70 74 | 69 6f 6e 73 5d 20 54 68 |item[Opt|ions] Th|
|00004500| 65 20 66 69 6c 65 20 64 | 65 63 6c 61 72 65 73 20 |e file d|eclares |
|00004510| 61 6e 64 20 70 72 6f 63 | 65 73 73 65 73 20 69 74 |and proc|esses it|
|00004520| 73 20 6f 70 74 69 6f 6e | 73 2e 0a 5c 69 74 65 6d |s option|s..\item|
|00004530| 5b 4d 6f 72 65 20 64 65 | 63 6c 61 72 61 74 69 6f |[More de|claratio|
|00004540| 6e 73 5d 20 54 68 69 73 | 20 69 73 20 77 68 65 72 |ns] This| is wher|
|00004550| 65 20 74 68 65 20 66 69 | 6c 65 20 64 6f 65 73 20 |e the fi|le does |
|00004560| 6d 6f 73 74 20 6f 66 20 | 69 74 73 20 77 6f 72 6b |most of |its work|
|00004570| 3a 0a 20 20 20 64 65 63 | 6c 61 72 69 6e 67 20 6e |:. dec|laring n|
|00004580| 65 77 20 76 61 72 69 61 | 62 6c 65 73 2c 20 63 6f |ew varia|bles, co|
|00004590| 6d 6d 61 6e 64 73 20 61 | 6e 64 20 66 6f 6e 74 73 |mmands a|nd fonts|
|000045a0| 3b 20 61 6e 64 20 6c 6f | 61 64 69 6e 67 20 6f 74 |; and lo|ading ot|
|000045b0| 68 65 72 20 66 69 6c 65 | 73 2e 0a 5c 65 6e 64 7b |her file|s..\end{|
|000045c0| 64 65 73 63 72 69 70 74 | 69 6f 6e 7d 0a 20 0a 5c |descript|ion}. .\|
|000045d0| 73 75 62 73 65 63 74 69 | 6f 6e 7b 49 64 65 6e 74 |subsecti|on{Ident|
|000045e0| 69 66 69 63 61 74 69 6f | 6e 7d 0a 20 0a 54 68 65 |ificatio|n}. .The|
|000045f0| 20 66 69 72 73 74 20 74 | 68 69 6e 67 20 61 20 63 | first t|hing a c|
|00004600| 6c 61 73 73 20 6f 72 20 | 70 61 63 6b 61 67 65 20 |lass or |package |
|00004610| 66 69 6c 65 20 64 6f 65 | 73 20 69 73 20 69 64 65 |file doe|s is ide|
|00004620| 6e 74 69 66 79 20 69 74 | 73 65 6c 66 2e 0a 50 61 |ntify it|self..Pa|
|00004630| 63 6b 61 67 65 20 66 69 | 6c 65 73 20 64 6f 20 74 |ckage fi|les do t|
|00004640| 68 69 73 20 61 73 20 66 | 6f 6c 6c 6f 77 73 3a 0a |his as f|ollows:.|
|00004650| 5c 62 65 67 69 6e 7b 76 | 65 72 62 61 74 69 6d 7d |\begin{v|erbatim}|
|00004660| 0a 20 20 20 5c 4e 65 65 | 64 73 54 65 58 46 6f 72 |. \Nee|dsTeXFor|
|00004670| 6d 61 74 7b 4c 61 54 65 | 58 32 65 7d 0a 20 20 20 |mat{LaTe|X2e}. |
|00004680| 5c 50 72 6f 76 69 64 65 | 73 50 61 63 6b 61 67 65 |\Provide|sPackage|
|00004690| 7b 3c 70 61 63 6b 61 67 | 65 3e 7d 5b 3c 64 61 74 |{<packag|e>}[<dat|
|000046a0| 65 3e 20 3c 6f 74 68 65 | 72 20 69 6e 66 6f 72 6d |e> <othe|r inform|
|000046b0| 61 74 69 6f 6e 3e 5d 0a | 5c 65 6e 64 7b 76 65 72 |ation>].|\end{ver|
|000046c0| 62 61 74 69 6d 7d 0a 46 | 6f 72 20 65 78 61 6d 70 |batim}.F|or examp|
|000046d0| 6c 65 3a 0a 5c 62 65 67 | 69 6e 7b 76 65 72 62 61 |le:.\beg|in{verba|
|000046e0| 74 69 6d 7d 0a 20 20 20 | 5c 4e 65 65 64 73 54 65 |tim}. |\NeedsTe|
|000046f0| 58 46 6f 72 6d 61 74 7b | 4c 61 54 65 58 32 65 7d |XFormat{|LaTeX2e}|
|00004700| 0a 20 20 20 5c 50 72 6f | 76 69 64 65 73 50 61 63 |. \Pro|videsPac|
|00004710| 6b 61 67 65 7b 6c 61 74 | 65 78 73 79 6d 7d 5b 31 |kage{lat|exsym}[1|
|00004720| 39 39 34 2f 30 36 2f 30 | 31 20 53 74 61 6e 64 61 |994/06/0|1 Standa|
|00004730| 72 64 20 4c 61 54 65 58 | 20 70 61 63 6b 61 67 65 |rd LaTeX| package|
|00004740| 5d 0a 5c 65 6e 64 7b 76 | 65 72 62 61 74 69 6d 7d |].\end{v|erbatim}|
|00004750| 0a 43 6c 61 73 73 20 66 | 69 6c 65 73 20 64 6f 20 |.Class f|iles do |
|00004760| 74 68 69 73 20 61 73 20 | 66 6f 6c 6c 6f 77 73 3a |this as |follows:|
|00004770| 0a 5c 62 65 67 69 6e 7b | 76 65 72 62 61 74 69 6d |.\begin{|verbatim|
|00004780| 7d 0a 20 20 20 5c 4e 65 | 65 64 73 54 65 58 46 6f |}. \Ne|edsTeXFo|
|00004790| 72 6d 61 74 7b 4c 61 54 | 65 58 32 65 7d 0a 20 20 |rmat{LaT|eX2e}. |
|000047a0| 20 5c 50 72 6f 76 69 64 | 65 73 43 6c 61 73 73 7b | \Provid|esClass{|
|000047b0| 3c 63 6c 61 73 73 2d 6e | 61 6d 65 3e 7d 5b 3c 64 |<class-n|ame>}[<d|
|000047c0| 61 74 65 3e 20 3c 6f 74 | 68 65 72 20 69 6e 66 6f |ate> <ot|her info|
|000047d0| 72 6d 61 74 69 6f 6e 3e | 5d 0a 5c 65 6e 64 7b 76 |rmation>|].\end{v|
|000047e0| 65 72 62 61 74 69 6d 7d | 0a 46 6f 72 20 65 78 61 |erbatim}|.For exa|
|000047f0| 6d 70 6c 65 3a 0a 5c 62 | 65 67 69 6e 7b 76 65 72 |mple:.\b|egin{ver|
|00004800| 62 61 74 69 6d 7d 0a 20 | 20 20 5c 4e 65 65 64 73 |batim}. | \Needs|
|00004810| 54 65 58 46 6f 72 6d 61 | 74 7b 4c 61 54 65 58 32 |TeXForma|t{LaTeX2|
|00004820| 65 7d 0a 20 20 20 5c 50 | 72 6f 76 69 64 65 73 43 |e}. \P|rovidesC|
|00004830| 6c 61 73 73 7b 61 72 74 | 69 63 6c 65 7d 5b 31 39 |lass{art|icle}[19|
|00004840| 39 34 2f 30 36 2f 30 31 | 20 53 74 61 6e 64 61 72 |94/06/01| Standar|
|00004850| 64 20 4c 61 54 65 58 20 | 63 6c 61 73 73 5d 0a 5c |d LaTeX |class].\|
|00004860| 65 6e 64 7b 76 65 72 62 | 61 74 69 6d 7d 0a 54 68 |end{verb|atim}.Th|
|00004870| 65 20 5c 6d 7b 64 61 74 | 65 7d 20 73 68 6f 75 6c |e \m{dat|e} shoul|
|00004880| 64 20 62 65 20 67 69 76 | 65 6e 20 69 6e 20 74 68 |d be giv|en in th|
|00004890| 65 20 66 6f 72 6d 20 60 | 5c 74 65 78 74 73 63 7b |e form `|\textsc{|
|000048a0| 79 79 79 79 2f 6d 6d 2f | 64 64 7d 27 2e 20 20 54 |yyyy/mm/|dd}'. T|
|000048b0| 68 69 73 0a 64 61 74 65 | 20 69 73 20 63 68 65 63 |his.date| is chec|
|000048c0| 6b 65 64 20 77 68 65 6e | 65 76 65 72 20 61 20 75 |ked when|ever a u|
|000048d0| 73 65 72 20 73 70 65 63 | 69 66 69 65 73 20 61 20 |ser spec|ifies a |
|000048e0| 64 61 74 65 20 69 6e 20 | 74 68 65 69 72 0a 7c 5c |date in |their.|\|
|000048f0| 64 6f 63 75 6d 65 6e 74 | 63 6c 61 73 73 7c 20 6f |document|class| o|
|00004900| 72 20 7c 5c 75 73 65 70 | 61 63 6b 61 67 65 7c 20 |r |\usep|ackage| |
|00004910| 63 6f 6d 6d 61 6e 64 2e | 20 20 46 6f 72 20 65 78 |command.| For ex|
|00004920| 61 6d 70 6c 65 2c 20 69 | 66 20 79 6f 75 0a 77 72 |ample, i|f you.wr|
|00004930| 6f 74 65 3a 0a 5c 62 65 | 67 69 6e 7b 76 65 72 62 |ote:.\be|gin{verb|
|00004940| 61 74 69 6d 7d 0a 20 20 | 20 5c 64 6f 63 75 6d 65 |atim}. | \docume|
|00004950| 6e 74 63 6c 61 73 73 7b | 61 72 74 69 63 6c 65 7d |ntclass{|article}|
|00004960| 5b 31 39 39 35 2f 31 32 | 2f 32 33 5d 0a 5c 65 6e |[1995/12|/23].\en|
|00004970| 64 7b 76 65 72 62 61 74 | 69 6d 7d 0a 74 68 65 6e |d{verbat|im}.then|
|00004980| 20 75 73 65 72 73 20 61 | 74 20 61 20 64 69 66 66 | users a|t a diff|
|00004990| 65 72 65 6e 74 20 6c 6f | 63 61 74 69 6f 6e 20 0a |erent lo|cation .|
|000049a0| 77 6f 75 6c 64 20 67 65 | 74 20 61 20 77 61 72 6e |would ge|t a warn|
|000049b0| 69 6e 67 20 74 68 61 74 | 20 74 68 65 69 72 20 63 |ing that| their c|
|000049c0| 6f 70 79 20 6f 66 20 7c | 61 72 74 69 63 6c 65 7c |opy of ||article||
|000049d0| 20 77 61 73 20 6f 75 74 | 20 6f 66 0a 64 61 74 65 | was out| of.date|
|000049e0| 2e 0a 20 0a 54 68 65 20 | 64 65 73 63 72 69 70 74 |.. .The |descript|
|000049f0| 69 6f 6e 20 6f 66 20 61 | 20 63 6c 61 73 73 20 69 |ion of a| class i|
|00004a00| 73 20 64 69 73 70 6c 61 | 79 65 64 20 77 68 65 6e |s displa|yed when|
|00004a10| 20 74 68 65 20 63 6c 61 | 73 73 20 69 73 20 75 73 | the cla|ss is us|
|00004a20| 65 64 2e 20 20 54 68 65 | 0a 64 65 73 63 72 69 70 |ed. The|.descrip|
|00004a30| 74 69 6f 6e 20 6f 66 20 | 61 20 70 61 63 6b 61 67 |tion of |a packag|
|00004a40| 65 20 69 73 20 70 75 74 | 20 69 6e 74 6f 20 74 68 |e is put| into th|
|00004a50| 65 20 6c 6f 67 20 66 69 | 6c 65 2e 20 20 54 68 65 |e log fi|le. The|
|00004a60| 73 65 20 64 65 73 63 72 | 69 70 74 69 6f 6e 73 0a |se descr|iptions.|
|00004a70| 61 72 65 20 61 6c 73 6f | 20 64 69 73 70 6c 61 79 |are also| display|
|00004a80| 65 64 20 62 79 20 74 68 | 65 20 7c 5c 6c 69 73 74 |ed by th|e |\list|
|00004a90| 66 69 6c 65 73 7c 20 63 | 6f 6d 6d 61 6e 64 2e 0a |files| c|ommand..|
|00004aa0| 20 0a 5c 73 75 62 73 65 | 63 74 69 6f 6e 7b 55 73 | .\subse|ction{Us|
|00004ab0| 69 6e 67 20 63 6c 61 73 | 73 65 73 20 61 6e 64 20 |ing clas|ses and |
|00004ac0| 70 61 63 6b 61 67 65 73 | 7d 0a 20 0a 54 68 65 20 |packages|}. .The |
|00004ad0| 66 69 72 73 74 20 6d 61 | 6a 6f 72 20 64 69 66 66 |first ma|jor diff|
|00004ae0| 65 72 65 6e 63 65 20 62 | 65 74 77 65 65 6e 20 5c |erence b|etween \|
|00004af0| 4c 61 54 65 58 7e 32 2e | 30 39 20 73 74 79 6c 65 |LaTeX~2.|09 style|
|00004b00| 20 66 69 6c 65 73 20 61 | 6e 64 0a 5c 4c 61 54 65 | files a|nd.\LaTe|
|00004b10| 58 65 7b 7d 20 70 61 63 | 6b 61 67 65 73 20 61 6e |Xe{} pac|kages an|
|00004b20| 64 20 63 6c 61 73 73 65 | 73 20 69 73 20 74 68 61 |d classe|s is tha|
|00004b30| 74 20 5c 4c 61 54 65 58 | 65 7b 7d 20 73 75 70 70 |t \LaTeX|e{} supp|
|00004b40| 6f 72 74 73 0a 5c 65 6d | 70 68 7b 6d 6f 64 75 6c |orts.\em|ph{modul|
|00004b50| 61 72 69 74 79 7d 2c 20 | 69 6e 20 74 68 65 20 73 |arity}, |in the s|
|00004b60| 65 6e 73 65 20 6f 66 20 | 62 75 69 6c 64 69 6e 67 |ense of |building|
|00004b70| 20 66 69 6c 65 73 20 66 | 72 6f 6d 20 73 6d 61 6c | files f|rom smal|
|00004b80| 6c 0a 62 75 69 6c 64 69 | 6e 67 2d 62 6c 6f 63 6b |l.buildi|ng-block|
|00004b90| 73 20 72 61 74 68 65 72 | 20 74 68 61 6e 20 75 73 |s rather| than us|
|00004ba0| 69 6e 67 20 6c 61 72 67 | 65 20 73 69 6e 67 6c 65 |ing larg|e single|
|00004bb0| 20 66 69 6c 65 73 2e 0a | 20 0a 41 20 5c 4c 61 54 | files..| .A \LaT|
|00004bc0| 65 58 7b 7d 20 70 61 63 | 6b 61 67 65 20 6f 72 20 |eX{} pac|kage or |
|00004bd0| 63 6c 61 73 73 20 63 61 | 6e 20 6c 6f 61 64 20 61 |class ca|n load a|
|00004be0| 20 70 61 63 6b 61 67 65 | 20 61 73 20 66 6f 6c 6c | package| as foll|
|00004bf0| 6f 77 73 3a 0a 5c 62 65 | 67 69 6e 7b 76 65 72 62 |ows:.\be|gin{verb|
|00004c00| 61 74 69 6d 7d 0a 20 20 | 20 5c 52 65 71 75 69 72 |atim}. | \Requir|
|00004c10| 65 50 61 63 6b 61 67 65 | 5b 3c 6f 70 74 69 6f 6e |ePackage|[<option|
|00004c20| 73 3e 5d 7b 3c 70 61 63 | 6b 61 67 65 3e 7d 5b 3c |s>]{<pac|kage>}[<|
|00004c30| 64 61 74 65 3e 5d 0a 5c | 65 6e 64 7b 76 65 72 62 |date>].\|end{verb|
|00004c40| 61 74 69 6d 7d 0a 46 6f | 72 20 65 78 61 6d 70 6c |atim}.Fo|r exampl|
|00004c50| 65 3a 0a 5c 62 65 67 69 | 6e 7b 76 65 72 62 61 74 |e:.\begi|n{verbat|
|00004c60| 69 6d 7d 0a 20 20 20 5c | 52 65 71 75 69 72 65 50 |im}. \|RequireP|
|00004c70| 61 63 6b 61 67 65 7b 69 | 66 74 68 65 6e 7d 5b 31 |ackage{i|fthen}[1|
|00004c80| 39 39 34 2f 30 36 2f 30 | 31 5d 0a 5c 65 6e 64 7b |994/06/0|1].\end{|
|00004c90| 76 65 72 62 61 74 69 6d | 7d 0a 54 68 69 73 20 63 |verbatim|}.This c|
|00004ca0| 6f 6d 6d 61 6e 64 20 68 | 61 73 20 74 68 65 20 73 |ommand h|as the s|
|00004cb0| 61 6d 65 20 73 79 6e 74 | 61 78 20 61 73 20 74 68 |ame synt|ax as th|
|00004cc0| 65 20 61 75 74 68 6f 72 | 20 63 6f 6d 6d 61 6e 64 |e author| command|
|00004cd0| 20 7c 5c 75 73 65 70 61 | 63 6b 61 67 65 7c 2e 0a | |\usepa|ckage|..|
|00004ce0| 49 74 20 61 6c 6c 6f 77 | 73 20 70 61 63 6b 61 67 |It allow|s packag|
|00004cf0| 65 73 20 6f 72 20 63 6c | 61 73 73 65 73 20 74 6f |es or cl|asses to|
|00004d00| 20 75 73 65 20 66 65 61 | 74 75 72 65 73 20 70 72 | use fea|tures pr|
|00004d10| 6f 76 69 64 65 64 20 62 | 79 20 6f 74 68 65 72 0a |ovided b|y other.|
|00004d20| 70 61 63 6b 61 67 65 73 | 2e 20 20 46 6f 72 20 65 |packages|. For e|
|00004d30| 78 61 6d 70 6c 65 2c 20 | 62 79 20 6c 6f 61 64 69 |xample, |by loadi|
|00004d40| 6e 67 20 74 68 65 20 7c | 69 66 74 68 65 6e 7c 20 |ng the ||ifthen| |
|00004d50| 70 61 63 6b 61 67 65 2c | 20 61 20 70 61 63 6b 61 |package,| a packa|
|00004d60| 67 65 0a 77 72 69 74 65 | 72 20 63 61 6e 20 75 73 |ge.write|r can us|
|00004d70| 65 20 74 68 65 20 60 69 | 66 5c 64 6f 74 73 20 74 |e the `i|f\dots t|
|00004d80| 68 65 6e 5c 64 6f 74 73 | 20 65 6c 73 65 5c 64 6f |hen\dots| else\do|
|00004d90| 74 73 27 20 63 6f 6d 6d | 61 6e 64 73 20 70 72 6f |ts' comm|ands pro|
|00004da0| 76 69 64 65 64 0a 62 79 | 20 74 68 61 74 20 70 61 |vided.by| that pa|
|00004db0| 63 6b 61 67 65 2e 0a 20 | 0a 41 20 5c 4c 61 54 65 |ckage.. |.A \LaTe|
|00004dc0| 58 7b 7d 20 63 6c 61 73 | 73 20 63 61 6e 20 6c 6f |X{} clas|s can lo|
|00004dd0| 61 64 20 6f 6e 65 20 6f | 74 68 65 72 20 63 6c 61 |ad one o|ther cla|
|00004de0| 73 73 20 61 73 20 66 6f | 6c 6c 6f 77 73 3a 0a 5c |ss as fo|llows:.\|
|00004df0| 62 65 67 69 6e 7b 76 65 | 72 62 61 74 69 6d 7d 0a |begin{ve|rbatim}.|
|00004e00| 20 20 20 5c 4c 6f 61 64 | 43 6c 61 73 73 5b 3c 6f | \Load|Class[<o|
|00004e10| 70 74 69 6f 6e 73 3e 5d | 7b 3c 63 6c 61 73 73 2d |ptions>]|{<class-|
|00004e20| 6e 61 6d 65 3e 7d 5b 3c | 64 61 74 65 3e 5d 0a 5c |name>}[<|date>].\|
|00004e30| 65 6e 64 7b 76 65 72 62 | 61 74 69 6d 7d 0a 46 6f |end{verb|atim}.Fo|
|00004e40| 72 20 65 78 61 6d 70 6c | 65 3a 0a 5c 62 65 67 69 |r exampl|e:.\begi|
|00004e50| 6e 7b 76 65 72 62 61 74 | 69 6d 7d 0a 20 20 20 5c |n{verbat|im}. \|
|00004e60| 4c 6f 61 64 43 6c 61 73 | 73 5b 74 77 6f 63 6f 6c |LoadClas|s[twocol|
|00004e70| 75 6d 6e 5d 7b 61 72 74 | 69 63 6c 65 7d 0a 5c 65 |umn]{art|icle}.\e|
|00004e80| 6e 64 7b 76 65 72 62 61 | 74 69 6d 7d 0a 54 68 69 |nd{verba|tim}.Thi|
|00004e90| 73 20 63 6f 6d 6d 61 6e | 64 20 68 61 73 20 74 68 |s comman|d has th|
|00004ea0| 65 20 73 61 6d 65 20 73 | 79 6e 74 61 78 20 61 73 |e same s|yntax as|
|00004eb0| 20 74 68 65 20 61 75 74 | 68 6f 72 20 63 6f 6d 6d | the aut|hor comm|
|00004ec0| 61 6e 64 20 7c 5c 64 6f | 63 75 6d 65 6e 74 63 6c |and |\do|cumentcl|
|00004ed0| 61 73 73 7c 2e 0a 49 74 | 20 61 6c 6c 6f 77 73 20 |ass|..It| allows |
|00004ee0| 63 6c 61 73 73 65 73 20 | 74 6f 20 62 65 20 62 61 |classes |to be ba|
|00004ef0| 73 65 64 20 6f 6e 20 74 | 68 65 20 73 79 6e 74 61 |sed on t|he synta|
|00004f00| 78 20 61 6e 64 20 61 70 | 70 65 61 72 61 6e 63 65 |x and ap|pearance|
|00004f10| 20 6f 66 20 61 6e 6f 74 | 68 65 72 0a 63 6c 61 73 | of anot|her.clas|
|00004f20| 73 2e 20 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |s. For |example,|
|00004f30| 20 62 79 20 6c 6f 61 64 | 69 6e 67 20 74 68 65 20 | by load|ing the |
|00004f40| 7c 61 72 74 69 63 6c 65 | 7c 20 63 6c 61 73 73 2c ||article|| class,|
|00004f50| 20 61 20 63 6c 61 73 73 | 20 77 72 69 74 65 72 0a | a class| writer.|
|00004f60| 6f 6e 6c 79 20 68 61 73 | 20 74 6f 20 63 68 61 6e |only has| to chan|
|00004f70| 67 65 20 74 68 65 20 62 | 69 74 73 20 6f 66 20 7c |ge the b|its of ||
|00004f80| 61 72 74 69 63 6c 65 7c | 20 74 68 65 79 20 64 6f |article|| they do|
|00004f90| 6e 27 74 20 6c 69 6b 65 | 2c 20 72 61 74 68 65 72 |n't like|, rather|
|00004fa0| 20 74 68 61 6e 0a 77 72 | 69 74 69 6e 67 20 61 20 | than.wr|iting a |
|00004fb0| 6e 65 77 20 63 6c 61 73 | 73 20 66 72 6f 6d 20 73 |new clas|s from s|
|00004fc0| 63 72 61 74 63 68 2e 0a | 20 0a 5c 73 75 62 73 65 |cratch..| .\subse|
|00004fd0| 63 74 69 6f 6e 7b 44 65 | 63 6c 61 72 69 6e 67 20 |ction{De|claring |
|00004fe0| 6f 70 74 69 6f 6e 73 7d | 0a 20 0a 54 68 65 20 6f |options}|. .The o|
|00004ff0| 74 68 65 72 20 6d 61 6a | 6f 72 20 64 69 66 66 65 |ther maj|or diffe|
|00005000| 72 65 6e 63 65 20 62 65 | 74 77 65 65 6e 20 5c 4c |rence be|tween \L|
|00005010| 61 54 65 58 7e 32 2e 30 | 39 20 73 74 79 6c 65 73 |aTeX~2.0|9 styles|
|00005020| 20 61 6e 64 20 5c 4c 61 | 54 65 58 65 7b 7d 0a 70 | and \La|TeXe{}.p|
|00005030| 61 63 6b 61 67 65 73 20 | 61 6e 64 20 63 6c 61 73 |ackages |and clas|
|00005040| 73 65 73 20 69 73 20 69 | 6e 20 6f 70 74 69 6f 6e |ses is i|n option|
|00005050| 20 68 61 6e 64 6c 69 6e | 67 2e 20 20 50 61 63 6b | handlin|g. Pack|
|00005060| 61 67 65 73 20 61 6e 64 | 20 63 6c 61 73 73 65 73 |ages and| classes|
|00005070| 20 63 61 6e 0a 6e 6f 77 | 20 64 65 63 6c 61 72 65 | can.now| declare|
|00005080| 20 6f 70 74 69 6f 6e 73 | 20 61 6e 64 20 74 68 65 | options| and the|
|00005090| 73 65 20 63 61 6e 20 62 | 65 20 73 70 65 63 69 66 |se can b|e specif|
|000050a0| 69 65 64 20 62 79 20 61 | 75 74 68 6f 72 73 3b 20 |ied by a|uthors; |
|000050b0| 66 6f 72 0a 65 78 61 6d | 70 6c 65 2c 20 74 68 65 |for.exam|ple, the|
|000050c0| 20 7c 74 77 6f 63 6f 6c | 75 6d 6e 7c 20 6f 70 74 | |twocol|umn| opt|
|000050d0| 69 6f 6e 20 69 73 20 64 | 65 63 6c 61 72 65 64 20 |ion is d|eclared |
|000050e0| 62 79 20 74 68 65 20 7c | 61 72 74 69 63 6c 65 7c |by the ||article||
|000050f0| 20 63 6c 61 73 73 2e 0a | 20 0a 41 6e 20 6f 70 74 | class..| .An opt|
|00005100| 69 6f 6e 20 69 73 20 64 | 65 63 6c 61 72 65 64 20 |ion is d|eclared |
|00005110| 61 73 20 66 6f 6c 6c 6f | 77 73 3a 0a 5c 62 65 67 |as follo|ws:.\beg|
|00005120| 69 6e 7b 76 65 72 62 61 | 74 69 6d 7d 0a 20 20 20 |in{verba|tim}. |
|00005130| 5c 44 65 63 6c 61 72 65 | 4f 70 74 69 6f 6e 7b 3c |\Declare|Option{<|
|00005140| 6f 70 74 69 6f 6e 3e 7d | 7b 3c 63 6f 64 65 3e 7d |option>}|{<code>}|
|00005150| 0a 5c 65 6e 64 7b 76 65 | 72 62 61 74 69 6d 7d 0a |.\end{ve|rbatim}.|
|00005160| 46 6f 72 20 65 78 61 6d | 70 6c 65 2c 20 74 68 65 |For exam|ple, the|
|00005170| 20 7c 64 76 69 70 73 7c | 20 6f 70 74 69 6f 6e 20 | |dvips|| option |
|00005180| 74 6f 20 74 68 65 20 7c | 67 72 61 70 68 69 63 73 |to the ||graphics|
|00005190| 7c 20 70 61 63 6b 61 67 | 65 20 69 73 0a 69 6d 70 || packag|e is.imp|
|000051a0| 6c 65 6d 65 6e 74 65 64 | 20 61 73 3a 0a 5c 62 65 |lemented| as:.\be|
|000051b0| 67 69 6e 7b 76 65 72 62 | 61 74 69 6d 7d 0a 20 20 |gin{verb|atim}. |
|000051c0| 20 5c 44 65 63 6c 61 72 | 65 4f 70 74 69 6f 6e 7b | \Declar|eOption{|
|000051d0| 64 76 69 70 73 7d 7b 5c | 69 6e 70 75 74 7b 64 76 |dvips}{\|input{dv|
|000051e0| 69 70 73 2e 64 65 66 7d | 7d 0a 5c 65 6e 64 7b 76 |ips.def}|}.\end{v|
|000051f0| 65 72 62 61 74 69 6d 7d | 0a 54 68 69 73 20 6d 65 |erbatim}|.This me|
|00005200| 61 6e 73 20 74 68 61 74 | 20 77 68 65 6e 20 61 6e |ans that| when an|
|00005210| 20 61 75 74 68 6f 72 20 | 77 72 69 74 65 73 20 7c | author |writes ||
|00005220| 5c 75 73 65 70 61 63 6b | 61 67 65 5b 64 76 69 70 |\usepack|age[dvip|
|00005230| 73 5d 7b 67 72 61 70 68 | 69 63 73 7d 7c 2c 0a 74 |s]{graph|ics}|,.t|
|00005240| 68 65 20 66 69 6c 65 20 | 7c 64 76 69 70 73 2e 64 |he file ||dvips.d|
|00005250| 65 66 7c 20 69 73 20 6c | 6f 61 64 65 64 2e 20 20 |ef| is l|oaded. |
|00005260| 41 73 20 61 6e 6f 74 68 | 65 72 20 65 78 61 6d 70 |As anoth|er examp|
|00005270| 6c 65 2c 20 74 68 65 20 | 7c 61 34 70 61 70 65 72 |le, the ||a4paper|
|00005280| 7c 0a 6f 70 74 69 6f 6e | 20 69 73 20 64 65 63 6c ||.option| is decl|
|00005290| 61 72 65 64 20 69 6e 20 | 74 68 65 20 7c 61 72 74 |ared in |the |art|
|000052a0| 69 63 6c 65 7c 20 63 6c | 61 73 73 20 74 6f 20 73 |icle| cl|ass to s|
|000052b0| 65 74 20 74 68 65 20 7c | 5c 70 61 70 65 72 68 65 |et the ||\paperhe|
|000052c0| 69 67 68 74 7c 0a 61 6e | 64 20 7c 5c 70 61 70 65 |ight|.an|d |\pape|
|000052d0| 72 77 69 64 74 68 7c 20 | 6c 65 6e 67 74 68 73 3a |rwidth| |lengths:|
|000052e0| 0a 5c 62 65 67 69 6e 7b | 76 65 72 62 61 74 69 6d |.\begin{|verbatim|
|000052f0| 7d 0a 20 20 20 5c 44 65 | 63 6c 61 72 65 4f 70 74 |}. \De|clareOpt|
|00005300| 69 6f 6e 7b 61 34 70 61 | 70 65 72 7d 7b 25 0a 20 |ion{a4pa|per}{%. |
|00005310| 20 20 20 20 20 5c 73 65 | 74 6c 65 6e 67 74 68 7b | \se|tlength{|
|00005320| 5c 70 61 70 65 72 68 65 | 69 67 68 74 7d 7b 32 39 |\paperhe|ight}{29|
|00005330| 37 6d 6d 7d 25 0a 20 20 | 20 20 20 20 5c 73 65 74 |7mm}%. | \set|
|00005340| 6c 65 6e 67 74 68 7b 5c | 70 61 70 65 72 77 69 64 |length{\|paperwid|
|00005350| 74 68 7d 7b 32 31 30 6d | 6d 7d 25 0a 20 20 20 7d |th}{210m|m}%. }|
|00005360| 0a 5c 65 6e 64 7b 76 65 | 72 62 61 74 69 6d 7d 0a |.\end{ve|rbatim}.|
|00005370| 53 6f 6d 65 74 69 6d 65 | 73 20 61 20 75 73 65 72 |Sometime|s a user|
|00005380| 20 77 69 6c 6c 20 72 65 | 71 75 65 73 74 20 61 6e | will re|quest an|
|00005390| 20 6f 70 74 69 6f 6e 20 | 77 68 69 63 68 20 74 68 | option |which th|
|000053a0| 65 20 63 6c 61 73 73 0a | 6f 72 20 70 61 63 6b 61 |e class.|or packa|
|000053b0| 67 65 20 68 61 73 20 6e | 6f 74 20 65 78 70 6c 69 |ge has n|ot expli|
|000053c0| 63 69 74 6c 79 20 64 65 | 63 6c 61 72 65 64 2e 20 |citly de|clared. |
|000053d0| 20 42 79 20 64 65 66 61 | 75 6c 74 20 74 68 69 73 | By defa|ult this|
|000053e0| 20 77 69 6c 6c 20 70 72 | 6f 64 75 63 65 0a 61 20 | will pr|oduce.a |
|000053f0| 77 61 72 6e 69 6e 67 20 | 28 66 6f 72 20 63 6c 61 |warning |(for cla|
|00005400| 73 73 65 73 29 20 6f 72 | 20 65 72 72 6f 72 20 28 |sses) or| error (|
|00005410| 66 6f 72 20 70 61 63 6b | 61 67 65 73 29 3b 20 74 |for pack|ages); t|
|00005420| 68 69 73 20 62 65 68 61 | 76 69 6f 75 72 0a 63 61 |his beha|viour.ca|
|00005430| 6e 20 62 65 20 61 6c 74 | 65 72 65 64 20 61 73 20 |n be alt|ered as |
|00005440| 66 6f 6c 6c 6f 77 73 3a | 0a 5c 62 65 67 69 6e 7b |follows:|.\begin{|
|00005450| 76 65 72 62 61 74 69 6d | 7d 0a 20 20 20 5c 44 65 |verbatim|}. \De|
|00005460| 63 6c 61 72 65 4f 70 74 | 69 6f 6e 2a 7b 3c 63 6f |clareOpt|ion*{<co|
|00005470| 64 65 3e 7d 0a 5c 65 6e | 64 7b 76 65 72 62 61 74 |de>}.\en|d{verbat|
|00005480| 69 6d 7d 0a 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |im}.For |example,|
|00005490| 20 74 6f 20 6d 61 6b 65 | 20 74 68 65 20 70 61 63 | to make| the pac|
|000054a0| 6b 61 67 65 20 7c 66 72 | 65 64 7c 20 70 72 6f 64 |kage |fr|ed| prod|
|000054b0| 75 63 65 20 61 20 77 61 | 72 6e 69 6e 67 20 72 61 |uce a wa|rning ra|
|000054c0| 74 68 65 72 20 74 68 61 | 6e 0a 61 6e 20 65 72 72 |ther tha|n.an err|
|000054d0| 6f 72 20 66 6f 72 20 75 | 6e 6b 6e 6f 77 6e 20 6f |or for u|nknown o|
|000054e0| 70 74 69 6f 6e 73 2c 20 | 79 6f 75 20 63 6f 75 6c |ptions, |you coul|
|000054f0| 64 20 73 70 65 63 69 66 | 79 3a 0a 5c 62 65 67 69 |d specif|y:.\begi|
|00005500| 6e 7b 76 65 72 62 61 74 | 69 6d 7d 0a 20 20 20 5c |n{verbat|im}. \|
|00005510| 44 65 63 6c 61 72 65 4f | 70 74 69 6f 6e 2a 7b 25 |DeclareO|ption*{%|
|00005520| 0a 20 20 20 20 20 20 5c | 50 61 63 6b 61 67 65 57 |. \|PackageW|
|00005530| 61 72 6e 69 6e 67 7b 66 | 72 65 64 7d 7b 55 6e 6b |arning{f|red}{Unk|
|00005540| 6e 6f 77 6e 20 6f 70 74 | 69 6f 6e 20 60 5c 43 75 |nown opt|ion `\Cu|
|00005550| 72 72 65 6e 74 4f 70 74 | 69 6f 6e 27 7d 25 0a 20 |rrentOpt|ion'}%. |
|00005560| 20 20 7d 0a 5c 65 6e 64 | 7b 76 65 72 62 61 74 69 | }.\end|{verbati|
|00005570| 6d 7d 0a 54 68 65 6e 2c | 20 69 66 20 61 6e 20 61 |m}.Then,| if an a|
|00005580| 75 74 68 6f 72 20 77 72 | 69 74 65 73 20 7c 5c 75 |uthor wr|ites |\u|
|00005590| 73 65 70 61 63 6b 61 67 | 65 5b 66 6f 6f 5d 7b 66 |sepackag|e[foo]{f|
|000055a0| 72 65 64 7d 7c 2c 20 74 | 68 65 79 20 77 69 6c 6c |red}|, t|hey will|
|000055b0| 20 67 65 74 20 61 0a 77 | 61 72 6e 69 6e 67 20 5c | get a.w|arning \|
|000055c0| 74 65 78 74 74 74 7b 50 | 61 63 6b 61 67 65 20 66 |texttt{P|ackage f|
|000055d0| 72 65 64 20 57 61 72 6e | 69 6e 67 3a 20 55 6e 6b |red Warn|ing: Unk|
|000055e0| 6e 6f 77 6e 20 6f 70 74 | 69 6f 6e 20 60 66 6f 6f |nown opt|ion `foo|
|000055f0| 27 2e 7d 20 20 41 73 0a | 61 6e 6f 74 68 65 72 20 |'.} As.|another |
|00005600| 65 78 61 6d 70 6c 65 2c | 20 74 68 65 20 7c 66 6f |example,| the |fo|
|00005610| 6e 74 65 6e 63 7c 20 70 | 61 63 6b 61 67 65 20 74 |ntenc| p|ackage t|
|00005620| 72 69 65 73 20 74 6f 20 | 6c 6f 61 64 20 61 20 66 |ries to |load a f|
|00005630| 69 6c 65 0a 7c 3c 45 4e | 43 3e 65 6e 63 2e 64 65 |ile.|<EN|C>enc.de|
|00005640| 66 7c 20 77 68 65 6e 65 | 76 65 72 20 74 68 65 20 |f| whene|ver the |
|00005650| 5c 6d 7b 45 4e 43 7d 20 | 6f 70 74 69 6f 6e 20 69 |\m{ENC} |option i|
|00005660| 73 20 75 73 65 64 2e 20 | 20 54 68 69 73 0a 63 61 |s used. | This.ca|
|00005670| 6e 20 62 65 20 64 6f 6e | 65 20 62 79 20 77 72 69 |n be don|e by wri|
|00005680| 74 69 6e 67 3a 0a 5c 62 | 65 67 69 6e 7b 76 65 72 |ting:.\b|egin{ver|
|00005690| 62 61 74 69 6d 7d 0a 20 | 20 20 5c 44 65 63 6c 61 |batim}. | \Decla|
|000056a0| 72 65 4f 70 74 69 6f 6e | 2a 7b 25 0a 20 20 20 20 |reOption|*{%. |
|000056b0| 20 20 5c 69 6e 70 75 74 | 7b 5c 43 75 72 72 65 6e | \input|{\Curren|
|000056c0| 74 4f 70 74 69 6f 6e 20 | 65 6e 63 2e 64 65 66 7d |tOption |enc.def}|
|000056d0| 25 0a 20 20 20 7d 0a 5c | 65 6e 64 7b 76 65 72 62 |%. }.\|end{verb|
|000056e0| 61 74 69 6d 7d 0a 49 74 | 20 69 73 20 70 6f 73 73 |atim}.It| is poss|
|000056f0| 69 62 6c 65 20 74 6f 20 | 70 61 73 73 20 6f 70 74 |ible to |pass opt|
|00005700| 69 6f 6e 73 20 6f 6e 20 | 74 6f 20 61 6e 6f 74 68 |ions on |to anoth|
|00005710| 65 72 20 70 61 63 6b 61 | 67 65 20 6f 72 20 63 6c |er packa|ge or cl|
|00005720| 61 73 73 2c 20 75 73 69 | 6e 67 0a 74 68 65 20 63 |ass, usi|ng.the c|
|00005730| 6f 6d 6d 61 6e 64 20 7c | 5c 50 61 73 73 4f 70 74 |ommand ||\PassOpt|
|00005740| 69 6f 6e 73 54 6f 50 61 | 63 6b 61 67 65 7c 20 6f |ionsToPa|ckage| o|
|00005750| 72 20 7c 5c 50 61 73 73 | 4f 70 74 69 6f 6e 73 54 |r |\Pass|OptionsT|
|00005760| 6f 43 6c 61 73 73 7c 2e | 20 20 46 6f 72 0a 65 78 |oClass|.| For.ex|
|00005770| 61 6d 70 6c 65 2c 20 74 | 6f 20 70 61 73 73 20 65 |ample, t|o pass e|
|00005780| 76 65 72 79 20 75 6e 6b | 6e 6f 77 6e 20 6f 70 74 |very unk|nown opt|
|00005790| 69 6f 6e 20 6f 6e 20 74 | 6f 20 74 68 65 20 7c 61 |ion on t|o the |a|
|000057a0| 72 74 69 63 6c 65 7c 20 | 63 6c 61 73 73 2c 20 79 |rticle| |class, y|
|000057b0| 6f 75 0a 63 61 6e 20 75 | 73 65 3a 0a 5c 62 65 67 |ou.can u|se:.\beg|
|000057c0| 69 6e 7b 76 65 72 62 61 | 74 69 6d 7d 0a 20 20 20 |in{verba|tim}. |
|000057d0| 5c 44 65 63 6c 61 72 65 | 4f 70 74 69 6f 6e 2a 7b |\Declare|Option*{|
|000057e0| 25 0a 20 20 20 20 20 20 | 5c 50 61 73 73 4f 70 74 |%. |\PassOpt|
|000057f0| 69 6f 6e 73 54 6f 43 6c | 61 73 73 7b 5c 43 75 72 |ionsToCl|ass{\Cur|
|00005800| 72 65 6e 74 4f 70 74 69 | 6f 6e 7d 7b 61 72 74 69 |rentOpti|on}{arti|
|00005810| 63 6c 65 7d 25 0a 20 20 | 20 7d 0a 5c 65 6e 64 7b |cle}%. | }.\end{|
|00005820| 76 65 72 62 61 74 69 6d | 7d 0a 49 66 20 79 6f 75 |verbatim|}.If you|
|00005830| 20 64 6f 20 74 68 69 73 | 20 74 68 65 6e 20 79 6f | do this| then yo|
|00005840| 75 20 73 68 6f 75 6c 64 | 20 6d 61 6b 65 20 73 75 |u should| make su|
|00005850| 72 65 20 79 6f 75 20 6c | 6f 61 64 20 74 68 65 20 |re you l|oad the |
|00005860| 63 6c 61 73 73 20 61 74 | 20 73 6f 6d 65 0a 6c 61 |class at| some.la|
|00005870| 74 65 72 20 70 6f 69 6e | 74 2c 20 6f 74 68 65 72 |ter poin|t, other|
|00005880| 77 69 73 65 20 74 68 65 | 20 6f 70 74 69 6f 6e 73 |wise the| options|
|00005890| 20 77 69 6c 6c 20 6e 65 | 76 65 72 20 62 65 20 70 | will ne|ver be p|
|000058a0| 72 6f 63 65 73 73 65 64 | 21 0a 20 0a 53 6f 20 66 |rocessed|!. .So f|
|000058b0| 61 72 2c 20 77 65 20 68 | 61 76 65 20 65 78 70 6c |ar, we h|ave expl|
|000058c0| 61 69 6e 65 64 20 6f 6e | 6c 79 20 68 6f 77 20 74 |ained on|ly how t|
|000058d0| 6f 20 64 65 63 6c 61 72 | 65 20 6f 70 74 69 6f 6e |o declar|e option|
|000058e0| 73 2c 20 6e 6f 74 20 68 | 6f 77 20 74 6f 0a 65 78 |s, not h|ow to.ex|
|000058f0| 65 63 75 74 65 20 74 68 | 65 6d 2e 20 20 54 6f 20 |ecute th|em. To |
|00005900| 70 72 6f 63 65 73 73 20 | 74 68 65 20 6f 70 74 69 |process |the opti|
|00005910| 6f 6e 73 20 77 69 74 68 | 20 77 68 69 63 68 20 74 |ons with| which t|
|00005920| 68 65 20 66 69 6c 65 20 | 77 61 73 20 63 61 6c 6c |he file |was call|
|00005930| 65 64 2c 0a 79 6f 75 20 | 73 68 6f 75 6c 64 20 75 |ed,.you |should u|
|00005940| 73 65 3a 0a 5c 62 65 67 | 69 6e 7b 76 65 72 62 61 |se:.\beg|in{verba|
|00005950| 74 69 6d 7d 0a 20 20 20 | 5c 50 72 6f 63 65 73 73 |tim}. |\Process|
|00005960| 4f 70 74 69 6f 6e 73 0a | 5c 65 6e 64 7b 76 65 72 |Options.|\end{ver|
|00005970| 62 61 74 69 6d 7d 0a 54 | 68 69 73 20 65 78 65 63 |batim}.T|his exec|
|00005980| 75 74 65 73 20 74 68 65 | 20 5c 6d 7b 63 6f 64 65 |utes the| \m{code|
|00005990| 7d 20 66 6f 72 20 65 61 | 63 68 20 6f 70 74 69 6f |} for ea|ch optio|
|000059a0| 6e 20 74 68 61 74 20 77 | 61 73 20 62 6f 74 68 20 |n that w|as both |
|000059b0| 73 70 65 63 69 66 69 65 | 64 20 61 6e 64 0a 64 65 |specifie|d and.de|
|000059c0| 63 6c 61 72 65 64 20 28 | 73 65 65 20 53 65 63 74 |clared (|see Sect|
|000059d0| 69 6f 6e 7e 5c 72 65 66 | 7b 53 65 63 3a 63 6f 6d |ion~\ref|{Sec:com|
|000059e0| 6d 61 6e 64 73 2e 6f 70 | 74 69 6f 6e 73 7d 20 66 |mands.op|tions} f|
|000059f0| 6f 72 20 64 65 74 61 69 | 6c 73 20 6f 66 20 68 6f |or detai|ls of ho|
|00005a00| 77 0a 74 68 69 73 20 69 | 73 20 64 6f 6e 65 29 2e |w.this i|s done).|
|00005a10| 0a 20 0a 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |. .For e|xample, |
|00005a20| 69 66 20 74 68 65 20 7c | 6a 61 6e 65 7c 20 70 61 |if the ||jane| pa|
|00005a30| 63 6b 61 67 65 20 66 69 | 6c 65 20 63 6f 6e 74 61 |ckage fi|le conta|
|00005a40| 69 6e 73 3a 0a 5c 62 65 | 67 69 6e 7b 76 65 72 62 |ins:.\be|gin{verb|
|00005a50| 61 74 69 6d 7d 0a 20 20 | 20 5c 44 65 63 6c 61 72 |atim}. | \Declar|
|00005a60| 65 4f 70 74 69 6f 6e 7b | 66 6f 6f 7d 7b 5c 74 79 |eOption{|foo}{\ty|
|00005a70| 70 65 6f 75 74 7b 53 61 | 77 20 66 6f 6f 2e 7d 7d |peout{Sa|w foo.}}|
|00005a80| 0a 20 20 20 5c 44 65 63 | 6c 61 72 65 4f 70 74 69 |. \Dec|lareOpti|
|00005a90| 6f 6e 7b 62 61 7a 7d 7b | 5c 74 79 70 65 6f 75 74 |on{baz}{|\typeout|
|00005aa0| 7b 53 61 77 20 62 61 7a | 2e 7d 7d 0a 20 20 20 5c |{Saw baz|.}}. \|
|00005ab0| 44 65 63 6c 61 72 65 4f | 70 74 69 6f 6e 2a 7b 5c |DeclareO|ption*{\|
|00005ac0| 74 79 70 65 6f 75 74 7b | 57 68 61 74 27 73 20 5c |typeout{|What's \|
|00005ad0| 43 75 72 72 65 6e 74 4f | 70 74 69 6f 6e 3f 7d 7d |CurrentO|ption?}}|
|00005ae0| 0a 20 20 20 5c 50 72 6f | 63 65 73 73 4f 70 74 69 |. \Pro|cessOpti|
|00005af0| 6f 6e 73 0a 5c 65 6e 64 | 7b 76 65 72 62 61 74 69 |ons.\end|{verbati|
|00005b00| 6d 7d 0a 61 6e 64 20 61 | 6e 20 61 75 74 68 6f 72 |m}.and a|n author|
|00005b10| 20 77 72 69 74 65 73 20 | 7c 5c 75 73 65 70 61 63 | writes ||\usepac|
|00005b20| 6b 61 67 65 5b 66 6f 6f | 2c 62 61 72 5d 7b 6a 61 |kage[foo|,bar]{ja|
|00005b30| 6e 65 7d 7c 2c 20 74 68 | 65 6e 20 74 68 65 79 20 |ne}|, th|en they |
|00005b40| 77 69 6c 6c 20 73 65 65 | 0a 74 68 65 20 6d 65 73 |will see|.the mes|
|00005b50| 73 61 67 65 73 20 5c 74 | 65 78 74 74 74 7b 53 61 |sages \t|exttt{Sa|
|00005b60| 77 20 66 6f 6f 2e 7d 20 | 61 6e 64 20 5c 74 65 78 |w foo.} |and \tex|
|00005b70| 74 74 74 7b 57 68 61 74 | 27 73 20 62 61 72 3f 7d |ttt{What|'s bar?}|
|00005b80| 0a 20 0a 5c 73 75 62 73 | 65 63 74 69 6f 6e 7b 44 |. .\subs|ection{D|
|00005b90| 65 63 6c 61 72 61 74 69 | 6f 6e 73 7d 0a 20 0a 4d |eclarati|ons}. .M|
|00005ba0| 6f 73 74 20 6f 66 20 74 | 68 65 20 77 6f 72 6b 20 |ost of t|he work |
|00005bb0| 6f 66 20 61 20 63 6c 61 | 73 73 20 6f 72 20 70 61 |of a cla|ss or pa|
|00005bc0| 63 6b 61 67 65 20 69 73 | 20 69 6e 20 64 65 66 69 |ckage is| in defi|
|00005bd0| 6e 69 6e 67 20 6e 65 77 | 20 63 6f 6d 6d 61 6e 64 |ning new| command|
|00005be0| 73 2c 20 6f 72 0a 63 68 | 61 6e 67 69 6e 67 20 74 |s, or.ch|anging t|
|00005bf0| 68 65 20 61 70 70 65 61 | 72 61 6e 63 65 20 6f 66 |he appea|rance of|
|00005c00| 20 64 6f 63 75 6d 65 6e | 74 73 2e 20 20 54 68 69 | documen|ts. Thi|
|00005c10| 73 20 69 73 20 64 6f 6e | 65 20 69 6e 20 74 68 65 |s is don|e in the|
|00005c20| 20 62 6f 64 79 20 6f 66 | 20 74 68 65 0a 70 61 63 | body of| the.pac|
|00005c30| 6b 61 67 65 2c 20 75 73 | 69 6e 67 20 63 6f 6d 6d |kage, us|ing comm|
|00005c40| 61 6e 64 73 20 73 75 63 | 68 20 61 73 20 7c 5c 6e |ands suc|h as |\n|
|00005c50| 65 77 63 6f 6d 6d 61 6e | 64 7c 20 6f 72 20 7c 5c |ewcomman|d| or |\|
|00005c60| 73 65 74 6c 65 6e 67 74 | 68 7c 2e 0a 0a 5c 4c 61 |setlengt|h|...\La|
|00005c70| 54 65 58 65 7b 7d 20 70 | 72 6f 76 69 64 65 73 20 |TeXe{} p|rovides |
|00005c80| 73 65 76 65 72 61 6c 20 | 6e 65 77 20 63 6f 6d 6d |several |new comm|
|00005c90| 61 6e 64 73 20 74 6f 20 | 68 65 6c 70 20 63 6c 61 |ands to |help cla|
|00005ca0| 73 73 20 61 6e 64 20 70 | 61 63 6b 61 67 65 0a 77 |ss and p|ackage.w|
|00005cb0| 72 69 74 65 72 73 3b 20 | 74 68 65 73 65 20 61 72 |riters; |these ar|
|00005cc0| 65 20 64 65 73 63 72 69 | 62 65 64 20 69 6e 20 64 |e descri|bed in d|
|00005cd0| 65 74 61 69 6c 20 69 6e | 20 53 65 63 74 69 6f 6e |etail in| Section|
|00005ce0| 7e 5c 72 65 66 7b 53 65 | 63 3a 63 6f 6d 6d 61 6e |~\ref{Se|c:comman|
|00005cf0| 64 73 7d 2e 0a 20 0a 54 | 68 65 72 65 20 61 72 65 |ds}.. .T|here are|
|00005d00| 20 74 68 72 65 65 20 74 | 68 69 6e 67 73 20 74 68 | three t|hings th|
|00005d10| 61 74 20 65 76 65 72 79 | 20 63 6c 61 73 73 20 66 |at every| class f|
|00005d20| 69 6c 65 20 5c 65 6d 70 | 68 7b 6d 75 73 74 7d 20 |ile \emp|h{must} |
|00005d30| 63 6f 6e 74 61 69 6e 3a | 0a 74 68 65 73 65 20 61 |contain:|.these a|
|00005d40| 72 65 20 61 20 64 65 66 | 69 6e 69 74 69 6f 6e 20 |re a def|inition |
|00005d50| 6f 66 20 7c 5c 6e 6f 72 | 6d 61 6c 73 69 7a 65 7c |of |\nor|malsize||
|00005d60| 20 61 6e 64 20 76 61 6c | 75 65 73 20 66 6f 72 20 | and val|ues for |
|00005d70| 7c 5c 74 65 78 74 77 69 | 64 74 68 7c 0a 61 6e 64 ||\textwi|dth|.and|
|00005d80| 20 7c 5c 74 65 78 74 68 | 65 69 67 68 74 7c 2e 20 | |\texth|eight|. |
|00005d90| 20 53 6f 20 61 20 6d 69 | 6e 69 6d 61 6c 20 64 6f | So a mi|nimal do|
|00005da0| 63 75 6d 65 6e 74 20 63 | 6c 61 73 73 20 66 69 6c |cument c|lass fil|
|00005db0| 65 20 69 73 3a 0a 5c 62 | 65 67 69 6e 7b 76 65 72 |e is:.\b|egin{ver|
|00005dc0| 62 61 74 69 6d 7d 0a 20 | 20 20 5c 4e 65 65 64 73 |batim}. | \Needs|
|00005dd0| 54 65 58 46 6f 72 6d 61 | 74 7b 4c 61 54 65 58 32 |TeXForma|t{LaTeX2|
|00005de0| 65 7d 0a 20 20 20 5c 50 | 72 6f 76 69 64 65 73 43 |e}. \P|rovidesC|
|00005df0| 6c 61 73 73 7b 6d 69 6e | 69 6d 61 6c 7d 5b 31 39 |lass{min|imal}[19|
|00005e00| 39 34 2f 30 34 2f 30 31 | 20 4d 69 6e 69 6d 61 6c |94/04/01| Minimal|
|00005e10| 20 63 6c 61 73 73 5d 0a | 20 20 20 5c 72 65 6e 65 | class].| \rene|
|00005e20| 77 63 6f 6d 6d 61 6e 64 | 7b 5c 6e 6f 72 6d 61 6c |wcommand|{\normal|
|00005e30| 73 69 7a 65 7d 7b 5c 66 | 6f 6e 74 73 69 7a 65 7b |size}{\f|ontsize{|
|00005e40| 31 30 7d 7b 31 32 7d 5c | 73 65 6c 65 63 74 66 6f |10}{12}\|selectfo|
|00005e50| 6e 74 7d 0a 20 20 20 5c | 73 65 74 6c 65 6e 67 74 |nt}. \|setlengt|
|00005e60| 68 7b 5c 74 65 78 74 77 | 69 64 74 68 7d 7b 36 2e |h{\textw|idth}{6.|
|00005e70| 35 69 6e 7d 0a 20 20 20 | 5c 73 65 74 6c 65 6e 67 |5in}. |\setleng|
|00005e80| 74 68 7b 5c 74 65 78 74 | 68 65 69 67 68 74 7d 7b |th{\text|height}{|
|00005e90| 38 69 6e 7d 0a 5c 65 6e | 64 7b 76 65 72 62 61 74 |8in}.\en|d{verbat|
|00005ea0| 69 6d 7d 0a 48 6f 77 65 | 76 65 72 2c 20 74 68 69 |im}.Howe|ver, thi|
|00005eb0| 73 20 63 6c 61 73 73 20 | 66 69 6c 65 20 77 69 6c |s class |file wil|
|00005ec0| 6c 20 6e 6f 74 20 73 75 | 70 70 6f 72 74 20 66 6f |l not su|pport fo|
|00005ed0| 6f 74 6e 6f 74 65 73 2c | 20 6d 61 72 67 69 6e 61 |otnotes,| margina|
|00005ee0| 6c 73 2c 0a 66 6c 6f 61 | 74 73 2c 20 65 74 63 2e |ls,.floa|ts, etc.|
|00005ef0| 20 6e 6f 72 20 77 69 6c | 6c 20 69 74 20 70 72 6f | nor wil|l it pro|
|00005f00| 76 69 64 65 20 61 6e 79 | 20 6f 66 20 74 68 65 20 |vide any| of the |
|00005f10| 32 2d 6c 65 74 74 65 72 | 20 66 6f 6e 74 20 63 6f |2-letter| font co|
|00005f20| 6d 6d 61 6e 64 73 0a 73 | 75 63 68 20 61 73 20 7c |mmands.s|uch as ||
|00005f30| 5c 72 6d 7c 3b 20 74 68 | 75 73 20 6d 6f 73 74 20 |\rm|; th|us most |
|00005f40| 63 6c 61 73 73 65 73 20 | 77 69 6c 6c 20 63 6f 6e |classes |will con|
|00005f50| 74 61 69 6e 20 6d 6f 72 | 65 20 74 68 61 6e 20 74 |tain mor|e than t|
|00005f60| 68 69 73 20 6d 69 6e 69 | 6d 75 6d 21 0a 20 0a 0a |his mini|mum!. ..|
|00005f70| 0a 5c 73 75 62 73 65 63 | 74 69 6f 6e 7b 45 78 61 |.\subsec|tion{Exa|
|00005f80| 6d 70 6c 65 3a 20 61 20 | 6c 6f 63 61 6c 20 6c 65 |mple: a |local le|
|00005f90| 74 74 65 72 20 63 6c 61 | 73 73 7d 0a 20 0a 41 20 |tter cla|ss}. .A |
|00005fa0| 63 6f 6d 70 61 6e 79 20 | 6d 61 79 20 68 61 76 65 |company |may have|
|00005fb0| 20 69 74 73 20 6f 77 6e | 20 6c 65 74 74 65 72 20 | its own| letter |
|00005fc0| 63 6c 61 73 73 2c 20 66 | 6f 72 20 73 65 74 74 69 |class, f|or setti|
|00005fd0| 6e 67 20 6c 65 74 74 65 | 72 73 20 69 6e 20 74 68 |ng lette|rs in th|
|00005fe0| 65 0a 63 6f 6d 70 61 6e | 79 20 73 74 79 6c 65 2e |e.compan|y style.|
|00005ff0| 20 20 54 68 69 73 20 73 | 65 63 74 69 6f 6e 20 73 | This s|ection s|
|00006000| 68 6f 77 73 20 61 20 73 | 69 6d 70 6c 65 20 69 6d |hows a s|imple im|
|00006010| 70 6c 65 6d 65 6e 74 61 | 74 69 6f 6e 20 6f 66 20 |plementa|tion of |
|00006020| 73 75 63 68 20 61 0a 63 | 6c 61 73 73 2c 20 61 6c |such a.c|lass, al|
|00006030| 74 68 6f 75 67 68 20 61 | 20 72 65 61 6c 20 63 6c |though a| real cl|
|00006040| 61 73 73 20 77 6f 75 6c | 64 20 6e 65 65 64 20 6d |ass woul|d need m|
|00006050| 6f 72 65 20 73 74 72 75 | 63 74 75 72 65 2e 0a 20 |ore stru|cture.. |
|00006060| 0a 54 68 65 20 63 6c 61 | 73 73 20 62 65 67 69 6e |.The cla|ss begin|
|00006070| 73 20 62 79 20 61 6e 6e | 6f 75 6e 63 69 6e 67 20 |s by ann|ouncing |
|00006080| 69 74 73 65 6c 66 20 61 | 73 20 7c 6e 65 70 6c 65 |itself a|s |neple|
|00006090| 74 2e 63 6c 73 7c 2e 0a | 5c 62 65 67 69 6e 7b 76 |t.cls|..|\begin{v|
|000060a0| 65 72 62 61 74 69 6d 7d | 0a 20 20 20 5c 4e 65 65 |erbatim}|. \Nee|
|000060b0| 64 73 54 65 58 46 6f 72 | 6d 61 74 7b 4c 61 54 65 |dsTeXFor|mat{LaTe|
|000060c0| 58 32 65 7d 0a 20 20 20 | 5c 50 72 6f 76 69 64 65 |X2e}. |\Provide|
|000060d0| 73 43 6c 61 73 73 7b 6e | 65 70 6c 65 74 7d 5b 31 |sClass{n|eplet}[1|
|000060e0| 39 39 35 2f 30 34 2f 30 | 31 20 4e 6f 6e 45 78 69 |995/04/0|1 NonExi|
|000060f0| 73 74 65 6e 74 20 50 72 | 65 73 73 20 6c 65 74 74 |stent Pr|ess lett|
|00006100| 65 72 20 63 6c 61 73 73 | 5d 0a 5c 65 6e 64 7b 76 |er class|].\end{v|
|00006110| 65 72 62 61 74 69 6d 7d | 0a 54 68 65 6e 20 74 68 |erbatim}|.Then th|
|00006120| 69 73 20 6e 65 78 74 20 | 62 69 74 20 70 61 73 73 |is next |bit pass|
|00006130| 65 73 20 61 6e 79 20 6f | 70 74 69 6f 6e 73 20 6f |es any o|ptions o|
|00006140| 6e 20 74 6f 20 74 68 65 | 20 7c 6c 65 74 74 65 72 |n to the| |letter|
|00006150| 7c 20 63 6c 61 73 73 2c | 20 77 68 69 63 68 0a 69 || class,| which.i|
|00006160| 73 20 6c 6f 61 64 65 64 | 20 77 69 74 68 20 74 68 |s loaded| with th|
|00006170| 65 20 7c 61 34 70 61 70 | 65 72 7c 20 6f 70 74 69 |e |a4pap|er| opti|
|00006180| 6f 6e 2e 0a 5c 62 65 67 | 69 6e 7b 76 65 72 62 61 |on..\beg|in{verba|
|00006190| 74 69 6d 7d 0a 20 20 20 | 5c 44 65 63 6c 61 72 65 |tim}. |\Declare|
|000061a0| 4f 70 74 69 6f 6e 2a 7b | 5c 50 61 73 73 4f 70 74 |Option*{|\PassOpt|
|000061b0| 69 6f 6e 73 54 6f 43 6c | 61 73 73 7b 5c 43 75 72 |ionsToCl|ass{\Cur|
|000061c0| 72 65 6e 74 4f 70 74 69 | 6f 6e 7d 7b 6c 65 74 74 |rentOpti|on}{lett|
|000061d0| 65 72 7d 7d 0a 20 20 20 | 5c 50 72 6f 63 65 73 73 |er}}. |\Process|
|000061e0| 4f 70 74 69 6f 6e 73 0a | 20 20 20 5c 4c 6f 61 64 |Options.| \Load|
|000061f0| 43 6c 61 73 73 5b 61 34 | 70 61 70 65 72 5d 7b 6c |Class[a4|paper]{l|
|00006200| 65 74 74 65 72 7d 0a 5c | 65 6e 64 7b 76 65 72 62 |etter}.\|end{verb|
|00006210| 61 74 69 6d 7d 0a 49 6e | 20 6f 72 64 65 72 20 74 |atim}.In| order t|
|00006220| 6f 20 75 73 65 20 74 68 | 65 20 63 6f 6d 70 61 6e |o use th|e compan|
|00006230| 79 20 6c 65 74 74 65 72 | 20 68 65 61 64 2c 20 69 |y letter| head, i|
|00006240| 74 20 72 65 64 65 66 69 | 6e 65 73 20 74 68 65 0a |t redefi|nes the.|
|00006250| 7c 66 69 72 73 74 70 61 | 67 65 7c 20 70 61 67 65 ||firstpa|ge| page|
|00006260| 20 73 74 79 6c 65 3a 20 | 74 68 69 73 20 69 73 20 | style: |this is |
|00006270| 74 68 65 20 70 61 67 65 | 20 73 74 79 6c 65 20 74 |the page| style t|
|00006280| 68 61 74 20 69 73 20 75 | 73 65 64 20 6f 6e 0a 74 |hat is u|sed on.t|
|00006290| 68 65 20 66 69 72 73 74 | 20 70 61 67 65 20 6f 66 |he first| page of|
|000062a0| 20 6c 65 74 74 65 72 73 | 2e 0a 5c 62 65 67 69 6e | letters|..\begin|
|000062b0| 7b 76 65 72 62 61 74 69 | 6d 7d 0a 20 20 20 5c 72 |{verbati|m}. \r|
|000062c0| 65 6e 65 77 63 6f 6d 6d | 61 6e 64 7b 5c 70 73 40 |enewcomm|and{\ps@|
|000062d0| 66 69 72 73 74 70 61 67 | 65 7d 7b 25 0a 20 20 20 |firstpag|e}{%. |
|000062e0| 20 20 20 5c 72 65 6e 65 | 77 63 6f 6d 6d 61 6e 64 | \rene|wcommand|
|000062f0| 7b 5c 40 6f 64 64 68 65 | 61 64 7d 7b 3c 6c 65 74 |{\@oddhe|ad}{<let|
|00006300| 74 65 72 68 65 61 64 20 | 67 6f 65 73 20 68 65 72 |terhead |goes her|
|00006310| 65 3e 7d 25 0a 20 20 20 | 20 20 20 5c 72 65 6e 65 |e>}%. | \rene|
|00006320| 77 63 6f 6d 6d 61 6e 64 | 7b 5c 40 6f 64 64 66 6f |wcommand|{\@oddfo|
|00006330| 6f 74 7d 7b 3c 6c 65 74 | 74 65 72 66 6f 6f 74 20 |ot}{<let|terfoot |
|00006340| 67 6f 65 73 20 68 65 72 | 65 3e 7d 25 0a 20 20 20 |goes her|e>}%. |
|00006350| 7d 0a 5c 65 6e 64 7b 76 | 65 72 62 61 74 69 6d 7d |}.\end{v|erbatim}|
|00006360| 0a 41 6e 64 20 74 68 61 | 74 27 73 20 69 74 21 0a |.And tha|t's it!.|
|00006370| 20 0a 5c 73 75 62 73 65 | 63 74 69 6f 6e 7b 45 78 | .\subse|ction{Ex|
|00006380| 61 6d 70 6c 65 3a 20 61 | 20 6e 65 77 73 6c 65 74 |ample: a| newslet|
|00006390| 74 65 72 20 63 6c 61 73 | 73 7d 0a 20 0a 41 20 73 |ter clas|s}. .A s|
|000063a0| 69 6d 70 6c 65 20 6e 65 | 77 73 6c 65 74 74 65 72 |imple ne|wsletter|
|000063b0| 20 63 61 6e 20 62 65 20 | 74 79 70 65 73 65 74 20 | can be |typeset |
|000063c0| 77 69 74 68 20 5c 4c 61 | 54 65 58 7b 7d 2c 20 75 |with \La|TeX{}, u|
|000063d0| 73 69 6e 67 20 61 20 76 | 61 72 69 61 6e 74 20 6f |sing a v|ariant o|
|000063e0| 66 20 74 68 65 0a 7c 61 | 72 74 69 63 6c 65 7c 20 |f the.|a|rticle| |
|000063f0| 63 6c 61 73 73 2e 0a 54 | 68 65 20 63 6c 61 73 73 |class..T|he class|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.