diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-13 00:06:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-13 00:06:25 +0000 |
commit | 494cb3bcc61e2972dafbaf4ec4d5bc025c9cbd22 (patch) | |
tree | c34e0a767f9dea025057e98cb72c7da4d6a265dc /Master/texmf-dist/tex | |
parent | 1cf59bd157ad32bafbba65d2d16dd403782b4132 (diff) |
seminar
git-svn-id: svn://tug.org/texlive/trunk@1307 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/seminar/sem-a4.sty | 8 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/seminar/sem-page.sty | 85 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/seminar/semhelv.sty | 183 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/seminar/seminar.sty | 1172 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/seminar/semlcmss.sty | 160 |
5 files changed, 1608 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/seminar/sem-a4.sty b/Master/texmf-dist/tex/latex/seminar/sem-a4.sty new file mode 100644 index 00000000000..c71a539161f --- /dev/null +++ b/Master/texmf-dist/tex/latex/seminar/sem-a4.sty @@ -0,0 +1,8 @@ +%% BEGIN sem-a4.sty +\def\paperwidth{210mm} +\def\paperheight{297mm} +\input sem-page.sty +\slidewidth 222mm +\slideheight 152mm +\endinput +%% END sem-a4.sty diff --git a/Master/texmf-dist/tex/latex/seminar/sem-page.sty b/Master/texmf-dist/tex/latex/seminar/sem-page.sty new file mode 100644 index 00000000000..be12ee77b0f --- /dev/null +++ b/Master/texmf-dist/tex/latex/seminar/sem-page.sty @@ -0,0 +1,85 @@ +%% BEGIN sem-page.sty +\def\fileversion{1.0} +\def\filedate{93/04/01} +%% +%% Contains the page parameters for the `seminar' LaTeX document style. +%% +%% COPYRIGHT 1993, by Timothy Van Zandt, Timothy.VAN-ZANDT@insead.edu +%% See seminar.sty or seminar.doc for copying restrictions. +%% +\def\slideleftmargin{.6in} +\def\sliderightmargin{.6in} +\def\slidetopmargin{.6in} +\def\slidebottommargin{.6in} +\ifarticle + \ifportrait + \twocolumn + \sloppy + \topmargin 0pt + \headheight 15pt + \headsep 25pt + \footskip 30pt + \footheight 15pt + \textheight\paperwidth\relax + \advance\textheight -1in + \advance\textheight -\headsep + \advance\textheight -\headheight + \advance\textheight -\footskip + \advance\textheight -\footheight + \advance\textheight -.5in + \textwidth\paperheight\relax + \advance\textwidth by -2in + \oddsidemargin 0pt + \evensidemargin 0pt + \leftmargini 2em + \leftmarginv .5em + \leftmarginvi .5em + \columnsep 40pt + \marginparwidth 0pt + \marginparsep 0pt + \else + \textwidth 5.5in + \oddsidemargin\paperwidth\relax + \advance\oddsidemargin -\textwidth + \divide\oddsidemargin 2 + \advance\oddsidemargin -1in + \evensidemargin\oddsidemargin + \if@twoside + \advance\oddsidemargin -18pt + \advance\evensidemargin 18pt + \fi + \topmargin -20pt + \headheight 15pt + \headsep 25pt + \footskip 33pt + \footheight 15pt + \textheight\paperheight\relax + \advance\textheight -1in + \advance\textheight -\topmargin + \advance\textheight -\headsep + \advance\textheight -\headheight + \advance\textheight -\footskip + \advance\textheight -.5in + \fi +\else + \oddsidemargin 0pt + \evensidemargin 0pt + \marginparwidth 0pt + \marginparsep 0pt + \ifportrait + \textwidth\paperwidth\relax + \textheight\paperheight\relax + \else + \textwidth\paperheight\relax + \textheight\paperwidth\relax + \fi + \advance\textwidth by -2in + \topmargin -1in + \headheight .5in + \headsep .5in + \advance\textheight by -2in + \footskip .75in + \footheight .25in +\fi +\endinput +%% END sem-page.sty diff --git a/Master/texmf-dist/tex/latex/seminar/semhelv.sty b/Master/texmf-dist/tex/latex/seminar/semhelv.sty new file mode 100644 index 00000000000..3602d985d7e --- /dev/null +++ b/Master/texmf-dist/tex/latex/seminar/semhelv.sty @@ -0,0 +1,183 @@ +%% BEGIN semhelv.sty +\def\fileversion{1.4} +\def\filedate{2000/05/08} +%% +%% LaTeX style option `semhelv.sty' for the `seminar' document class. +%% For use with LaTeX2e. +%% +%% COPYRIGHT 1994, by Timothy Van Zandt, Timothy.VAN-ZANDT@insead.edu +%% See seminar.cls or seminar.doc for copying restrictions. +%% Edited by Sebastian Rahtz <sebastian.rahtz@oucs.ox.ac.uk> +%% and Denis Girou <denis.girou@idris.fr> +%% To use OT1-encoding 7t names +%% ************************************************************************ +%% **** DESCRIPTION **** +%% ************************************************************************ +%% +% This file contains the external font information needed to load +% the PostScript Helvetica fonts for use by seminar.cls. +% +% IMPORTANT: +% As distributed, the following font file names are assumed for the +% `standard' TeX encoding: +% +% Helvetica phvr7t +% Helvetica-Oblique phvro7t +% Helvetica-Bold phvb7t +% Helvetica-BoldOblique phvbo7t +% Courier pcrr7t +% Courier-Bold pcrb7t +% Courier-Oblique pcrro7t +% Courier-BoldOblique pcrbo7t +% +% With the NFSS2 and LaTeX2e, you can also use the CORK encoding. The +% assumed file names are as above, but with `8t' instead of `7t' +% +% This means, e.g., that phvr7t.tfm or phvr7t.vf must be the name of the +% TeX .tfm or .vf (virtual font) file for the PostScript Helvetica font. +% See the documentation of your dvi-to-ps driver for information on using +% PostScript fonts. +% +% Fonts are scaled so that the x-heights match those of the cmr fonts; +% this makes in-line math look acceptable. +% +% Note: The Courier font is not that great. +% +% Preliminaries: +\csname semhelv@loaded\endcsname +\let\semhelv@loaded\endinput +\typeout{Style Option: `semhelv' for the `seminar' doc style + \fileversion\space <\filedate> (tvz)} +\typeout{Modified by Stefan (see source for details)} +\@ifundefined{selectfont} + {\@seminarerr{`semhelv' style option can only be used + with the New Font Selection Scheme}\@eha\endinput}{} +% +% Font definitions. + +\expandafter\ifx\csname DeclareSizeFunction\endcsname\relax + +% FOR NFSS: + +\@ifundefined{newpsfamily}{\input{npsfont.sty}}{}% + +% See npsfont.sty for the definition of \newpsfamily. + +\newpsfamily[.82]{helvetica}{ + {m}{n}{phvr7t}, %Helvetica + {m}{it}{phvro7t}, %Helvetica-Oblique + {m}{sl}{phvro7t}, %Helvetica-Oblique + {bx}{n}{phvb7t}, %Helvetica-Bold + {bx}{it}{phvbo7t}, %Helvetica-BoldOblique + {bx}{sl}{phvbo7t}} %Helvetica-BoldOblique +\newpsfamily[.985]{courier}{ + {m}{n}{pcrr7t}, %Courier + {bx}{n}{pcrb7t}, %Courier-Bold + {m}{it}{pcrro7t}, %Courier-Oblique + {bx}{it}{pcrbo7t}} %Courier-BoldOblique + +% Use fonts or use \slidefonts: +\ifarticle + \renewcommand{\slidefonts}{% + \renewcommand{\default@family}{helvetica}% + \renewcommand{\rmdefault}{helvetica}% + \renewcommand{\ttdefault}{courier}% + \renewcommand{\sfdefault}{helvetica}% + \family\default@family\selectfont} +\else + \renewcommand{\default@family}{helvetica}% + \renewcommand{\rmdefault}{helvetica}% + \renewcommand{\ttdefault}{courier}% + \renewcommand{\sfdefault}{helvetica}% + \family\default@family\selectfont +\fi + +\else + +% FOR NFSS2 OR LATEX2E: + +\def\helv@scale{.82} + +\DeclareFontFamily{T1}{helvetica}{}% +\DeclareFontShape{T1}{helvetica}{m}{n}{<->s*[\helv@scale]phvr8t}{}% +\DeclareFontShape{T1}{helvetica}{m}{it}{<->s*[\helv@scale]phvro8t}{}% +\DeclareFontShape{T1}{helvetica}{m}{sc}{<->s*[\helv@scale]phvrc8t}{}% +\DeclareFontShape{T1}{helvetica}{b}{n}{<->s*[\helv@scale]phvb8t}{}% +\DeclareFontShape{T1}{helvetica}{b}{it}{<->s*[\helv@scale]phvbo8t}{}% +\DeclareFontShape{T1}{helvetica}{m}{sl}{<->ssub * helvetica/m/it}{}% +\DeclareFontShape{T1}{helvetica}{b}{sc}{<->sub * helvetica/m/sc}{}% +\DeclareFontShape{T1}{helvetica}{b}{sl}{<->ssub * helvetica/b/it}{}% +\DeclareFontShape{T1}{helvetica}{bx}{n}{<->ssub * helvetica/b/n}{}% +\DeclareFontShape{T1}{helvetica}{bx}{it}{<->ssub * helvetica/b/it}{}% +\DeclareFontShape{T1}{helvetica}{bx}{sc}{<->sub * helvetica/m/sc}{}% +\DeclareFontShape{T1}{helvetica}{bx}{sl}{<->ssub * helvetica/b/it}{}% + +\DeclareFontFamily{OT1}{helvetica}{}% +\DeclareFontShape{OT1}{helvetica}{m}{n}{<->s*[\helv@scale]phvr7t}{}% +\DeclareFontShape{OT1}{helvetica}{m}{it}{<->s*[\helv@scale]phvro7t}{}% +\DeclareFontShape{OT1}{helvetica}{m}{sc}{<->s*[\helv@scale]phvrc7t}{}% +\DeclareFontShape{OT1}{helvetica}{b}{n}{<->s*[\helv@scale]phvb7t}{}% +\DeclareFontShape{OT1}{helvetica}{b}{it}{<->s*[\helv@scale]phvbo7t}{}% +\DeclareFontShape{OT1}{helvetica}{m}{sl}{<->ssub * helvetica/m/it}{}% +\DeclareFontShape{OT1}{helvetica}{b}{sc}{<->sub * helvetica/m/sc}{}% +\DeclareFontShape{OT1}{helvetica}{b}{sl}{<->ssub * helvetica/b/it}{}% +\DeclareFontShape{OT1}{helvetica}{bx}{n}{<->ssub * helvetica/b/n}{}% +\DeclareFontShape{OT1}{helvetica}{bx}{it}{<->ssub * helvetica/b/it}{}% +\DeclareFontShape{OT1}{helvetica}{bx}{sc}{<->sub * helvetica/m/sc}{}% +\DeclareFontShape{OT1}{helvetica}{bx}{sl}{<->ssub * helvetica/b/it}{}% + +\def\courier@scale{.985} + +% DG/SR modification begin - May. 13, 1998 +% Update some names (phvrq -> phvr7t etc.) +% DG/SR modification end + +\DeclareFontFamily{T1}{courier}{\hyphenchar \font\m@ne}% +\DeclareFontShape{T1}{courier}{m}{n}{<->s*[\courier@scale]pcrr8t}{}% +\DeclareFontShape{T1}{courier}{m}{it}{<->s*[\courier@scale]pcrro8t}{}% +\DeclareFontShape{T1}{courier}{m}{sc}{<->s*[\courier@scale]pcrrc8t}{}% +\DeclareFontShape{T1}{courier}{b}{n}{<->s*[\courier@scale]pcrb8t}{}% +\DeclareFontShape{T1}{courier}{b}{it}{<->s*[\courier@scale]pcrbo8t}{}% +\DeclareFontShape{T1}{courier}{m}{sl}{<->ssub * courier/m/it}{}% +\DeclareFontShape{T1}{courier}{b}{sc}{<->sub * courier/m/sc}{}% +\DeclareFontShape{T1}{courier}{b}{sl}{<->ssub * courier/b/it}{}% +\DeclareFontShape{T1}{courier}{bx}{n}{<->ssub * courier/b/n}{}% +\DeclareFontShape{T1}{courier}{bx}{it}{<->ssub * courier/b/it}{}% +\DeclareFontShape{T1}{courier}{bx}{sc}{<->sub * courier/m/sc}{}% +\DeclareFontShape{T1}{courier}{bx}{sl}{<->ssub * courier/b/it}{}% + +\DeclareFontFamily{OT1}{courier}{\hyphenchar \font\m@ne}% +\DeclareFontShape{OT1}{courier}{m}{n}{<->s*[\courier@scale]pcrr7t}{}% +\DeclareFontShape{OT1}{courier}{m}{it}{<->s*[\courier@scale]pcrro7t}{}% +\DeclareFontShape{OT1}{courier}{m}{sc}{<->s*[\courier@scale]pcrrc7t}{}% +\DeclareFontShape{OT1}{courier}{b}{n}{<->s*[\courier@scale]pcrb7t}{}% +\DeclareFontShape{OT1}{courier}{b}{it}{<->s*[\courier@scale]pcrbo7t}{}% +\DeclareFontShape{OT1}{courier}{m}{sl}{<->ssub * courier/m/it}{}% +\DeclareFontShape{OT1}{courier}{b}{sc}{<->sub * courier/m/sc}{}% +\DeclareFontShape{OT1}{courier}{b}{sl}{<->ssub * courier/b/it}{}% +\DeclareFontShape{OT1}{courier}{bx}{n}{<->ssub * courier/b/n}{}% +\DeclareFontShape{OT1}{courier}{bx}{it}{<->ssub * courier/b/it}{}% +\DeclareFontShape{OT1}{courier}{bx}{sc}{<->sub * courier/m/sc}{}% +\DeclareFontShape{OT1}{courier}{bx}{sl}{<->ssub * courier/b/it}{}% + +% Use fonts or use \slidefonts: +\ifarticle + \renewcommand{\slidefonts}{% + \renewcommand{\default@family}{helvetica}% + \renewcommand{\rmdefault}{helvetica}% + \renewcommand{\ttdefault}{courier}% + \renewcommand{\sfdefault}{helvetica}% + \fontfamily\default@family\selectfont} +\else + \renewcommand{\default@family}{helvetica}% + \renewcommand{\rmdefault}{helvetica}% + \renewcommand{\ttdefault}{courier}% + \renewcommand{\sfdefault}{helvetica}% + \fontfamily\default@family\selectfont +\fi + +\fi + +\endinput +%% END semhelv.sty + diff --git a/Master/texmf-dist/tex/latex/seminar/seminar.sty b/Master/texmf-dist/tex/latex/seminar/seminar.sty new file mode 100644 index 00000000000..4b92372424a --- /dev/null +++ b/Master/texmf-dist/tex/latex/seminar/seminar.sty @@ -0,0 +1,1172 @@ +%% BEGIN seminar.sty +%% +%% This is file `seminar.sty', generated +%% on <1993/4/2> with the docstrip utility (2.0r). +%% +%% The original source files were: +%% +%% seminar.doc +%% +\def\fileversion{1.0} +\def\filedate{93/04/01} +%% +%% LaTeX document style `seminar', for use with LaTeX v2.09. +%% This is a style for typesetting notes and slides. +%% +%% COPYRIGHT 1993, by Timothy Van Zandt, Timothy.VAN-ZANDT@insead.edu +%% +%% Copying of part or all of any file in the seminar.sty package +%% is allowed under the following conditions only: +%% (1) You may freely distribute unchanged copies of the files. Please +%% include the documentation when you do so. +%% (2) You may modify a renamed copy of any file, but only for personal +%% use or use within an organization. +%% (3) You may copy fragments from the files, for personal use or for use +%% in a macro package for distribution, as long as credit is given +%% where credit is due. +%% +%% You are NOT ALLOWED to take money for the distribution or use of +%% these files or modified versions or fragments thereof, except for +%% a nominal charge for copying etc. +%% +\@ifundefined{@seminarerr}{}{\endinput} +\typeout{% + Document Style: `seminar' v\fileversion \space <\filedate> (tvz)} +\def\test@member#1#2{% + \edef\@tempg{,#2,#1,}% + \edef\@temph{####1,#1,}% + \expandafter\def\expandafter\@temph\@temph##2\@nil{% + \def\@tempg{##2}% + \ifx\@tempg\@empty\@testfalse\else\@testtrue\fi}% + \expandafter\@temph\@tempg\@nil} +\def\addto@hook#1#2{#1\expandafter{\the#1#2}} +\@ifundefined{reset@font}{\def\reset@font{\normalsize\rm}}{} +\def\@seminarerr#1#2{% + \edef\@tempc{#2}\expandafter\errhelp\expandafter{\@tempc}% + \typeout{^^JSeminar.sty error.\space\space\space + Type \space H <return> \space for immediate help.^^J}% + \errmessage{#1^^J}} +\def\notslide@err#1{Cannot use \string#1 in slide environments} +\def\new@slidebox{\alloc@4\box\chardef\insc@unt} +\newdimen\slidewidth \slidewidth 8.5in +\newdimen\slideheight \slideheight 6.3in +\@ifundefined{paperwidth}{\def\paperwidth{8.5in}}{} +\@ifundefined{paperheight}{\def\paperheight{11in}}{} +\def\addto@preamblecmds#1{% + \begingroup + \def\do{\noexpand\do\noexpand}% + \xdef\@preamblecmds{\@preamblecmds\do#1}% + \endgroup} +\addto@preamblecmds{\addto@preamblecmds\do\@preamblecmds} +\def\sem@temp#1{\@ifundefined{if#1}% + {\def\@tempa{\csname newif\endcsname} + \expandafter\@tempa\csname if#1\endcsname}{}} +\sem@temp{article}{} +\sem@temp{slidesonly}{} +\sem@temp{notes}{} +\sem@temp{notesonly}{} +\sem@temp{notesonlystar}{} +\sem@temp{portrait}{} +\def\ds@article{\articletrue} +\def\ds@slidesonly{\slidesonlytrue\notesfalse\notesonlyfalse} +\def\ds@notes{\notestrue\slidesonlyfalse\notesonlyfalse} +\def\ds@notesonly{\notesonlytrue\slidesonlyfalse\notesfalse} +\@namedef{ds@notesonly*}{\ds@notesonly\notesonlystartrue} +\def\ds@portrait{\portraittrue} +\@namedef{ds@a4}{% + \def\paperwidth{210mm} + \def\paperheight{297mm} + \slidewidth 222mm + \slideheight 152mm\relax} +\@@input article.sty +\ifnotesonly\else\notesonlystarfalse\fi +\@@input sem-page.sty +\newtoks\before@document +\newtoks\after@document +\let\xcomment@hook\relax +\before@document{\endgroup\the\before@document\begingroup} +\after@document{\the\after@document\xcomment@hook} +\expandafter\@temptokena\expandafter{\document} +\edef\document{\the\before@document\the\@temptokena\the\after@document} +\before@document{} +\after@document{} +\newtoks\before@enddocument +\before@enddocument{\the\before@enddocument} +\expandafter\@temptokena\expandafter{\enddocument} +\edef\enddocument{\the\before@enddocument\the\@temptokena} +\before@enddocument{} +\newif\ifprintlandscape +\ifportrait + \ifarticle\printlandscapetrue\fi +\else + \ifarticle\else\printlandscapetrue\fi +\fi +\addto@hook\before@document{\ifprintlandscape\printlandscape\fi} +\addto@preamblecmds{\printlandscape} +\def\printlandscape{\addto@hook\before@enddocument{% + \typeout{^^J% + *******************************************************^^J% + ***** !! PRINT THIS DOCUMENT IN LANDSCAPE MODE !! *****^^J% + *******************************************************}}} +\def\slide{% + \NestedSlide@Error{slide}% + \landscapetrue + \@ifnextchar[{\begin@slide}{\begin@slide[\slidewidth,\slideheight]}} +\def\endslide{\end@slide} +\@namedef{slide*}{% + \NestedSlide@Error{slide*}% + \landscapefalse + \@ifnextchar[{\begin@slide}{\begin@slide[\slidewidth,\slideheight]}}% +\@namedef{endslide*}{\end@slide} +\newcounter{slide} +\def\theslide{\arabic{slide}} +\newcount\slide@count +\newbox\@slidebox +\newbox\not@slidebox +\newif\ifslide +\newif\iflandscape +\def\@landscapeonly{0} +\def\landscapeonly{\def\@landscapeonly{1}} +\def\portraitonly{\def\@landscapeonly{-1}} +\def\NestedSlide@Error#1{% + \ifslide + \endgroup + \@seminarerr{Nested slide environments. Perhaps missing + \string\end{\@currenvir}. May be fatal}\@ehd + \expandafter\end\expandafter{\@currenvir}% + \ifslide\expandafter\end\expandafter{\@currenvir}\fi + \begingroup + \def\@currenvir{#1}% + \fi} +\def\begin@slide[#1,#2]{% + \slide@clearpage + \setlength\slidewidth{#1}% + \setlength\slideheight{#2}% + \begingroup + \ifarticle + \output{% + \advance\count@ 1 + \global\setbox\not@slidebox\box\@cclv}% + \par\@@par\penalty-\@M + \fi + \output{\slide@output}% + \slidetrue + \ifarticle\global\slide@count=\z@\fi + \refstepcounter{slide}% + \ifnotesonlystar\xdef\first@slidemarker{\the\c@slide}\fi + \def\do##1{\setcounter{##1}\z@}\slide@reset + \ifarticle\else + \edef\page@textheight{\number\textheight sp}% + \edef\page@textwidth{\number\textwidth sp}% + \fi + \set@slidesize + \slidebox@restore + \the\slide@hook + \the\before@newslide + \everyslide} +\def\end@slide{% + \par\penalty-\@M + \xdef\@tempg{\@currenvir}% + \endgroup + \ifslide + \@seminarerr{Perhaps missing `\string\end{\@tempg}', + \iffalse{\fi`\string}' or `\string\endgroup'}\@ehd + \def\next{\endgroup\ifslide\expandafter\next\fi}% + \next + \fi + \begingroup + \output{\setbox\@tempboxa\box\@cclv}% + \@@par\penalty-\@M + \endgroup + \global\advance\c@slide-1 + \def\do##1{\setcounter{##1}{\@nameuse{saved@c@##1}}}% + \slide@reset + \ifarticle\outputloop@savedslides\fi + \the\after@slide} +\let\slideclearpagetrue\relax +\let\slideclearpagefalse\relax +\ifarticle + \def\slide@clearpage{\par\penalty\z@} + \ifnotes + \def\slideclearpagetrue{\def\slide@clearpage{\clearpage}} + \def\slideclearpagefalse{\def\slide@clearpage{\par\penalty\z@}} + \else + \ifnotesonly + \def\slideclearpagetrue{\def\slide@clearpage{\clearpage}} + \def\slideclearpagefalse{\def\slide@clearpage{\par\penalty\z@}} + \fi + \fi +\else + \def\slide@clearpage{\clearpage} +\fi +\newtoks\slide@hook +\def\everyslide{} +\newtoks\after@slide +\def\slidebox@restore{% + \def\thepage{\theslide}% + \def\newpage{\newslide}% + \def\clearpage{\newslide}% + \def\thispagestyle{\notslide@err{\thispagestyle}}% + \pagestyle{\slide@pagestyle}% + \@twocolumnfalse + \def\twocolumn{\notslide@err{\twocolumn}}% + \def\onecolumn{\notslide@err{\onecolumn}}% + \def\marginpar{\notslide@err{\marginpar}}% + \def\thanks{\slidethanks}% + \def\maketitle{\slidemaketitle}% + \fix@floats + \fix@whatsits + \slide@footnotes + \def\do##1{\expandafter\xdef\csname + saved@c@##1\endcsname{\the\@nameuse{c@##1}}}% + \slide@reset + \topskip\z@ \maxdepth\z@ + \slide@listparameters + \slidefonts + \def\baselinestretch{\slidestretch}% + \def\arraystretch{\slidearraystretch}% + \sem@ptsize{\slide@ptsize}} +\def\date#1{\gdef\@date{#1}\gdef\thedate{#1}} +\def\author#1{\gdef\@author{#1}\gdef\theauthor{#1}} +\def\title#1{\gdef\@title{#1}\gdef\thetitle{#1}} +\date{\today} +\let\slidethanks\thanks +\def\thethanks{\@thanks}% +\def\slidemaketitle{% + \par + \begin{center}\bf + {\large \thetitle}\par\vskip 1ex + \begin{tabular}[t]{c} \theauthor \end{tabular}\par\vskip 1ex + \thedate + \end{center}% + \thethanks\par} +\def\fix@floats{% + \def\@xfloat##1[##2]{% + \expandafter\let\csname end##1\endcsname\end@float + \par\medskip\vbox\bgroup\def\@captype{##1}\parindent\z@ + \ignorespaces}% + \def\end@float{\par\vskip\z@\egroup\medskip}% + \def\@dblfloat{\@float}\def\end@dblfloat{\end@float}% + \def\endfigure{\end@float}\def\endtable{\end@float}} +\let\normal@write\write +\let\normal@read\read +\let\normal@openout\openout +\let\normal@closeout\closeout +\def\fix@whatsits{% + \def\write{\immediate\normal@write}% + \def\read{\immediate\normal@read}% + \def\openout{\immediate\normal@openout}% + \def\closeout{\immediate\normal@closeout}} +\newinsert\slide@footins +\skip\slide@footins=\bigskipamount +\count\slide@footins=1000 +\dimen\slide@footins=4in +\def\theslidefootnote{\alph{footnote}} +\def\slide@footnotes{% + \def\thefootnote{\theslidefootnote}% + \let\footins\slide@footins + \interfootnotelinepenalty\@M} +\def\slidefonts{} +\def\slidestretch{1.18} +\def\slidearraystretch{1.2} +\def\raggedslides{\@ifnextchar[{\@raggedslides}{\@raggedslides[1fil]}} +\def\@raggedslides[#1]{% + \edef\slide@@rightskip{#1}% + \ifslide\slide@rightskip\fi} +\def\slide@rightskip{% + \@rightskip\z@ plus \slide@@rightskip\relax \rightskip\@rightskip} +\def\slide@@rightskip{1fil} +\newcount\slide@listdepth +\def\slide@listparameters{% + \let\@listdepth\slide@listdepth + \slide@listdepth\z@ + \def\@listi{\slide@listi}% + \def\@listii{\slide@listii}% + \def\@listiii{\slide@listiii}% + \let\@listiv\relax\let\@listv\relax\let\@listvi\relax} +\def\slide@listi{% + \leftmargin\leftmargini + \labelwidth\leftmargini \advance\labelwidth-\labelsep + \parsep\parskip \divide\parsep2 + \partopsep\slidepartopsep\relax + \advance\partopsep-\parskip + \ifdim\partopsep<\z@\partopsep\z@\fi + \itemsep\slideitemsep\relax + \ifdim\parsep<\itemsep + \topsep\itemsep \advance\topsep-\parsep + \else + \itemsep\parsep \topsep\z@ + \fi} +\def\slide@listii{% + \leftmargin\leftmarginii + \labelwidth\leftmarginii \advance\labelwidth-\labelsep + \divide\itemsep2 \divide\parsep2 + \divide\topsep2 \divide\partopsep2\relax}% +\def\slide@listiii{% + \leftmargin\leftmarginiii + \labelwidth\leftmarginiii \advance\labelwidth-\labelsep + \itemsep \z@ \parsep\z@ \topsep\z@}% +\def\slideleftmargini{1.8em} +\def\slideleftmarginii{1.4em} +\def\slideleftmarginiii{1em} +\def\slidelabelsep{.5em} +\def\slideitemsep{.8ex minus .2ex} +\def\slidepartopsep{1ex minus .2ex} +\newbox\saved@specials +\def\save@slidespecials{% + \begingroup + \output{% + \global\setbox\saved@specials=\box\@cclv + \global\wd\saved@specials=\z@ + \global\dp\saved@specials=\z@ + \global\ht\saved@specials=\z@}% + \hbox{}\penalty-\@M + \global\let\saved@texttop\@texttop + \gdef\@texttop{% + \ifvoid\saved@specials\else\box\saved@specials\nointerlineskip\fi + \saved@texttop + \global\let\@texttop\saved@texttop}% + \endgroup} +\addto@hook\after@document{\save@slidespecials} +\ifarticle\else + \def\insert@specials{% + \ifvoid\saved@specials\else + \setbox\@slidebox\hbox{\box\saved@specials\box\@slidebox}% + \fi + \global\let\insert@specials\relax} +\fi +\def\extraslideheight#1{% + \@tempdima #1\relax + \edef\X@SlideHeight{\number\@tempdima sp} + \ifslide\set@slidesize\fi} +\extraslideheight{6pt} +\def\set@slidesize{% + \iflandscape + \hsize=\inverseslidesmag\slidewidth + \vsize=\inverseslidesmag\slideheight + \else + \hsize=\inverseslidesmag\slideheight + \vsize=\inverseslidesmag\slidewidth + \fi + \edef\slide@vsize{\number\vsize sp}% + \textheight\vsize + \advance\vsize\X@SlideHeight\relax + \textwidth\hsize\columnwidth\hsize\linewidth\hsize} +\def\newslide{% + \par\penalty-\@M + \def\do##1{\setcounter{##1}\z@}\slide@reset + \the\before@newslide + \set@slidesize} +\newtoks\before@newslide +\def\slide@reset{\do{footnote}} +\def\slidereset#1{\def\slide@reset{}\addtoslidereset{#1}} +\def\addtoslidereset#1{% + \edef\@tempa{#1}\expandafter\addto@slidereset\@tempa,\@nil,} +\def\addto@slidereset#1,{% + \ifx\@nil#1\else + \@ifundefined{c@#1}% + {\@seminarerr{Counter `#1' not defined}\@ehd}% + {\expandafter\def\expandafter\slide@reset\expandafter{% + \slide@reset\do{#1}}}% + \expandafter\addto@slidereset + \fi} +\def\slide@output{% + \@makeslide + \@testfalse + \ifnotesonly\else + \iflandscape + \ifnum\@landscapeonly>-1 \os@test\fi + \else + \ifnum\@landscapeonly<1 \os@test\fi + \fi + \fi + \if@test + \reset@slideoutput + \@@makeslide + \process@slide + \fi + \refstepcounter{slide}} +\def\reset@slideoutput{% + \let\par\@@par + \reset@font + \def\baselinestretch{1}% + \@nameuse{1\@ptsize @semptsize}% + \catcode`\ =10 + \let\-\@dischyph \let\'\@acci \let\`\@accii \let\=\@acciii} +\newif\ifcenterslides +\centerslidestrue +\def\@makeslide{% + \setbox\@slidebox\vbox{% + \unvbox\@cclv + \ifvoid\slide@footins\else + \vskip\skip\slide@footins + \footnoterule + \unvbox\slide@footins + \fi + \vskip\z@}} +\def\@@makeslide{% + \overfullslide@warning + \setbox\@slidebox\hbox{% + \vfuzz=\slidefuzz\relax + \vbox to\slide@vsize{% + \ifcenterslides\vskip\z@ plus .0001fil \fi + \unvbox\@slidebox + \vskip\z@ plus .0001fil}% + \the\after@slidepage}% + \wd\@slidebox\textwidth} +\def\overfullslide@warning{% + \dimen@\ht\@slidebox + \advance\dimen@-\slide@vsize\relax + \ifdim\dimen@>\slidefuzz\relax + \@warning{Slide \theslide\space overfull by \the\dimen@}% + \fi} +\def\slidefuzz{2pt} +\newtoks\after@slidepage +\newif\ifrotateheaders +\def\sliderotation#1{\@ifundefined{semsr@#1}% + {\@latexerr{Slide rotation `#1' not defined.}\@eha}% + {\@nameuse{semsr@#1}}} +\def\semsr@left{% + \def\rotate@slide{% + \setbox\@slidebox\hbox{\leftsliderotation{\box\@slidebox}}}} +\def\semsr@right{% + \def\rotate@slide{% + \setbox\@slidebox\hbox{\rightsliderotation{\box\@slidebox}}}} +\def\semsr@none{\let\rotate@slide\relax} +\sliderotation{none} +\def\leftsliderotation#1{% + \@seminarerr{\string\leftsliderotation\space has not been defined}% + \@ehd} +\let\rightsliderotation\leftsliderotation +\def\@ifrotateslide#1{% + \ifx\rotate@slide\relax\else + \iflandscape\ifportrait#1\fi\else\ifportrait\else#1\fi\fi + \fi} +\def\process@slide{% + \slideframewidth=\inverseslidesmag\slideframewidth + \slideframesep=\inverseslidesmag\slideframesep + \fboxrule\slideframewidth + \fboxsep\slideframesep + \ifarticle + \@ifrotateslide\rotate@slide + \else + \ifrotateheaders\else\@ifrotateslide\rotate@slide\fi + \fi + \process@@slide} +\def\process@@slide{\finish@slide\output@slide} +\def\finish@slide{% + \theslideframe + \add@slidelabel\slidelabel} +\ifarticle + \def\output@slide{% + \global\advance\slide@count1 + \@ifundefined{slidebox@\the\slide@count}% + {{\globaldefs=1\expandafter + \new@slidebox\csname slidebox@\the\slide@count\endcsname}}{}% + \expandafter\global\expandafter\setbox\csname + slidebox@\the\slide@count\endcsname\box\@slidebox} +\else + \def\output@slide{% + \begingroup + \hoffset=-\inverseslidesmag in + \voffset=-\inverseslidesmag in + \setslidelength\@tempdima{% + \ifportrait\paperwidth\else\paperheight\fi} + \setslidelength\@tempdimb{% + \ifportrait\paperheight\else\paperwidth\fi} + \ifrotateheaders + \@ifrotateslide{% + \dimen@=\@tempdima + \@tempdima=\@tempdimb + \@tempdimb=\dimen@} + \fi + % \oddsidemargin, \evensidemargin, \headheight, \footheight + % used for scratch: + \setslidelength\oddsidemargin\slideleftmargin + \setslidelength\evensidemargin\sliderightmargin + \setslidelength\headheight\slidetopmargin + \setslidelength\footheight\slidebottommargin + % Some page styles like to know \textwidth: + \textwidth=\@tempdima + \advance\textwidth-\oddsidemargin + \advance\textwidth-\evensidemargin + \setbox\@slidebox=\hbox to \@tempdima{% + \kern\oddsidemargin + \vbox to\@tempdimb{% + \ifnum\fancyput@flag>-1 + \hbox{\kern-\oddsidemargin\do@fancyput}% + \fi + \let\label\@gobble + \let\index\@gobble + \let\glossary\@gobble + \vbox to\headheight{% + \vfill + \hbox{% + \slideheadfont\relax\strut + \hbox to\textwidth{\@oddhead}}% + \kern\z@}% + \vfill + \hbox to\textwidth{\hss\box\@slidebox\hss}% + \vfill + \vbox to\footheight{% + \hbox{% + \slidefootfont\relax\strut + \hbox to\textwidth{\@oddfoot}}% + \vfill}}% + \hss}% + \ifrotateheaders\@ifrotateslide\rotate@slide\fi + \insert@specials + \shipout\box\@slidebox + \endgroup + \let\firstmark\botmark} + \@ifundefined{fancyput@flag}{\def\fancyput@flag{-1}}{} +\fi +\newskip\slidesep +\slidesep\intextsep +\ifarticle + \def\fps@fslide{htbp} + \def\ftype@fslide{32} + \def\float@savedslide{% + \begingroup\@float{fslide}% + \centerline{\box\@slidebox}% + \end@float\endgroup}% + \@namedef{float*@savedslide}{% + \begingroup\@dblfloat{fslide}% + \centerline{\box\@slidebox}% + \end@dblfloat\endgroup}% + \def\center@slide{\hbox{% + \kern-\@totalleftmargin + \hbox to \columnwidth{\hss\box\@slidebox\hss}}}% + \def\onepercol@savedslide{% + \vbox to .996\textheight{\vss\center@slide\vss}\goodbreak}% + \def\twopercol@savedslide{% + \dimen@.5\textheight + \advance\dimen@-\slidesep + \ifdim\ht\@slidebox>\dimen@ + \onepercol@savedslide + \else + \vbox to .498\textheight{\vss\center@slide\vss}\goodbreak + \fi} + \def\here@savedslide{% + \addvspace\slidesep\center@slide\addvspace\slidesep} + \@namedef{here*@savedslide}{% + \goodbreak \hrule \@height\z@ \nobreak \vskip\slidesep \nobreak + \center@slide + \nobreak \vskip\slidesep \nobreak \hrule\@height\z@ \goodbreak} +\fi +\ifarticle + \def\slideplacement#1{\@ifundefined{#1@savedslide}% + {\@seminarerr{Slide placement `#1' undefined}\@ehd}% + {\expandafter\let\expandafter\output@savedslide + \csname #1@savedslide\endcsname}} +\else + \def\slideplacement#1{} +\fi +\ifarticle + \ifnotes + \ifportrait + \slideplacement{float} + \else + \slideplacement{float*} + \fi + \else + \ifportrait + \slideplacement{onepercol} + \else + \slideplacement{twopercol} + \fi + \fi +\fi +\ifarticle + \def\outputloop@savedslides{% + \global\maxdepth\@maxdepth + \ifvoid\not@slidebox\else + \dimen@=\dp\not@slidebox + \unvbox\not@slidebox + \hrule height\z@ + \prevdepth\dimen@ + \penalty\z@ + \fi + \edef\slide@@count{\the\slide@count\relax}% + \slide@count\z@ + \loop + \ifnum\slide@count<\slide@@count + \advance\slide@count1 + \expandafter\setbox\expandafter\@slidebox\expandafter\box + \csname slidebox@\the\slide@count\endcsname + \output@savedslide + \repeat + \ifnotesonlystar\make@slidemarker\fi} +\fi +\def\make@slidemarker{% + \addvspace\slidesep + \moveleft\@totalleftmargin + \vbox{% + \hsize\columnwidth + \hrule height 1pt + \kern 8pt + \hbox to \columnwidth{% + \hss + \LARGE\bf\the@slidemarker + \hss}% + \kern 8pt + \hrule height 1pt}% + \addvspace\slidesep} +\def\the@slidemarker{% + Slide% + \ifnum\c@slide=\first@slidemarker\else + s {\c@slide\first@slidemarker\relax\theslide} --\fi + { }\theslide}% +\ifarticle + \let\c@note\c@page + \def\p@note{\p@page} + \def\thenote{\thepage} +\else + \newcounter{note} + \def\thenote{\theslide-\arabic{note}} + \def\thepage{\thenote} + \addto@hook\after@slide{\setcounter{note}{1}} + \expandafter\def\expandafter\@outputpage\expandafter{% + \@outputpage\stepcounter{note}} +\fi +\ifarticle\else + \let\c@page\c@slide + \countdef\c@slide=0 + \c@slide=0 + \c@page=1 +\fi +\ifarticle + \let\truepagenumbers\relax +\else + \def\truepagenumbers{% + \let\c@slide\c@page + \countdef\c@page=0 + \c@page=1 + \c@slide=0 + \let\truepagenumbers\relax} +\fi +\addto@preamblecmds{\truepagenumbers} +\newdimen\slideframewidth \slideframewidth 4pt +\newdimen\slideframesep \slideframesep .3in +\def\newslideframe#1{% + \@ifnextchar[{\@newslideframe{#1}}{\@newslideframe{#1}[]}} +\def\@newslideframe#1[#2]{% + \@namedef{semsfops@#1}{#2}% + \@namedef{semsf@#1}##1} +\newslideframe{plain}{\fbox{#1}} +\def\slideframe{\@slideframe{slide}} +\def\@slideframe#1{% + \@ifstar{\@testtrue\@@slideframe{#1}}{\@testfalse\@@slideframe{#1}}} +\def\@@slideframe#1{% + \@ifnextchar[{\@@@slideframe{#1}}{\@@@slideframe{#1}[]}} +\def\@@@slideframe#1[#2]#3{% + \def\@tempa{none}% + \def\@tempb{#3}% + \ifx\@tempa\@tempb + \@namedef{the#1frame}{\relax}% + \else + \ifx\@tempb\@empty + \@namedef{the#1frame}{}% + \else + \@ifundefined{semsf@#3}% + {\@seminarerr{Slide frame `#3' undefined}\@eha}% + {\if@test + \@@@@slideframe{#1}[#2]{#3}% + \else + \@namedef{the#1frame}{\setbox\@slidebox=\hbox{{% + \@nameuse{semsfops@#3}#2\@nameuse{semsf@#3}{\box\@slidebox}}}}% + \fi}% + \fi + \fi} +\def\@@@@slideframe#1[#2]#3{% + \expandafter\let\expandafter\@tempa\csname the#1frame\endcsname + \edef\next{% + \noexpand\def\expandafter\noexpand\csname the#1frame\endcsname}% + \expandafter\next\expandafter{\@tempa + \setbox\@slidebox=\hbox{{% + \@nameuse{semsfops@#3}% + #2% + \@nameuse{semsf@#3}{\box\@slidebox}}}}}% +\slideframe{plain} +\def\slidestyle#1{\@ifundefined{ss@#1}% + {\@seminarerr{Slide style `#1' undefined}\@eha}% + {\@nameuse{ss@#1}}} +\def\ss@empty{\let\add@slidelabel\@gobble} +\def\ss@left{\def\add@slidelabel##1{% + \setbox\@slidebox=\hbox{% + \vbox to \ht\@slidebox{\vss + \hbox to 0pt{\hss##1\hskip 15pt}% + \vss}\box\@slidebox}}} +\def\ss@bottom{\def\add@slidelabel##1{% + \setbox\@slidebox=\vbox{\copy\@slidebox\vskip 9pt + \hbox to\wd\@slidebox{\hss##1\hss}}}}% +\ifarticle + \ifportrait\slidestyle{bottom}\else\slidestyle{left}\fi +\else + \slidestyle{empty} +\fi +\def\slidelabel{\bf Slide \theslide} +\def\newpagestyle#1#2#3{% + \expandafter\newcommand\csname ps@#1\endcsname{% + \def\@oddhead{#2}\let\@evenhead\@oddhead + \def\@oddfoot{#3}\let\@evenfoot\@oddfoot}} +\def\renewpagestyle#1#2#3{% + \expandafter\renewcommand\csname ps@#1\endcsname{% + \def\@oddhead{#2}\let\@evenhead\@oddhead + \def\@oddfoot{#3}\let\@evenfoot\@oddfoot}} +\def\@ifgoodps#1{% + \@ifundefined{ps@#1}{\@seminarerr{Page style `#1' undefined}\@eha}} +\def\slidepagestyle#1{% + \@ifgoodps{#1}% + {\ifslide\pagestyle{#1}\else\edef\slide@pagestyle{#1}\fi}} +\def\ps@{} +\slidepagestyle{} +\ifarticle + \def\ps@align{} +\else + \def\ps@align{% + \def\@oddhead{\thepage\hfil+}\let\@evenhead\@oddhead + \def\@oddfoot{+\hfil+}\let\@evenfoot\@oddfoot} +\fi +\def\slideheadfont{\scriptsize} +\def\slidefootfont{\scriptsize} +\def\magstep#1{\ifcase#1 \@m\or 1200\or 1440\or 1728\or + 2074\or 2488\or 2986\or 3583\or 4300\or 5160\fi\relax} +\def\magstepminus#1{% + \ifcase#1 \@m\or 833\or 694\or 579\or 482\or 401\fi\relax} +\def\@magstep#1{% + \ifnum#1<\z@\magstepminus{-#1}\else\magstep#1\fi} +{\catcode`\p=12\catcode`\t=12 + \gdef\@@inv@@mag#1pt#2{\def#2{#1}}} +\def\invert@mag#1{\@tempdima=1000pt + \divide\@tempdima by #1\relax + \expandafter\@@inv@@mag\the\@tempdima#1} +\def\@slidesmag#1{% + \@tempcnta=#1\relax% + \ifnum\@tempcnta>0 + \edef\inverseslidesmag{\the\@tempcnta}% + \invert@mag\inverseslidesmag + \ifarticle\else\mag\@tempcnta\fi + \else + \@seminarerr{\string\@slidesmag\space argument must be an + integer equal to 1000 times the magnification}\@eha + \fi} +\def\@articlemag#1{% + \@tempcnta=#1\relax% + \ifnum\@tempcnta>0 + \edef\inverseartmag{\the\@tempcnta}% + \invert@mag\inverseartmag + \ifarticle\mag\@tempcnta\fi + \else + \@seminarerr{\string\articlemag\space argument must be an + integer equal to 1000 times the magnification}\@eha + \fi} +\addto@preamblecmds{\@slidesmag\do\@articlemag} +\newdimen\semin +\newdimen\semcm +\def\@semmagerr#1{% + \@seminarerr{\string#1 argument must be an integer + between -5 and 9}\@eha} +\def\slidesmag#1{% + \@tempcnta=#1\relax + \ifnum\@tempcnta>-6 + \ifnum\@tempcnta<10 + \edef\the@slidesmag{\the\@tempcnta}% + \@slidesmag{\@magstep\@tempcnta}% + \else + \@semmagerr\slidesmag + \fi + \else + \@semmagerr\slidesmag + \fi + \setslidelength\semin\seminlength + \setslidelength\semcm\semcmlength} +\def\seminlength{1in} +\def\semcmlength{1cm} +\def\articlemag#1{% + \@tempcnta=#1\relax + \ifnum\@tempcnta>-6 + \ifnum\@tempcnta<10 + \edef\the@articlemag{\the\@tempcnta}% + \@articlemag{\@magstep\@tempcnta}% + \else + \@semmagerr\articlemag + \fi + \else + \@semmagerr\articlemag + \fi} +\addto@preamblecmds{\slidesmag\do\articlemag} +\def\setslidelength#1#2{% + #1=#2\relax + #1=\inverseslidesmag#1}% +\def\addtoslidelength#1#2{% + \dimen@=#2\relax + \advance#1 by \inverseslidesmag\dimen@} +\def\setartlength#1#2{% + #1=#2\relax + #1=\inverseartmag#1} +\def\addtoartlength#1#2{% + \dimen@=#2\relax + \advance#1 by \inverseartmag\dimen@} +\def\slide@epsfsize#1#2{% + \ifdim\epsfxsize=0pt + \ifdim\epsfysize=0pt + \inverseslidesmag#1% + \else + 0pt + \fi + \else + \inverseslidesmag\epsfxsize + \fi + \epsfysize + \ifdim\epsfysize=0pt + \ifdim\epsfxsize=0pt + \inverseslidesmag#2% + \else + 0pt + \fi + \else + \inverseslidesmag\epsfysize + \fi} +\def\epsfslidesize{\let\epsfsize\slide@epsfsize} +\slidesmag{4} +\articlemag{0} +\def\do@pageparameters{% + \do\oddsidemargin + \do\evensidemargin + \do\marginparwidth + \do\marginparsep + \do\topmargin + \do\headheight + \do\headsep + \do\textheight + \do\textwidth + \do\topskip + \do\footskip + \do\footheight} +\ifarticle + \def\scale@pageparameters{% + \begingroup + \def\do##1{\global##1=\inverseartmag##1\relax}% + \do@pageparameters + \endgroup} +\else + \def\scale@pageparameters{% + \begingroup + \def\do##1{\global##1=\inverseslidesmag##1\relax}% + \do@pageparameters + \endgroup} +\fi +\addto@hook\before@document{\scale@pageparameters} +\addto@preamblecmds{\scale@pageparameters\do\do@pageparameters} +\def\allversions{} +\let\endallversions\relax +\@namedef{allversions*}{\@bsphack\globaldefs=1} +\@namedef{endallversions*}{\@esphack} +\def\slide@list{slide,slide*,allversions,allversions*} +\def\addtoslidelist#1{\xdef\slide@list{\slide@list,#1}} +\addto@preamblecmds{\addtoslidelist} +\ifslidesonly + \@ifundefined{xcomment@@@}{\@@input xcomment.sty }{} + \def\xcomment@hook{\@xcomment{@@@}{\slide@list}} + \newxcomment[]{note} +\else + \def\note{\@bsphack}% + \def\endnote{\@esphack}% +\fi +\def\noxcomment{\def\xcomment@hook{}} +\def\os@list{} +\newif\if@os +\def\onlyslides#1{\def\os@list{#1}\@ostrue + \def\os@warning{\@warning{\string\onlyslides\space argument + contains undefined references}}} +\def\notslides#1{\def\os@list{#1}\@osfalse + \def\os@warning{\@warning{\string\notslides\space argument + contains undefined references}}} +\addto@preamblecmds{\onlyslides\do\notslides} +\addto@hook\after@document{% + \ifx\os@list\@empty\else\os@expandlist\fi} +\def\os@expandlist{% + \let\os@@warning\relax + \begingroup + \def\ref##1{\@ifundefined{r@##1}{?}% + {\noexpand\@car\@nameuse{r@##1}\noexpand\@nil}}% + \edef\@tempd{\os@list}% + \xdef\os@list{}% + \@for\@tempc:=\@tempd + \do{\expandafter\os@expandrange\@tempc-:-:\@nil}% + \os@@warning + \endgroup + \let\os@expandrange\relax + \let\os@checknum\relax + \let\os@expandlist\relax} +\def\os@expandrange#1-#2-#3\@nil{% + \def\@tempa{?}\def\@tempb{#1}% + \ifx\@tempa\@tempb + \let\os@@warning\os@warning + \else + \@tempcnta=#1\relax + \def\@tempb{#2}% + \ifx\@tempa\@tempb + \let\os@@warning\os@warning + \else + \def\@tempa{:}% + \ifx\@tempa\@tempb + \@tempcntb=\@tempcnta + \else + \@tempcntb=#2\relax + \fi + \advance\@tempcnta by -1 + \advance\@tempcntb by 1 + \ifx\os@list\@empty + \xdef\os@list{\the\@tempcnta+\the\@tempcntb}% + \else + \xdef\os@list{\os@list,\the\@tempcnta+\the\@tempcntb}% + \fi + \fi + \fi} +\def\os@test{% + \@testtrue + \iflandscape + \ifnum\@landscapeonly=-1 \@testfalse\fi + \else + \ifnum\@landscapeonly=1 \@testfalse\fi + \fi + \if@test + \ifx\os@list\@empty\else + \if@os\@testfalse\fi + \@for\@tempa:=\os@list\do{\expandafter\os@testrange\@tempa\@nil}% + \fi + \fi} +\def\os@testrange#1+#2\@nil{% + \ifnum\c@slide>#1 + \ifnum\c@slide<#2 + \if@os\@testtrue\else\@testfalse\fi + \fi + \fi} +\def\onlynotestoo{% + \ifnotes\@testtrue\else\ifnotesonly\@testtrue\else\@testfalse\fi\fi + \if@test + \@ifundefined{xcomment@@@}{% + \edef\sem@temp{\the\catcode`\@}% + \catcode`\@=11 + \@@input xcomment.sty + \catcode`\@=\sem@temp\relax}{}% + \def\xcomment@hook{\@xcomment{@@@}{\slide@list}}% + \addto@hook\after@slide\onlynotes@too + \fi} +\def\onlynotes@too{% + \os@test + \if@test\gdef\do@end{}\else\gdef\do@end{\xc@begin}\fi} +\addto@preamblecmds\onlynotestoo +\def\ptsize#1{% + \@ifundefined{#1@semptsize}% + {\@seminarerr{\string\ptsize\space `#1' not valid.}\@eha}% + {\ifslide + \sem@ptsize{#1}\large\normalsize + \else + \edef\slide@ptsize{#1}% + \fi}} +\edef\slide@ptsize{1\@ptsize}% +\def\slidefontsizes{\ptsize} %For backwards compatibility?? +\def\slide@setsize#1#2#3#4{% + \@setsize{#1}{#2}{#3}{#4}% + \set@slideskip{#2}} +\def\slide@@setsize#1#2#3#4{% + \slide@setsize{#1}{#2}{#3}{#4}\slidedisplayskips} +\def\set@slideskip#1{% + \normallineskiplimit=#1 + \advance\normallineskiplimit-\normalbaselineskip + \multiply\normallineskiplimit-1 + \normallineskiplimit\slideskip\normallineskiplimit + \ifdim\normallineskiplimit<1pt\normallineskiplimit=1pt\fi + \normallineskip=\normallineskiplimit + minus \slideshrink\normallineskiplimit + \dimen@=\normalbaselineskip + \normalbaselineskip=\dimen@ minus \slideshrink\normallineskiplimit + \normalbaselines} +\def\slideskip{.75} +\def\slideshrink{.25} +\def\slidedisplayskips{% + \abovedisplayskip 1.75ex minus .35ex + \belowdisplayskip \abovedisplayskip + \abovedisplayshortskip .2ex minus .2ex + \belowdisplayshortskip 1ex minus .2ex} +\def\sem@ptsize#1{% + \@nameuse{#1@semptsize}% + \large\normalsize + \leftmargini\slideleftmargini\relax + \leftmarginii\slideleftmarginii\relax + \leftmarginiii\slideleftmarginiii\relax + \labelsep\slidelabelsep\relax + \parskip\slideparskip\relax + \parindent\slideparindent\relax + \slide@rightskip + \slide@listi + \skip\footins\slidefootins\relax + \footnotesep\slidefootnotesep\relax} +\def\slidefootins{2ex minus .8ex} +\def\slidefootnotesep{1.2ex} +\def\slideparindent{\z@} +\def\slideparskip{1ex minus .2ex} +\@namedef{8@semptsize}{% + \def\@normalsize{\slide@@setsize\normalsize{9.5pt}\viiipt\@viiipt}% + \def\small{\slide@@setsize\small{8pt}\viipt\@viipt}% + \def\footnotesize{\slide@@setsize\footnotesize{8pt}\vipt\@vipt}% + \def\scriptsize{\slide@setsize\scriptsize{7pt}\vipt\@vipt}% + \def\tiny{\slide@setsize\tiny{6pt}\vpt\@vpt}% + \def\large{\slide@setsize\large{12pt}\xpt\@xpt}% + \def\Large{\slide@setsize\Large{14pt}\xiipt\@xiipt}% + \def\LARGE{\slide@setsize\LARGE{17pt}\xivpt\@xivpt}% + \def\huge{\slide@setsize\huge{20pt}\xviipt\@xviipt}% + \def\Huge{\slide@setsize\Huge{25pt}\xxpt\@xxpt}} +\@namedef{9@semptsize}{% + \def\@normalsize{\slide@@setsize\normalsize{11pt}\ixpt\@ixpt}% + \def\small{\slide@@setsize\small{9.5pt}\viiipt\@viiipt}% + \def\footnotesize{\slide@@setsize\footnotesize{8pt}\viipt\@viipt}% + \def\scriptsize{\slide@setsize\scriptsize{7pt}\vipt\@vipt}% + \def\tiny{\slide@setsize\tiny{6pt}\vpt\@vpt}% + \def\large{\slide@setsize\large{12pt}\xpt\@xpt}% + \def\Large{\slide@setsize\Large{14pt}\xiipt\@xiipt}% + \def\LARGE{\slide@setsize\LARGE{17pt}\xivpt\@xivpt}% + \def\huge{\slide@setsize\huge{20pt}\xviipt\@xviipt}% + \def\Huge{\slide@setsize\Huge{25pt}\xxpt\@xxpt}} +\@namedef{10@semptsize}{% + \def\@normalsize{\slide@@setsize\normalsize{12pt}\xpt\@xpt}% + \def\small{\slide@@setsize\small{11pt}\ixpt\@ixpt}% + \def\footnotesize{\slide@@setsize\footnotesize{9.5pt}\viiipt\@viiipt}% + \def\scriptsize{\slide@setsize\scriptsize{8pt}\viipt\@viipt}% + \def\tiny{\slide@setsize\tiny{6pt}\vpt\@vpt}% + \def\large{\slide@setsize\large{14pt}\xiipt\@xiipt}% + \def\Large{\slide@setsize\Large{18pt}\xivpt\@xivpt}% + \def\LARGE{\slide@setsize\LARGE{22pt}\xviipt\@xviipt}% + \def\huge{\slide@setsize\huge{25pt}\xxpt\@xxpt}% + \def\Huge{\slide@setsize\Huge{30pt}\xxvpt\@xxvpt}} +\@namedef{11@semptsize}{% + \def\@normalsize{\slide@@setsize\normalsize{13.6pt}\xipt\@xipt}% + \def\small{\slide@@setsize\small{12pt}\xpt\@xpt}% + \def\footnotesize{\slide@@setsize\footnotesize{11pt}\ixpt\@ixpt}% + \def\scriptsize{\slide@setsize\scriptsize{9.5pt}\viiipt\@viiipt}% + \def\tiny{\slide@setsize\tiny{7pt}\vipt\@vipt}% + \def\large{\slide@setsize\large{14pt}\xiipt\@xiipt}% + \def\Large{\slide@setsize\Large{18pt}\xivpt\@xivpt}% + \def\LARGE{\slide@setsize\LARGE{22pt}\xviipt\@xviipt}% + \def\huge{\slide@setsize\huge{25pt}\xxpt\@xxpt}% + \def\Huge{\slide@setsize\Huge{30pt}\xxvpt\@xxvpt}} +\@namedef{12@semptsize}{% + \def\@normalsize{\slide@@setsize\normalsize{14.5pt}\xiipt\@xiipt}% + \def\small{\slide@@setsize\small{13.6pt}\xipt\@xipt}% + \def\footnotesize{\slide@@setsize\footnotesize{12pt}\xpt\@xpt}% + \def\scriptsize{\slide@setsize\scriptsize{9.5pt}\viiipt\@viiipt}% + \def\tiny{\slide@setsize\tiny{7pt}\vipt\@vipt}% + \def\large{\slide@setsize\large{18pt}\xivpt\@xivpt}% + \def\Large{\slide@setsize\Large{22pt}\xviipt\@xviipt}% + \def\LARGE{\slide@setsize\LARGE{25pt}\xxpt\@xxpt}% + \def\huge{\slide@setsize\huge{30pt}\xxvpt\@xxvpt}% + \let\Huge\huge} +\@namedef{14@semptsize}{% + \def\@normalsize{\slide@@setsize\normalsize{18pt}\xivpt\@xivpt}% + \def\small{\slide@@setsize\small{14.5pt}\xiipt\@xiipt}% + \def\footnotesize{\slide@@setsize\footnotesize{13.6pt}\xipt\@xipt}% + \def\scriptsize{\slide@setsize\scriptsize{12pt}\xpt\@xpt}% + \def\tiny{\slide@setsize\tiny{9.5pt}\viiipt\@viiipt}% + \def\large{\slide@setsize\large{22pt}\xviipt\@xviipt}% + \def\Large{\slide@setsize\Large{25pt}\xxpt\@xxpt}% + \def\LARGE{\slide@setsize\LARGE{30pt}\xxvpt\@xxvpt}% + \let\huge\LARGE + \let\Huge\LARGE} +\@namedef{17@semptsize}{% + \def\@normalsize{\slide@@setsize\normalsize{22pt}\xviipt\@xviipt}% + \def\small{\slide@@setsize\small{18pt}\xivpt\@xivpt}% + \def\footnotesize{\slide@@setsize\footnotesize{14.5pt}\xiipt\@xiipt}% + \def\scriptsize{\slide@setsize\scriptsize{13.6pt}\xipt\@xipt}% + \def\tiny{\slide@setsize\tiny{12pt}\xpt\@xpt}% + \def\large{\slide@setsize\large{25pt}\xxpt\@xxpt}% + \def\Large{\slide@setsize\Large{30pt}\xxvpt\@xxvpt}% + \let\LARGE\Large + \let\huge\Large + \let\Huge\Large} +\def\twoup{\@ifnextchar[{\@twoup}{\@twoup[0]}} +\ifarticle + \ifportrait + \def\@twoup[#1]{% + \@tempcnta=\the@articlemag\relax + \@tempcntb=\@tempcnta + \advance\@tempcntb by #1\relax + \advance\@tempcntb by -2\relax + \ifnum\@tempcntb>-6\relax + \@@input 2up.tex + \source{\@magstep\@tempcnta}{\paperheight}{\paperwidth}% + \target{\@magstep\@tempcntb}{\paperwidth}{\paperheight}% + \targetlayout{topbottom}% + \printlandscapefalse + \else + \@seminarerr{Article magnification is too low for + \string\twoup\space to handle}\@eha + \fi + \def\articlemag##1{\@semtwoupmagerr\articlemag}} + \else + \def\@twoup[#1]{% + \@tempcnta=\the@articlemag\relax + \@tempcntb=\@tempcnta + \advance\@tempcntb by #1\relax + \advance\@tempcntb by -2\relax + \ifnum\@tempcntb>-6\relax + \@@input 2up.tex + \source{\@magstep\@tempcnta}{\paperwidth}{\paperheight}% + \target{\@magstep\@tempcntb}{\paperheight}{\paperwidth}% + \if@twoside + \targetlayout{twosided}% + \fi + \printlandscapetrue + \else + \@seminarerr{Article magnification is too low for + \string\twoup\space to handle}\@eha + \fi + \def\articlemag##1{\@semtwoupmagerr\articlemag}} + \fi +\else + \ifportrait + \def\@twoup[#1]{% + \@tempcnta=\the@slidesmag\relax + \@tempcntb=\@tempcnta + \advance\@tempcntb by #1\relax + \advance\@tempcntb by -3\relax + \ifnum\@tempcntb>-6\relax + \@@input 2up.tex + \source{\@magstep\@tempcnta}{\paperwidth}{\paperheight}% + \advance\@tempcnta by -3 + \target{\@magstep\@tempcnta}{\paperheight}{\paperwidth}% + \printlandscapetrue + \else + \@seminarerr{Slides magnification is too low for + \string\twoup\space to handle}\@eha + \fi + \def\slidesmag##1{\@semtwoupmagerr\slidesmag}} + \else + \def\@twoup[#1]{% + \@tempcnta=\the@slidesmag\relax + \@tempcntb=\@tempcnta + \advance\@tempcntb by #1\relax + \advance\@tempcntb by -3\relax + \ifnum\@tempcntb>-6\relax + \@@input 2up.tex + \source{\@magstep\@tempcnta}{\paperheight}{\paperwidth}% + \target{\@magstep\@tempcntb}{\paperwidth}{\paperheight}% + \targetlayout{topbottom}% + \printlandscapefalse + \else + \@seminarerr{Slides magnification is too low for + \string\twoup\space to handle}\@eha + \fi + \def\slidesmag##1{\@semtwoupmargerr\slidesmag}}% + \fi +\fi +\def\@semtwoupmagerr#1{% + \@seminarerr{\string#1 must come before \string\twoup}\@eha} +\addto@preamblecmds{\twoup\do\@twoup} +\openin1 seminar.con +\ifeof1\else\closein1 \relax\@@input seminar.con\fi +\endinput +%% +%% End of file `seminar.sty'. diff --git a/Master/texmf-dist/tex/latex/seminar/semlcmss.sty b/Master/texmf-dist/tex/latex/seminar/semlcmss.sty new file mode 100644 index 00000000000..81cf69dae7f --- /dev/null +++ b/Master/texmf-dist/tex/latex/seminar/semlcmss.sty @@ -0,0 +1,160 @@ +%% BEGIN semlcmss.sty +\def\fileversion{1.0 (2e)} +\def\filedate{94/02/01} +%% +%% LaTeX style option `semlcmss.sty' for the `seminar' document style. +%% For use with LaTeX v2.09 and the New Font Selection Scheme (1 or 2) +%% or (some day) with LaTeX2e. +%% +%% COPYRIGHT 1994, by Timothy Van Zandt, Timothy.VAN-ZANDT@insead.edu +%% See seminar.sty or seminar.doc for copying restrictions. +%% +%% This file contains the external font information needed to load
+%% the SliTeX sans serif fonts for use by seminar.sty.
+%% +\csname semlcmss@loaded\endcsname +\let\semlcmss@loaded\endinput +\typeout{Style Option: `semlcmss' \fileversion\space <\filedate> (tvz)} +\@ifundefined{selectfont} + {\@seminarerr{`semlcmss' style option can only be used + with the New Font Selection Scheme}\@eha\endinput}{} +% +\expandafter\ifx\csname DeclareSizeFunction\endcsname\relax + +% First, the font definitions: +\new@fontshape{lcmss}{m}{n}{%
+ <5>lcmss8 scaled 695%
+ <6>lcmss8 scaled 833%
+ <7>lcmss8 scaled 913%
+ <8>lcmss8 % + <9>lcmss8 scaled 1095% + <10>lcmss8 scaled 1200%
+ <11>lcmss8 scaled 1314%
+ <12>lcmss8 scaled 1440%
+ <14>lcmss8 scaled 1727%
+ <17>lcmss8 scaled 2074%
+ <20>lcmss8 scaled 2488%
+ <25>lcmss8 scaled 2986%
+ }{}
+\extra@def{lcmss}{}{}
+% +\new@fontshape{lcmss}{m}{it}{%
+ <5>lcmssi8 scaled 695%
+ <6>lcmssi8 scaled 833%
+ <7>lcmssi8 scaled 913%
+ <8>lcmssi8 % + <9>lcmssi8 scaled 1095% + <10>lcmssi8 scaled 1200%
+ <11>lcmssi8 scaled 1314%
+ <12>lcmssi8 scaled 1440%
+ <14>lcmssi8 scaled 1727%
+ <17>lcmssi8 scaled 2074%
+ <20>lcmssi8 scaled 2488%
+ <25>lcmssi8 scaled 2986%
+ }{}
+\extra@def{lcmss}{}{}
+\subst@fontshape{lcmss}{m}{sl}{lcmss}{m}{it} +% +\new@fontshape{lcmss}{bx}{n}{%
+ <5>lcmssb8 scaled 695%
+ <6>lcmssb8 scaled 833%
+ <7>lcmssb8 scaled 913%
+ <8>lcmssb8 % + <9>lcmssb8 scaled 1095% + <10>lcmssb8 scaled 1200%
+ <11>lcmssb8 scaled 1314%
+ <12>lcmssb8 scaled 1440%
+ <14>lcmssb8 scaled 1727%
+ <17>lcmssb8 scaled 2074%
+ <20>lcmssb8 scaled 2488%
+ <25>lcmssb8 scaled 2986%
+ }{}
+\extra@def{cmssb}{}{} +\subst@fontshape{lcmss}{bx}{it}{lcmss}{bx}{n} +\subst@fontshape{lcmss}{bx}{sl}{lcmss}{bx}{n} + +% +% Now define \slidefonts: +\ifarticle + \def\slidefonts{% + \def\default@family{lcmss}% + \def\rmdefault{lcmss}% + \def\sfdefault{lcmss}% + \family\default@family\selectfont} +\else + \def\default@family{lcmss}% + \def\rmdefault{lcmss}% + \def\sfdefault{lcmss}% + \family\default@family\selectfont +\fi + +\else + +\DeclareFontFamily{OT1}{lcmss}{}{} +\DeclareFontShape{OT1}{lcmss}{m}{n}{ + <5>s*[1.1120]lcmss8
+ <6>s*[1.1107]lcmss8
+ <7>s*[1.0434]lcmss8
+ <8>lcmss8 + <9>s*[0.9733]lcmss8 + <10><10.95><12><14.4><17.28><20.74><24.88>s*[0.96]lcmss8}{}
+ +\DeclareFontShape{OT1}{lcmss}{m}{sl}{ + <5>s*[1.1120]lcmssi8
+ <6>s*[1.1107]lcmssi8
+ <7>s*[1.0434]lcmssi8
+ <8>lcmssi8 + <9>s*[0.9733]lcmssi8 + <10><10.95><12><14.4><17.28><20.74><24.88>s*[0.96]lcmssi8}{}
+ +\DeclareFontShape{OT1}{lcmss}{bx}{n}{ + <5>s*[1.1120]lcmssb8
+ <6>s*[1.1107]lcmssb8
+ <7>s*[1.0434]lcmssb8
+ <8>lcmssb8 + <9>s*[0.9733]lcmssb8 + <10><10.95><12><14.4><17.28><20.74><24.88>s*[0.96]lcmssb8}{}
+ +\DeclareFontShape{OT1}{lcmss}{m}{it}{<-> ssub * lcmss/m/sl }{} +\DeclareFontShape{OT1}{lcmss}{bx}{it}{<-> sub * lcmss/bx/n }{} +\DeclareFontShape{OT1}{lcmss}{bx}{sl}{<-> sub * lcmss/bx/n }{} + +% Now define \slidefonts: +\ifarticle + \def\slidefonts{% + \def\default@family{lcmss}% + \def\rmdefault{lcmss}% + \def\sfdefault{lcmss}% + \fontfamily\default@family\selectfont} +\else + \def\default@family{lcmss}% + \def\rmdefault{lcmss}% + \def\sfdefault{lcmss}% + \fontfamily\default@family\selectfont +\fi + +\fi + +% Now set up a few things for seminar.sty: +% These fonts are intended to be used with the 10pt font size +% declarations (and \magstep4), slightly modified: +\ptsize{10}\slidesmag{4}\articlemag{0} +\@namedef{10@semptsize}{% + \def\@normalsize{\slide@@setsize\normalsize{12pt}\xpt\@xpt}% + \def\small{\footnotesize}% + \def\footnotesize{\slide@@setsize\footnotesize{9.5pt}\viiipt\@viiipt}% + \def\scriptsize{\footnotesize}% + \def\tiny{\slide@setsize\tiny{6pt}\vpt\@vpt}% + \def\large{\slide@setsize\large{14pt}\xiipt\@xiipt}% + \def\Large{\slide@setsize\Large{18pt}\xivpt\@xivpt}% + \def\LARGE{\slide@setsize\LARGE{22pt}\xviipt\@xviipt}% + \def\huge{\slide@setsize\huge{25pt}\xxpt\@xxpt}% + \def\Huge{\huge}} +\def\semlcmss@warning#1{% + \@warning{Can't use `\string#1' with the semlcmss option!}} +\def\ptsize#1{\semlcmss@warning\ptsize} +\def\slidesmag#1{\semlcmss@warning\slidesmag} +\def\articlemag#1{\semlcmss@warning\articlemag} + +\endinput +%% END semlcmss.sty |