The Latex2e Sources

The Latex2e Sources

The LATEX 2" Sources Johannes Braams David Carlisle Alan Jeffrey Leslie Lamport Frank Mittelbach Chris Rowley Rainer Sch¨opf 2011/06/27 Contents a ltdirchk.dtx1 1 LATEX System Dependent Initialisations1 2 Initialisation2 2.1 INITEX.................................2 2.2 Some bits of 2e.............................3 3 texsys.cfg4 3.1 texsys.cfg................................4 3.2 UNIX (web2c).............................5 3.3 UNIX (other)..............................6 3.4 MSDOS (emtex)............................6 3.5 MSDOS (other).............................6 3.6 VMS (DECUS TEX, PD VMS 3.6)..................6 3.7 VMS (???)................................6 3.8 MACINTOSH (OzTeX 1.6)......................7 3.9 MACINTOSH (other).........................7 3.10 FAKE EXAMPLE...........................7 4 Setting \@currdir 8 5 Setting \input@path 9 6 Filename Parsing 10 7 TEX Versions 11 i 8 ltxcheck.tex 12 b ltplain.dtx 13 9 Plain TEX 13 c ltvers.dtx 25 10 Version Identification 25 d ltdefns.dtx 27 11 Definitions 27 11.1 Initex initialisations.......................... 27 11.2 Saved versions of TEX primitives................... 27 11.3 Command definitions.......................... 28 11.4 Robust commands and protect.................... 35 11.5 Internal defining commands...................... 38 11.6 Commands for Autoloading...................... 40 e ltalloc.dtx 41 12 Counters 41 f ltcntrl.dtx 43 13 Program control structure 43 g lterror.dtx 47 14 Error handling 47 14.1 General commands........................... 47 14.2 Specific errors.............................. 52 h ltpar.dtx 56 15 Paragraphs 56 15.1 Implementation............................. 56 i ltspace.dtx 58 ii 16 Spacing 58 16.1 User Commands............................ 58 16.2 Chris' comments............................ 58 16.3 Some immediate actions........................ 60 16.4 The code................................ 61 16.5 Vertical spacing............................. 65 16.6 Horizontal space (and breaks)..................... 67 j ltlogos.dtx 70 17 Logos 70 k ltfiles.dtx 71 18 File Handling 71 18.1 Safe Input Macros........................... 77 18.2 Listing files............................... 79 l ltoutenc.dtx 81 19 Font encodings 81 19.1 Removing encoding-specific commands................ 83 19.2 The order of declarations....................... 84 19.3 Docstrip modules............................ 84 19.4 Definitions for the kernel........................ 85 19.4.1 Declaration commands..................... 85 19.4.2 Hyphenation.......................... 91 19.4.3 Miscellania........................... 92 19.4.4 Default encodings....................... 92 19.4.5 Math material......................... 94 19.5 Definitions for the OT1 encoding................... 95 19.6 Definitions for the T1 encoding.................... 97 19.7 Definitions for the OMS encoding................... 101 19.8 Definitions for the OML encoding................... 102 19.9 Definitions for the OT4 encoding................... 102 19.10Definitions for the TS1 encoding................... 104 20 Package files 108 20.1 The fontenc package.......................... 108 20.2 The textcomp package......................... 110 20.2.1 Supporting oldstyle digits................... 117 20.2.2 Subset encoding defaults.................... 118 m ltcounts.dtx 120 21 Counters and Lengths 120 21.1 Environment Counter Macros..................... 120 iii n ltlength.dtx 124 22 Lengths 124 o ltfssbas.dtx 125 23 Autoloading parts of NFSS 125 24 Preliminary macros 125 25 Macros for setting up the tables 126 26 Selecting a new font 131 26.1 Macros for the user........................... 131 26.2 Macros for loading fonts........................ 135 27 Assigning math fonts to versions 140 p ltfsstrc.dtx 145 28 Introduction 145 29 A driver for this document 145 30 The Implementation 146 31 Handling Options 146 32 Macros common to fam.tex and tracefnt.sty 148 32.1 General font loading.......................... 148 32.2 Math fonts setup............................ 152 32.2.1 Outline of algorithm for math font sizes........... 152 32.2.2 Code for math font size setting................ 154 32.2.3 Other code for math...................... 155 33 Scaled font extraction 157 33.1 Sizefunctions.............................. 164 q ltfsscmp.dtx 168 34 Compatibility code for NFSS release 1 168 r ltfssdcl.dtx 173 35 Interface Commands 173 s ltfssini.dtx 195 iv 36 NFSS Initialisation 195 36.1 Providing math versions ........................ 195 36.2 Miscellaneous.............................. 196 t fontdef.dtx 201 37 Introduction 201 38 Customization 201 39 The docstrip modules 202 40 A driver for this document 202 41 The fonttext.ltx file 203 41.1 Encodings................................ 203 41.2 Defaults................................. 204 42 The fontmath.ltx file 205 42.1 The font encodings used........................ 205 42.1.1 Symbolfont and Alphabet declarations............ 206 42.2 Math font sizes............................. 206 42.3 The math symbol assignments..................... 207 42.3.1 The letters........................... 207 42.3.2 The digits............................ 208 42.3.3 Punctuation, brace, etc. keys................. 208 42.3.4 Delimitercodes for characters................. 209 42.4 Symbols accessed via control sequences................ 209 42.4.1 Greek letters.......................... 209 42.4.2 Ordinary symbols....................... 210 42.4.3 Large Operators........................ 211 42.4.4 Binary symbols......................... 211 42.4.5 Relations............................ 212 42.4.6 Arrows............................. 213 42.4.7 Punctuation symbols...................... 214 42.4.8 Math accents.......................... 214 42.4.9 Radicals............................. 214 42.4.10 Over and under something, etc................ 215 42.4.11 Delimiters............................ 215 42.5 Math versions of text commands................... 216 42.6 Other special functions and parameters............... 217 42.6.1 Biggggg............................. 217 42.6.2 The log-like functions..................... 217 42.6.3 Parameters........................... 217 43 Default cfg files 217 u preload.dtx 219 v 44 Overview 219 45 Customization 219 46 Module switches for the docstrip program 220 47 A driver for this document 220 48 The code 220 v ltfntcmd.dtx 223 49 Introduction 223 50 The implementation 225 51 Initialization 230 w ltpageno.dtx 231 52 Page Numbering 231 x ltxref.dtx 232 53 Cross Referencing 232 53.1 Cross Referencing............................ 232 53.2 An extension of counter referencing.................. 234 y ltmiscen.dtx 236 54 Miscellaneous Environments 236 54.1 Environments.............................. 236 54.2 Center, Flushright, Flushleft...................... 240 54.3 Verbatim................................ 242 z ltmath.dtx 245 55 Math setup 245 55.1 Math commands based on plain TEX................. 245 55.1.1 The log-like functions..................... 245 55.1.2 Biggggg............................. 246 55.1.3 The UNSORTED Rest..................... 246 55.2 Math Environments.......................... 249 55.3 External options to the standard document classes......... 252 55.3.1 Left equation numbering.................... 252 55.3.2 Flush left equations...................... 253 vi A ltlists.dtx 255 56 List, and related environments 255 56.1 List and Trivlist............................ 256 56.2 Vertical Spacing (skips)........................ 257 56.3 Penalties................................. 257 56.4 Horizontal Spacing (dimens)...................... 257 56.5 Default Values............................. 258 56.6 Itemize and Enumerate........................ 267 B ltboxes.dtx 270 57 LATEX Box commands 270 57.1 Some low-level constructs....................... 280 C lttab.dtx 281 58 Tabbing, Tabular and Array Environments 281 58.1 tabbing................................. 281 58.2 array and tabular environments.................... 289 D ltpictur.dtx 303 59 Picture Mode 303 59.1 Curves.................................. 322 E ltthm.dtx 325 60 Theorem Environments 325 F ltsect.dtx 329 61 Sectioning Commands 329 61.1 The Title................................ 329 61.2 Sectioning................................ 330 61.2.1 Initializations.......................... 336 61.3 Table of Contents etc.......................... 336 61.3.1 Convention........................... 336 61.3.2 Commands........................... 336 G ltfloat.dtx 339 62 Floats 339 62.1 Floating Environments......................... 339 62.2 Footnotes................................ 350 vii H ltidxglo.dtx 356 63 Index and Glossary Generation 356 I ltbibl.dtx 358 64 Bibliography Generation 358 64.1 Default definitions........................... 361 J ltpage.dtx 362 65 Page styles and related commands 362 65.1 Page Style Commands......................... 362 65.2 How a page style makes running heads and feet........... 362 65.3 marking conventions.......................... 362 K ltoutput.dtx 365 66 Output Routine 365 66.1 Floats.................................. 365 66.1.1 Kludgeins............................ 406 66.1.2 Float control.......................... 407 66.1.3 Float placement parameters.................. 417 L ltclass.dtx 420 67 Introduction 420 68 User interface 420 68.1 Option processing........................... 421 69 Class and Package interface 421 69.1 Class name and version........................ 421 69.2 Package name and version....................... 422 69.3 Requiring other packages....................... 422 69.4 Declaring

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    550 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us