diff options
-rw-r--r-- | Master/texmf-dist/tex/latex/script/script.cls | 672 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/script/script10.sty | 38 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/script/script11.sty | 38 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/script/script12.sty | 38 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/script/script18.sty | 38 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/script/script_l.cls | 514 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/script/script_s.cls | 601 |
7 files changed, 1939 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/script/script.cls b/Master/texmf-dist/tex/latex/script/script.cls new file mode 100644 index 00000000000..ddc517557bd --- /dev/null +++ b/Master/texmf-dist/tex/latex/script/script.cls @@ -0,0 +1,672 @@ +% script.sty -- by Frank Neukam (01 Dec 1993) +% based on Leslie Lamport's report and book styles. + +\NeedsTeXFormat{LaTeX2e} +\def\filedate{1993/12/01} +\def\fileversion{2.0-2e} +\ProvidesClass{script}[\filedate\space KPB LaTeX2e document class] + +\typeout{Document Style `script' v2.0 by Frank Neukam <01 Dec 1993>} +\input{oldlfont.sty} + +\def\tensfb{\fontfamily{\sfdefault}\fontseries{bx}\fontshape{n}\fontsize{10}{12pt}\selectfont} +\def\elvsfb{\fontfamily{\sfdefault}\fontseries{bx}\fontshape{n}\fontsize{11}{13.6pt}\selectfont} +\def\twlsfb{\fontfamily{\sfdefault}\fontseries{bx}\fontshape{n}\fontsize{12}{14.5pt}\selectfont} +\def\frtnsfb{\fontfamily{\sfdefault}\fontseries{bx}\fontshape{n}\fontsize{14.4}{18pt}\selectfont} +\def\svtnsfb{\fontfamily{\sfdefault}\fontseries{bx}\fontshape{n}\fontsize{17.28}{22pt}\selectfont} +\def\twtysfb{\fontfamily{\sfdefault}\fontseries{bx}\fontshape{n}\fontsize{20.74}{25pt}\selectfont} +\def\twfvsfb{\fontfamily{\sfdefault}\fontseries{bx}\fontshape{n}\fontsize{24.88}{30pt}\selectfont} + +\def\@ptsize{1} +\DeclareOption{10pt}{\def\@ptsize{0}} +\DeclareOption{11pt}{\def\@ptsize{1}} +\DeclareOption{12pt}{\def\@ptsize{2}} +\DeclareOption{18pt}{\def\@ptsize{8}} +\newdimen\paperwidth +\newdimen\paperheight +\paperwidth 210mm +\paperheight 297mm +\DeclareOption{a3paper}{\paperwidth=297mm \paperheight=420mm} +\DeclareOption{a4paper}{\paperwidth=210mm \paperheight=297mm} +\DeclareOption{a5paper}{\paperwidth=148.5mm \paperheight=210mm} +\DeclareOption{a6paper}{\paperwidth=105mm \paperheight=148.5mm} +\DeclareOption{a3lpaper}{\paperwidth=420mm \paperheight=297mm} +\DeclareOption{a4lpaper}{\paperwidth=297mm \paperheight=210mm} +\DeclareOption{a5lpaper}{\paperwidth=210mm \paperheight=148.5mm} +\DeclareOption{a6lpaper}{\paperwidth=148.5mm \paperheight=105mm} +\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse} +\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue} +\DeclareOption{draft}{\overfullrule 5pt} +\DeclareOption{final}{\setlength\overfullrule{0pt}} +\ExecuteOptions{a4paper,12pt,oneside,final} +\ProcessOptions +\input{script1\@ptsize.sty} +\normalsize % RTL 21.04.94 + +\newif\if@hincl +\def\headincludeon{\@hincltrue} +\def\headincludeoff{\@hinclfalse} +\newif\if@hsl +\def\headseplineon{\@hsltrue \@hincltrue} +\def\headseplineoff{\@hslfalse \@hinclfalse} +\headseplineoff +\newif\if@fincl +\def\footincludeon{\@fincltrue} +\def\footincludeoff{\@finclfalse} +\newif\if@fsl +\def\footseplineon{\@fsltrue \@fincltrue} +\def\footseplineoff{\@fslfalse \@finclfalse} +\footseplineoff +\newdimen\sc@bcor +\newcount\sc@div +\newdimen\sc@hblk +\newdimen\sc@vblk +\newdimen\sc@temp +\def\typearea{\@ifnextchar [{\@typearea}{\@typearea[0mm]}} +\def\@typearea[#1]#2{ + \normalsize + \sc@bcor #1 + \sc@div=#2 + \sc@hblk \paperwidth + \advance \sc@hblk by -\sc@bcor + \divide\sc@hblk by \sc@div + \oddsidemargin -1in + \evensidemargin -1in + \if@twoside + \advance\oddsidemargin by \sc@hblk + \advance\oddsidemargin by \sc@bcor + \advance\evensidemargin by 2\sc@hblk + \else + \advance\oddsidemargin by 1.5\sc@hblk + \advance\oddsidemargin by \sc@bcor + \evensidemargin\oddsidemargin + \fi + \textwidth \paperwidth + \advance\textwidth by -\sc@bcor + \advance\textwidth by -3\sc@hblk + \headheight 15pt + \headsep 1.5\baselineskip + \footskip 3.5\baselineskip + \sc@vblk \paperheight + \divide\sc@vblk by \sc@div + \sc@temp \paperheight + \advance\sc@temp by -3\sc@vblk + \if@hincl + \advance\sc@temp by -\headheight + \advance\sc@temp by -\headsep + \fi + \if@fincl + \advance\sc@temp by -\footskip + \fi + \textheight \topskip + \@whiledim\textheight<\sc@temp + \do{\advance\textheight by \baselineskip} + \topmargin \sc@vblk + \advance\topmargin by -1in + \if@hincl \else + \advance\topmargin by -\headheight + \advance\topmargin by -\headsep + \fi + \if@twoside + \marginparwidth 1.5\sc@hblk + \else + \marginparwidth \sc@hblk + \fi + \marginparsep 1cc + \marginparpush 0.45\baselineskip} +\def\areaset{\@ifnextchar [{\@areaset}{\@areaset[0mm]}} +\def\@areaset[#1]#2#3{ + \normalsize + \sc@bcor #1 + \textwidth #2 + \textheight #3 + \sc@hblk \paperwidth + \advance\sc@hblk by -\sc@bcor + \advance\sc@hblk by -\textwidth + \divide\sc@hblk by 3 + \oddsidemargin -1in + \evensidemargin -1in + \if@twoside + \advance\oddsidemargin by \sc@hblk + \advance\oddsidemargin by \sc@bcor + \advance\evensidemargin by 2\sc@hblk + \else + \advance\oddsidemargin by 1.5\sc@hblk + \advance\oddsidemargin by \sc@bcor + \evensidemargin\oddsidemargin + \fi + \headheight 15pt + \headsep 1.5\baselineskip + \footskip 3.5\baselineskip + \sc@vblk \paperheight + \advance\sc@vblk by -\textheight + \divide\sc@vblk by 3 + \if@hincl + \advance\textheight by -\headheight + \advance\textheight by -\headsep + \fi + \if@fincl + \advance\textheight by -\footskip + \fi + \topmargin \sc@vblk + \advance\topmargin by -1in + \if@hincl \else + \advance\topmargin by -\headheight + \advance\topmargin by -\headsep + \fi + \if@twoside + \marginparwidth 1.5\sc@hblk + \else + \marginparwidth \sc@hblk + \fi + \marginparsep 1cc + \marginparpush 0.45\baselineskip} +\ifcase \@ptsize\relax \typearea{8} \or \typearea{10} \or \typearea{12} \fi + +\parskip 0pt plus 1pt +\parindent 1em +\partopsep 3pt plus 2pt minus 2pt +\footnotesep 0.6\baselineskip +\skip\footins 0.75\baselineskip plus 4pt minus 2pt +\skip\@mpfootins = \skip\footins +\columnsep 1cc +\columnseprule 0pt +\floatsep 1\baselineskip plus 2pt minus 2pt +\textfloatsep 20pt plus 2pt minus 4pt +\intextsep 1\baselineskip plus 2pt minus 2pt +%\@maxsep 20pt % RTL 21.04.94 +\dblfloatsep 1\baselineskip plus 2pt minus 2pt +\dbltextfloatsep 20pt plus 2pt minus 4pt +%\@dblmaxsep 20pt % RTL 21.04.94 +\@fptop 0pt plus 1fil +\@fpsep 0.7\baselineskip plus 2fil +\@fpbot 0pt plus 1fil +\@dblfptop 0pt plus 1fil +\@dblfpsep 0.7\baselineskip plus 2fil +\@dblfpbot 0pt plus 1fil + +\arraycolsep 5pt +\tabcolsep 6pt +\arrayrulewidth 0.4pt +\doublerulesep 2pt +\fboxsep 3pt +\fboxrule 0.4pt +\tabbingsep \labelsep + +\labelsep .5em +\leftmargini 2.5em +\leftmarginii 2.2em +\leftmarginiii 1.87em +\leftmarginiv 1.7em +\leftmarginv 1em +\leftmarginvi 1em +\leftmargin\leftmargini +\labelwidth\leftmargini +\advance\labelwidth-\labelsep +\def\@listI{\leftmargin\leftmargini + \topsep 0.8em plus 0.2em minus 0.4em + \parsep 0.4em plus 2pt minus 1pt + \itemsep \parsep} +\let\@listi\@listI +\@listi +\def\@listii{\leftmargin\leftmarginii + \labelwidth\leftmarginii\advance\labelwidth-\labelsep + \topsep 0.4em plus 2pt minus 1pt + \parsep 0.2em plus 1pt minus 1pt + \itemsep \parsep} +\def\@listiii{\leftmargin\leftmarginiii + \labelwidth\leftmarginiii\advance\labelwidth-\labelsep + \topsep 0.2em plus 1pt minus 1pt + \parsep \z@ + \partopsep 1pt plus 0pt minus 1pt + \itemsep \topsep} +\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} + +\@lowpenalty 51 +\@medpenalty 151 +\@highpenalty 301 +\@beginparpenalty -\@lowpenalty +\@endparpenalty -\@lowpenalty +\@itempenalty -\@lowpenalty + +\def\theenumi{\arabic{enumi}} +\def\theenumii{\alph{enumii}} +\def\theenumiii{\roman{enumiii}} +\def\theenumiv{\Alph{enumiv}} +\def\labelenumi{\theenumi.} +\def\labelenumii{\theenumii)} +\def\labelenumiii{\theenumiii.} +\def\labelenumiv{\theenumiv.} +\def\p@enumii{\theenumi} +\def\p@enumiii{\theenumi\theenumii)} +\def\p@enumiv{\p@enumiii\theenumiii} +\def\labelitemi{$\bullet$} +\def\labelitemii{\bf --} +\def\labelitemiii{$\triangleright$} +\def\labelitemiv{$\cdot$} + +\newcounter{part} +\newcounter {chapter} +\newcounter {section}[chapter] +\newcounter {subsection}[section] +\newcounter {subsubsection}[subsection] +\newcounter {paragraph}[subsubsection] +\newcounter {subparagraph}[paragraph] + +\def\thepart {\Roman{part}} +\def\thechapter {\arabic{chapter}} +\def\thesection {\thechapter.\arabic{section}} +\def\thesubsection {\thesection.\arabic{subsection}} +\def\thesubsubsection {\thesubsection .\arabic{subsubsection}} +\def\theparagraph {\thesubsubsection.\arabic{paragraph}} +\def\thesubparagraph {\theparagraph.\arabic{subparagraph}} + +\setcounter{secnumdepth}{2} +\setcounter{tocdepth}{2} + +\def\verse{\let\\=\@centercr + \list{}{\itemsep\z@ \itemindent -1.5em\listparindent \itemindent + \rightmargin\leftmargin\advance\leftmargin 1.5em}\item[]} +\let\endverse\endlist + +\def\quotation{\list{}{\listparindent 1em + \itemindent\listparindent + \rightmargin\leftmargin\parsep 0pt plus 1pt}\item[]} +\let\endquotation=\endlist + +\def\quote{\list{}{\rightmargin\leftmargin}\item[]} +\let\endquote=\endlist + +\def\descriptionlabel#1{\hspace\labelsep {\descfont #1}} +\def\description{\list{}{\labelwidth\z@ \itemindent-\leftmargin + \let\makelabel\descriptionlabel}} +\let\enddescription\endlist +\newdimen\descriptionmargin +\descriptionmargin=3em + +\def\labelinglabel#1{#1\hfil\sc@septext} +\def\labeling{\@ifnextchar [{\@labeling}{\@labeling[]}} +\def\@labeling[#1]#2{\def\sc@septext{#1} + \list{}{\settowidth{\labelwidth}{#2#1} + \leftmargin\labelwidth \advance\leftmargin by \labelsep + \let\makelabel\labelinglabel}} +\let\endlabeling\endlist + +\def\marginline#1{\marginpar% + {\if@twoside \ifodd\c@page \raggedright \else \raggedleft \fi + \else \raggedright \fi #1}} + +\def\titlepage{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn + \else \newpage \fi \thispagestyle{empty}\c@page\z@} +\def\endtitlepage{\if@restonecol\twocolumn \else \newpage \fi} + +\def\next@tpage{\newpage\thispagestyle{empty}\null} +\def\@extratitle{} +\long\def\extratitle#1{\def\@extratitle{#1}} +\def\@titlehead{} +\long\def\titlehead#1{\def\@titlehead{#1}} +\def\@subject{} +\def\subject#1{\def\@subject{#1}} +\def\@publishers{} +\def\publishers#1{\def\@publishers{#1}} +\def\@uppertitleback{} +\long\def\uppertitleback#1{\def\@uppertitleback{#1}} +\def\@lowertitleback{} +\long\def\lowertitleback#1{\def\@lowertitleback{#1}} +\def\@dedication{} +\def\dedication#1{\def\@dedication{#1}} +\def\maketitle{\@ifnextchar [{\@maketitle}{\@maketitle[1]}} +\def\@maketitle[#1]{\bgroup \@restonecolfalse + \if@twocolumn \@restonecoltrue\onecolumn \else \newpage \fi + \thispagestyle{empty}\null + \setcounter{page}{#1} + \let\footnotesize\small + \let\footnoterule\relax + \ifx\@extratitle\@empty \else + \noindent\@extratitle \next@tpage \if@twoside \next@tpage \fi + \fi + \ifx\@titlehead\@empty \else + \noindent\begin{minipage}[t]{\textwidth} + \@titlehead + \end{minipage}\par + \fi + \null \vfill + \ifx\@subject\@empty \else + {\centering \Large \@subject \par} + \vskip 3em + \fi + {\centering \huge {\sectfont \@title \par}} + \vskip 3em + {\centering \Large \lineskip 0.75em + \begin{tabular}[t]{c}\@author + \end{tabular}\par} + \vskip 1.5em + {\centering \Large \@date \par} + \vskip 0pt plus 3fill + {\centering \Large \@publishers \par} + \vskip 3em + \par \@thanks + \if@twoside \next@tpage + \noindent\begin{minipage}[t]{\textwidth} + \@uppertitleback + \end{minipage}\par + \vfill + \noindent\begin{minipage}[b]{\textwidth} + \@lowertitleback + \end{minipage} + \fi + \ifx\@dedication\@empty \else + \next@tpage \vfill + {\centering \Large \@dedication \par} + \vskip 0pt plus 3fill + \if@twoside \next@tpage \fi + \fi + \if@restonecol\twocolumn \else \newpage \fi + \egroup + \setcounter{footnote}{0} + \let\thanks\relax \gdef\@extratitle{}\gdef\@titlehead{}\gdef\@subject{}% + \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\gdef\@publishers{}% + \gdef\@uppertitleback{}\gdef\@lowertitleback{}\gdef\@dedication{}% + \let\maketitle\relax \let\@maketitle\relax} + +\newif\if@abstrt +\def\abstracton{\@abstrttrue} +\def\abstractoff{\@abstrtfalse} +\def\abstractname{Abstract} +\def\abstract{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn + \else \newpage \fi \thispagestyle{empty} \null \vfil + \if@abstrt \begin{center} {{\sectfont \abstractname}} \end{center}\fi} +\def\endabstract{\par \vfil \null + \if@twoside \next@tpage \fi + \if@restonecol\twocolumn \else \newpage \fi} + +\def\partname{Part} +\def\part{\cleardoublepage \thispagestyle{empty} \if@twocolumn \onecolumn + \@tempswatrue \else \@tempswafalse \fi \null \vfil \secdef\@part\@spart} +\def\@part[#1]#2{\ifnum \c@secnumdepth >-2\relax \refstepcounter{part} + \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}\else + \addcontentsline{toc}{part}{#1}\fi \markboth{}{} + {\centering \ifnum \c@secnumdepth >-2\relax \huge {\sectfont\partname{} + \thepart \par} \vskip 20pt \fi \Huge {\sectfont #2\par}}\@endpart} +\def\@spart#1{{\centering \Huge {\sectfont #1}\par}\@endpart} +\def\@endpart{\vfil\newpage \if@twoside \null \thispagestyle{empty} + \newpage \fi \if@tempswa \twocolumn \fi} + +\def\chaptername{Chapter} +\def\@chapapp{\chaptername} +\def\chaptermark#1{} +\def\chapter{\clearpage \thispagestyle{plain} \global\@topnum\z@ + \@afterindentfalse \secdef\@chapter\@schapter} +\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne + \refstepcounter{chapter} + \typeout{\@chapapp\space\thechapter.} + \addcontentsline{toc}{chapter}{\protect \numberline{\thechapter.}#1} + \else + \addcontentsline{toc}{chapter}{#1}\fi + \chaptermark{#1} + \addtocontents{lof}{\protect\addvspace{10pt}} + \addtocontents{lot}{\protect\addvspace{10pt}} + \if@twocolumn \@topnewpage[\@makechapterhead{#2}] + \else \@makechapterhead{#2} \fi \@afterheading} +\def\@schapter#1{\if@twocolumn \@topnewpage[\@makeschapterhead{#1}] + \else \@makeschapterhead{#1} \fi \@afterheading} +\def\@makechapterhead#1{\vspace*{50pt} {\Huge {\sectfont + \@hangfrom{\ifnum \c@secnumdepth >\m@ne \thechapter. \fi}% + {\raggedright \interlinepenalty \@M #1\par}} \nobreak \vskip 40pt}} +\def\@makeschapterhead#1{\vspace*{50pt} {\Huge {\sectfont \@hangfrom{}% + {\raggedright \interlinepenalty \@M #1\par}}} \nobreak \vskip 40pt} + +\def\addchap{\clearpage \thispagestyle{plain} \global\@topnum\z@ + \@afterindentfalse \secdef\@addchap\@saddchap} +\def\@addchap[#1]#2{\typeout{#2} + \addcontentsline{toc}{chapter}{#1} + \if@twoside \markboth{#1}{}\else \markright{#1} \fi + \addtocontents{lof}{\protect\addvspace{10pt}} + \addtocontents{lot}{\protect\addvspace{10pt}} + \if@twocolumn \@topnewpage[\@makeschapterhead{#2}] + \else \@makeschapterhead{#2} \fi \@afterheading} +\def\@saddchap#1{\markboth{}{} + \if@twocolumn \@topnewpage[\@makeschapterhead{#1}] + \else \@makeschapterhead{#1} \fi \@afterheading} + +\def\appendixname{Appendix} +\def\appendix{\par + \setcounter{chapter}{0} + \setcounter{section}{0} + \def\@chapapp{\appendixname} + \def\thechapter{\Alph{chapter}}} + +\def\section{\@startsection {section}{1}{\z@}{-3.5ex plus -1ex minus + -.2ex}{2.3ex plus .2ex}{\Large \sectfont}} +\def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus -1ex minus + -.2ex}{1.5ex plus .2ex}{\large \sectfont}} +\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-3.25ex plus -1ex + minus -.2ex}{1.5ex plus .2ex}{\sectfont}} +\def\paragraph{\@startsection{paragraph}{4}{\z@}{3.25ex plus 1ex minus + .2ex}{-1em}{\sectfont}} +\def\subparagraph{\@startsection{subparagraph}{4}{\parindent}{3.25ex plus + 1ex minus .2ex}{-1em}{\sectfont}} + +\def\minisec#1{\@afterindentfalse \vskip 1.5ex {\parindent 0pt \raggedright + \sectfont #1\par\nobreak}\@afterheading} + +\def\contentsname{Contents} +\def\@pnumwidth{1.55em} +\def\@tocrmarg {2.55em} +\def\@dotsep{4.5} +\def\tableofcontents{\@restonecolfalse + \if@twocolumn\@restonecoltrue\onecolumn\fi + \chapter*{\contentsname \@mkboth{\contentsname}{\contentsname}} + \@starttoc{toc}\if@restonecol\twocolumn\fi} +\def\l@part#1#2{\addpenalty{-\@highpenalty} + \addvspace{2.25em plus 1pt} \begingroup + \@tempdima 3em \parindent \z@ \rightskip \@pnumwidth \parfillskip + -\@pnumwidth + {\sectfont \leavevmode #1\hfil \hbox to\@pnumwidth{\hss #2}}\par + \nobreak \global\@nobreaktrue \everypar{\global\@nobreakfalse\everypar{}} + \endgroup} +\def\l@chapter#1#2{\addpenalty{-\@highpenalty} + \vskip 1.0em plus 1pt \@tempdima 1.5em \begingroup + \parindent \z@ \rightskip \@pnumwidth + \parfillskip -\@pnumwidth + \sectfont \leavevmode \advance\leftskip\@tempdima \hskip -\leftskip + #1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss #2}\par + \penalty\@highpenalty \endgroup} +\def\l@section{\@dottedtocline{1}{1.5em}{2.3em}} +\def\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}} +\def\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}} +\def\l@paragraph{\@dottedtocline{4}{10em}{5em}} +\def\l@subparagraph{\@dottedtocline{5}{12em}{6em}} + +\def\listfigurename{List of Figures} +\def\listoffigures{\@restonecolfalse + \if@twocolumn\@restonecoltrue\onecolumn\fi + \chapter*{\listfigurename \@mkboth{\listfigurename}{\listfigurename}} + \@starttoc{lof}\if@restonecol\twocolumn\fi} +\def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} + +\def\listtablename{List of Tables} +\def\listoftables{\@restonecolfalse + \if@twocolumn\@restonecoltrue\onecolumn\fi + \chapter*{\listtablename \@mkboth{\listtablename}{\listtablename}} + \@starttoc{lot}\if@restonecol\twocolumn\fi} +\let\l@table\l@figure + +\def\bibname{Bibliography} +\def\thebibliography#1{\chapter*{\bibname \@mkboth{\bibname}{\bibname}} + \list{[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth + \advance\leftmargin\labelsep + \usecounter{enumi}} + \def\newblock{\hskip 0.11em plus 0.33em minus 0.07em} + \sloppy\clubpenalty4000\widowpenalty4000 + \sfcode`\.=1000\relax} +\let\endthebibliography=\endlist + +\def\indexname{Index} +\newif\if@restonecol +\def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi + \columnseprule \z@ + \columnsep 35pt\twocolumn[\@makeschapterhead{\indexname}] + \@mkboth{\indexname}{\indexname} + \thispagestyle{plain}\parindent\z@ + \parskip\z@ plus 0.3pt\relax\let\item\@idxitem} +\def\@idxitem{\par\hangindent 40pt} +\def\subitem{\par\hangindent 40pt \hspace*{20pt}} +\def\subsubitem{\par\hangindent 40pt \hspace*{30pt}} +\def\endtheindex{\if@restonecol\onecolumn\else\clearpage\fi} +\def\indexspace{\par \vskip 10pt plus 5pt minus 3pt\relax} + +\@addtoreset{footnote}{chapter} +\def\footnoterule{\kern-3\p@ + \hrule width 0.4\columnwidth + \kern 2.6\p@} +\long\def\@makefntext#1{\noindent \sc@temp\columnwidth% + \advance\sc@temp by -1.5em \hbox to 1em{\hss$^{\@thefnmark}$}\hskip .5em% + \parbox[t]{\sc@temp}{\parindent 0pt\parskip 0pt\hskip -.5em #1}} + +\@addtoreset{equation}{chapter} +\def\theequation{\thechapter.\arabic{equation}} + +\setcounter{topnumber}{2} +\def\topfraction{.7} +\setcounter{bottomnumber}{1} +\def\bottomfraction{.3} +\setcounter{totalnumber}{3} +\def\textfraction{.2} +\def\floatpagefraction{.5} +\setcounter{dbltopnumber}{2} +\def\dbltopfraction{.7} +\def\dblfloatpagefraction{.5} + +\long\def\@makecaption#1#2{\vskip 10pt + \setbox\@tempboxa\hbox{{\captfont #1: #2}} + \ifdim \wd\@tempboxa >\hsize \@hangfrom{{\captfont #1: }}% + {\captfont #2\par} + \else \hbox to\hsize{\hfil\box\@tempboxa\hfil} + \fi} + +\def\figurename{Figure} +\newcounter{figure}[chapter] +\def\thefigure{\thechapter.\@arabic\c@figure} +\def\fps@figure{tbp} +\def\ftype@figure{1} +\def\ext@figure{lof} +\def\fnum@figure{\figurename{} \thefigure} +\def\figure{\@float{figure}} +\let\endfigure\end@float +\@namedef{figure*}{\@dblfloat{figure}} +\@namedef{endfigure*}{\end@dblfloat} + +\def\tablename{Table} +\newcounter{table}[chapter] +\def\thetable{\thechapter.\@arabic\c@table} +\def\fps@table{tbp} +\def\ftype@table{2} +\def\ext@table{lot} +\def\fnum@table{\tablename{} \thetable} +\def\table{\@float{table}} +\let\endtable\end@float +\@namedef{table*}{\@dblfloat{table}} +\@namedef{endtable*}{\end@dblfloat} + +\mark{{}{}} +\if@twoside + \def\ps@plain{\let\@mkboth\@gobbletwo + \def\@evenhead{}% + \def\@oddhead{}% + \def\@evenfoot{\vbox{\hsize=\textwidth + \if@fsl \hrule \vskip 3pt \fi + \hbox to \textwidth{{\pnumfont\thepage\hfil}}}}% + \def\@oddfoot{\vbox{\hsize=\textwidth + \if@fsl \hrule \vskip 3pt \fi + \hbox to \textwidth{{\pnumfont\hfil\thepage}}}}} + \def\ps@headings{\let\@mkboth\markboth + \def\@evenhead{\vbox{\hsize=\textwidth + \hbox to \textwidth{{\headfont\leftmark\hfil}} + \if@hsl \vskip 1.5pt \hrule \fi}}% + \def\@oddhead{\vbox{\hsize=\textwidth + \hbox to \textwidth{{\headfont\hfil\rightmark}} + \if@hsl \vskip 1.5pt \hrule \fi}}% + \def\@evenfoot{\vbox{\hsize=\textwidth + \if@fsl \hrule \vskip 3pt \fi + \hbox to \textwidth{{\pnumfont\thepage\hfil}}}}% + \def\@oddfoot{\vbox{\hsize=\textwidth + \if@fsl \hrule \vskip 3pt \fi + \hbox to \textwidth{{\pnumfont\hfil\thepage}}}}% + \def\chaptermark##1{\markboth {\ifnum \c@secnumdepth >\m@ne + \thechapter. \ \fi ##1}{}}% + \def\sectionmark##1{\markright {\ifnum \c@secnumdepth >\z@ + \thesection\ \ \fi ##1}}% + \def\subsectionmark##1{}} + \def\ps@myheadings{\let\@mkboth\@gobbletwo + \def\@evenhead{\vbox{\hsize=\textwidth + \hbox to \textwidth{{\headfont\leftmark\hfil}} + \if@hsl \vskip 1.5pt \hrule \fi}}% + \def\@oddhead{\vbox{\hsize=\textwidth + \hbox to \textwidth{{\headfont\hfil\rightmark}} + \if@hsl \vskip 1.5pt \hrule \fi}}% + \def\@evenfoot{\vbox{\hsize=\textwidth + \if@fsl \hrule \vskip 3pt \fi + \hbox to \textwidth{{\pnumfont\thepage\hfil}}}}% + \def\@oddfoot{\vbox{\hsize=\textwidth + \if@fsl \hrule \vskip 3pt \fi + \hbox to \textwidth{{\pnumfont\hfil\thepage}}}}% + \def\chaptermark##1{}% + \def\sectionmark##1{}% + \def\subsectionmark##1{}} +\else + \def\ps@plain{\let\@mkboth\@gobbletwo + \def\@evenhead{}% + \def\@oddhead{}% + \def\@evenfoot{}% + \def\@oddfoot{\vbox{\hsize=\textwidth + \if@fsl \hrule \vskip 3pt \fi + \hbox to \textwidth{{\pnumfont\hfil\thepage\hfil}}}}} + \def\ps@headings{\let\@mkboth\markboth + \def\@evenhead{}% + \def\@oddhead{\vbox{\hsize=\textwidth + \hbox to \textwidth{{\headfont\hfil\rightmark\hfil}} + \if@hsl \vskip 1.5pt \hrule \fi}}% + \def\@evenfoot{}% + \def\@oddfoot{\vbox{\hsize=\textwidth + \if@fsl \hrule \vskip 3pt \fi + \hbox to \textwidth{{\pnumfont\hfil\thepage\hfil}}}}% + \def\chaptermark##1{\markright {\ifnum \c@secnumdepth >\m@ne + \thechapter. \ \fi ##1}}% + \def\sectionmark##1{}% + \def\subsectionmark##1{}} + \def\ps@myheadings{\let\@mkboth\@gobbletwo + \def\@evenhead{}% + \def\@oddhead{\vbox{\hsize=\textwidth + \hbox to \textwidth{{\headfont\hfil\rightmark\hfil}} + \if@hsl \vskip 1.5pt \hrule \fi}}% + \def\@evenfoot{}% + \def\@oddfoot{\vbox{\hsize=\textwidth + \if@fsl \hrule \vskip 3pt \fi + \hbox to \textwidth{{\pnumfont\hfil\thepage\hfil}}}}% + \def\chaptermark##1{}% + \def\sectionmark##1{}% + \def\subsectionmark##1{}} +\fi + +\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} + +\@abstrttrue +\ps@headings +\pagenumbering{arabic} +%\onecolumn % RTL 21.04.94 +\if@twoside \else \raggedbottom \fi +\frenchspacing +\def\captfont{\rm} +\def\descfont{\sfb} +\def\headfont{\it} +\def\pnumfont{\rm} +\def\sectfont{\sfb} diff --git a/Master/texmf-dist/tex/latex/script/script10.sty b/Master/texmf-dist/tex/latex/script/script10.sty new file mode 100644 index 00000000000..265a9671173 --- /dev/null +++ b/Master/texmf-dist/tex/latex/script/script10.sty @@ -0,0 +1,38 @@ +% script10.sty -- by Frank Neukam (01 Dec 1993) + +\lineskip 1pt +\normallineskip 1pt +\def\baselinestretch{1} + +\def\@normalsize{\@setsize\normalsize{12pt}\xpt\@xpt + \let\sfb=\tensfb + \abovedisplayskip 10pt plus2pt minus5pt + \belowdisplayskip \abovedisplayskip + \abovedisplayshortskip \z@ plus3pt + \belowdisplayshortskip 6pt plus3pt minus3pt + \let\@listi\@listI} +\def\small{\@setsize\small{11pt}\ixpt\@ixpt + \let\sfb=\bf + \abovedisplayskip 8.5pt plus 3pt minus 4pt + \belowdisplayskip \abovedisplayskip + \abovedisplayshortskip \z@ plus2pt + \belowdisplayshortskip 4pt plus2pt minus 2pt + \def\@listi{\leftmargin\leftmargini \topsep 4pt plus 2pt minus 2pt + \parsep 2pt plus 1pt minus 1pt + \itemsep \parsep}} +\def\footnotesize{\@setsize\footnotesize{9.5pt}\viiipt\@viiipt + \let\sfb=\bf + \abovedisplayskip 6pt plus 2pt minus 4pt + \belowdisplayskip \abovedisplayskip + \abovedisplayshortskip \z@ plus 1pt + \belowdisplayshortskip 3pt plus 1pt minus 2pt + \def\@listi{\leftmargin\leftmargini \topsep 3pt plus 1pt minus 1pt + \parsep 2pt plus 1pt minus 1pt + \itemsep \parsep}} +\def\scriptsize{\@setsize\scriptsize{8pt}\viipt\@viipt \let\sfb=\bf} +\def\tiny{\@setsize\tiny{6pt}\vpt\@vpt \let\sfb=\bf} +\def\large{\@setsize\large{14.5pt}\xiipt\@xiipt \let\sfb=\twlsfb} +\def\Large{\@setsize\Large{18pt}\xivpt\@xivpt \let\sfb=\frtnsfb} +\def\LARGE{\@setsize\LARGE{22pt}\xviipt\@xviipt \let\sfb=\svtnsfb} +\def\huge{\@setsize\huge{25pt}\xxpt\@xxpt \let\sfb=\twtysfb} +\def\Huge{\@setsize\Huge{30pt}\xxvpt\@xxvpt \let\sfb=\twfvsfb} diff --git a/Master/texmf-dist/tex/latex/script/script11.sty b/Master/texmf-dist/tex/latex/script/script11.sty new file mode 100644 index 00000000000..2305c11caa5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/script/script11.sty @@ -0,0 +1,38 @@ +% script11.sty -- by Frank Neukam (01 Dec 1993) + +\lineskip 1pt +\normallineskip 1pt +\def\baselinestretch{1} + +\def\@normalsize{\@setsize\normalsize{13.6pt}\xipt\@xipt + \let\sfb=\elvsfb + \abovedisplayskip 11pt plus3pt minus6pt + \belowdisplayskip \abovedisplayskip + \abovedisplayshortskip \z@ plus3pt + \belowdisplayshortskip 6.5pt plus3.5pt minus3pt + \let\@listi\@listI} +\def\small{\@setsize\small{12pt}\xpt\@xpt + \let\sfb=\tensfb + \abovedisplayskip 10pt plus2pt minus5pt + \belowdisplayskip \abovedisplayskip + \abovedisplayshortskip \z@ plus3pt + \belowdisplayshortskip 6pt plus3pt minus3pt + \def\@listi{\leftmargin\leftmargini \topsep 6pt plus 2pt minus 2pt + \parsep 3pt plus 2pt minus 1pt + \itemsep \parsep}} +\def\footnotesize{\@setsize\footnotesize{11pt}\ixpt\@ixpt + \let\sfb=\bf + \abovedisplayskip 8pt plus 2pt minus 4pt + \belowdisplayskip \abovedisplayskip + \abovedisplayshortskip \z@ plus 1pt + \belowdisplayshortskip 4pt plus 2pt minus 2pt + \def\@listi{\leftmargin\leftmargini \topsep 4pt plus 2pt minus 2pt + \parsep 2pt plus 1pt minus 1pt + \itemsep \parsep}} +\def\scriptsize{\@setsize\scriptsize{9.5pt}\viiipt\@viiipt \let\sfb=\bf} +\def\tiny{\@setsize\tiny{7pt}\vipt\@vipt \let\sfb=\bf} +\def\large{\@setsize\large{14.5pt}\xiipt\@xiipt \let\sfb=\twlsfb} +\def\Large{\@setsize\Large{18pt}\xivpt\@xivpt \let\sfb=\frtnsfb} +\def\LARGE{\@setsize\LARGE{22pt}\xviipt\@xviipt \let\sfb=\svtnsfb} +\def\huge{\@setsize\huge{25pt}\xxpt\@xxpt \let\sfb=\twtysfb} +\def\Huge{\@setsize\Huge{30pt}\xxvpt\@xxvpt \let\sfb=\twfvsfb}
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/script/script12.sty b/Master/texmf-dist/tex/latex/script/script12.sty new file mode 100644 index 00000000000..998e90b03c2 --- /dev/null +++ b/Master/texmf-dist/tex/latex/script/script12.sty @@ -0,0 +1,38 @@ +% script12.sty -- by Frank Neukam (01 Dec 1993) + +\lineskip 1pt +\normallineskip 1pt +\def\baselinestretch{1} + +\def\normalsize{\@setsize\normalsize{14.5pt}\xiipt\@xiipt + \let\sfb=\twlsfb + \abovedisplayskip 12pt plus3pt minus7pt + \belowdisplayskip \abovedisplayskip + \abovedisplayshortskip \z@ plus3pt + \belowdisplayshortskip 6.5pt plus3.5pt minus3pt + \let\@listi\@listI} +\def\small{\@setsize\small{13.6pt}\xipt\@xipt + \let\sfb=\elvsfb + \abovedisplayskip 11pt plus3pt minus6pt + \belowdisplayskip \abovedisplayskip + \abovedisplayshortskip \z@ plus3pt + \belowdisplayshortskip 6.5pt plus3.5pt minus3pt + \def\@listi{\leftmargin\leftmargini \parsep 4.5pt plus 2pt minus 1pt + \itemsep \parsep + \topsep 9pt plus 3pt minus 5pt}} +\def\footnotesize{\@setsize\footnotesize{12pt}\xpt\@xpt + \let\sfb=\tensfb + \abovedisplayskip 10pt plus2pt minus5pt + \belowdisplayskip \abovedisplayskip + \abovedisplayshortskip \z@ plus3pt + \belowdisplayshortskip 6pt plus3pt minus3pt + \def\@listi{\leftmargin\leftmargini \topsep 6pt plus 2pt minus 2pt + \parsep 3pt plus 2pt minus 1pt + \itemsep \parsep}} +\def\scriptsize{\@setsize\scriptsize{9.5pt}\viiipt\@viiipt \let\sfb=\bf} +\def\tiny{\@setsize\tiny{7pt}\vipt\@vipt \let\sfb=\bf} +\def\large{\@setsize\large{18pt}\xivpt\@xivpt \let\sfb=\frtnsfb} +\def\Large{\@setsize\Large{22pt}\xviipt\@xviipt \let\sfb=\svtnsfb} +\def\LARGE{\@setsize\LARGE{25pt}\xxpt\@xxpt \let\sfb=\twtysfb} +\def\huge{\@setsize\huge{30pt}\xxvpt\@xxvpt \let\sfb=\twfvsfb} +\let\Huge=\huge diff --git a/Master/texmf-dist/tex/latex/script/script18.sty b/Master/texmf-dist/tex/latex/script/script18.sty new file mode 100644 index 00000000000..14f05e3b139 --- /dev/null +++ b/Master/texmf-dist/tex/latex/script/script18.sty @@ -0,0 +1,38 @@ +% script12.sty -- by Frank Neukam (01 Dec 1993) + +\lineskip 1pt +\normallineskip 1pt +\def\baselinestretch{1} + +\def\normalsize{\@setsize\normalsize{17pt}\xiipt\@xiipt + \let\sfb=\svtnsfb + \abovedisplayskip 17pt plus3pt minus7pt + \belowdisplayskip \abovedisplayskip + \abovedisplayshortskip \z@ plus3pt + \belowdisplayshortskip 6.5pt plus3.5pt minus3pt + \let\@listi\@listI} +\def\small{\@setsize\small{14.5pt}\xipt\@xipt + \let\sfb=\frtnsfb + \abovedisplayskip 14pt plus3pt minus6pt + \belowdisplayskip \abovedisplayskip + \abovedisplayshortskip \z@ plus3pt + \belowdisplayshortskip 6.5pt plus3.5pt minus3pt + \def\@listi{\leftmargin\leftmargini \parsep 4.5pt plus 2pt minus 1pt + \itemsep \parsep + \topsep 9pt plus 3pt minus 5pt}} +\def\footnotesize{\@setsize\footnotesize{14.5pt}\xpt\@xpt + \let\sfb=\twlsfb + \abovedisplayskip 12pt plus2pt minus5pt + \belowdisplayskip \abovedisplayskip + \abovedisplayshortskip \z@ plus3pt + \belowdisplayshortskip 6pt plus3pt minus3pt + \def\@listi{\leftmargin\leftmargini \topsep 6pt plus 2pt minus 2pt + \parsep 3pt plus 2pt minus 1pt + \itemsep \parsep}} +\def\scriptsize{\@setsize\scriptsize{11.5pt}\viiipt\@viiipt \let\sfb=\bf} +\def\tiny{\@setsize\tiny{10pt}\vipt\@vipt \let\sfb=\bf} +\def\large{\@setsize\large{20pt}\xivpt\@xivpt \let\sfb=\twtysfb} +\def\Large{\@setsize\Large{22pt}\xviipt\@xviipt \let\sfb=\twtysfb} +\def\LARGE{\@setsize\LARGE{25pt}\xxpt\@xxpt \let\sfb=\twfvsfb} +\def\huge{\@setsize\huge{30pt}\xxvpt\@xxvpt \let\sfb=\twfvsfb} +\let\Huge=\huge diff --git a/Master/texmf-dist/tex/latex/script/script_l.cls b/Master/texmf-dist/tex/latex/script/script_l.cls new file mode 100644 index 00000000000..39dc99da9f4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/script/script_l.cls @@ -0,0 +1,514 @@ +% script_l.sty -- by Frank Neukam (01 Dec 1993) +% based on Leslie Lamport's letter style. + +\NeedsTeXFormat{LaTeX2e} +\def\filedate{1993/12/01} +\def\fileversion{2.0-2e} +\ProvidesClass{script_l}[\filedate\space KPB LaTeX2e document class] + +\typeout{Document Style `script_l' v2.0 by Frank Neukam <01 Dec 1993>} +\input{oldlfont.sty} + +\expandafter\ifx\csname language\endcsname\relax + \errhelp{Use script_l v1.0 or install TeX3 or MLTeX.} + \errmessage{script_l v2.0 can only be used with TeX3 or MLTeX!} +\fi + +\def\tensfb{\fontfamily{\sfdefault}\fontseries{bx}\fontshape{n}\fontsize{10}{12pt}\selectfont} +\def\elvsfb{\fontfamily{\sfdefault}\fontseries{bx}\fontshape{n}\fontsize{11}{13.6pt}\selectfont} +\def\twlsfb{\fontfamily{\sfdefault}\fontseries{bx}\fontshape{n}\fontsize{12}{14.5pt}\selectfont} +\def\frtnsfb{\fontfamily{\sfdefault}\fontseries{bx}\fontshape{n}\fontsize{14.4}{18pt}\selectfont} +\def\svtnsfb{\fontfamily{\sfdefault}\fontseries{bx}\fontshape{n}\fontsize{17.28}{22pt}\selectfont} +\def\twtysfb{\fontfamily{\sfdefault}\fontseries{bx}\fontshape{n}\fontsize{20.74}{25pt}\selectfont} +\def\twfvsfb{\fontfamily{\sfdefault}\fontseries{bx}\fontshape{n}\fontsize{24.88}{30pt}\selectfont} + +\def\@ptsize{2} +\DeclareOption{10pt}{\def\@ptsize{0}} +\DeclareOption{11pt}{\def\@ptsize{1}} +\DeclareOption{12pt}{\def\@ptsize{2}} +\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse} +\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue} +\DeclareOption{draft}{\overfullrule 5pt} +\DeclareOption{final}{\setlength\overfullrule{0pt}} +\ExecuteOptions{12pt,oneside,final} +\ProcessOptions +\input{script1\@ptsize.sty} +%\normalsize % RTL 21.04.94 + +\let\sc@document=\document +\def\document{\sc@document + \def\captionsenglish{% + \def\yourrefname{Your ref.} + \def\yourmailname{Your letter of} + \def\myrefname{Our ref.} + \def\customername{Customer no.} + \def\invoicename{Invoice no.} + \def\subjectname{Subject} + \def\ccname{cc} + \def\enclname{encl} + \def\headtoname{To} + \def\datename{Date} + \def\pagename{Page}} + \let\captionsUSenglish=\captionsenglish + \def\captionsgerman{% + \def\yourrefname{Ihr Zeichen} + \def\yourmailname{Ihr Schreiben vom} + \def\myrefname{Unser Zeichen} + \def\customername{Kundennummer} + \def\invoicename{Rechnungsnummer} + \def\subjectname{} + \def\ccname{Kopien an} + \def\enclname{Anlagen} + \def\headtoname{An} + \def\datename{Datum} + \def\pagename{Seite}} + \let\captionsaustrian=\captionsgerman + \def\captionsfrench{% + \def\yourrefname{Vos r\'ef\'erences} + \def\yourmailname{Votre lettre du} + \def\myrefname{Nos r\'ef\'erences} + \def\customername{Num\'ero de client} + \def\invoicename{Num\'ero de facture} + \def\subjectname{Concernant} + \def\ccname{Copie \`a} + \def\enclname{Annexes} + \def\headtoname{A} + \def\datename{Date} + \def\pagename{Page}} + \def\dateenglish{\def\today{\number\day/\number\month/\number\year}} + \def\dateUSenglish{\def\today{\number\month/\number\day/\number\year}} + \def\dategerman{\def\today{\number\day.\,\number\month.\,\number\year}} + \let\dateaustrian=\dategerman + \let\datefrench=\dategerman + \ifcase\language + \captionsUSenglish + \dateUSenglish + \or + \captionsgerman + \dategerman + \or + \captionsfrench + \datefrench + \fi} + +\oddsidemargin 0in +\evensidemargin 0in +\marginparwidth 0.9in +\marginparsep 0.1in +\marginparpush 0.45\baselineskip +\topmargin -15.5mm +\headheight 22mm +\headsep 9mm +%\footheight 20mm +\footskip 30mm +\textheight 217mm +\textwidth 159.2mm + +\parskip 1\baselineskip +\parindent 0pt +\smallskipamount=0.5\parskip +\medskipamount=\parskip +\bigskipamount=2\parskip +\footnotesep 0.8\baselineskip +\skip\footins 0.75\baselineskip plus 2pt minus 4pt +\skip\@mpfootins = \skip\footins +\columnsep 1cc +\columnseprule 0pt +\floatsep 1\baselineskip plus 2pt minus 2pt +\textfloatsep 20pt plus 2pt minus 4pt +\intextsep 1\baselineskip plus 2pt minus 2pt +%\@maxsep 20pt +\dblfloatsep 1\baselineskip plus 2pt minus 2pt +\dbltextfloatsep 20pt plus 2pt minus 4pt +%\@dblmaxsep 20pt +\@fptop 0pt plus 1fil +\@fpsep 0.7\baselineskip plus 2fil +\@fpbot 0pt plus 1fil +\@dblfptop 0pt plus 1fil +\@dblfpsep 0.7\baselineskip plus 2fil +\@dblfpbot 0pt plus 1fil + +\arraycolsep 5pt +\tabcolsep 6pt +\arrayrulewidth 0.4pt +\doublerulesep 2pt +\fboxsep 3pt +\fboxrule 0.4pt +\tabbingsep \labelsep + +\topsep 0.25\baselineskip +\partopsep 0pt +\itemsep 0.25\baselineskip +\parsep 1\baselineskip %0.25\baselineskip +\labelsep .5em +\leftmargini 2.5em +\leftmarginii 2.2em +\leftmarginiii 1.87em +\leftmarginiv 1.7em +\leftmarginv 1em +\leftmarginvi 1em +\leftmargin\leftmargini +\labelwidth\leftmargini +\advance\labelwidth-\labelsep +\def\@listI{\leftmargin\leftmargini} +\let\@listi\@listI +\def\@listii{\leftmargin\leftmarginii + \labelwidth\leftmarginii\advance\labelwidth-\labelsep} +\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} +\@listi + +\@lowpenalty 51 +\@medpenalty 151 +\@highpenalty 301 +\@beginparpenalty -\@lowpenalty +\@endparpenalty -\@lowpenalty +\@itempenalty -\@lowpenalty + +\def\theenumi{\arabic{enumi}} +\def\theenumii{\alph{enumii}} +\def\theenumiii{\roman{enumiii}} +\def\theenumiv{\Alph{enumiv}} +\def\labelenumi{\theenumi.} +\def\labelenumii{\theenumii)} +\def\labelenumiii{\theenumiii.} +\def\labelenumiv{\theenumiv.} +\def\p@enumii{\theenumi} +\def\p@enumiii{\theenumi\theenumii)} +\def\p@enumiv{\p@enumiii\theenumiii} +\def\labelitemi{$\bullet$} +\def\labelitemii{\bf --} +\def\labelitemiii{$\triangleright$} +\def\labelitemiv{$\cdot$} + +\def\verse{\let\\=\@centercr + \list{}{\itemsep\z@ \itemindent -1.5em\listparindent \itemindent + \rightmargin\leftmargin\advance\leftmargin 1.5em}\item[]} +\let\endverse\endlist + +\def\quotation{\list{}{\listparindent 1em + \itemindent\listparindent + \rightmargin\leftmargin\parsep 0pt plus 1pt}\item[]} +\let\endquotation=\endlist + +\def\quote{\list{}{\rightmargin\leftmargin}\item[]} +\let\endquote=\endlist + +\def\descriptionlabel#1{\hspace\labelsep \sfb #1} +\def\description{\list{}{\labelwidth\z@ \itemindent-\leftmargin + \let\makelabel\descriptionlabel}} +\let\enddescription\endlist +\newdimen\descriptionmargin +\descriptionmargin=3em + +\def\labelinglabel#1{#1\hfil\sc@septext} +\def\labeling{\@ifnextchar [{\@labeling}{\@labeling[]}} +\def\@labeling[#1]#2{\def\sc@septext{#1} + \list{}{\settowidth{\labelwidth}{#2#1} + \leftmargin\labelwidth \advance\leftmargin by \labelsep + \let\makelabel\labelinglabel}} +\let\endlabeling\endlist + +\def\fromname{} +\def\frombranch{} % RTL 21.04.94 +\def\fromsig{} +\def\fromaddress{} +\def\fromplace{} +\def\fromlocation{} +\def\frombackaddress{} +\def\telephonenum{} +\def\varyourref{} +\def\varyourmail{} +\def\varmyref{} +\def\varcustomer{} +\def\varinvoice{} +\def\varrefitemi{} +\def\varrefitemii{} +\def\varrefitemiii{} +\def\varrefitemnamei{} +\def\varrefitemnameii{} +\def\varrefitemnameiii{} +\def\@specialmail{} +\def\@title{} +\def\@subject{} + +\def\name#1{\def\fromname{#1}} +\def\branch#1{\def\frombranch{#1}} % RTL 21.04.94 +\def\signature#1{\def\fromsig{#1}} +\long\def\address#1{\def\fromaddress{#1}} +\def\place#1{\def\fromplace{#1}} +\long\def\location#1{\def\fromlocation{#1}} +\def\backaddress#1{\def\frombackaddress{#1}} +\def\telephone#1{\def\telephonenum{#1}} +\def\yourref#1{\def\varyourref{#1}} +\def\yourmail#1{\def\varyourmail{#1}} +\def\myref#1{\def\varmyref{#1}} +\def\customer#1{\def\varcustomer{#1}} +\def\invoice#1{\def\varinvoice{#1}} +\def\refitemi#1{\def\varrefitemi{#1}} +\def\refitemii#1{\def\varrefitemii{#1}} +\def\refitemiii#1{\def\varrefitemiii{#1}} +\def\refitemnamei#1{\def\varrefitemnamei{#1}} +\def\refitemnameii#1{\def\varrefitemnameii{#1}} +\def\refitemnameiii#1{\def\varrefitemnameiii{#1}} +\def\specialmail#1{\def\@specialmail{#1}} +\def\title#1{\def\@title{#1}} +\def\subject#1{\def\@subject{{\bf #1}}} +\long\def\firsthead#1{\def\@firsthead{#1}} +\long\def\firstfoot#1{\def\@firstfoot{#1}} +\long\def\nexthead#1{\def\@nexthead{#1}} +\long\def\nextfoot#1{\def\@nextfoot{#1}} + +\newif\if@fold +\newif\if@afield +\newif\if@subj +\def\foldmarkson{\@foldtrue} +\def\foldmarksoff{\@foldfalse} +\def\addrfieldon{\@afieldtrue} +\def\addrfieldoff{\@afieldfalse} +\def\subjecton{\@subjtrue} +\def\subjectoff{\@subjfalse} + +\newdimen\sc@temp +\newdimen\sc@@temp +\newdimen\foldhskip +\newdimen\foldvskipi +\newdimen\foldvskipii +\newdimen\foldvskipiii +\newdimen\addrvskip +\newdimen\addrindent +\newdimen\addrwidth +\newdimen\addrheight +\newdimen\locwidth +\newdimen\refvskip +\newdimen\sigindent + +\foldhskip 3.5mm +\foldvskipi 62mm % war: 65mm RTL +\foldvskipii 40.5mm +\foldvskipiii 58.5mm +\addrvskip 7.5mm +\addrindent 0mm +\addrwidth 70mm +\addrheight 35mm +\locwidth\textwidth +\advance\locwidth by -\addrwidth +\divide\locwidth by 2 +\refvskip 5.5mm +\sigindent 0mm + +\def\adrentry#1#2#3#4#5#6#7#8{\ifx #8\@empty \else + \ifx #2\@empty + \expandafter\def\csname #8\endcsname{#1\\#3} + \else + \expandafter\def\csname #8\endcsname{#2 #1\\#3} + \fi \fi} +\def\adrchar#1{} + +\long\def\letter#1{\newpage + \if@twoside\ifodd\c@page\else \thispagestyle{empty}\null\newpage \fi\fi + \c@page\@ne \interlinepenalty=200 \@processto{#1}} +\def\stopletter{} +\def\endletter{\stopletter\@@par\pagebreak\@@par} +\long\def\@processto#1{\expandafter\@xproc #1\\@@@\ifx\toaddress\@empty + \else\expandafter\@yproc #1@@@\fi} +\long\def\@xproc #1\\#2@@@{\def\toname{#1}\def\toaddress{#2}} +\long\def\@yproc #1\\#2@@@{\def\toaddress{#2}} + +\def\stopbreaks{\interlinepenalty \@M + \def\par{\@@par\nobreak}\let\\=\@nobreakcr + \let\vspace\@nobreakvspace} +\def\@nobreakvspace{\@ifstar{\@nobreakvspacex}{\@nobreakvspacex}} +\def\@nobreakvspacex#1{\ifvmode\nobreak\vskip #1\relax\else + \@bsphack\vadjust{\nobreak\vskip #1}\@esphack\fi} +\def\@nobreakcr{\vadjust{\penalty\@M}\@ifstar{\@xnewline}{\@xnewline}} +\def\startbreaks{\let\\=\@normalcr + \interlinepenalty 200\def\par{\@@par\penalty 200}} + +\def\@foldmarks{\if@fold \bgroup + \reversemarginpar\vspace{\foldvskipi} + \marginpar{\hspace{\foldhskip}\rule{2mm}{.2pt}} \vspace{\foldvskipii} + \marginpar{\hspace{\foldhskip}\rule{4mm}{.2pt}} \vspace{\foldvskipiii} + \marginpar{\hspace{\foldhskip}\rule{2mm}{.2pt}} + \vspace{-\foldvskipiii}\vspace{-\foldvskipii}\vspace{-\foldvskipi} + \egroup \fi} + +\def\@addrfield{\bgroup + \setbox0\vbox{\hsize\addrwidth + \ifx\frombackaddress\@empty \else +% \underline{\scriptsize \sf \frombackaddress} \fi} + {\scriptsize \sf \frombackaddress} \fi} + \setbox1\vbox{\hsize\addrwidth + \ifx\@specialmail\@empty \else \underline{\@specialmail} \fi} + \setbox2\vbox{\hsize\addrwidth + \toname \\ \toaddress} + \vskip\addrvskip \hskip\addrindent + \vbox to \addrheight{% + \ifx\frombackaddress\@empty \else \box0 \fi + \ifx\@specialmail\@empty \else \vfil\box1 \fi + \vfil\box2\vfil}\egroup} + +\def\@locfield{\begin{minipage}[b]{\locwidth}\fromlocation\end{minipage}} + +\newif\if@ref +\def\@datefield{\@reffalse + \ifx\varyourref\@empty \else \@reftrue \fi + \ifx\varyourmail\@empty \else \@reftrue \fi + \ifx\varmyref\@empty \else \@reftrue \fi + \ifx\varcustomer\@empty \else \@reftrue \fi + \ifx\varinvoice\@empty \else \@reftrue \fi + \ifx\varrefitemi\@empty \else \@reftrue \fi + \ifx\varrefitemii\@empty \else \@reftrue \fi + \ifx\varrefitemiii\@empty \else \@reftrue \fi + \vskip -\parskip + \vskip \refvskip + \if@ref + \ifx\varyourref\@empty \else + \settowidth{\sc@temp}{\varyourref} + \setbox0\hbox{\scriptsize \sf \yourrefname} + \ifdim \sc@temp > \wd0 \sc@@temp\sc@temp \else \sc@@temp\wd0 \fi + \parbox[t]{\sc@@temp}{\noindent \box0\par \varyourref}\hfill + \fi + \ifx\varyourmail\@empty \else + \settowidth{\sc@temp}{\varyourmail} + \setbox0\hbox{\scriptsize \sf \yourmailname} + \ifdim \sc@temp > \wd0 \sc@@temp\sc@temp \else \sc@@temp\wd0 \fi + \parbox[t]{\sc@@temp}{\noindent \box0\par \varyourmail}\hfill + \fi + \ifx\varmyref\@empty \else + \settowidth{\sc@temp}{\varmyref} + \setbox0\hbox{\scriptsize \sf \myrefname} + \ifdim \sc@temp > \wd0 \sc@@temp\sc@temp \else \sc@@temp\wd0 \fi + \parbox[t]{\sc@@temp}{\noindent \box0\par \varmyref}\hfill + \fi + \ifx\varcustomer\@empty \else + \settowidth{\sc@temp}{\varcustomer} + \setbox0\hbox{\scriptsize \sf \customername} + \ifdim \sc@temp > \wd0 \sc@@temp\sc@temp \else \sc@@temp\wd0 \fi + \parbox[t]{\sc@@temp}{\noindent \box0\par \varcustomer}\hfill + \fi + \ifx\varinvoice\@empty \else + \settowidth{\sc@temp}{\varinvoice} + \setbox0\hbox{\scriptsize \sf \invoicename} + \ifdim \sc@temp > \wd0 \sc@@temp\sc@temp \else \sc@@temp\wd0 \fi + \parbox[t]{\sc@@temp}{\noindent \box0\par \varinvoice}\hfill + \fi + \ifx\varrefitemi\@empty \else + \settowidth{\sc@temp}{\varrefitemi} + \setbox0\hbox{\scriptsize \sf \varrefitemnamei} + \ifdim \sc@temp > \wd0 \sc@@temp\sc@temp \else \sc@@temp\wd0 \fi + \parbox[t]{\sc@@temp}{\noindent \box0\par \varrefitemi}\hfill + \fi + \ifx\varrefitemii\@empty \else + \settowidth{\sc@temp}{\varrefitemii} + \setbox0\hbox{\scriptsize \sf \varrefitemnameii} + \ifdim \sc@temp > \wd0 \sc@@temp\sc@temp \else \sc@@temp\wd0 \fi + \parbox[t]{\sc@@temp}{\noindent \box0\par \varrefitemii}\hfill + \fi + \ifx\varrefitemiii\@empty \else + \settowidth{\sc@temp}{\varrefitemiii} + \setbox0\hbox{\scriptsize \sf \varrefitemnameiii} + \ifdim \sc@temp > \wd0 \sc@@temp\sc@temp \else \sc@@temp\wd0 \fi + \parbox[t]{\sc@@temp}{\noindent \box0\par \varrefitemiii}\hfill + \fi + \ifx\@date\@empty \else + \settowidth{\sc@temp}{\@date} + \setbox0\hbox{\scriptsize \sf \datename} + \ifdim \sc@temp > \wd0 \sc@@temp\sc@temp \else \sc@@temp\wd0 \fi + \parbox[t]{\sc@@temp}{\noindent \box0\par \@date} + \fi + \par + \vspace{2.5\baselineskip} + \else + {\ifx\@date\@empty \else \raggedleft\fromplace\@date\par \fi} + \vspace{1.5\baselineskip} + \fi} + +\def\maketitle{\ifx\@title\@empty \else + {\centering \LARGE \sfb \@title\par} \vspace{1\baselineskip} \fi} + +\def\@subjfield{\if@subj% + \ifx\@subject\@empty\else\subjectname: \fi + \fi \@subject \par \vspace{1\baselineskip}} + +\def\opening#1{\thispagestyle{firstpage} \null \@foldmarks + \if@afield \@addrfield \hfill \@locfield \par \fi + \@datefield + \maketitle + \@subjfield + #1\par\vspace{0.5\baselineskip}\nobreak} + +\long\def\closing#1{\par\nobreak\vspace{0.5\baselineskip} + \stopbreaks \noindent \sc@temp\textwidth \advance\sc@temp by + -\sigindent \hspace{\sigindent}% + \parbox{\sc@temp}{\raggedright \ignorespaces #1\\[4ex] + \ifx\@empty\fromsig \fromname \else \fromsig \fi\strut}\par + \vspace{1.5\baselineskip}} + +\def\ps{\par\startbreaks} + +\def\cc#1{\par\noindent \parbox[t]{\textwidth}{\@hangfrom{\ccname: }% + \ignorespaces #1\strut}\par} + +\def\encl#1{\par\noindent \parbox[t]{\textwidth}{\@hangfrom{\enclname: }% + \ignorespaces #1\strut}\par} + +\def\footnoterule{\kern-1\p@ + \hrule width 0.4\columnwidth + \kern .6\p@} +\long\def\@makefntext#1{\noindent \sc@temp\columnwidth% + \advance\sc@temp by -1.5em \hbox to 1em{\hss$^{\@thefnmark}$}\hskip .5em% + \parbox[t]{\sc@temp}{\parindent 0pt\parskip 0pt\hskip -.5em #1}} + +\def\theequation{\arabic{equation}} + +\setcounter{topnumber}{2} +\def\topfraction{.7} +\setcounter{bottomnumber}{1} +\def\bottomfraction{.3} +\setcounter{totalnumber}{3} +\def\textfraction{.2} +\def\floatpagefraction{.5} +\setcounter{dbltopnumber}{2} +\def\dbltopfraction{.7} +\def\dblfloatpagefraction{.5} + +\def\@firsthead{\parbox[b]{\textwidth}{\begin{center} + {\sc \ignorespaces \fromname}\\[-8pt] \rule{\textwidth}{.4pt}\\ + \ignorespaces \fromaddress \end{center}}} +\def\@firstfoot{} +\def\@nexthead{\parbox[b]{\textwidth}{{% + \sc \ignorespaces \fromname}\\[8pt] \headtoname\ \ignorespaces \toname + \hfill \datename:\ \@date \hfill \pagename\ + \thepage\\[-8pt] \rule{\textwidth}{.4pt}}} +\def\@nextfoot{} + +\mark{{}{}} +\def\ps@plain{\def\@evenhead{\tensfb\hfil-- \thepage\ --\hfil}% + \let\@oddhead\@evenhead% + \def\@evenfoot{}% + \def\@oddfoot{}} +\def\ps@firstpage{% + \def\@evenhead{\@firsthead}% + \let\@oddhead\@evenhead% + \def\@evenfoot{\@firstfoot}% + \let\@oddfoot\@evenfoot} +\def\ps@headings{% + \def\@evenhead{\@nexthead}% + \let\@oddhead\@evenhead% + \def\@evenfoot{\@nextfoot}% + \let\@oddfoot\@evenfoot} + +\@foldtrue +\@afieldtrue +\@subjfalse +\ps@plain +\pagenumbering{arabic} +\raggedbottom +\frenchspacing diff --git a/Master/texmf-dist/tex/latex/script/script_s.cls b/Master/texmf-dist/tex/latex/script/script_s.cls new file mode 100644 index 00000000000..96881db41f6 --- /dev/null +++ b/Master/texmf-dist/tex/latex/script/script_s.cls @@ -0,0 +1,601 @@ +% script_s.sty -- by Frank Neukam (01 Dec 1993) +% based on Leslie Lamport's article style. + +\NeedsTeXFormat{LaTeX2e} +\def\filedate{1993/12/01} +\def\fileversion{2.0-2e} +\ProvidesClass{script}[\filedate\space KPB LaTeX2e document class] + +\typeout{Document Style `script_s' v2.0 by Frank Neukam <01 Dec 1993>} +\input{oldlfont.sty} + +\def\tensfb{\fontfamily{\sfdefault}\fontseries{bx}\fontshape{n}\fontsize{10}{12pt}\selectfont} +\def\elvsfb{\fontfamily{\sfdefault}\fontseries{bx}\fontshape{n}\fontsize{11}{13.6pt}\selectfont} +\def\twlsfb{\fontfamily{\sfdefault}\fontseries{bx}\fontshape{n}\fontsize{12}{14.5pt}\selectfont} +\def\frtnsfb{\fontfamily{\sfdefault}\fontseries{bx}\fontshape{n}\fontsize{14.4}{18pt}\selectfont} +\def\svtnsfb{\fontfamily{\sfdefault}\fontseries{bx}\fontshape{n}\fontsize{17.28}{22pt}\selectfont} +\def\twtysfb{\fontfamily{\sfdefault}\fontseries{bx}\fontshape{n}\fontsize{20.74}{25pt}\selectfont} +\def\twfvsfb{\fontfamily{\sfdefault}\fontseries{bx}\fontshape{n}\fontsize{24.88}{30pt}\selectfont} + +\def\@ptsize{1} +\DeclareOption{10pt}{\def\@ptsize{0}} +\DeclareOption{11pt}{\def\@ptsize{1}} +\DeclareOption{12pt}{\def\@ptsize{2}} +\DeclareOption{18pt}{\def\@ptsize{8}} +\newdimen\paperwidth +\newdimen\paperheight +\paperwidth 210mm +\paperheight 297mm +\DeclareOption{a3paper}{\paperwidth=297mm \paperheight=420mm} +\DeclareOption{a4paper}{\paperwidth=210mm \paperheight=297mm} +\DeclareOption{a5paper}{\paperwidth=148.5mm \paperheight=210mm} +\DeclareOption{a6paper}{\paperwidth=105mm \paperheight=148.5mm} +\DeclareOption{a3lpaper}{\paperwidth=420mm \paperheight=297mm} +\DeclareOption{a4lpaper}{\paperwidth=297mm \paperheight=210mm} +\DeclareOption{a5lpaper}{\paperwidth=210mm \paperheight=148.5mm} +\DeclareOption{a6lpaper}{\paperwidth=148.5mm \paperheight=105mm} +\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse} +\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue} +\DeclareOption{draft}{\overfullrule 5pt} +\DeclareOption{final}{\setlength\overfullrule{0pt}} +\ExecuteOptions{a4paper,12pt,oneside,final} +\ProcessOptions +\input{script1\@ptsize.sty} +\normalsize % RTL 21.04.94 + +\newif\if@hincl +\def\headincludeon{\@hincltrue} +\def\headincludeoff{\@hinclfalse} +\newif\if@hsl +\def\headseplineon{\@hsltrue \@hincltrue} +\def\headseplineoff{\@hslfalse \@hinclfalse} +\headseplineoff +\newif\if@fincl +\def\footincludeon{\@fincltrue} +\def\footincludeoff{\@finclfalse} +\newif\if@fsl +\def\footseplineon{\@fsltrue \@fincltrue} +\def\footseplineoff{\@fslfalse \@finclfalse} +\footseplineoff +\newdimen\sc@bcor +\newcount\sc@div +\newdimen\sc@hblk +\newdimen\sc@vblk +\newdimen\sc@temp +\def\typearea{\@ifnextchar [{\@typearea}{\@typearea[0mm]}} +\def\@typearea[#1]#2{ + \normalsize + \sc@bcor #1 + \sc@div=#2 + \sc@hblk \paperwidth + \advance \sc@hblk by -\sc@bcor + \divide\sc@hblk by \sc@div + \oddsidemargin -1in + \evensidemargin -1in + \if@twoside + \advance\oddsidemargin by \sc@hblk + \advance\oddsidemargin by \sc@bcor + \advance\evensidemargin by 2\sc@hblk + \else + \advance\oddsidemargin by 1.5\sc@hblk + \advance\oddsidemargin by \sc@bcor + \evensidemargin\oddsidemargin + \fi + \textwidth \paperwidth + \advance\textwidth by -\sc@bcor + \advance\textwidth by -3\sc@hblk + \headheight 15pt + \headsep 1.5\baselineskip + \footskip 3.5\baselineskip + \sc@vblk \paperheight + \divide\sc@vblk by \sc@div + \sc@temp \paperheight + \advance\sc@temp by -3\sc@vblk + \if@hincl + \advance\sc@temp by -\headheight + \advance\sc@temp by -\headsep + \fi + \if@fincl + \advance\sc@temp by -\footskip + \fi + \textheight \topskip + \@whiledim\textheight<\sc@temp + \do{\advance\textheight by \baselineskip} + \topmargin \sc@vblk + \advance\topmargin by -1in + \if@hincl \else + \advance\topmargin by -\headheight + \advance\topmargin by -\headsep + \fi + \if@twoside + \marginparwidth 1.5\sc@hblk + \else + \marginparwidth \sc@hblk + \fi + \marginparsep 1cc + \marginparpush 0.45\baselineskip} +\def\areaset{\@ifnextchar [{\@areaset}{\@areaset[0mm]}} +\def\@areaset[#1]#2#3{ + \normalsize + \sc@bcor #1 + \textwidth #2 + \textheight #3 + \sc@hblk \paperwidth + \advance\sc@hblk by -\sc@bcor + \advance\sc@hblk by -\textwidth + \divide\sc@hblk by 3 + \oddsidemargin -1in + \evensidemargin -1in + \if@twoside + \advance\oddsidemargin by \sc@hblk + \advance\oddsidemargin by \sc@bcor + \advance\evensidemargin by 2\sc@hblk + \else + \advance\oddsidemargin by 1.5\sc@hblk + \advance\oddsidemargin by \sc@bcor + \evensidemargin\oddsidemargin + \fi + \headheight 15pt + \headsep 1.5\baselineskip + \footskip 3.5\baselineskip + \sc@vblk \paperheight + \advance\sc@vblk by -\textheight + \divide\sc@vblk by 3 + \if@hincl + \advance\textheight by -\headheight + \advance\textheight by -\headsep + \fi + \if@fincl + \advance\textheight by -\footskip + \fi + \topmargin \sc@vblk + \advance\topmargin by -1in + \if@hincl \else + \advance\topmargin by -\headheight + \advance\topmargin by -\headsep + \fi + \if@twoside + \marginparwidth 1.5\sc@hblk + \else + \marginparwidth \sc@hblk + \fi + \marginparsep 1cc + \marginparpush 0.45\baselineskip} +\ifcase \@ptsize\relax \typearea{8} \or \typearea{10} \or \typearea{12} \fi + +\parskip 0pt plus 1pt +\parindent 1em +\partopsep 3pt plus 2pt minus 2pt +\footnotesep 0.6\baselineskip +\skip\footins 0.75\baselineskip plus 4pt minus 2pt +\skip\@mpfootins = \skip\footins +\columnsep 1cc +\columnseprule 0pt +\floatsep 1\baselineskip plus 2pt minus 2pt +\textfloatsep 20pt plus 2pt minus 4pt +\intextsep 1\baselineskip plus 2pt minus 2pt +\@maxsep 20pt +\dblfloatsep 1\baselineskip plus 2pt minus 2pt +\dbltextfloatsep 20pt plus 2pt minus 4pt +\@dblmaxsep 20pt +\@fptop 0pt plus 1fil +\@fpsep 0.7\baselineskip plus 2fil +\@fpbot 0pt plus 1fil +\@dblfptop 0pt plus 1fil +\@dblfpsep 0.7\baselineskip plus 2fil +\@dblfpbot 0pt plus 1fil + +\arraycolsep 5pt +\tabcolsep 6pt +\arrayrulewidth 0.4pt +\doublerulesep 2pt +\fboxsep 3pt +\fboxrule 0.4pt +\tabbingsep \labelsep + +\labelsep .5em +\leftmargini 2.5em +\leftmarginii 2.2em +\leftmarginiii 1.87em +\leftmarginiv 1.7em +\leftmarginv 1em +\leftmarginvi 1em +\leftmargin\leftmargini +\labelwidth\leftmargini +\advance\labelwidth-\labelsep +\def\@listI{\leftmargin\leftmargini + \topsep 0.8em plus 0.2em minus 0.4em + \parsep 0.4em plus 2pt minus 1pt + \itemsep \parsep} +\let\@listi\@listI +\@listi +\def\@listii{\leftmargin\leftmarginii + \labelwidth\leftmarginii\advance\labelwidth-\labelsep + \topsep 0.4em plus 2pt minus 1pt + \parsep 0.2em plus 1pt minus 1pt + \itemsep \parsep} +\def\@listiii{\leftmargin\leftmarginiii + \labelwidth\leftmarginiii\advance\labelwidth-\labelsep + \topsep 0.2em plus 1pt minus 1pt + \parsep \z@ + \partopsep 1pt plus 0pt minus 1pt + \itemsep \topsep} +\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} + +\@lowpenalty 51 +\@medpenalty 151 +\@highpenalty 301 +\@beginparpenalty -\@lowpenalty +\@endparpenalty -\@lowpenalty +\@itempenalty -\@lowpenalty + +\def\theenumi{\arabic{enumi}} +\def\theenumii{\alph{enumii}} +\def\theenumiii{\roman{enumiii}} +\def\theenumiv{\Alph{enumiv}} +\def\labelenumi{\theenumi.} +\def\labelenumii{\theenumii)} +\def\labelenumiii{\theenumiii.} +\def\labelenumiv{\theenumiv.} +\def\p@enumii{\theenumi} +\def\p@enumiii{\theenumi\theenumii)} +\def\p@enumiv{\p@enumiii\theenumiii} +\def\labelitemi{$\bullet$} +\def\labelitemii{\bf --} +\def\labelitemiii{$\triangleright$} +\def\labelitemiv{$\cdot$} + +\newcounter{part} +\newcounter {section} +\newcounter {subsection}[section] +\newcounter {subsubsection}[subsection] +\newcounter {paragraph}[subsubsection] +\newcounter {subparagraph}[paragraph] + +\def\thepart {\Roman{part}} +\def\thesection {\arabic{section}} +\def\thesubsection {\thesection.\arabic{subsection}} +\def\thesubsubsection {\thesubsection .\arabic{subsubsection}} +\def\theparagraph {\thesubsubsection.\arabic{paragraph}} +\def\thesubparagraph {\theparagraph.\arabic{subparagraph}} + +\setcounter{secnumdepth}{3} +\setcounter{tocdepth}{3} + +\def\verse{\let\\=\@centercr + \list{}{\itemsep\z@ \itemindent -1.5em\listparindent \itemindent + \rightmargin\leftmargin\advance\leftmargin 1.5em}\item[]} +\let\endverse\endlist + +\def\quotation{\list{}{\listparindent 1em + \itemindent\listparindent + \rightmargin\leftmargin\parsep 0pt plus 1pt}\item[]} +\let\endquotation=\endlist + +\def\quote{\list{}{\rightmargin\leftmargin}\item[]} +\let\endquote=\endlist + +\def\descriptionlabel#1{\hspace\labelsep \descfont #1} +\def\description{\list{}{\labelwidth\z@ \itemindent-\leftmargin + \let\makelabel\descriptionlabel}} +\let\enddescription\endlist +\newdimen\descriptionmargin +\descriptionmargin=3em + +\def\labelinglabel#1{#1\hfil\sc@septext} +\def\labeling{\@ifnextchar [{\@labeling}{\@labeling[]}} +\def\@labeling[#1]#2{\def\sc@septext{#1} + \list{}{\settowidth{\labelwidth}{#2#1} + \leftmargin\labelwidth \advance\leftmargin by \labelsep + \let\makelabel\labelinglabel}} +\let\endlabeling\endlist + +\def\marginline#1{\marginpar% + {\if@twoside \ifodd\c@page \raggedright \else \raggedleft \fi + \else \raggedright \fi #1}} + +\def\titlepage{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn + \else \newpage \fi \thispagestyle{empty}\c@page\z@} +\def\endtitlepage{\if@restonecol\twocolumn \else \newpage \fi} + +\def\@titlehead{} +\long\def\titlehead#1{\def\@titlehead{#1}} +\def\@subject{} +\def\subject#1{\def\@subject{#1}} +\def\maketitle{\par \begingroup + \def\thefootnote{\fnsymbol{footnote}} + \def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}} + \if@twocolumn + \twocolumn[\@maketitle] + \else + \newpage \global\@topnum\z@ \@maketitle + \fi + \thispagestyle{plain}\@thanks \endgroup + \setcounter{footnote}{0} + \let\maketitle\relax + \let\@maketitle\relax + \gdef\@titlehead{}\gdef\@subject{}% + \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax} +\def\@maketitle{\newpage + \ifx\@titlehead\@empty \else + \noindent\begin{minipage}[t]{\textwidth} + \@titlehead + \end{minipage}\par\null\vskip 1em + \fi + \null \vskip 2em + \ifx\@subject\@empty \else + {\centering \Large \@subject \par} + \vskip 1.5em + \fi + \begin{center} + {\huge \sectfont \@title \par} \vskip 1.5em {\Large \lineskip .5em + \begin{tabular}[t]{c}\@author + \end{tabular}\par} + \vskip 1em {\Large \@date} + \end{center} + \par \vskip 5em} + +\newif\if@abstrt +\def\abstracton{\@abstrttrue} +\def\abstractoff{\@abstrtfalse} +\def\abstractname{Abstract} +\def\abstract{\if@abstrt \if@twocolumn \section*{\abstractname} \else + \begin{center} {\sectfont \abstractname \vspace{-.5em}} \end{center}\fi + \quotation \fi} +\def\endabstract{\if@twocolumn \else \endquotation \fi} + +\def\partname{Part} +\def\part{\par \addvspace{4ex} \@afterindentfalse \secdef\@part\@spart} +\def\@part[#1]#2{\ifnum \c@secnumdepth >\m@ne \refstepcounter{part} + \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}\else + \addcontentsline{toc}{part}{#1}\fi \markboth{}{} + {\parindent 0pt \raggedright \ifnum \c@secnumdepth >\m@ne \LARGE \sectfont + \partname{} \thepart \par\nobreak \fi \huge \sectfont #2\par}\@endpart} +\def\@spart#1{{\parindent 0pt \raggedright \huge \sectfont #1\par}\@endpart} +\def\@endpart{\nobreak \vskip 3ex \@afterheading} + +\def\section{\@afterindentfalse \secdef\@section\@ssection} +\def\@section[#1]#2{\ifnum \c@secnumdepth >\z@ + \refstepcounter{section} + \addcontentsline{toc}{section}{\protect \numberline{\thesection.}#1} + \else + \addcontentsline{toc}{section}{#1}\fi + \sectionmark{#1} + \@makesectionhead{#2} \@afterheading} +\def\@ssection#1{\@makessectionhead{#1} \@afterheading} +\def\@makesectionhead#1{\vskip 3.5ex plus 1ex minus .2ex {\Large \sectfont + \@hangfrom{\ifnum \c@secnumdepth >\z@ \thesection.\hskip .7em\fi}% + {\raggedright \interlinepenalty \@M #1\par}} \nobreak \vskip 2.3ex + plus .2ex} +\def\@makessectionhead#1{\vskip 3.5ex plus 1ex minus .2ex {\Large \sectfont + \@hangfrom{}{\raggedright \interlinepenalty \@M #1\par}} \nobreak + \vskip 2.3ex plus .2ex} + +\def\addsec{\secdef\@addsec\@saddsec} +\def\@addsec[#1]#2{\addcontentsline{toc}{section}{#1} + \if@twoside \markboth{#1}{}\else \markright{#1}\fi \section*{#2}} +\def\@saddsec#1{\section*{#1}\markboth{}{}} + +\def\appendix{\par + \setcounter{section}{0} + \setcounter{subsection}{0} + \def\thesection{\Alph{section}}} + +\def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus -1ex minus + -.2ex}{1.5ex plus .2ex}{\large \sectfont}} +\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-3.25ex plus -1ex + minus -.2ex}{1.5ex plus .2ex}{\sectfont}} +\def\paragraph{\@startsection{paragraph}{4}{\z@}{3.25ex plus 1ex minus + .2ex}{-1em}{\sectfont}} +\def\subparagraph{\@startsection{subparagraph}{4}{\parindent}{3.25ex plus + 1ex minus .2ex}{-1em}{\sectfont}} + +\def\minisec#1{\@afterindentfalse \vskip 1.5ex {\parindent 0pt \raggedright + \sectfont #1\par\nobreak}\@afterheading} + +\def\contentsname{Contents} +\def\@pnumwidth{1.55em} +\def\@tocrmarg {2.55em} +\def\@dotsep{4.5} +\def\tableofcontents{\section*{\contentsname + \@mkboth{\contentsname}{\contentsname}} + \@starttoc{toc}} +\def\l@part#1#2{\addpenalty{\@secpenalty} + \addvspace{2.25em plus 1pt} \begingroup + \@tempdima 3em \parindent \z@ \rightskip \@pnumwidth \parfillskip + -\@pnumwidth + {\sectfont \leavevmode #1\hfil \hbox to\@pnumwidth{\hss #2}}\par + \nobreak \endgroup} +\def\l@section#1#2{\addpenalty{\@secpenalty} + \addvspace{1.0em plus 1pt} \@tempdima 1.5em \begingroup + \parindent \z@ \rightskip \@pnumwidth \parfillskip -\@pnumwidth + \sectfont \leavevmode \advance\leftskip\@tempdima \hskip -\leftskip% + #1\nobreak \hfil\nobreak\hbox to\@pnumwidth{\hss #2}\par + \endgroup} +\def\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}} +\def\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}} +\def\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}} +\def\l@subparagraph{\@dottedtocline{5}{10em}{5em}} + +\def\listfigurename{List of Figures} +\def\listoffigures{\section*{\listfigurename\@mkboth + {\listfigurename}{\listfigurename}} \@starttoc{lof}} +\def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} + +\def\listtablename{List of Tables} +\def\listoftables{\section*{\listtablename\@mkboth + {\listtablename}{\listtablename}} \@starttoc{lot}} +\let\l@table\l@figure + +\def\refname{References} +\def\thebibliography#1{\section*{\refname \@mkboth{\refname}{\refname}} + \list{[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth + \advance\leftmargin\labelsep + \usecounter{enumi}} + \def\newblock{\hskip 0.11em plus 0.33em minus 0.07em} + \sloppy\clubpenalty4000\widowpenalty4000 + \sfcode`\.=1000\relax} +\let\endthebibliography=\endlist + +\def\indexname{Index} +\newif\if@restonecol +\def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi + \columnseprule \z@ + \columnsep 35pt\twocolumn[\section*{\indexname}] + \@mkboth{\indexname}{\indexname} + \thispagestyle{plain}\parindent\z@ + \parskip\z@ plus 0.3pt\relax\let\item\@idxitem} +\def\@idxitem{\par\hangindent 40pt} +\def\subitem{\par\hangindent 40pt \hspace*{20pt}} +\def\subsubitem{\par\hangindent 40pt \hspace*{30pt}} +\def\endtheindex{\if@restonecol\onecolumn\else\clearpage\fi} +\def\indexspace{\par \vskip 10pt plus 5pt minus 3pt\relax} + +\def\footnoterule{\kern-3\p@ + \hrule width 0.4\columnwidth + \kern 2.6\p@} +\long\def\@makefntext#1{\noindent \sc@temp\columnwidth% + \advance\sc@temp by -1.5em \hbox to 1em{\hss$^{\@thefnmark}$}\hskip .5em% + \parbox[t]{\sc@temp}{\parindent 0pt\parskip 0pt\hskip -.5em #1}} + +\def\theequation{\arabic{equation}} + +\setcounter{topnumber}{2} +\def\topfraction{.7} +\setcounter{bottomnumber}{1} +\def\bottomfraction{.3} +\setcounter{totalnumber}{3} +\def\textfraction{.2} +\def\floatpagefraction{.5} +\setcounter{dbltopnumber}{2} +\def\dbltopfraction{.7} +\def\dblfloatpagefraction{.5} + +\long\def\@makecaption#1#2{\vskip 10pt + \setbox\@tempboxa\hbox{\captfont #1: #2} + \ifdim \wd\@tempboxa >\hsize \@hangfrom{\captfont #1: }% + {\captfont #2\par} + \else \hbox to\hsize{\hfil\box\@tempboxa\hfil} + \fi} + +\def\figurename{Figure} +\newcounter{figure} +\def\thefigure{\@arabic\c@figure} +\def\fps@figure{tbp} +\def\ftype@figure{1} +\def\ext@figure{lof} +\def\fnum@figure{\figurename{} \thefigure} +\def\figure{\@float{figure}} +\let\endfigure\end@float +\@namedef{figure*}{\@dblfloat{figure}} +\@namedef{endfigure*}{\end@dblfloat} + +\def\tablename{Table} +\newcounter{table} +\def\thetable{\@arabic\c@table} +\def\fps@table{tbp} +\def\ftype@table{2} +\def\ext@table{lot} +\def\fnum@table{\tablename{} \thetable} +\def\table{\@float{table}} +\let\endtable\end@float +\@namedef{table*}{\@dblfloat{table}} +\@namedef{endtable*}{\end@dblfloat} + +\mark{{}{}} +\if@twoside + \def\ps@plain{\let\@mkboth\@gobbletwo + \def\@evenhead{}% + \def\@oddhead{}% + \def\@evenfoot{\vbox{\hsize=\textwidth + \if@fsl \hrule \vskip 3pt \fi + \hbox to \textwidth{\pnumfont\thepage\hfil}}}% + \def\@oddfoot{\vbox{\hsize=\textwidth + \if@fsl \hrule \vskip 3pt \fi + \hbox to \textwidth{\pnumfont\hfil\thepage}}}} + \def\ps@headings{\let\@mkboth\markboth + \def\@evenhead{\vbox{\hsize=\textwidth + \hbox to \textwidth{\headfont\leftmark\hfil} + \if@hsl \vskip 1.5pt \hrule \fi}}% + \def\@oddhead{\vbox{\hsize=\textwidth + \hbox to \textwidth{\headfont\hfil\rightmark} + \if@hsl \vskip 1.5pt \hrule \fi}}% + \def\@evenfoot{\vbox{\hsize=\textwidth + \if@fsl \hrule \vskip 3pt \fi + \hbox to \textwidth{\pnumfont\thepage\hfil}}}% + \def\@oddfoot{\vbox{\hsize=\textwidth + \if@fsl \hrule \vskip 3pt \fi + \hbox to \textwidth{\pnumfont\hfil\thepage}}}% + \def\sectionmark##1{\markboth {\ifnum \c@secnumdepth >\z@ + \thesection. \ \fi ##1}{}}% + \def\subsectionmark##1{\markright {\ifnum \c@secnumdepth >\@ne + \thesubsection\ \ \fi ##1}}} + \def\ps@myheadings{\let\@mkboth\@gobbletwo + \def\@evenhead{\vbox{\hsize=\textwidth + \hbox to \textwidth{\headfont\leftmark\hfil} + \if@hsl \vskip 1.5pt \hrule \fi}}% + \def\@oddhead{\vbox{\hsize=\textwidth + \hbox to \textwidth{\headfont\hfil\rightmark} + \if@hsl \vskip 1.5pt \hrule \fi}}% + \def\@evenfoot{\vbox{\hsize=\textwidth + \if@fsl \hrule \vskip 3pt \fi + \hbox to \textwidth{\pnumfont\thepage\hfil}}}% + \def\@oddfoot{\vbox{\hsize=\textwidth + \if@fsl \hrule \vskip 3pt \fi + \hbox to \textwidth{\pnumfont\hfil\thepage}}}% + \def\sectionmark##1{}% + \def\subsectionmark##1{}} +\else + \def\ps@plain{\let\@mkboth\@gobbletwo + \def\@evenhead{}% + \def\@oddhead{}% + \def\@evenfoot{}% + \def\@oddfoot{\vbox{\hsize=\textwidth + \if@fsl \hrule \vskip 3pt \fi + \hbox to \textwidth{\pnumfont\hfil\thepage\hfil}}}} + \def\ps@headings{\let\@mkboth\markboth + \def\@evenhead{}% + \def\@oddhead{\vbox{\hsize=\textwidth + \hbox to \textwidth{\headfont\hfil\rightmark\hfil} + \if@hsl \vskip 1.5pt \hrule \fi}}% + \def\@evenfoot{}% + \def\@oddfoot{\vbox{\hsize=\textwidth + \if@fsl \hrule \vskip 3pt \fi + \hbox to \textwidth{\pnumfont\hfil\thepage\hfil}}}% + \def\sectionmark##1{\markright {\ifnum \c@secnumdepth >\z@ + \thesection. \ \fi ##1}}% + \def\subsectionmark##1{}} + \def\ps@myheadings{\let\@mkboth\@gobbletwo + \def\@evenhead{}% + \def\@oddhead{\vbox{\hsize=\textwidth + \hbox to \textwidth{\headfont\hfil\rightmark\hfil} + \if@hsl \vskip 1.5pt \hrule \fi}}% + \def\@evenfoot{}% + \def\@oddfoot{\vbox{\hsize=\textwidth + \if@fsl \hrule \vskip 3pt \fi + \hbox to \textwidth{\pnumfont\hfil\thepage\hfil}}}% + \def\sectionmark##1{}% + \def\subsectionmark##1{}} +\fi + +\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} + +\@abstrttrue +\ps@plain +\pagenumbering{arabic} +\onecolumn +\if@twoside \else \raggedbottom \fi +\frenchspacing +\def\captfont{\rm} +\def\descfont{\sfb} +\def\headfont{\it} +\def\pnumfont{\rm} +\def\sectfont{\sfb} |