home *** CD-ROM | disk | FTP | other *** search
- % SLIDES DOCUMENT STYLE -- released 04 Nov 1991
- % for SliTeX version 2.09
- % Copyright (C) 1985, 1991 by Leslie Lamport
-
-
- \typeout{Document Style 'slides' -- released 04 Nov 91}
-
- \def\@notinslitex{\errmessage{This command not allowed in SLiTeX.}}
-
- %page layout
- \@twosidefalse
- \topmargin -10pt
- \oddsidemargin 17pt
- \evensidemargin 17pt
-
- \def\ds@twoside{\@latexerr{No 'twoside' layout for slides}\@eha}
-
- \headheight 14pt
- \headsep 15pt
- \footheight 14pt
- \footskip 25pt
- \textheight 600pt
- \textwidth 460pt
- \columnwidth \textwidth
- \columnsep 10pt
- \columnseprule \z@
-
- %footnotes
-
- \skip\footins 10pt plus 2pt minus 4pt % Space between last line of text
- % and top of first footnote.
-
- % \skip\@mpfootins : plays same role for footnotes in a minipage as
- % \skip\footins does for ordinary footnotes
-
- \skip\@mpfootins = \skip\footins
-
- \footnotesep 20pt % Height of strut placed at the beginning of every
- % footnote.
-
-
-
-
- %floats and marginpar
- \marginparwidth 20pt
- \marginparsep 5pt
- \marginparpush 5pt
-
-
-
- % ****************************************
- % * FONTS *
- % ****************************************
- %
- %
- % Note that SLITeX uses a different font-naming and size-defining
- % convention than LaTeX.
-
- \def\@mainsize{\@visibletrue\tiny}
- \parindent 0pt
- \def\baselinestretch{1}
-
- %% RmS 91/10/27: allowed \sc typeface in SliTeX
- %\def\sc{\@noslifont\sc}
- %\def\@noslifont#1{\@warning{No \string#1\space type style in SLiTeX}}
-
- \def\Huge{\huge}
-
- \def\huge{\@setsize\huge{60\p@ plus10\p@ minus6\p@}\@empty\@huge
- \lineskip 2\p@
- \def\@parskip{60\p@ plus30\p@ minus6\p@}%
- \parskip\@parskip
- \abovedisplayskip 24\p@ plus10\p@ minus6\p@
- \belowdisplayskip 24\p@ plus10\p@ minus6\p@
- \abovedisplayshortskip 12\p@ plus8\p@
- \belowdisplayshortskip 12\p@ plus8\p@
- \setbox\strutbox\hbox{\vrule \@height27\p@ \@depth11\p@ \@width\z@}}
-
- \def\@huge{\if@visible\fortyonept\else\ifortyonept\fi}
-
- \def\LARGE{\@setsize\LARGE{52\p@ plus10\p@ minus6\p@}\@empty\@LARGE
- \lineskip 2\p@
- \def\@parskip{52\p@ plus30\p@ minus6\p@}%
- \parskip\@parskip
- \abovedisplayskip 24\p@ plus10\p@ minus6\p@
- \belowdisplayskip 24\p@ plus10\p@ minus6\p@
- \abovedisplayshortskip 12\p@ plus8\p@
- \belowdisplayshortskip 12\p@ plus8\p@
- \setbox\strutbox\hbox{\vrule \@height27\p@ \@depth11\p@ \@width\z@}}
-
- \def\@LARGE{\if@visible\thirtyfourpt\else\ithirtyfourpt\fi}
-
- \def\Large{\@setsize\Large{48\p@ plus10\p@ minus6\p@}\@empty\@Large
- \lineskip 2\p@
- \def\@parskip{48\p@ plus30\p@ minus6\p@}%
- \parskip\@parskip
- \abovedisplayskip 24\p@ plus10\p@ minus6\p@
- \belowdisplayskip 24\p@ plus10\p@ minus6\p@
- \abovedisplayshortskip 12\p@ plus8\p@
- \belowdisplayshortskip 12\p@ plus8\p@
- \setbox\strutbox\hbox{\vrule \@height27\p@ \@depth11\p@ \@width\z@}}
-
- \def\@Large{\if@visible\twentyninept\else\itwentyninept\fi}
-
- \def\large{\@setsize\large{42\p@ plus8\p@ minus5\p@}\@empty\@large
- \lineskip 2\p@
- \def\@parskip{40\p@ plus20\p@ minus4\p@}%
- \parskip\@parskip
- \abovedisplayskip 20\p@ plus8\p@ minus3\p@
- \belowdisplayskip 20\p@ plus8\p@ minus3\p@
- \abovedisplayshortskip 10\p@ plus5\p@
- \belowdisplayshortskip 10\p@ plus5\p@
- \setbox\strutbox\hbox{\vrule \@height20\p@ \@depth8.5\p@ \@width\z@}}
-
- \def\@large{\if@visible\twentyfourpt\else\itwentyfourpt\fi}
-
-
- \def\normalsize{\@setsize\normalsize{30\p@ plus3\p@ minus3\p@}\@empty
- \@normalsize
- \lineskip 2\p@
- \def\@parskip{30\p@ plus18\p@ minus9\p@}%
- \parskip\@parskip
- \abovedisplayskip 15\p@ plus3\p@ minus3\p@
- \belowdisplayskip 10\p@ plus3\p@ minus3\p@
- \abovedisplayshortskip 10\p@ plus3\p@
- \belowdisplayshortskip 10\p@ plus3\p@
- \setbox\strutbox\hbox{\vrule \@height17\p@ \@depth7\p@ \@width\z@}}
-
- \def\@normalsize{\if@visible\twentypt\else\itwentypt\fi}
-
- \def\small{\@setsize\small{19\p@ plus3\p@ minus\p@}\@empty\@small
- \lineskip 2\p@
- \def\@parskip{15\p@ plus15\p@ minus7\p@}%
- \parskip\@parskip
- \abovedisplayskip 12\p@ plus3\p@ minus3\p@
- \belowdisplayskip 9\p@ plus3\p@ minus3\p@
- \abovedisplayshortskip 6\p@ plus3\p@
- \belowdisplayshortskip 6\p@ plus3\p@
- \setbox\strutbox\hbox{\vrule \@height13.5\p@ \@depth5.6\p@ \@width\z@}}
-
- \def\@small{\if@visible\seventeenpt\else\iseventeenpt\fi}
-
- \let\footnotesize=\small
-
- \let\scriptsize=\small
-
- \def\tiny{\@setsize\tiny{16\p@ plus2\p@ minus\p@}\@empty\@tiny
- \lineskip 2\p@
- \def\@parskip{11\p@ plus11\p@ minus5\p@}%
- \parskip\@parskip
- \abovedisplayskip 14\p@ plus3\p@ minus10\p@
- \belowdisplayskip 14\p@ plus3\p@ minus10\p@
- \abovedisplayshortskip \z@ plus3\p@
- \belowdisplayshortskip 8\p@ plus3\p@ minus5\p@
- \setbox\strutbox\hbox{\vrule \@height10\p@ \@depth4\p@ \@width\z@}}
-
- \def\@tiny{\if@visible\fourteenpt\else\ifourteenpt\fi}
-
-
- % ****************************************
- % * PAGE STYLES *
- % ****************************************
- %
- % The page styles of slides is determined by the 'slide' page
- % style, the slide environment executing a \thispagestyle{slide}
- % command. The page styles of overlays and notes are similarly
- % determined by 'overlay' and 'note' page styles. The command
- % standard 'headings', 'plain' and 'empty' page styles work by
- % redefining the 'slide', 'overlay', and 'note' styles.
- %
-
- \def\ps@headings{%
- \def\ps@slide{\def\@oddfoot{\@mainsize +\hfil\hbox to3em{\theslide
- \hss}}%
- \def\@oddhead{\@mainsize +\hfil +}%
- \def\@evenfoot{\@mainsize +\hfil\hbox to3em{\theslide\hss}}%
- \def\@evenhead{\@mainsize +\hfil +}}
- \def\ps@overlay{\def\@oddfoot{\@mainsize +\hfil\hbox to3em{\theoverlay
- \hss}}%
- \def\@oddhead{\@mainsize +\hfil +}%
- \def\@evenfoot{\@mainsize +\hfil\hbox to3em{\theoverlay\hss}}%
- \def\@evenhead{\@mainsize +\hfil +}}
- \def\ps@note{\def\@oddfoot{\@mainsize \hbox{}\hfil\thenote}%
- \def\@oddhead{}%
- \def\@evenfoot{\@mainsize \hbox{}\hfil\thenote}%
- \def\@evenhead{}}}
-
- \def\ps@plain{\def\ps@slide{%
- \def\@oddfoot{\@mainsize \mbox{}\hfil\hbox to 3em{\theslide\hss}}%
- \def\@oddhead{}%
- \def\@evenfoot{\@mainsize \mbox{}\hfil\hbox to 3em{\theslide\hss}}%
- \def\@evenhead{}}
- \def\ps@overlay{\def\@oddfoot{\@mainsize
- \mbox{}\hfil\hbox to 3em{\theoverlay\hss}}%
- \def\@oddhead{}%
- \def\@evenfoot{\@mainsize \mbox{}\hfil\hbox to 3em{\theoverlay\hss}}%
- \def\@evenhead{}}
- \def\ps@note{\def\@oddfoot{\@mainsize \hbox{}\hfil\thenote}%
- \def\@oddhead{}%
- \def\@evenfoot{\@mainsize \hbox{}\hfil\thenote}%
- \def\@evenhead{}}}
-
- \def\ps@empty{%
- \def\ps@slide{\def\@oddhead{}\def\@oddfoot{}%
- \def\@evenhead{}\def\@evenfoot{}}%
- \def\ps@overlay{\def\@oddhead{}\def\@oddfoot{}%
- \def\@evenhead{}\def\@evenfoot{}}%
- \def\ps@note{\def\@oddhead{}\def\@oddfoot{}%
- \def\@evenhead{}\def\@evenfoot{}}}
-
- % Default definition the 'slide', 'overlay', and 'note' page styles.
- \ps@headings
-
- % Set ordinary page style to 'empty'
- \def\@oddhead{}\def\@oddfoot{}%
- \def\@evenhead{}\def\@evenfoot{}
-
-
-
- % The \@options command causes the execution of every command \ds@FOO
- % which is defined and for which the user typed the FOO option in his
- % \documentstyle command. For every option BAR he typed for which
- % \ds@BAR is not defined, the file BAR.sty will be read after the
- % present (main) .STY file is executed.
-
- \@options
-
-
-
- % ****************************************
- % * ENVIRONMENTS *
- % ****************************************
- %
- % titlepage
- %
- \def\titlepage{\newpage\thispagestyle{empty}\c@page\z@}
- \def\endtitlepage{\newpage}
-
- % Default values for list environment.
-
- \leftmargini 38pt
- \leftmarginii 30pt
- \leftmarginiii 20pt
- \leftmarginiv 15pt
- \leftmarginv 15pt
- \leftmarginvi 10pt
-
- \def\@listi{\parsep .5\parskip
- \topsep \parsep
- \itemsep\parskip
- \partopsep \z@}
-
- \def\@listii{\leftmargin\leftmarginii
- \labelwidth\leftmarginii\advance\labelwidth-\labelsep
- \parsep .5\parskip
- \topsep \parsep
- \itemsep\parskip}
-
- \def\@listiii{\leftmargin\leftmarginiii
- \labelwidth\leftmarginiii\advance\labelwidth-\labelsep}
-
- \def\@listiv{\leftmargin\leftmarginiv
- \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
-
- \def\@listv{\leftmargin\leftmarginv
- \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
-
- \def\@listvi{\leftmargin\leftmarginvi
- \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
-
-
-
- \labelsep 10pt
- \tabbingsep \labelsep
- \leftmargin\leftmargini
- \labelwidth\leftmargini\advance\labelwidth-\labelsep
-
-
-
- % PARAGRAPH-FORMATTING ENVIRONMENTS
- % ---------------------------------
- % VERSE
- % \CR ends line
- % Line continuations indented further.
- % Blank line makes new paragraph with \parskip space
- %
- \def\verse{\let\\=\@centercr \list{}{\itemsep\z@
- \itemindent -15\p@\listparindent \itemindent
- \rightmargin\leftmargin\advance\leftmargin 15\p@}\item[]}
- \let\endverse\endlist
-
- % QUOTATION
- % Fills lines
- % Indents paragraph
- %
- \def\quotation{\list{}{\listparindent 20\p@\relax
- \itemindent\listparindent
- \rightmargin\leftmargin}\item[]}
- \let\endquotation=\endlist
-
- % QUOTE -- same as quotation except no paragraph indentation,
- \def\quote{\list{}{\rightmargin\leftmargin}\item[]}
- \let\endquote=\endlist
-
- % LIST-MAKING ENVIRONMENTS
- % ------------------------
- %
- % DESCRIPTION
- %
- % To change the formatting of the label, you must redefine
- % \descriptionlabel.
-
- \def\descriptionlabel#1{\hspace\labelsep \bf #1}
- \def\description{\list{}{\labelwidth\z@ \itemindent-\leftmargin
- \let\makelabel\descriptionlabel}}
-
- \let\enddescription\endlist
-
-
-
- % ENUMERATE
- % Enumeration is done with four counters: enumi, enumii, enumiii
- % and enumiv, where enumN controls the numbering of the Nth level
- % enumeration. The label is generated by the commands \labelenumi
- % ... \labelenumiv. The expansion of \p@enumN\theenumN defines the
- % output of a \ref command.
-
- \def\labelenumi{\arabic{enumi}.}
- \def\theenumi{\arabic{enumi}}
-
- \def\labelenumii{(\alph{enumii})}
- \def\theenumii{\alph{enumii}}
- \def\p@enumii{\theenumi}
-
- \def\labelenumiii{\roman{enumiii}.}
- \def\theenumiii{\roman{enumiii}}
- \def\p@enumiii{\theenumi(\theenumii)}
-
- \def\labelenumiv{\Alph{enumiv}.}
- \def\theenumiv{\Alph{enumiv}}
- \def\p@enumiv{\p@enumiii\theenumiii}
-
- % ITEMIZE
- % Itemization is controlled by four commands: \labelitemi, \labelitemii,
- % \labelitemiii, and \labelitemiv, which define the labels of the
- % various itemization levels.
-
- \def\labelitemi{$\m@th\bullet$}
- \def\labelitemii{\bf --}
- \def\labelitemiii{$\m@th\ast$}
- \def\labelitemiv{$\m@th\cdot$}
-
- % Theorem environments
- % \@begintheorem ... \@endtheorem are the commands executed at the
- % beginning and end of a (user-defined) theorem-like environment.
- % Except \@opargbegintheorem is executed when an optional argument is
- % given. Cf. LATEX.TEX.
- %
- % \def\@begintheorem#1#2{\it \trivlist
- % \item[\hskip \labelsep{\bf #1\ #2}]}
- % \def\@opargbegintheorem#1#2#3{\it \trivlist
- % \item[\hskip \labelsep{\bf #1\ #2\ (#3)}]}
- % \def\@endtheorem{\endtrivlist}
-
- % Array and tabular environment parameters
- \arraycolsep 8pt
- \tabcolsep 10pt
- \arrayrulewidth .6pt
- \doublerulesep 3pt
-
- % \fbox parameters
- \fboxsep = 5pt
- \fboxrule = .6pt
-
- % Date
- \def\today{\ifcase\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\day, \number\year}
-
-
-
- % ****************************************
- % * FOOTNOTES *
- % ****************************************
- %
-
- % Following makes footnotes numbered *, dagger, etc., with numbering
- % begun again on every slide, note, or overlay.
-
- \def\thefootnote{\fnsymbol{footnote}}
- \@addtoreset{footnote}{slide}
- \@addtoreset{footnote}{overlay}
- \@addtoreset{footnote}{note}
-
- % \footnoterule is a macro to draw the rule separating the footnotes
- % from the text. It should take zero vertical space, so it needs a
- % negative skip to compensate for any positive space taken by the
- % rule. (See PLAIN.TEX.) The resulting rule will appear on all color
- % layers, so it's best not to draw a rule.
-
- \let\footnoterule=\relax
-
- % \@makefntext{NOTE} :
- % Must produce the actual footnote, using \@thefnmark as the
- % mark of the footnote and NOTE as the text. It is called when
- % effectively inside a \parbox of width \columnwidth (i.e., with
- % \hsize = \columnwidth). The following macro indents all
- % lines of the footnote by 10pt, and indents the first line of a
- % new paragraph by 1em. To change these dimensions, just
- % substitute the desired value for '10pt' [in both places] or
- % '1em'. The mark is flushright against the footnote.
- %
- % It is much easier to write a macro in which the footnote text
- % is set like an ordinary text paragraph, with no indentation
- % except on the first line of a paragraph, and the first line of
- % the footnote. In that case, all the macro must do is set
- % \parindent to the appropriate value for succeeding paragraphs
- % and put the proper indentation before mark.
-
- \long\def\@makefntext#1{\noindent % Macro to make the text of a footnote
- \hangindent 10\p@\hbox
- to10\p@{\hss $\m@th^{\@thefnmark}$}#1}
-
- % \@makefnmark : A macro to generate the footnote marker that goes
- % in the text.
-
-
-
-
- \def\theequation{\@arabic{\c@equation}}
-
- % The following stuff isn't used, but needs to be defined.
- \def\@figsep{7\p@}
- \def\@textfigsep{5\p@}
- \def\@captionskip{6\p@}
- \def\topfraction{.7}
- \def\bottomfraction{.3}
- \def\textfraction{.2}
- \def\floatpagefraction{.5}
- \def\dbltopfraction{.7}
- \def\dblfloatpagefraction{.5}
-
-
-
-
- % ****************************************
- % * INITIALIZATION *
- % ****************************************
- %
- % Default initializations
-
- \pagenumbering{arabic}
- \onecolumn
- \normalsize
-
- \endinput
-