param.tex (15181B)
1 % Every TeX, eTeX, pdfTeX, Aleph, and LuaTeX parameter is listed here (except 2 % those for which I could not find sufficient documentation, like the PDF 3 % variables not documented in the pdfTeX manual; see primitive.tex). The TeX 4 % parameters and their respective descriptions are copied from Chapter 24 of 5 % The TeXBook. The descriptions of the parameters from the other engines are 6 % adapted from the eTeX, pdfTeX, and LuaTeX manuals. (I could not find a manual 7 % for Aleph/Omega.) 8 9 % Except where otherwise indicated in angle brackets, the value assigned to a 10 % parameter by iniTeX is zero/empty. Except where otherwise indicated in square 11 % brackets, the value we assign to a parameter is standard (i.e., used in plain 12 % TeX or TeX Live). 13 14 % We assign values to every parameter---even when the assigned value is the 15 % iniTeX default---, except if no value is appropriate or if the parameter is 16 % set by other code. 17 18 %%% TeX integer parameters: 19 \pretolerance=100 % badness tolerance before hyphenation 20 \tolerance=200 % badness tolerance after hyphenation <10000> 21 \hbadness=1000 % badness above which bad hboxes will be shown 22 \vbadness=1000 % badness above which bad vboxes will be shown 23 \linepenalty=10 % amount added to badness of every line in a paragraph 24 \hyphenpenalty=50 % penalty for line break after discretionary hyphen 25 \exhyphenpenalty=50 % penalty for line break after explicit hyphen 26 \binoppenalty=700 % penalty for line break after binary operation 27 \relpenalty=500 % penalty for line break after math relation 28 \clubpenalty=150 % penalty for creating a club line at bottom of page 29 \widowpenalty=150 % penalty for creating a widow line at top of page 30 \displaywidowpenalty=50 % ditto, before a display 31 \brokenpenalty=100 % penalty for page break after a hyphenated line 32 \predisplaypenalty=10000 % penalty for page break just before a display 33 \postdisplaypenalty=50 % penalty for page break just after a display [0] 34 \interlinepenalty=0 % additional penalty for page break between lines 35 \floatingpenalty=0 % penalty for insertions that are split 36 \outputpenalty=0 % penalty at the current page break 37 \doublehyphendemerits=10000 % demerits for consecutive broken lines 38 \finalhyphendemerits=5000 % demerits for a penultimate broken line 39 \adjdemerits=10000 % demerits for adjacent incompatible lines 40 \looseness=0 % change to the number of lines in a paragraph 41 \pausing=0 % positive if pausing after each line is read from a file 42 \holdinginserts=0 % positive if insertions remain dormant in output box 43 \tracingonline=0 % positive if showing diagnostic info on the terminal 44 \tracingmacros=0 % positive if showing macros as they are expanded 45 \tracingstats=0 % positive if showing statistics about memory usage 46 \tracingparagraphs=0 % positive if showing line-break calculations 47 \tracingpages=0 % positive if showing page-break calculations 48 \tracingoutput=0 % positive if showing boxes that are shipped out 49 \tracinglostchars=1 % positive if showing characters not in the font 50 \tracingcommands=0 % positive if showing commands before they are executed 51 \tracingrestores=0 % positive if showing deassignments when groups end 52 \language=0 % the current set of hyphenation rules 53 \uchyph=1 % positive if hyphenating words beginning with capital letters 54 \lefthyphenmin=2 % smallest fragment at beginning of hyphenated word 55 \righthyphenmin=3 % smallest fragment at end of hyphenated word 56 \globaldefs=0 % nonzero if overriding \global specifications 57 \defaulthyphenchar=`\- % \hyphenchar value when a font is loaded 58 \defaultskewchar=-1 % \skewchar value when a font is loaded 59 \escapechar=`\\ % escape character in the output of control sequence tokens <`\\> 60 \endlinechar=`\^^M % character placed at the right end of an input line <`\^^M> 61 \newlinechar=-1 % character that starts a new output line 62 \maxdeadcycles=25 % upper bound on \deadcycles <25> 63 \hangafter=1 % hanging indentation changes after this many lines <1> 64 \fam=0 % the current family number 65 \mag=1000 % magnification ratio, times 1000 (DVI mode only) <1000> 66 \delimiterfactor=901 % ratio for variable delimiters, times 1000 67 % \time % current time of day in minutes since midnight 68 % \day % current day of the month 69 % \month % current month of the year 70 % \year % current year of our Lord 71 \showboxbreadth=256 % maximum items per level when boxes are shown [5] 72 \showboxdepth=8 % maximum level when boxes are shown [3] 73 \errorcontextlines=5 % maximum extra context shown when errors occur 74 75 %%% TeX dimen parameters: 76 \hfuzz=0.1pt % maximum overrun before overfull hbox messages occur 77 \vfuzz=0.1pt % maximum overrun before overfull vbox messages occur 78 \overfullrule=5pt % width of rules appended to overfull boxes 79 \emergencystretch=0pt % reduces badnesses on final pass of line-breaking 80 % \hsize=6.5in % line width in horizontal mode 81 % \vsize=8.9in % page height in vertical mode 82 \maxdepth=4pt % maximum depth of boxes on main pages 83 \splitmaxdepth=\maxdimen % maximum depth of boxes on split pages 84 \boxmaxdepth=\maxdimen % maximum depth of boxes on explicit pages 85 % \lineskiplimit=0pt % threshold where \baselineskip changes to \lineskip 86 \delimitershortfall=5pt % maximum space not covered by a delimiter 87 \nulldelimiterspace=1.2pt % width of a null delimiter 88 \scriptspace=0.5pt % extra space after subscript or superscript 89 \mathsurround=0pt % kerning before and after math in text 90 \predisplaysize=0pt % length of text preceding a display 91 \displaywidth=0pt % length of line for displayed equation 92 \displayindent=0pt % indentation of line for displayed equation 93 \parindent=0pt % width of \indent [20pt] 94 \hangindent=0pt % amount of hanging indentation 95 \hoffset=0pt % horizontal offset in \shipout 96 \voffset=0pt % vertical offset in \shipout 97 98 %%% TeX glue parameters: 99 % \baselineskip=12pt % desired glue between baselines 100 % \lineskip=1pt % interline glue if \baselineskip isn't feasible 101 \parskip=0pt plus1pt % extra glue just above paragraphs 102 \abovedisplayskip=12pt plus3pt minus9pt % extra glue just above displays 103 \abovedisplayshortskip=0pt plus3pt % ditto, following short lines 104 \belowdisplayskip=12pt plus3pt minus9pt % extra glue just below displays 105 \belowdisplayshortskip=7pt plus3pt minus4pt % ditto, following short lines 106 \leftskip=0pt % glue at left of justified lines 107 \rightskip=0pt % glue at right of justified lines 108 \topskip=10pt % glue at top of main pages 109 \splittopskip=10pt % glue at top of split pages 110 \tabskip=0pt % glue between aligned entries 111 \spaceskip=0pt % glue between words, if nonzero 112 \xspaceskip=0pt % glue between sentences, if nonzero 113 \parfillskip=0pt plus1fil % additional \rightskip at end of paragraphs 114 115 %%% TeX muglue parameters: 116 \thinmuskip=3mu % thin space in math formulas 117 \medmuskip=4mu plus2mu minus4mu % medium space in math formulas 118 \thickmuskip=5mu plus5mu % thick space in math formulas 119 120 %%% TeX token parameters: 121 % \output % the user's output routine 122 \everypar={} % tokens to insert when a paragraph begins 123 \everymath={} % tokens to insert when math in text begins 124 \everydisplay={} % tokens to insert when display math begins 125 \everyhbox={} % tokens to insert when an hbox begins 126 \everyvbox={} % tokens to insert when a vbox begins 127 \everyjob={} % tokens to insert when the job begins 128 \everycr={} % tokens to insert after every \cr or nonredundant \crcr 129 \errhelp={} % tokens that supplement an \errmessage 130 131 %%% eTeX parameters: 132 \tracingassigns=0 % positive if showing assignments 133 \tracinggroups=0 % positive if showing save groups 134 \tracingifs=0 % positive if showing conditionals 135 \tracingscantokens=0 % positive if showing the opening and closing of \scantokens pseudo-files 136 \tracingnesting=0 % positive if showing improper nesting of groups and conditionals within files 137 % \predisplaydirection % text direction preceding a display (XXX maybe different in LuaTeX) 138 \lastlinefit=0 % adjustment ratio for last line of paragraph, times 1000 139 \savingvdiscards=0 % positive if saving items discarded from vertical lists 140 \savinghyphcodes=0 % positive if \patterns saves \lccode values as hyphenation codes (XXX maybe different in LuaTeX) 141 \interactionmode=3 % 0=batchmode, 1=nonstopmode, 2=scrollmode, 3=errorstopmode <3> 142 \everyeof={} % tokens to insert when an \input file ends 143 \interlinepenalties=0 % \parshape-like array of interline penalties 144 \clubpenalties=0 % \parshape-like array of club penalties 145 \widowpenalties=0 % \parshape-like array of widow penalties 146 \displaywidowpenalties=0 % \parshape-like array of display widow penalties 147 148 %%% pdfTeX parameters: 149 % \pdfpagewidth % see \pagewidth 150 % \pdfpageheight % see \pageheight 151 % \pdfadjustspacing % see \adjustspacing 152 % \pdfprotrudechars % see \protrudechars 153 % \pdfoutput % see \outputmode 154 % \pdfdraftmode % see \draftmode 155 % \pdfpxdimen % see \pxdimen 156 % \pdftracingfonts % see \tracingfonts 157 \pdfcompresslevel=9 % stream compression level: 0=none, 1=fastest, ..., 9=best 158 \pdfobjcompresslevel=2 % non-stream compression level: 0=none, 1=paranoid, 2=all except /Info, 3=all 159 \pdfdecimaldigits=3 % numeric accuracy of real coordinates in range 0..4 160 \pdfgamma=1000 % device gamma, times 1000 <1000> 161 \pdfimageresolution=0 % last resort bitmap resolution in units of DPI; 0 to ignore 162 \pdfimageapplygamma=0 % 1 if applying gamma correction to PNG images 163 \pdfimagegamma=2200 % default assumed gamma for PNG images, times 1000 <2200> 164 \pdfimagehicolor=1 % 1 if embedding PNG images with 16 bit wide color channels at full color resolution 165 \pdfpkresolution=600 % resolution of embedded PK fonts 166 \pdfinclusioncopyfonts=0 % positive if embedding fonts from PDF images 167 \pdfinclusionerrorlevel=-1 % behaviour upon including PDF file newer than \pdfminorversion [0] (XXX doesn't work in my luaTeX) 168 \pdfgentounicode=1 % 1 if /ToUnicode resource included in the output 169 % \pdfomitcharset=0 % 1 if /CharSet entry in fonts is omitted in output (XXX doesn't work in my luaTeX) 170 \pdfpagebox=0 % default PDF page box to use when including PDF images 171 \pdfmajorversion=1 % major version number of PDF standard to use 172 \pdfminorversion=5 % minor version number of PDF standard to use <4> 173 \pdfuniqueresname=0 % positive if PDF resource names made reasonably unique 174 \pdfhorigin=0pt % horizontal offset of output box on page [1in] 175 \pdfvorigin=0pt % vertical offset of output box on page [1in] 176 \pdflinkmargin=0pt % margin of the box representing hyperlinks 177 \pdfdestmargin=0pt % margin added to the rectangle around destinations 178 \pdfthreadmargin=0pt % margin added to beads within article threads 179 \pdfpagesattr={} % tokens to add to the root /Pages object 180 \pdfpageattr={} % tokens to add to each /Page object (overrides \pdfpagesattr) 181 \pdfpageresources={} % tokens to add to the /Resources dictionary of each page 182 \pdfpkmode={} % METAFONT mode for pixel font generation 183 % \tracingstacklevels % depth limit for macro expansion (XXX not in LuaTeX?) 184 185 %%% Aleph parameters: 186 % TODO where is the documentation on Aleph? 187 % \pagedir, \bodydir, \pardir, \textdir, \mathdir, \boxdir 188 % \pagerightoffset, \pagebottomoffset 189 190 %%% LuaTeX parameters: 191 % TODO: missing params; most are related to hyphenation or math 192 % Note that some primitives added by LuaTeX are prefixed with "pdf", despite 193 % not being inheritied from pdfTeX. 194 % \pagewidth % page width of the PDF output 195 % \pageheight % page height of the PDF output 196 \adjustspacing=0 % 1 if expanding glyphs and kerns; 2 if expansion considered during line breaking; 3 if expanding only glyphs 197 \protrudechars=0 % 1 if protruding glyphs; 2 if protrusion considered during line breaking 198 \outputmode=1 % positive if outputting PDF; DVI otherwise [0] 199 \draftmode=0 % 1 if not writing the output file and reading images (e.g., for generating aux file) 200 \pxdimen=1bp % value of the px unit <1bp> 201 \tracingfonts=0 % 1 if showing TFM name and font size 202 % \pdfrecompress=0 % 1 if compressed objects are recompressed according to \pdfcompresslevel (XXX doesn't work in my luaTeX) 203 \pdfimageaddfilename=0 % 1 if image filenames written to PDF output 204 \pdfignoreunknownimages=0 % 1 if unknown image types are allowed 205 \pdfomitcidset=0 % 1 if /CIDSet entry in fonts is omitted in output 206 \pdfxformattr={} % tokens to add attributes in the form XObject 207 \pdfxformresources={} % tokens to add to the resources dictionary of the form XObject 208 \pdfsuppressoptionalinfo=\numexpr % bit field controlling info in PDF output 209 0 210 % + 1 % PTEX.FullBanner 211 % + 2 % PTEX.FileName 212 % + 4 % PTEX.PageNumber 213 % + 8 % PTEX.InfoDict 214 % + 16 % Creator 215 % + 32 % CreationDate 216 % + 64 % ModDate 217 % + 128 % Producer 218 % + 256 % Trapped 219 % + 512 % ID 220 \relax 221 % TODO: various params that change when you load a font 222 % TODO: \mathsurroundskip \mathsurroundmode \mathdisplayskipmode 223 % \prebinoppenalty \prerelpenalty \matheqnogapstep \predisplaygapfactor ... 224 225 %%% Custom "parameters": 226 % TODO: perhaps some of these should be style-specific 227 \newskip\normalbaselineskip 228 \newskip\normallineskip 229 \newdimen\normallineskiplimit 230 \newskip\normalparskip 231 \newskip\normalparindent 232 233 \newdimen\lineht 234 \newdimen\linedp 235 236 \newskip\smallskipamount \smallskipamount=3pt plus1pt minus1pt 237 \newskip\medskipamount \medskipamount=6pt plus2pt minus2pt 238 \newskip\bigskipamount \bigskipamount=12pt plus4pt minus4pt 239 240 \newdimen\jot \jot=3pt 241 \newcount\interdisplaylinepenalty \interdisplaylinepenalty=100 242 \newcount\interfootnotelinepenalty \interfootnotelinepenalty=100