The Latex2ε Sources

The Latex2ε Sources

The LATEX 2" Sources Johannes Braams David Carlisle Alan Jeffrey Leslie Lamport Frank Mittelbach Chris Rowley Rainer Sch¨opf 2005/12/01 Contents a ltdirchk.dtx 1 1 LATEX System Dependent Initialisations 1 2 Initialisation 2 2.1 INITEX . 3 2.2 Some bits of 2e . 3 3 texsys.cfg 4 3.1 texsys.cfg . 5 3.2 UNIX (web2c) . 6 3.3 UNIX (other) . 6 3.4 MSDOS (emtex) . 6 3.5 MSDOS (other) . 6 3.6 VMS (DECUS TEX, PD VMS 3.6) . 7 3.7 VMS (???) . 7 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 10 6 Filename Parsing 11 i 7 TEX Versions 12 8 ltxcheck.tex 13 b ltplain.dtx 14 9 Plain TEX 14 c ltvers.dtx 27 10 Version Identification 27 d ltdefns.dtx 29 11 Definitions 29 11.1 Initex initialisations . 29 11.2 Saved versions of TEX primitives . 29 11.3 Command definitions . 30 11.4 Robust commands and protect . 38 11.5 Internal defining commands . 41 11.6 Commands for Autoloading . 43 e ltalloc.dtx 45 12 Counters 45 f ltcntrl.dtx 47 13 Program control structure 47 g lterror.dtx 51 14 Error handling 51 14.1 General commands . 51 14.2 Specific errors . 57 h ltpar.dtx 61 15 Paragraphs 61 15.1 Implementation . 61 ii i ltspace.dtx 63 16 Spacing 63 16.1 User Commands . 63 16.2 Chris' comments . 63 16.3 Some immediate actions . 66 16.4 The code . 66 16.5 Vertical spacing . 71 16.6 Horizontal space (and breaks) . 73 j ltlogos.dtx 76 17 Logos 76 k ltfiles.dtx 77 18 File Handling 77 18.1 Safe Input Macros . 84 18.2 Listing files . 86 l ltoutenc.dtx 87 19 Font encodings 87 19.1 Removing encoding-specific commands . 90 19.2 The order of declarations . 90 19.3 Docstrip modules . 90 19.4 Definitions for the kernel . 91 19.4.1 Declaration commands . 91 19.4.2 Hyphenation . 98 19.4.3 Miscellania . 99 19.4.4 Default encodings . 99 19.4.5 Math material . 101 19.5 Definitions for the OT1 encoding . 102 19.6 Definitions for the T1 encoding . 104 19.7 Definitions for the OMS encoding . 109 19.8 Definitions for the OML encoding . 110 19.9 Definitions for the OT4 encoding . 110 19.10Definitions for the TS1 encoding . 112 20 Package files 117 20.1 The fontenc package . 117 20.2 The textcomp package . 119 20.2.1 Supporting oldstyle digits . 127 20.2.2 Subset encoding defaults . 127 iii m ltcounts.dtx 130 21 Counters and Lengths 130 21.1 Environment Counter Macros . 130 n ltlength.dtx 134 22 Lengths 134 o ltfssbas.dtx 135 23 Autoloading parts of NFSS 135 24 Preliminary macros 135 25 Macros for setting up the tables 136 26 Selecting a new font 142 26.1 Macros for the user . 142 26.2 Macros for loading fonts . 145 27 Assigning math fonts to versions 151 p ltfsstrc.dtx 157 28 Introduction 157 29 A driver for this document 157 30 The Implementation 158 31 Handling Options 158 32 Macros common to fam.tex and tracefnt.sty 160 32.1 General font loading . 160 32.2 Math fonts setup . 165 32.2.1 Outline of algorithm for math font sizes . 165 32.2.2 Code for math font size setting . 166 32.2.3 Other code for math . 167 33 Scaled font extraction 169 33.1 Sizefunctions . 178 q ltfsscmp.dtx 182 iv 34 Compatibility code for NFSS release 1 182 r ltfssdcl.dtx 187 35 Interface Commands 187 s ltfssini.dtx 210 36 NFSS Initialisation 210 36.1 Providing math versions . 210 36.2 Miscellaneous . 212 t fontdef.dtx 216 37 Introduction 216 38 Customization 216 39 The docstrip modules 217 40 A driver for this document 217 41 The fonttext.ltx file 218 41.1 Encodings . 218 41.2 Defaults . 220 42 The fontmath.ltx file 220 42.1 The font encodings used . 221 42.1.1 Symbolfont and Alphabet declarations . 221 42.2 Math font sizes . 222 42.3 The math symbol assignments . 222 42.3.1 The letters . 222 42.3.2 The digits . 223 42.3.3 Punctuation, brace, etc. keys . 224 42.3.4 Delimitercodes for characters . 224 42.4 Symbols accessed via control sequences . 225 42.4.1 Greek letters . 225 42.4.2 Ordinary symbols . 226 42.4.3 Large Operators . 226 42.4.4 Binary symbols . 227 42.4.5 Relations . 228 42.4.6 Arrows . 229 42.4.7 Punctuation symbols . 230 42.4.8 Math accents . 230 v 42.4.9 Radicals . 231 42.4.10 Over and under something, etc . 231 42.4.11 Delimiters . 231 42.5 Math versions of text commands . 233 42.6 Other special functions and parameters . 233 42.6.1 Biggggg . 233 42.6.2 The log-like functions . 233 42.6.3 Parameters . 233 43 Default cfg files 234 u preload.dtx 235 44 Overview 235 45 Customization 235 46 Module switches for the docstrip program 236 47 A driver for this document 236 48 The code 236 v ltfntcmd.dtx 239 49 Introduction 239 50 The implementation 241 51 Initialization 247 w ltpageno.dtx 248 52 Page Numbering 248 x ltxref.dtx 249 53 Cross Referencing 249 53.1 Cross Referencing . 249 53.2 An extension of counter referencing . 251 y ltmiscen.dtx 253 vi 54 Miscellaneous Environments 253 54.1 Environments . 253 54.2 Center, Flushright, Flushleft . 257 54.3 Verbatim . 259 z ltmath.dtx 262 55 Math setup 262 55.1 Math commands based on plain TEX . 262 55.1.1 The log-like functions . 262 55.1.2 Biggggg . 263 55.1.3 The UNSORTED Rest . 263 55.2 Math Environments . 267 55.3 External options to the standard document classes . 270 55.3.1 Left equation numbering . 270 55.3.2 Flush left equations . 270 A ltlists.dtx 273 56 List, and related environments 273 56.1 List and Trivlist . 274 56.2 Vertical Spacing (skips) . 275 56.3 Penalties . 275 56.4 Horizontal Spacing (dimens) . 275 56.5 Default Values . 276 56.6 Itemize and Enumerate . 286 B ltboxes.dtx 289 57 LATEX Box commands 289 57.1 Some low-level constructs . 299 C lttab.dtx 301 58 Tabbing, Tabular and Array Environments 301 58.1 tabbing . 301 58.2 array and tabular environments . 310 D ltpictur.dtx 325 59 Picture Mode 325 59.1 Curves . 345 vii E ltthm.dtx 349 60 Theorem Environments 349 F ltsect.dtx 353 61 Sectioning Commands 353 61.1 The Title . ..

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    595 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