diff options
Diffstat (limited to 'obsolete/macros/inrstex/inrstex/inrsdef.tex')
-rw-r--r-- | obsolete/macros/inrstex/inrstex/inrsdef.tex | 256 |
1 files changed, 256 insertions, 0 deletions
diff --git a/obsolete/macros/inrstex/inrstex/inrsdef.tex b/obsolete/macros/inrstex/inrstex/inrsdef.tex new file mode 100644 index 0000000000..db1e81346d --- /dev/null +++ b/obsolete/macros/inrstex/inrstex/inrsdef.tex @@ -0,0 +1,256 @@ +%-*-tex-*- +% Copyright Michael J. Ferguson, INRS-Telecommunications +% All rights reserved. + +% ======== Cautions ========= +% If some moduels of INRSTeX are not used, some of these defaults will +% NOT be defined. + +% This file has most of the default values in plain.tex and inrstex. +% The parameters that are not modified from plain are % -- out. + +% ======== Plain.tex parameters ... set in plain and initex ==== + +% All of TeX's numeric parameters are listed here, +% Most are untouched from plain.tex but some are indeed modified. +% The order is not the same as in plain.tex + +% These parameters are actually changed. + +\widowpenalty = 400 % needs to be more than 100 +\clubpenalty = 800 % needs to be more than 100 + +% None of the values below are actually changed. They are included for +% information ... and possibly future modifcations. + +% --- Penalties --- + +% \displaywidowpenalty=50 +% \brokenpenalty=100 +% \predisplaypenalty=10000 +% \postdisplaypenalty=0 +% \interlinepenalty=0 +% \interdisplaylinepenalty=100 +% \interfootnotelinepenalty=100 + +% \pretolerance=100 +% \tolerance=200 % INITEX sets this to 10000 +% \hbadness=1000 +% \vbadness=1000 +% \linepenalty=10 +% \hyphenpenalty=50 +% \exhyphenpenalty=50 +% \binoppenalty=700 +% \relpenalty=500 +% \floatingpenalty=0, set during \insert +% \outputpenalty=0, set before TeX enters \output +% \doublehyphendemerits=10000 +% \finalhyphendemerits=5000 +% \adjdemerits=10000 + +% ---- paragraph control ---- +% \looseness=0, cleared by TeX after each paragraph +% \uchyph=1 +% \parindent=20pt +% \hangindent=0pt, zeroed by TeX after each paragraph +% \baselineskip=0pt, changed by \normalbaselines +% \lineskip=0pt, changed by \normalbaselines +% \parskip=0pt plus 1pt +% \parfillskip=0pt plus 1fil +% \normalbaselineskip=12pt +% \normallineskip=1pt +% \normallineskiplimit=0pt + +% ----- Sizes/overfull boxes ---- +% \hfuzz=0.1pt % ... \finalversion mod +% \vfuzz=0.1pt % ... \finalversion mod +% \overfullrule=5pt % ... \finalversion mod +% \hsize=6.5in % ... pagsty.tex and inrsdef.tex +% \vsize=8.9in % ... pagsty.tex and inrsdef.tex +% \maxdepth=4pt +% \splitmaxdepth=\maxdimen +% \boxmaxdepth=\maxdimen +% \lineskiplimit=0pt, changed by \normalbaselines +% \leftskip=0pt +% \rightskip=0pt +% \topskip=10pt +% \splittopskip=10pt + + +% ------- Internal Math parms ----- +% \delimitershortfall=5pt +% \nulldelimiterspace=1.2pt +% \scriptspace=0.5pt +% \mathsurround=0pt +% \thinmuskip=3mu +% \medmuskip=4mu plus 2mu minus 4mu +% \thickmuskip=5mu plus 5mu +% \jot=3pt + +% ---- Display Math Spacing ---- +% \predisplaysize=0pt, set before TeX enters $$ +% \displaywidth=0pt, set before TeX enters $$ +% \displayindent=0pt, set before TeX enters $$ +% \abovedisplayskip=12pt plus 3pt minus 9pt +% \abovedisplayshortskip=0pt plus 3pt +% \belowdisplayskip=12pt plus 3pt minus 9pt +% \belowdisplayshortskip=7pt plus 3pt minus 4pt + + +% \hoffset=0pt % not used in INRSTeX +% \voffset=0pt % not used in INRSTeX + +% \tabskip=0pt +% \spaceskip=0pt +% \xspaceskip=0pt + +% ------ Vertical Spacing ----- +% \smallskipamount=3pt plus 1pt minus 1pt +% \medskipamount=6pt plus 2pt minus 2pt +% \bigskipamount=12pt plus 4pt minus 4pt + +% ------ Debugging/Misc ----- +% \pausing=0 +% \tracingonline=0 +% \tracingmacros=0 +% \tracingstats=0 +% \tracingparagraphs=0 +% \tracingpages=0 +% \tracingoutput=0 +% \tracinglostchars=1 +% \tracingcommands=0 +% \tracingrestores=0 +% \globaldefs=0 +% \maxdeadcycles=25 % INITEX does this +% \hangafter=1 % INITEX does this, also TeX after each paragraph +% \fam=0 +% \mag=1000 % INITEX does this +% \escapechar=`\\ % INITEX does this +% \defaulthyphenchar=`\- +% \defaultskewchar=-1 +% \endlinechar=`\^^M % INITEX does this +% \newlinechar=-1 +% \delimiterfactor=901 +% \time=now % TeX does this at beginning of job +% \day=now % TeX does this at beginning of job +% \month=now % TeX does this at beginning of job +% \year=now % TeX does this at beginning of job +% \showboxbreadth=5 +% \showboxdepth=3 + + +% ========= Defaults specific to INRSTeX ========== + +% ====== Baselineskip spacings ========= + +\def\normalbaselineskipsize{2.8ex \normalbaselineskipglue} +\def\normalbaselineskipglue{plus .07ex minus .07ex} +\def\normallineskipform{\lineskip 1pt \lineskiplimit 0pt} + + +% ====== Turns off slicing rules for Versatec ======= +\let\ptrule=\relax +\let\prule=\relax + +% ====== Paper Sizes and Margins ======== +\hpapersize= 8.5in +\vpapersize= 11in +\topmarginsize = 1in +\leftmarginsize= 1.25in + + +% ======== Chapter/Section default forms ===== +\nochaptertrue % defaults to not chapters +\chnum=0 \def\chnumform{\the\chnum} +\shnum=0 \def\shnumform{\the\shnum} +\sshnum=0 \def\sshnumform{\the\sshnum} +\ssshnum=0 \def\ssshnumform{\the\ssshnum} + +% the periods between the numbers and the orders are defined in +% \numberbychapter and \numberbysection + +% ======== Single/Multicolumn ======== +\numcolumns =1 +\firstcolumnoffset= 0pt +\intercolumnsep = {\hskip 2em} %intercolumn spacing default + +% ========= Set Default Spacings ========== +% The spacings in INRSTeX are all relative to a font. This means that a +% change in font family requires a change in these spacings. + +\newtoks\everysetspacings % this is a way to modify a few font dependent spacings + +\def\setspacings{% ==== section head spacing defaults ===== + \prsheadskip= 6ex plus 2ex minus 2ex + \posheadskip= 2ex + \prssheadskip= 5ex plus 1.8ex minus 1.8ex + \possheadskip= 2ex + \prsssheadskip= 3ex plus 1ex minus 1ex + \posssheadskip= 2ex + \prdsssheadskip= 3ex plus 1ex minus 1ex + \podsssheadskip= 2ex + \relax % interitem spacing in table of contents, figure list ... are + \relax % directly in the macros ... + \righttocindent = 5em % righthand indent for number in tocbox + \relax % =========== list spacing parameters ===== + \prlistskip= 2ex plus 3pt minus 2pt + \prsublistskip = 1ex plus 2pt minus 1pt + \prsubsublistskip = .5ex plus 1pt minus 1pt + \polistskip= 2ex plus 1pt minus 1pt + \posublistskip= 1ex plus 1pt minus 1pt + \posubsublistskip= .5ex plus 1pt minus 1pt + \listitemskip = 2ex plus 1pt minus 1pt + \sublistitemskip =1ex plus .75pt minus .75pt + \subsublistitemskip = .5ex plus .5pt minus .5pt + \listindent = 3em + \sublistindent = 6em + \subsublistindent = 9em + \listitemmarksize = 1.5em + \relax %======= Caption box spacing ======= + \captionskip = 2ex % spacing between a figure/table and caption + \the\everysetspacings + } +% note \setspacings is called when the style default sets a document font + + + +% ========== Toc Out Forms =========== +% These are the default forms for writing to a toc file. + +\def\shtocout{\string\shtoc} +\def\sshtocout{\string\sshtoc} +\def\ssshtocout{\string\ssshtoc} +\def\dssshtocout{\string\dssshtoc} +\def\chtocout{\string\chtoc} +\def\prtocout{\string\prtoc} +\def\figtocout{\string\figtoc} +\def\tbltocout{\string\tbltoc} + +% ========== Auto referencing default ======= +\autoreferencetrue % autonumbering is not default true ... no \refs .. no + % effect + +% ============ Captionbox Defaults ========= +\topcaptionfalse +\def\captiontextfraction{0.8} +\captionbodyon + +% ============ Title Spacing/Width ========== +\def\titlefraction{0.9} +\def\titlespacing{1.5} + +% ====== Plain \magnification change ====== +\let\magnification=\mag + +% ============ Tagging/Reference ======= +\pagetagsoff % default is the pagetags off -- more efficient. + +% =========== Allows Figures to be Silent ======== +\silentfigurefalse % defaults to non silent figures + +%======== style defaults +\paperstyle +\englishversion +\draftversion + + |