| 1 |
%% BEGIN sem-code.tex. |
| 2 |
\def\FileVersion{1.0} |
| 3 |
\def\FileDate{93/04/01} |
| 4 |
%% |
| 5 |
%% For printing documented code for seminar.sty. |
| 6 |
%% |
| 7 |
%% COPYRIGHT 1993, by Timothy Van Zandt, [email protected] |
| 8 |
%% |
| 9 |
%% |
| 10 |
%% This file may be distributed and/or modified under the conditions of |
| 11 |
%% the LaTeX Project Public License, either version 1.2 of this license |
| 12 |
%% or (at your option) any later version. The latest version of this |
| 13 |
%% license is in: |
| 14 |
%% |
| 15 |
%% http://www.latex-project.org/lppl.txt |
| 16 |
%% |
| 17 |
%% and version 1.2 or later is part of all distributions of LaTeX version |
| 18 |
%% 1999/12/01 or later. |
| 19 |
%% |
| 20 |
%% This LaTeX file inputs seminar.doc and semlayer.doc, |
| 21 |
%% and prints the documented code. |
| 22 |
%% |
| 23 |
%% You must also have Frank Mittelbach's |
| 24 |
%% doc.sty and gind.ist |
| 25 |
%% (available from ftp.uni-stuttgart.de), as well as my |
| 26 |
%% tvz-hax.sty, tvz-code.sty and fancybox.sty |
| 27 |
%% (distributed with seminar.sty). |
| 28 |
%% |
| 29 |
%% gind.ist is for the index. I.e., |
| 30 |
%% makeindex -s gind.ist sem-code.idx |
| 31 |
%% |
| 32 |
%% STYLE OPTIONS: |
| 33 |
%% `a4' : For A4 paper. |
| 34 |
%% `twoside' : For two-sided printing. |
| 35 |
%% `2up' : For two-up printing. (Uses non-standard font magnifications. |
| 36 |
%% See 2up.doc for details.) |
| 37 |
|
| 38 |
\documentstyle{tvz-code} |
| 39 |
|
| 40 |
\CheckVersion{seminar.doc} |
| 41 |
|
| 42 |
% Comment out to suppress generation of .idx file. Speeds things up. |
| 43 |
\MakeIndex |
| 44 |
|
| 45 |
% Include to suppress checksums for drafts: |
| 46 |
% \def\StopEventually#1{\let\Finale\relax} |
| 47 |
|
| 48 |
\MakeShortVerb\" |
| 49 |
|
| 50 |
\ShortMeta |
| 51 |
|
| 52 |
\begin{document} |
| 53 |
|
| 54 |
\def\thetitle{{\tt seminar.sty}: Documented Code} |
| 55 |
|
| 56 |
\begingroup |
| 57 |
\renewcommand{\thefootnote}{\fnsymbol{footnote}} |
| 58 |
\thispagestyle{empty} |
| 59 |
\let\footnotesize\small |
| 60 |
\let\footnoterule\relax |
| 61 |
\setcounter{page}{0} |
| 62 |
\null |
| 63 |
\vfill |
| 64 |
\begin{center} |
| 65 |
{\Huge\bf seminar.sty}\\[10pt] |
| 66 |
{\huge\bf A \bLaTeX{} style for slides and notes}\\[18pt] |
| 67 |
{\huge\bf Documented Code}\par |
| 68 |
\vskip 1cm |
| 69 |
\large Timothy Van Zandt\\[2pt] |
| 70 |
{\normalsize\tt [email protected]} |
| 71 |
\vskip 1cm |
| 72 |
{\large \thefiledate\\ Version \fileversion\par} |
| 73 |
\end{center} |
| 74 |
\par |
| 75 |
\endgroup |
| 76 |
|
| 77 |
\vfill |
| 78 |
\begin{quote} |
| 79 |
"seminar.sty" is a \LaTeX{} document style for typesetting slides or |
| 80 |
transparencies, and accompanying notes. |
| 81 |
|
| 82 |
This is the documented code. There is also a {\em User's Guide}, which |
| 83 |
contains installation instructions. |
| 84 |
\end{quote} |
| 85 |
\vfill |
| 86 |
|
| 87 |
\clearpage |
| 88 |
|
| 89 |
\pagenumbering{roman} |
| 90 |
\thispagestyle{empty} |
| 91 |
\tableofcontents |
| 92 |
\clearpage |
| 93 |
\pagenumbering{arabic} |
| 94 |
|
| 95 |
\StopEventually{} |
| 96 |
\DocInput{seminar.doc} |
| 97 |
\Finale |
| 98 |
\clearpage |
| 99 |
|
| 100 |
\StopEventually{} |
| 101 |
\DocInput{semlayer.doc} |
| 102 |
\Finale |
| 103 |
\clearpage |
| 104 |
|
| 105 |
\DeleteShortMeta |
| 106 |
|
| 107 |
\PrintIndex |
| 108 |
|
| 109 |
\end{document} |
| 110 |
%% END sem-code.tex |