home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 3 / Meeting_Pearls_III.iso / Pearls / texmf / inputs / latex209 / sty / slides.sty < prev    next >
Text File  |  1992-03-18  |  8KB  |  295 lines

  1. % SLIDES DOCUMENT STYLE -- released 04 Nov 1991
  2. %    for SliTeX version 2.09
  3. % Copyright (C) 1985, 1991 by Leslie Lamport
  4.  
  5. \typeout{Document Style 'slides' -- released 04 Nov 91}
  6.  
  7. \def\@notinslitex{\errmessage{This command not allowed in SLiTeX.}}
  8.  
  9. \@twosidefalse
  10. \topmargin -10pt
  11. \oddsidemargin 17pt
  12. \evensidemargin 17pt
  13.  
  14. \def\ds@twoside{\@latexerr{No 'twoside' layout for slides}\@eha}
  15.  
  16. \headheight 14pt
  17. \headsep 15pt
  18. \footheight 14pt
  19. \footskip 25pt
  20. \textheight 600pt
  21. \textwidth 460pt
  22. \columnwidth \textwidth
  23. \columnsep 10pt
  24. \columnseprule \z@
  25.  
  26. \skip\footins 10pt plus 2pt minus 4pt
  27.  
  28. \skip\@mpfootins = \skip\footins
  29.  
  30. \footnotesep 20pt
  31.  
  32. \marginparwidth 20pt
  33. \marginparsep 5pt
  34. \marginparpush 5pt
  35.  
  36. \def\@mainsize{\@visibletrue\tiny}
  37. \parindent 0pt
  38. \def\baselinestretch{1}
  39.  
  40. \def\Huge{\huge}
  41.  
  42. \def\huge{\@setsize\huge{60\p@ plus10\p@ minus6\p@}\@empty\@huge
  43. \lineskip 2\p@
  44. \def\@parskip{60\p@ plus30\p@ minus6\p@}%
  45. \parskip\@parskip
  46. \abovedisplayskip 24\p@ plus10\p@ minus6\p@
  47. \belowdisplayskip 24\p@ plus10\p@ minus6\p@
  48. \abovedisplayshortskip 12\p@ plus8\p@
  49. \belowdisplayshortskip 12\p@ plus8\p@
  50. \setbox\strutbox\hbox{\vrule \@height27\p@ \@depth11\p@ \@width\z@}}
  51.  
  52. \def\@huge{\if@visible\fortyonept\else\ifortyonept\fi}
  53.  
  54. \def\LARGE{\@setsize\LARGE{52\p@ plus10\p@ minus6\p@}\@empty\@LARGE
  55. \lineskip 2\p@
  56. \def\@parskip{52\p@ plus30\p@ minus6\p@}%
  57. \parskip\@parskip
  58. \abovedisplayskip 24\p@ plus10\p@ minus6\p@
  59. \belowdisplayskip 24\p@ plus10\p@ minus6\p@
  60. \abovedisplayshortskip 12\p@ plus8\p@
  61. \belowdisplayshortskip 12\p@ plus8\p@
  62. \setbox\strutbox\hbox{\vrule \@height27\p@ \@depth11\p@ \@width\z@}}
  63.  
  64. \def\@LARGE{\if@visible\thirtyfourpt\else\ithirtyfourpt\fi}
  65.  
  66. \def\Large{\@setsize\Large{48\p@ plus10\p@ minus6\p@}\@empty\@Large
  67. \lineskip 2\p@
  68. \def\@parskip{48\p@ plus30\p@ minus6\p@}%
  69. \parskip\@parskip
  70. \abovedisplayskip 24\p@ plus10\p@ minus6\p@
  71. \belowdisplayskip 24\p@ plus10\p@ minus6\p@
  72. \abovedisplayshortskip 12\p@ plus8\p@
  73. \belowdisplayshortskip 12\p@ plus8\p@
  74. \setbox\strutbox\hbox{\vrule \@height27\p@ \@depth11\p@ \@width\z@}}
  75.  
  76. \def\@Large{\if@visible\twentyninept\else\itwentyninept\fi}
  77.  
  78. \def\large{\@setsize\large{42\p@ plus8\p@ minus5\p@}\@empty\@large
  79. \lineskip 2\p@
  80. \def\@parskip{40\p@ plus20\p@ minus4\p@}%
  81. \parskip\@parskip
  82. \abovedisplayskip 20\p@ plus8\p@ minus3\p@
  83. \belowdisplayskip 20\p@ plus8\p@ minus3\p@
  84. \abovedisplayshortskip 10\p@ plus5\p@
  85. \belowdisplayshortskip 10\p@ plus5\p@
  86. \setbox\strutbox\hbox{\vrule \@height20\p@ \@depth8.5\p@ \@width\z@}}
  87.  
  88. \def\@large{\if@visible\twentyfourpt\else\itwentyfourpt\fi}
  89.  
  90. \def\normalsize{\@setsize\normalsize{30\p@ plus3\p@ minus3\p@}\@empty
  91. \@normalsize
  92. \lineskip 2\p@
  93. \def\@parskip{30\p@ plus18\p@ minus9\p@}%
  94. \parskip\@parskip
  95. \abovedisplayskip 15\p@ plus3\p@ minus3\p@
  96. \belowdisplayskip 10\p@ plus3\p@ minus3\p@
  97. \abovedisplayshortskip 10\p@ plus3\p@
  98. \belowdisplayshortskip 10\p@ plus3\p@
  99. \setbox\strutbox\hbox{\vrule \@height17\p@ \@depth7\p@ \@width\z@}}
  100.  
  101. \def\@normalsize{\if@visible\twentypt\else\itwentypt\fi}
  102.  
  103. \def\small{\@setsize\small{19\p@ plus3\p@ minus\p@}\@empty\@small
  104. \lineskip 2\p@
  105. \def\@parskip{15\p@ plus15\p@ minus7\p@}%
  106. \parskip\@parskip
  107. \abovedisplayskip 12\p@ plus3\p@ minus3\p@
  108. \belowdisplayskip 9\p@ plus3\p@ minus3\p@
  109. \abovedisplayshortskip 6\p@ plus3\p@
  110. \belowdisplayshortskip 6\p@ plus3\p@
  111. \setbox\strutbox\hbox{\vrule \@height13.5\p@ \@depth5.6\p@ \@width\z@}}
  112.  
  113. \def\@small{\if@visible\seventeenpt\else\iseventeenpt\fi}
  114.  
  115. \let\footnotesize=\small
  116.  
  117. \let\scriptsize=\small
  118.  
  119. \def\tiny{\@setsize\tiny{16\p@ plus2\p@ minus\p@}\@empty\@tiny
  120. \lineskip 2\p@
  121. \def\@parskip{11\p@ plus11\p@ minus5\p@}%
  122. \parskip\@parskip
  123. \abovedisplayskip 14\p@ plus3\p@ minus10\p@
  124. \belowdisplayskip 14\p@ plus3\p@ minus10\p@
  125. \abovedisplayshortskip \z@ plus3\p@
  126. \belowdisplayshortskip 8\p@ plus3\p@ minus5\p@
  127. \setbox\strutbox\hbox{\vrule \@height10\p@ \@depth4\p@ \@width\z@}}
  128.  
  129. \def\@tiny{\if@visible\fourteenpt\else\ifourteenpt\fi}
  130.  
  131. \def\ps@headings{%
  132. \def\ps@slide{\def\@oddfoot{\@mainsize +\hfil\hbox to3em{\theslide
  133.                                                           \hss}}%
  134.  \def\@oddhead{\@mainsize +\hfil +}%
  135.  \def\@evenfoot{\@mainsize +\hfil\hbox to3em{\theslide\hss}}%
  136.  \def\@evenhead{\@mainsize +\hfil +}}
  137. \def\ps@overlay{\def\@oddfoot{\@mainsize +\hfil\hbox to3em{\theoverlay
  138.                                                            \hss}}%
  139.  \def\@oddhead{\@mainsize +\hfil +}%
  140.  \def\@evenfoot{\@mainsize +\hfil\hbox to3em{\theoverlay\hss}}%
  141.  \def\@evenhead{\@mainsize +\hfil +}}
  142. \def\ps@note{\def\@oddfoot{\@mainsize \hbox{}\hfil\thenote}%
  143.  \def\@oddhead{}%
  144.  \def\@evenfoot{\@mainsize \hbox{}\hfil\thenote}%
  145.  \def\@evenhead{}}}
  146.  
  147. \def\ps@plain{\def\ps@slide{%
  148.  \def\@oddfoot{\@mainsize \mbox{}\hfil\hbox to 3em{\theslide\hss}}%
  149.  \def\@oddhead{}%
  150.  \def\@evenfoot{\@mainsize \mbox{}\hfil\hbox to 3em{\theslide\hss}}%
  151.  \def\@evenhead{}}
  152. \def\ps@overlay{\def\@oddfoot{\@mainsize
  153.    \mbox{}\hfil\hbox to 3em{\theoverlay\hss}}%
  154.  \def\@oddhead{}%
  155.  \def\@evenfoot{\@mainsize \mbox{}\hfil\hbox to 3em{\theoverlay\hss}}%
  156.  \def\@evenhead{}}
  157. \def\ps@note{\def\@oddfoot{\@mainsize \hbox{}\hfil\thenote}%
  158.  \def\@oddhead{}%
  159.  \def\@evenfoot{\@mainsize \hbox{}\hfil\thenote}%
  160.  \def\@evenhead{}}}
  161.  
  162. \def\ps@empty{%
  163. \def\ps@slide{\def\@oddhead{}\def\@oddfoot{}%
  164. \def\@evenhead{}\def\@evenfoot{}}%
  165. \def\ps@overlay{\def\@oddhead{}\def\@oddfoot{}%
  166. \def\@evenhead{}\def\@evenfoot{}}%
  167. \def\ps@note{\def\@oddhead{}\def\@oddfoot{}%
  168. \def\@evenhead{}\def\@evenfoot{}}}
  169.  
  170. \ps@headings
  171.  
  172. \def\@oddhead{}\def\@oddfoot{}%
  173. \def\@evenhead{}\def\@evenfoot{}
  174.  
  175. \@options
  176.  
  177. \def\titlepage{\newpage\thispagestyle{empty}\c@page\z@}
  178. \def\endtitlepage{\newpage}
  179.  
  180. \leftmargini 38pt
  181. \leftmarginii 30pt
  182. \leftmarginiii 20pt
  183. \leftmarginiv 15pt
  184. \leftmarginv 15pt
  185. \leftmarginvi 10pt
  186.  
  187. \def\@listi{\parsep .5\parskip
  188. \topsep \parsep
  189. \itemsep\parskip
  190. \partopsep \z@}
  191.  
  192. \def\@listii{\leftmargin\leftmarginii
  193.    \labelwidth\leftmarginii\advance\labelwidth-\labelsep
  194.    \parsep .5\parskip
  195.    \topsep \parsep
  196.    \itemsep\parskip}
  197.  
  198. \def\@listiii{\leftmargin\leftmarginiii
  199.     \labelwidth\leftmarginiii\advance\labelwidth-\labelsep}
  200.  
  201. \def\@listiv{\leftmargin\leftmarginiv
  202.      \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
  203.  
  204. \def\@listv{\leftmargin\leftmarginv
  205.      \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
  206.  
  207. \def\@listvi{\leftmargin\leftmarginvi
  208.      \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
  209.  
  210. \labelsep 10pt
  211. \tabbingsep \labelsep
  212. \leftmargin\leftmargini
  213. \labelwidth\leftmargini\advance\labelwidth-\labelsep
  214.  
  215. \def\verse{\let\\=\@centercr \list{}{\itemsep\z@
  216.   \itemindent -15\p@\listparindent \itemindent
  217.   \rightmargin\leftmargin\advance\leftmargin 15\p@}\item[]}
  218. \let\endverse\endlist
  219.  
  220. \def\quotation{\list{}{\listparindent 20\p@\relax
  221.     \itemindent\listparindent
  222.     \rightmargin\leftmargin}\item[]}
  223. \let\endquotation=\endlist
  224.  
  225. \def\quote{\list{}{\rightmargin\leftmargin}\item[]}
  226. \let\endquote=\endlist
  227.  
  228. \def\descriptionlabel#1{\hspace\labelsep \bf #1}
  229. \def\description{\list{}{\labelwidth\z@ \itemindent-\leftmargin
  230.        \let\makelabel\descriptionlabel}}
  231.  
  232. \let\enddescription\endlist
  233.  
  234. \def\labelenumi{\arabic{enumi}.}
  235. \def\theenumi{\arabic{enumi}}
  236.  
  237. \def\labelenumii{(\alph{enumii})}
  238. \def\theenumii{\alph{enumii}}
  239. \def\p@enumii{\theenumi}
  240.  
  241. \def\labelenumiii{\roman{enumiii}.}
  242. \def\theenumiii{\roman{enumiii}}
  243. \def\p@enumiii{\theenumi(\theenumii)}
  244.  
  245. \def\labelenumiv{\Alph{enumiv}.}
  246. \def\theenumiv{\Alph{enumiv}}
  247. \def\p@enumiv{\p@enumiii\theenumiii}
  248.  
  249. \def\labelitemi{$\m@th\bullet$}
  250. \def\labelitemii{\bf --}
  251. \def\labelitemiii{$\m@th\ast$}
  252. \def\labelitemiv{$\m@th\cdot$}
  253.  
  254. \arraycolsep 8pt
  255. \tabcolsep 10pt
  256. \arrayrulewidth .6pt
  257. \doublerulesep 3pt
  258.  
  259. \fboxsep = 5pt
  260. \fboxrule = .6pt
  261.  
  262. \def\today{\ifcase\month\or
  263.   January\or February\or March\or April\or May\or June\or
  264.   July\or August\or September\or October\or November\or December\fi
  265.   \space\number\day, \number\year}
  266.  
  267. \def\thefootnote{\fnsymbol{footnote}}
  268. \@addtoreset{footnote}{slide}
  269. \@addtoreset{footnote}{overlay}
  270. \@addtoreset{footnote}{note}
  271.  
  272. \let\footnoterule=\relax
  273.  
  274. \long\def\@makefntext#1{\noindent
  275.     \hangindent 10\p@\hbox
  276.     to10\p@{\hss $\m@th^{\@thefnmark}$}#1}
  277.  
  278. \def\theequation{\@arabic{\c@equation}}
  279.  
  280. \def\@figsep{7\p@}
  281. \def\@textfigsep{5\p@}
  282. \def\@captionskip{6\p@}
  283. \def\topfraction{.7}
  284. \def\bottomfraction{.3}
  285. \def\textfraction{.2}
  286. \def\floatpagefraction{.5}
  287. \def\dbltopfraction{.7}
  288. \def\dblfloatpagefraction{.5}
  289.  
  290. \pagenumbering{arabic}
  291. \onecolumn
  292. \normalsize
  293.  
  294. \endinput
  295.