% SLIDE DOCUMENT STYLE -- version 0.6 for SLiTeX version 0.9 % Copyright (C) 1983 by Leslie Lamport \warning{Document Style 'slide' -- version 0.6 for SLiTeX version 0.9} \warning{} \def\~notinslitex{\errmessage{This command not allowed in SLiTeX.}} % **************************************** % * FONTS * % **************************************** % \def\~mainsize{\~visibletrue\tiny} \parindent 0pt \def\huge{\~huge\def\~currsize{\~huge}\rm \baselineskip 48pt plus 10pt minus 6pt% \lineskip 2pt% \def\~parskip{48pt plus 30pt minus 6pt}% \parskip\~parskip \abovedisplayskip 24pt plus 10pt minus 6pt% \belowdisplayskip 24pt plus 10pt minus 6pt% \abovedisplayshortskip 12pt plus 8pt% \belowdisplayshortskip 12pt plus 8pt% \setbox\strutbox=\hbox{\vrule height27pt depth11pt width0pt}% } \def\~huge{\if~visible\thirtytwopoint\else\ithirtytwopoint\fi} \def\big{\~big\def\~currsize{\~big}\rm \baselineskip 42pt plus 8pt minus 5pt% \lineskip 2pt% \def\~parskip{40pt plus 20pt minus 4pt}% \parskip\~parskip \abovedisplayskip 20pt plus 8pt minus 3pt% \belowdisplayskip 20pt plus 8pt minus 3pt% \abovedisplayshortskip 10pt plus 5pt% \belowdisplayshortskip 10pt plus 5pt% \setbox\strutbox=\hbox{\vrule height20pt depth8.5pt width0pt}% } \def\~big{\if~visible\twentyfourpoint\else\itwentyfourpoint\fi} \def\normal{\~normal\def\~currsize{\~normal}\rm \baselineskip 30pt plus 3pt minus 3pt% \lineskip 2pt% \def\~parskip{30pt plus 18pt minus 9pt}% \parskip\~parskip \abovedisplayskip 15pt plus 3pt minus 3pt% \belowdisplayskip 10pt plus 3pt minus 3pt% \abovedisplayshortskip 10pt plus 3pt% \belowdisplayshortskip 10pt plus 3pt% \setbox\strutbox=\hbox{\vrule height17pt depth7pt width0pt}% } \def\~normal{\if~visible\twentypoint\else\itwentypoint\fi} \def\small{\~small\def\~currsize{\~small}\rm \baselineskip 19pt plus 3pt minus 1pt% \lineskip 2pt% \def\~parskip{15pt plus 15pt minus 7pt}% \parskip\~parskip \abovedisplayskip 12pt plus 3pt minus 3pt% \belowdisplayskip 9pt plus 3pt minus 3pt% \abovedisplayshortskip 6pt plus 3pt% \belowdisplayshortskip 6pt plus 3pt% \setbox\strutbox=\hbox{\vrule height13.5pt depth5.6pt width0pt}% } \def\~small{\if~visible\sixteenpoint\else\isixteenpoint\fi} \def\tiny{\~tiny\def\~currsize{\~tiny}\rm \baselineskip 16pt plus 2pt minus 1pt% \lineskip 2pt% \def\~parskip{11pt plus 11pt minus 5pt}% \parskip\~parskip \abovedisplayskip 14pt plus 3pt minus 10pt% \belowdisplayskip 14pt plus 3pt minus 10pt% \abovedisplayshortskip 0pt plus 3pt% \belowdisplayshortskip 8pt plus 3pt minus 5pt% \setbox\strutbox=\hbox{\vrule height10pt depth4pt width0pt}% } \def\~tiny{\if~visible\twelvepoint\else\itwelvepoint\fi} % Environment names for type styles % Note that the \~end... commands are left undefined, since % TeX turns an undefined \begincsname ... \endcsname into \relax \def\~beginnormal{\normal} \def\~beginhuge{\huge} \def\~begintiny{\tiny} \def\~beginsmall{\small} \def\~beginbig{\big} \def\~beginroman{\rm} \def\~beginitalic{\it} \def\~beginboldface{\bf} % **************************************** % * PAGE STYLES * % **************************************** % % % \def\head#1{\def\~lhead{#1}\def\~rhead{#1}} \def\~lhead{} \def\~rhead{} \def\~ps~slide{\def\~oddfoot{\~mainsize +\hfil\~co~slide}% \def\~oddhead{\~mainsize +\hfil +}% \def\~evenfoot{\~mainsize +\hfil\~co~slide}% \def\~evenhead{\~mainsize +\hfil +}} \def\~ps~overlay{\def\~oddfoot{\~mainsize +\hfil\~co~overlay}% \def\~oddhead{\~mainsize +\hfil +}% \def\~evenfoot{\~mainsize +\hfil\~co~overlay}% \def\~evenhead{\~mainsize +\hfil +}} \def\~ps~note{\def\~oddfoot{\~mainsize \hbox{}\hfil\~co~note}% \def\~oddhead{}% \def\~evenfoot{\~mainsize \hbox{}\hfil\~co~note}% \def\~evenhead{}} \def\~ps~empty{\def\~oddhead{}\def\~oddfoot{}% \def\~evenhead{}\def\~evenfoot{}} \def\~co~slide{\~arabic{\~c~slide}\hbox to 2em{}} \def\~co~overlay{\~arabic{\~c~slide}\hbox to 2em{-\~alph{\~c~overlay}\hfil}} \def\~co~note{\~arabic{\~c~slide}-\~arabic{\~c~note}} % **************************************** % * ENVIRONMENTS * % **************************************** % % titlepage % \def\~begintitlepage{\newpage\thispagestyle{empty}} \def\~endtitlepage{\newpage} % DEFAULT VALUES FOR list ENVIRONMENT % \def\~d~leftmargin{20pt} \def\~d~labelwidth{15pt} \def\~d~labelsep{6pt} % PARAGRAPH-FORMATTING ENVIRONMENTS % --------------------------------- % VERSE % \CR ends line % Line continuations indented further. % Blank line makes new paragraph with \parskip space % \def\~beginverse{\def\CR{\item}\def\CRSP##1{\par\vskip ##1 \item}\~beginlist {}{\itemsep{0pt} \listparindent{-15pt}\leftmargin{30pt}\rightmargin{15pt}}\item} \let\~endverse=\~endlist % QUOTATION % Fills lines % Indents paragraph % \def\~beginquotation{\~beginlist{}{\listparindent{15pt}}\item} \let\~endquotation=\~endlist % QUOTE -- same as quotation except no paragraph indentation, \def\~beginquote{\~beginlist{}{}\item} \let\~endquote=\~endlist % LIST-MAKING ENVIRONMENTS % ------------------------ % % PARAMETERS FOR enumerate % \namedef{~co~enum1}{\~arabic{\backslash{~c~enum1}}.} \namedef{~co~enum2}{(\~alph{\backslash{~c~enum2}})} \namedef{~co~enum3}{\~roman{\backslash{~c~enum3}}.} \namedef{~co~enum4}{\~Alph{\backslash{~c~enum4}}.} \pnamedef{~cr~enum1}{#1}{\~arabic{#1}} \pnamedef{~cr~enum2}{#1#2}{\~arabic{#1}(\~alph{#2})} \pnamedef{~cr~enum3}{#1#2#3}{\~arabic{#1}(\~alph{#2})\~roman{#3}} \pnamedef{~cr~enum4}{#1#2#3#4}{\~arabic{#1}(\~alph{#2})\~roman{#3}-\~Alph{#4}} \namedef{~ca~enum1}{{\backslash{~c~enum1}}} \namedef{~ca~enum2}{{\backslash{~c~enum1}}{\backslash{~c~enum2}}} \namedef{~ca~enum3}{\backslash{~ca~enum2}{\backslash{~c~enum3}}} \namedef{~ca~enum4}{\backslash{~ca~enum3}{\backslash{~c~enum4}}} \namedef{~enum1margin}{26pt} \namedef{~enum2margin}{25pt} \namedef{~enum3margin}{25pt} \namedef{~enum4margin}{25pt} \~definecounter{enum1} \~definecounter{enum2} \~definecounter{enum3} \~definecounter{enum4} % PARAMETERS FOR itemize % \namedef{~item1}{$\bullet$} \namedef{~item2}{--} \namedef{~item3}{$\ast$} \namedef{~item4}{$\cdot$} \namedef{~item1margin}{26pt} \namedef{~item2margin}{25pt} \namedef{~item3margin}{25pt} \namedef{~item4margin}{25pt} % THEOREM ENVIRONMENTS % -------------------- % \let\localtheoremdef=\theoremdef% all theorem environments global \def\~thmnumber#1{\~arabic{#1}} \def\~~beginthmenv#1#2{\~refstepcounter{#1}\vspace{3pt}\par\noindent{\bf #2 \backslash{~co~#1}:}\hskip 3pt\it} \def\~~endthmenv{\vspace{3pt}\rm\~parhack} \theoremdef{theorem}{Theorem} % array AND tabular ENVIRONMENT PARAMETERS % TEMPORARY DEFINITIONS \def\~ar~spacer{\hbox to 20pt{}} \def\~ar~rule{\hbox to 9.7pt{}\vrule width .6pt\hbox to 9.7pt{}} \def\~tb~spacer{\hbox to 20pt{}} \def\~tb~rule{\hbox to 9.7pt{}\vrule width .6pt\hbox to 9.7pt{}} \def\~tb~lrule{\vrule width .6pt\hbox to 9.7pt{}} \def\~tb~rrule{\hbox to 9.7pt{}\vrule width .6pt} \def\hline{\hrule height .6pt} % **************************************** % * MISCELLANEOUS * % **************************************** % % Spacing and rule width for \boxit % \def\~maxmsgs{24} \def\~boxitsep{.25em} \def\~boxitrule{.6pt} % Date % \def\today{\ifcase\the\month\or January\or February\or March\or April\or May\or June\or July\or August\or September\or October\or November\or December\fi \space\number\the\day, \number\the\year} % **************************************** % * FOOTNOTES * % **************************************** % \def\~footinsertskip{10pt plus2pt minus4pt} \def\~topinsertskip{20pt plus2pt minus4pt} \def\~topinsertskipdim{20pt} \def\~footruleheight{.4pt} \def\~footruleshift{4pt} \setdimen\~footinsert=\textheight \setskip\~footinsert=\~footinsertskip %TEMPORARY DEFINITION \splittopskip=9pt %broken footnotes will have this as the top baseline \~definecounter{footnote} \def\~co~footnote{\~arabic{\~c~footnote}} \def\~cr~footnote#1{\~arabic{#1}} \~addtoreset{footnote}{page} \def\~makefootnote#1#2{\tiny\par\noindent\hangindent 10pt\hbox to 10pt{\hss $^{#1}$}\strut #2\strut} \def\~t~lof{F} % don'T produce .LOF file if no \listoffigures \def\listoffigures{\~notinslitex} \def\listoftables{\~notinslitex} \def\~figsep{7pt} \def\~textfigsep{5pt} \def\~captionskip{6pt} % **************************************** % * INITIALIZATION * % **************************************** % % Default initializations \~ps~empty \pagenumbering{arabic} \~makesinglecolumn \normal