From f1623a59e28ed02dca9ec590a210569f0d3e10fd Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 13 Jan 2006 00:00:57 +0000 Subject: ntgclass git-svn-id: svn://tug.org/texlive/trunk@1146 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/ntgclass/a4.sty | 153 +++ Master/texmf-dist/tex/latex/ntgclass/artikel1.cls | 966 +++++++++++++++++++ Master/texmf-dist/tex/latex/ntgclass/artikel2.cls | 905 +++++++++++++++++ Master/texmf-dist/tex/latex/ntgclass/artikel3.cls | 963 +++++++++++++++++++ Master/texmf-dist/tex/latex/ntgclass/boek.cls | 1018 ++++++++++++++++++++ Master/texmf-dist/tex/latex/ntgclass/boek3.cls | 1005 +++++++++++++++++++ Master/texmf-dist/tex/latex/ntgclass/brief.cls | 813 ++++++++++++++++ Master/texmf-dist/tex/latex/ntgclass/ntg10.clo | 216 +++++ Master/texmf-dist/tex/latex/ntgclass/ntg11.clo | 216 +++++ Master/texmf-dist/tex/latex/ntgclass/ntg12.clo | 216 +++++ Master/texmf-dist/tex/latex/ntgclass/rapport1.cls | 1067 +++++++++++++++++++++ Master/texmf-dist/tex/latex/ntgclass/rapport3.cls | 1064 ++++++++++++++++++++ 12 files changed, 8602 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/ntgclass/a4.sty create mode 100644 Master/texmf-dist/tex/latex/ntgclass/artikel1.cls create mode 100644 Master/texmf-dist/tex/latex/ntgclass/artikel2.cls create mode 100644 Master/texmf-dist/tex/latex/ntgclass/artikel3.cls create mode 100644 Master/texmf-dist/tex/latex/ntgclass/boek.cls create mode 100644 Master/texmf-dist/tex/latex/ntgclass/boek3.cls create mode 100644 Master/texmf-dist/tex/latex/ntgclass/brief.cls create mode 100644 Master/texmf-dist/tex/latex/ntgclass/ntg10.clo create mode 100644 Master/texmf-dist/tex/latex/ntgclass/ntg11.clo create mode 100644 Master/texmf-dist/tex/latex/ntgclass/ntg12.clo create mode 100644 Master/texmf-dist/tex/latex/ntgclass/rapport1.cls create mode 100644 Master/texmf-dist/tex/latex/ntgclass/rapport3.cls (limited to 'Master/texmf-dist/tex/latex/ntgclass') diff --git a/Master/texmf-dist/tex/latex/ntgclass/a4.sty b/Master/texmf-dist/tex/latex/ntgclass/a4.sty new file mode 100644 index 00000000000..76580e18985 --- /dev/null +++ b/Master/texmf-dist/tex/latex/ntgclass/a4.sty @@ -0,0 +1,153 @@ +%% +%% This is file `a4.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% a4.dtx (with options: `package') +%% This is a generated file. +%% +%% Copyright (C) 1990-2004 Nederlandstalige TeX Gebruikersgroep. +%% All rights reserved. +%% +%% This file was generated from file(s) of the NTG document classes distribution. +%% ------------------------------------------------------------------------------ +%% +%% It may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% The Current Maintainer of this work is Johannes Braams. +%% +%% This file may only be distributed together with a copy of the NTG +%% document classes distribution. You may however distribute the NTG +%% document classes distribution without such generated files. +%% +%% The list of all files belonging to the NTG document classes +%% distribution is given in the file `manifest.txt'. +%% +%% The list of derived (unpacked) files belonging to the distribution +%% and covered by LPPL is defined by the unpacking scripts (with +%% extension .ins) which are part of the distribution. +%% Style option `A4' to be used with LaTeX V2.09 +%% Copyright (C) 1990-2004 Johannes Braams, Nico Poppelier. +%% All rights reserved. +%% +\ifx\ProvidesPackage\undefined + \def\ProvidesPackage#1[#2 #3 #4]{% + \wlog{LaTeX Package `#1' #3 <#2> #4}} +\fi +\ProvidesPackage{a4} + [2004/04/15 v1.2g A4 based page layout] +\ifx\documentclass\undefined +\else + \DeclareOption{widemargins}{\WideMargins} +\fi + +\topmargin 0pt +\ifcase \@ptsize + \textheight 53\baselineskip +\or + \textheight 46\baselineskip +\or + \textheight 42\baselineskip +\fi +\advance\textheight by \topskip +\ifcase \@ptsize + \textwidth 5.00in + \marginparwidth 1.00in + \if@twoside + \oddsidemargin 0.55in + \evensidemargin 0.75in + \else + \oddsidemargin 0.55in + \evensidemargin 0.55in + \fi +\or + \textwidth 5.20in + \marginparwidth 1.00in + \if@twoside + \oddsidemargin 0.45in + \evensidemargin 0.65in + \else + \oddsidemargin 0.45in + \evensidemargin 0.45in + \fi +\or + \textwidth 5.70in + \marginparwidth 0.80in + \if@twoside + \oddsidemargin 0.20in + \evensidemargin 0.40in + \else + \oddsidemargin 0.20in + \evensidemargin 0.20in + \fi +\fi +\def\WideMargins{% + \newdimen\ExtraWidth + \ifcase \@ptsize + \ExtraWidth = 0.5in + \@widemargins + \or + \ExtraWidth = 0.5in + \@widemargins + \or + \ExtraWidth = 0.7in + \@widemargins + \fi\let\WideMargins\relax\let\@widemargins\relax} +{\def\do{\noexpand\do\noexpand} + \xdef\@preamblecmds{\@preamblecmds \do\WideMargins} +} +\def\@widemargins{% + \global\advance\textwidth by -\ExtraWidth + \global\advance\marginparwidth by \ExtraWidth + \if@twoside + \tw@sidedwidemargins + \else + \@nesidedwidemargins + \fi} +\def\tw@sidedwidemargins{% + \if@reversemargin + \@tempdima=\evensidemargin + \advance\@tempdima by -\oddsidemargin + \advance\oddsidemargin by \ExtraWidth + \advance\oddsidemargin by \@tempdima + \advance\evensidemargin by -\@tempdima + \else + \advance\evensidemargin by \ExtraWidth + \fi} +\def\@nesidedwidemargins{% + \if@reversemargin + \advance\oddsidemargin by \ExtraWidth + \advance\evensidemargin by \ExtraWidth + \fi} +\ifx\documentclass\undefined +\else + \ProcessOptions +\fi +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +%% +\endinput +%% +%% End of file `a4.sty'. diff --git a/Master/texmf-dist/tex/latex/ntgclass/artikel1.cls b/Master/texmf-dist/tex/latex/ntgclass/artikel1.cls new file mode 100644 index 00000000000..ef966c861a3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/ntgclass/artikel1.cls @@ -0,0 +1,966 @@ +%% +%% This is file `artikel1.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% ntgclass.dtx (with options: `artikel,type1') +%% This is a generated file. +%% +%% Copyright (C) 1990-2004 Nederlandstalige TeX Gebruikersgroep. +%% All rights reserved. +%% +%% This file was generated from file(s) of the NTG document classes distribution. +%% ------------------------------------------------------------------------------ +%% +%% It may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% The Current Maintainer of this work is Johannes Braams. +%% +%% This file may only be distributed together with a copy of the NTG +%% document classes distribution. You may however distribute the NTG +%% document classes distribution without such generated files. +%% +%% The list of all files belonging to the NTG document classes +%% distribution is given in the file `manifest.txt'. +%% +%% The list of derived (unpacked) files belonging to the distribution +%% and covered by LPPL is defined by the unpacking scripts (with +%% extension .ins) which are part of the distribution. +%% Copyright (C) 1994 -- 2004 by Victor Eijkhout and Johannes Braams +%% Based on classes.dtx +%% Copyright (C) 1999 LaTeX3 project, all rights reserved. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\NeedsTeXFormat{LaTeX2e}[1995/06/01] +\ProvidesClass{artikel1}% + [2004/06/07 v2.1a + NTG LaTeX document class] +\newcommand*\@ptsize{} + +\newif\if@restonecol +\newif\if@titlepage +\@titlepagefalse +\newif\if@oldtoc +\@oldtocfalse +\newif\if@allcaps +\newif\if@revlabel +\DeclareOption{a4paper} + {\setlength\paperheight {297mm}% + \setlength\paperwidth {210mm}} +\DeclareOption{a5paper} + {\setlength\paperheight {210mm}% + \setlength\paperwidth {148mm}} +\DeclareOption{b5paper} + {\setlength\paperheight {250mm}% + \setlength\paperwidth {176mm}} +\DeclareOption{letterpaper} + {\setlength\paperheight {11in}% + \setlength\paperwidth {8.5in}} +\DeclareOption{legalpaper} + {\setlength\paperheight {14in}% + \setlength\paperwidth {8.5in}} +\DeclareOption{executivepaper} + {\setlength\paperheight {10.5in}% + \setlength\paperwidth {7.25in}} +\DeclareOption{landscape} + {\setlength\@tempdima {\paperheight}% + \setlength\paperheight {\paperwidth}% + \setlength\paperwidth {\@tempdima}} +\DeclareOption{10pt}{\renewcommand\@ptsize{0}} +\DeclareOption{11pt}{\renewcommand\@ptsize{1}} +\DeclareOption{12pt}{\renewcommand\@ptsize{2}} +\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse} +\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue} +\DeclareOption{draft}{\setlength\overfullrule{5pt}} +\DeclareOption{final}{\setlength\overfullrule{0pt}} +\DeclareOption{titlepage}{\@titlepagetrue} +\DeclareOption{notitlepage}{\@titlepagefalse} +\DeclareOption{voorwerk}{\@titlepagetrue} +\DeclareOption{geenvoorwerk}{\@titlepagefalse} +\DeclareOption{oldtoc}{\@oldtoctrue} +\DeclareOption{onecolumn}{\@twocolumnfalse} +\DeclareOption{twocolumn}{\@twocolumntrue} +\DeclareOption{leqno}{\input{leqno.clo}} +\DeclareOption{fleqn}{\input{fleqn.clo}} +\DeclareOption{openbib}{% + \AtEndOfPackage{% + \renewcommand\@openbib@code{% + \advance\leftmargin\bibindent + \itemindent -\bibindent + \listparindent \itemindent + \parsep \z@ + }% + \renewcommand\newblock{\par}}% +} +\ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,uctitle} +\ProcessOptions +\input{ntg1\@ptsize.clo} +\setlength\lineskip{1\p@} +\setlength\normallineskip{1\p@} +\renewcommand\baselinestretch{} +\newdimen\unitindent +{\setbox0\hbox{\normalsize\rmfamily 2.2.2\hskip.5em} + \global\unitindent=\wd0} +\newdimen\othermargin +{\setbox0\hbox{\normalsize (m)\hskip.6em}\global\othermargin=\wd0} +\newif\if@needwriteindent +\newcommand*\@indentset{% + \global\parindent=\unitindent + \global\leftmargini=\unitindent + \global\@needwriteindenttrue} +\newcommand*\@writeindent[1]{\immediate\write\@mainaux + {\string\@ifundefined{unitindent}{\string\newdimen\string\unitindent + \let\string\@indentset\relax}{}} + \immediate\write\@mainaux{\global\string\unitindent=#1\string\relax + \string\@indentset \string\relax}} +\AtEndDocument{% + \if@filesw + \if@needwriteindent + \@writeindent{\the\unitindent} + \fi + \fi} +\setlength\parskip{0\p@} +\setlength\parindent{\unitindent} +\@lowpenalty 51 +\@medpenalty 151 +\@highpenalty 301 +\setcounter{topnumber}{2} +\renewcommand\topfraction{.7} +\setcounter{bottomnumber}{1} +\renewcommand\bottomfraction{.3} +\setcounter{totalnumber}{3} +\renewcommand\textfraction{.2} +\renewcommand\floatpagefraction{.5} +\setcounter{dbltopnumber}{2} +\renewcommand\dbltopfraction{.7} +\renewcommand\dblfloatpagefraction{.5} +\let\Thispagestyle\thispagestyle +\newcommand*\@emptypagestyle{empty} +\renewcommand*\pagestyle[1]{\@nameuse{ps@#1}\def\@currentpagestyle{#1}} +\renewcommand*\thispagestyle[1]{% + \ifx\@currentpagestyle\@emptypagestyle + \else + \global\@specialpagetrue + \gdef\@specialstyle{#1}% + \fi} +\renewcommand*\ps@plain{% + \let\@oddhead\@empty\let\@evenhead\@empty + \def\@oddfoot{\hfil\PageFont\thepage}% + \if@twoside + \def\@evenfoot{\PageFont\thepage\hfil}% + \else + \let\@evenfoot\@oddfoot + \fi + \let\@mkboth\@gobbletwo} +\if@twoside + \def\ps@headings{% + \let\@oddfoot\@empty\let\@evenfoot\@empty + \def\@evenhead{{\PageFont\thepage}\hfil\MarkFont\leftmark}% + \def\@oddhead{{\MarkFont\rightmark}\hfil\PageFont\thepage}% + \let\@mkboth\markboth + \def\sectionmark##1{% + \markboth {\MakeUppercase{% + \ifnum \c@secnumdepth >\z@ + \thesection\quad + \fi + ##1}}{}}% + \def\subsectionmark##1{% + \markright {% + \ifnum \c@secnumdepth >\@ne + \thesubsection\quad + \fi + ##1}}} +\else + \def\ps@headings{% + \let\@oddfoot\@empty + \def\@oddhead{{\MarkFont\rightmark}\hfil\PageFont\thepage}% + \let\@mkboth\markboth + \def\sectionmark##1{% + \markright {\MakeUppercase{% + \ifnum \c@secnumdepth >\m@ne + \thesection\quad + \fi + ##1}}}} +\fi +\def\ps@myheadings{% + \let\@oddfoot\@empty\let\@evenfoot\@empty + \def\@evenhead{{\PageFont\thepage}\hfil\MarkFont\leftmark}% + \def\@oddhead{{\MarkFont\rightmark}\hfil\PageFont\thepage}% + \let\@mkboth\@gobbletwo + \let\sectionmark\@gobble + \let\subsectionmark\@gobble + } +\newcommand*\PageFont{\rmfamily} +\newcommand*\MarkFont{\slshape} +\newcommand*\RunningFonts[2]{% + \renewcommand*\PageFont{#1}\renewcommand*\MarkFont{#2}} +\newcommand*\TitleFont{\bfseries} +\if@titlepage +\renewcommand*\TitleFont{\rmfamily} +\newcommand*\maketitle{% + \begin{titlepage}% + \let\footnotesize\small + \let\footnoterule\relax + \let \footnote \thanks + \long\def\@makefntext##1{\parindent\z@ + \def\labelitemi{\textendash}\@revlabeltrue + \leavevmode\@textsuperscript{\@thefnmark}\kern1em\relax ##1} + \renewcommand*\thefootnote{\@fnsymbol\c@footnote}% + \if@compatibility\setcounter{page}{0}\fi + \null\vfil + \vskip 60\p@ + \begin{center}% + \TitleFont + {\LARGE \def\\{\penalty -\@M} + \if@allcaps + \expandafter\uc@nothanks\@title\thanks\relax + \else + \@title + \fi\par}% + \vskip 3em% + {\large + \lineskip .75em \parindent\z@ + \begin{tabular}[t]{c}% + \if@allcaps + \expandafter\uc@authornothanks\@author\and\relax + \else + \@author + \fi + \end{tabular}\par}% + \vskip 1.5em% + {\large + \if@allcaps + \uppercase\expandafter{\@date}% + \else + \@date + \fi\par}% + \end{center}\par + \@thanks + \vfil\null + \end{titlepage}% + \setcounter{footnote}{0}% + \global\let\thanks\relax + \global\let\maketitle\relax + \global\let\@thanks\@empty + \global\let\@author\@empty + \global\let\@title\@empty + \global\let\@date\@empty + \global\let\title\relax + \global\let\author\relax + \global\let\date\relax + \global\let\and\relax +} +\def\uc@nothanks#1\thanks{\uppercase{#1}\futurelet\@tempa\uc@tx} +\def\uc@authornothanks#1\and{\uc@nothanks#1\thanks\relax + \futurelet\@tempa\uc@ax} +\def\uc@ax{% + \ifx\@tempa\relax + \else + \\ \andname \\ \expandafter\uc@authornothanks + \fi} +\def\uc@tx{\ifx\@tempa\relax + \else \expandafter\uc@ty \fi} +\def\uc@ty#1{\thanks{#1}\uc@nothanks} +\else +\newcommand*\maketitle{\par + \begingroup + \renewcommand*\thefootnote{\@fnsymbol\c@footnote}% + \def\@makefnmark{\rlap{% + \@textsuperscript{\normalfont\@thefnmark}}}% + \long\def\@makefntext{\@xmakefntext{% + \@textsuperscript{\normalfont\@thefnmark}}}% + \if@twocolumn + \ifnum \col@number=\@ne + \@maketitle + \else + \twocolumn[\@maketitle]% + \fi + \else + \newpage + \global\@topnum\z@ + \@maketitle + \fi + \thispagestyle{plain}\@thanks + \endgroup + \setcounter{footnote}{0}% + \global\let\thanks\relax + \global\let\maketitle\relax + \global\let\@maketitle\relax + \global\let\@thanks\@empty + \global\let\@author\@empty + \global\let\@title\@empty + \global\let\@date\@empty + \global\let\title\relax + \global\let\author\relax + \global\let\date\relax + \global\let\and\relax + } +\def\@maketitle{% + \newpage + \null + \vskip 2em% + \begin{center}% + \let \footnote \thanks + {\LARGE \TitleFont \@title \par}% + \vskip 1.5em% + {\large \TitleFont + \lineskip .5em% + \begin{tabular}[t]{c}% + \@author + \end{tabular}\par}% + \vskip 1em% + {\large \TitleFont \@date}% + \end{center}% + \par + \vskip 1.5em} +\fi +\newcommand*\head@style{% + \interlinepenalty \@M + \hyphenpenalty=\@M \exhyphenpenalty=\@M + \rightskip=0cm plus .7\hsize\relax} +\def\@sect#1#2#3#4#5#6[#7]#8{% + \ifnum #2>\c@secnumdepth + \let\@svsec\@empty + \else + \refstepcounter{#1}% + \begingroup + \setbox\@tempboxa=\hbox{#6\relax + \csname the#1\endcsname + \hskip.5em} + \ifdim\wd\@tempboxa>\unitindent + \global\unitindent=\wd\@tempboxa + \@indentset + \fi + \endgroup + \protected@edef\@svsec{\@seccntformat{#1}\relax}% + \fi + \@tempskipa #5\relax + \ifdim \@tempskipa>\z@ + \begingroup + #6{% + \@hangfrom{\hskip #3\relax\@svsec}\head@style #8\endgraf}% + \endgroup + \csname #1mark\endcsname{#7}% + \addcontentsline{toc}{#1}{% + \ifnum #2>\c@secnumdepth + \else + \protect\numberline{\csname the#1\endcsname}% + \fi + \toc@font#2 #7}% + \else + \def\@svsechd{#6\hskip #3\relax + \@svsec #8\csname #1mark\endcsname{#7}% + \addcontentsline{toc}{#1}{% + \ifnum #2>\c@secnumdepth + \else + \protect\numberline{\csname the#1\endcsname}% + \fi + \toc@font#2 #7}}% + \fi + \@xsect{#5}} +\def\@seccntformat#1{% + \hb@xt@\unitindent{\csname the#1\endcsname \hfil}% + } +\def\@ssect#1#2#3#4#5{\@tempskipa #3\relax + \ifdim \@tempskipa>\z@ + \begingroup + #4{% + \@hangfrom{\hskip #1}\head@style #5\endgraf}% + \endgroup + \else + \def\@svsechd{#4\hskip #1\relax #5}% + \fi + \@xsect{#3}} +\setcounter{secnumdepth}{3} +\newcounter {part} +\newcounter {section} +\newcounter {subsection}[section] +\newcounter {subsubsection}[subsection] +\newcounter {paragraph}[subsubsection] +\newcounter {subparagraph}[paragraph] +\renewcommand*\thepart{\@Roman\c@part} +\renewcommand\thesection{\@arabic\c@section} +\renewcommand*\thesubsection{\thesection.\@arabic\c@subsection} +\renewcommand*\thesubsubsection{\thesubsection.\@arabic\c@subsubsection} +\renewcommand*\theparagraph{\thesubsubsection.\@arabic\c@paragraph} +\renewcommand*\thesubparagraph{\theparagraph.\@arabic\c@subparagraph} +\newcommand*\part{% + \if@noskipsec \leavevmode \fi + \par + \addvspace{4ex}% + \@afterindentfalse + \secdef\@part\@spart} +\newcommand*\PartFont{\bfseries} +\def\@part[#1]#2{% + \ifnum \c@secnumdepth >\m@ne + \refstepcounter{part}% + \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}% + \else + \addcontentsline{toc}{part}{#1}% + \fi + {\head@style + \parindent\unitindent + \normalfont + \ifnum \c@secnumdepth >\m@ne + \Large\PartFont\noindent \partname\nobreakspace\thepart + \par\nobreak + \fi + \Large \PartFont \noindent #2% + \markboth{}{}\par}% + \nobreak + \vskip 3ex + \@afterheading} +\def\@spart#1{% + {\parindent \z@ + \head@style + \normalfont + \Large \PartFont \noindent #1\par}% + \nobreak + \vskip 3ex + \@afterheading} +\newcommand*\section{% + \@startsection {section}{1}{\z@}% + {-2\baselineskip\@plus -1\baselineskip \@minus -.5\baselineskip}% + {.5\baselineskip}% + {\normalfont\large\SectFont}} +\newcommand*\SectFont{\bfseries} +\newcommand*\subsection{% + \@startsection{subsection}{2}{\z@}% + {-1\baselineskip\@plus -.5\baselineskip \@minus -.25\baselineskip}% + {.25\baselineskip}% + {\normalfont\normalsize\SSectFont}} +\newcommand*\SSectFont{\bfseries} +\newcommand*\subsubsection{% + \@startsection{subsubsection}{3}{\z@}% + {-1\baselineskip plus -.5\baselineskip minus -.25\baselineskip}% + {.25\baselineskip}% + {\normalfont\normalsize\SSSectFont}} +\newcommand*\SSSectFont{\rmfamily} +\newcommand*\paragraph{% + \@startsection{paragraph}{4}{\z@}% + {3.25ex \@plus1ex \@minus.2ex}% + {-1em}% + {\normalfont\normalsize\ParaFont}} +\newcommand*\ParaFont{\slshape} +\newcommand*\subparagraph{% + \@startsection{subparagraph}{5}{\parindent}% + {3.25ex \@plus1ex \@minus .2ex}% + {-1em}% + {\normalfont\normalsize\SParaFont}} +\newcommand*\SParaFont{\slshape} +\newcommand*\HeadingFonts[7]{% + \renewcommand*\TitleFont{#1}% + \renewcommand*\PartFont{#2}% + \renewcommand*\SectFont{#3}% + \renewcommand*\SSectFont{#4}% + \renewcommand*\SSSectFont{#5}% + \renewcommand*\ParaFont{#6}% + \renewcommand*\SParaFont{#7}} +\setlength\leftmargini {\unitindent} +\setlength\leftmarginii {\othermargin} +\setlength\leftmarginiii{\othermargin} +\setlength\leftmarginiv {\othermargin} +\setlength\leftmarginv {\othermargin} +\setlength\leftmarginvi {1em} +\setlength\leftmargin {\leftmargini} +\setlength \labelsep {5\p@} +\setlength \labelwidth{\leftmargini} +\addtolength\labelwidth{-\labelsep} +\setlength\partopsep{\z@} +\setlength\topsep{\z@} +\@beginparpenalty -\@lowpenalty +\@endparpenalty -\@lowpenalty +\@itempenalty -\@lowpenalty +\def\@listi{% + \leftmargin\unitindent + \labelsep.5em% + \labelwidth\leftmargin + \advance\labelwidth-\labelsep + \parsep \z@ + \topsep 0\p@ \@plus\p@ + \itemsep 0\p@ \@plus1\p@} +\let\@listI\@listi +\@listi +\def\@listii {\leftmargin\leftmarginii + \labelsep .5em% + \labelwidth\leftmarginii + \advance\labelwidth-\labelsep + \topsep 0\p@ \@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\def\@listiii{\leftmargin\leftmarginiii + \labelsep .5em% + \labelwidth\leftmarginiii + \advance\labelwidth-\labelsep + \topsep 0\p@ \@plus\p@ + \parsep \z@ + \partopsep \z@ \@plus\p@ + \itemsep \z@ \@plus\p@} +\def\@listiv {\leftmargin\leftmarginiv + \labelsep .5em% + \labelwidth\leftmarginiv% + \advance\labelwidth-\labelsep + \topsep 0\p@ \@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\def\@listv {\leftmargin\leftmarginv + \labelsep .5em% + \labelwidth\leftmarginv + \advance\labelwidth-\labelsep% + \topsep 0\p@ \@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\def\@listvi {\leftmargin\leftmarginvi + \labelsep .5em + \labelwidth\leftmarginvi + \advance\labelwidth{-\labelsep}% + \topsep 0\p@ \@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\renewcommand*\theenumi{\@arabic\c@enumi} +\renewcommand*\theenumii{\@alph\c@enumii} +\renewcommand*\theenumiii{\@roman\c@enumiii} +\renewcommand*\theenumiv{\@Alph\c@enumiv} +\newcommand*\labelenumi{\theenumi.} +\newcommand*\labelenumii{(\theenumii)} +\newcommand*\labelenumiii{\theenumiii.} +\newcommand*\labelenumiv{\theenumiv.} +\renewcommand*\p@enumii{\theenumi} +\renewcommand*\p@enumiii{\theenumi(\theenumii)} +\renewcommand*\p@enumiv{\p@enumiii\theenumiii} +\renewenvironment{enumerate}{% + \ifnum \@enumdepth >3 + \@toodeep + \else + \advance\@enumdepth \@ne + \edef\@enumctr{enum\romannumeral\the\@enumdepth}% + \list{\csname label\@enumctr\endcsname} + {\usecounter{\@enumctr}% + \ifnum \@listdepth=1 + \if@revlabel + \def\makelabel##1{\hskip .5\unitindent{##1\hfil}}% + \else + \def\makelabel##1{\hfil##1} + \fi + \else + \def\makelabel##1{##1\hfil}% + \fi + }% + \fi} + {\global\@ignoretrue \endlist} +\newcommand*{\labelitemi}{\textbullet} +\newcommand*{\labelitemii}{\normalfont\bfseries \textendash} +\newcommand*{\labelitemiii}{\textasteriskcentered} +\newcommand*{\labelitemiv}{\textperiodcentered} +\renewenvironment{itemize}{% + \ifnum \@itemdepth >3 + \@toodeep + \else + \advance\@itemdepth \@ne + \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}% + \list{\csname\@itemitem\endcsname}% + {% + \ifnum \@listdepth=1\relax + \if@revlabel + \def\makelabel##1{\hskip .5\unitindent{##1\hfil}}\else + \def\makelabel##1{\hfil##1} + \fi + \else + \def\makelabel##1{##1\hfil} + \fi + }% + \fi} + {\global\@ignoretrue \endlist} +\newenvironment{description} + {\list{}{\labelwidth\z@ \itemindent-\leftmargin + \let\makelabel\descriptionlabel}} + {\endlist} +\newcommand*\descriptionlabel[1]{\hspace\labelsep \bfseries #1} +\def\center + {\topsep=.25\baselineskip \@plus .1\baselineskip + \@minus .1\baselineskip + \trivlist \centering\item[]} +\let\endcenter\endtrivlist +\def\flushleft + {\topsep=.25\baselineskip \@plus .1\baselineskip + \@minus .1\baselineskip + \trivlist \raggedright\item[]} +\let\endflushleft=\endtrivlist +\def\flushright + {\topsep=.25\baselineskip \@plus .1\baselineskip + \@minus .1\baselineskip + \trivlist \raggedleft\item[]} +\let\endflushright=\endtrivlist +\def\verbatim{% + \topsep=.25\baselineskip \@plus .1\baselineskip + \@minus .1\baselineskip + \@verbatim + \leftskip\unitindent + \frenchspacing\@vobeyspaces \@xverbatim} +\def\endverbatim{\if@newlist \leavevmode\fi\endtrivlist} +\if@titlepage + \newenvironment{abstract}{% + \titlepage + \null\vfil + \hbox{\SectFont \abstractname} + \noindent\ignorespaces} + {\par\vfil\null\endtitlepage} +\else + \newenvironment{abstract}{% + \if@twocolumn + \section*{\abstractname}% + \else + \small + \bgroup\rightskip=\unitindent + \hbox{\SectFont \abstractname}% + \noindent\ignorespaces + \fi} + {\if@twocolumn\else\par\egroup\fi} +\fi +\newenvironment{verse} + {\let\\\@centercr + \list{}{\itemsep\z@ + \itemindent-1.5em% + \listparindent\itemindent + \rightmargin\leftmargin + \advance\leftmargin1.5em}% + \item\relax} + {\endlist} +\newenvironment{quotation} + {\list{}{% + \listparindent\z@ + \itemindent\listparindent + \rightmargin\leftmargin + \parsep\z@ \@plus\p@}% + \item\relax} + {\endlist} +\newenvironment{quote} + {\list{}{\rightmargin\leftmargin}% + \item\relax} + {\endlist} +\def\@begintheorem#1#2{% + \vskip\baselineskip \labelsep=.5em% + \trivlist + \item[\hskip \labelsep{\bfseries #1\ #2}]\slshape} +\def\@opargbegintheorem#1#2#3{% + \vskip\baselineskip \labelsep=.5em% + \trivlist + \item[\hskip \labelsep{\bfseries #1\ #2\ (#3)}]\slshape} +\def\@endtheorem{\endtrivlist \vskip\baselineskip} +\newenvironment{titlepage} + { + \if@twocolumn + \@restonecoltrue\onecolumn + \else + \@restonecolfalse\newpage + \fi + \thispagestyle{empty}% + \if@compatibility + \setcounter{page}\z@ + \else + \setcounter{page}\@ne + \fi} + {\if@restonecol\twocolumn \else \newpage \fi + \setcounter{page}\@ne + } +\newcommand*\appendix{\par + \setcounter{section}{0}% + \setcounter{subsection}{0}% + \gdef\thesection{\@Alph\c@section}} +\setlength\arraycolsep{5\p@} +\setlength\tabcolsep{6\p@} +\setlength\arrayrulewidth{.4\p@} +\setlength\doublerulesep{2\p@} +\setlength\tabbingsep{\labelsep} +\def\@minipagerestore{\parindent\unitindent} +\skip\@mpfootins = \skip\footins +\setlength\fboxsep{3\p@} +\setlength\fboxrule{.4\p@} +\renewcommand*\theequation{\@arabic\c@equation} +\newcounter{figure} +\renewcommand*\thefigure{\@arabic\c@figure} +\def\fps@figure{tbp} +\def\ftype@figure{1} +\def\ext@figure{lof} +\def\fnum@figure{\figurename\nobreakspace\thefigure} +\newenvironment{figure} + {\@float{figure}} + {\end@float} +\newenvironment{figure*} + {\@dblfloat{figure}} + {\end@dblfloat} +\newcounter{table} +\renewcommand*\thetable{\@arabic\c@table} +\def\fps@table{tbp} +\def\ftype@table{2} +\def\ext@table{lot} +\def\fnum@table{\tablename\nobreakspace\thetable} +\newenvironment{table} + {\@float{table}} + {\end@float} +\newenvironment{table*} + {\@dblfloat{table}} + {\end@dblfloat} +\newlength\abovecaptionskip +\newlength\belowcaptionskip +\setlength\abovecaptionskip{10\p@} +\setlength\belowcaptionskip{0\p@} +\long\def\@makecaption#1#2{% + \vskip\abovecaptionskip + \sbox\@tempboxa{{\CaptionLabelFont#1:} \CaptionTextFont#2}% + \ifdim \wd\@tempboxa >\hsize + {\CaptionLabelFont#1:} \CaptionTextFont#2\par + \else + \global \@minipagefalse + \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}% + \fi + \vskip\belowcaptionskip} +\newcommand*\CaptionLabelFont{\relax} +\newcommand*\CaptionTextFont{\relax} +\newcommand*\CaptionFonts[2]{% + \renewcommand*\CaptionLabelFont{#1}% + \renewcommand*\CaptionTextFont{#2}% + } +\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm} +\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf} +\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt} +\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf} +\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit} +\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\relax} +\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\relax} +\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal} +\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal} +\DeclareRobustCommand*\em{% + \@nomath\em + \ifdim\fontdimen\@ne\font>\z@ + \upshape + \else + \slshape + \fi} +\newcommand*\@pnumwidth{1.55em} +\newcommand*\@tocrmarg {2.55em} +\newcommand*\@dotsep{4.5} +\setcounter{tocdepth}{3} +\newcommand*\tableofcontents{% + \section*{\contentsname}% + \@mkboth{\MakeUppercase{\contentsname}}% + {\MakeUppercase{\contentsname}}% + \@starttoc{toc}% + } +\newcommand*\@regtocline[3]{% + \ifnum #1>\c@tocdepth + \else + \vskip\z@\@plus.2\p@ + {\hangindent\z@ \@afterindenttrue \interlinepenalty\@M + \leftskip\unitindent + \rightskip\unitindent\@plus 1fil + \parfillskip\z@ + \@tempdima\unitindent + \parindent\z@ + \leavevmode + \hbox{}\hskip -\leftskip\relax#2\nobreak + \hskip 1em \nobreak{\slshape #3}\par + }% + \fi} +\if@oldtoc + \newcommand*\toc@font[1]{\relax} +\else + \newcommand*\toc@font[1]{% + \ifcase#1\relax + \or\bfseries + \or\slshape + \or\rmfamily + \fi} +\fi +\if@oldtoc + \newcommand*\toc@case{\relax} +\else + \newcommand*\toc@case{\MakeUppercase} +\fi +\if@oldtoc +\newcommand*\l@part[2]{% + \ifnum \c@tocdepth >-2\relax + \addpenalty\@secpenalty + \addvspace{2.25em \@plus\p@}% + \begingroup + \setlength\@tempdima{3em}% + \parindent \z@ \rightskip \@pnumwidth + \parfillskip -\@pnumwidth + {\leavevmode + \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par + \nobreak + \if@compatibility + \global\@nobreaktrue + \everypar{\global\@nobreakfalse\everypar{}}% + \fi + \endgroup + \fi} +\else + \newcommand*\l@part{% + \ifnum \c@tocdepth >-2\relax + \addpenalty\@secpenalty + \addvspace{2.25em \@plus \p@}% + \@regtocline{0}% + \fi} +\fi +\if@oldtoc +\newcommand*\l@section[2]{% + \addpenalty\@secpenalty + \addvspace{1.0em \@plus\p@}% + \setlength\@tempdima{1.5em}% + \begingroup + \parindent \z@ \rightskip \@pnumwidth + \parfillskip -\@pnumwidth + \leavevmode \bfseries + \advance\leftskip\@tempdima + \hskip -\leftskip + #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par + \endgroup} +\else + \newcommand*\l@section{\@regtocline{1}} +\fi +\if@oldtoc + \newcommand*\l@subsection {\@dottedtocline{2}{1.5em}{2.3em}} + \newcommand*\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}} + \newcommand*\l@paragraph {\@dottedtocline{4}{7.0em}{4.1em}} + \newcommand*\l@subparagraph {\@dottedtocline{5}{10em}{5em}} +\else + \newcommand*\l@subsection {\@regtocline{2}} + \newcommand*\l@subsubsection{\@regtocline{3}} + \newcommand*\l@paragraph {\@regtocline{4}} + \newcommand*\l@subparagraph {\@regtocline{5}} +\fi +\newcommand*\listoffigures{% + \section*{\listfigurename}% + \@mkboth{\MakeUppercase{\listfigurename}}% + {\MakeUppercase{\listfigurename}}% + \@starttoc{lof}% + } +\if@oldtoc + \newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} +\else + \newcommand*\l@figure{\@regtocline{1}} +\fi +\newcommand*\listoftables{% + \section*{\listtablename}% + \@mkboth{\MakeUppercase{\listtablename}}% + {\MakeUppercase{\listtablename}}% + \@starttoc{lot}% + } +\let\l@table\l@figure +\newdimen\bibindent +\setlength\bibindent{1.5em} +\newcommand*\newblock{} +\newenvironment{thebibliography}[1] + {\section*{\refname}% + \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}% + \list{\@biblabel{\@arabic\c@enumiv}}% + {\settowidth\labelwidth{\@biblabel{#1}}% + \leftmargin\labelwidth + \advance\leftmargin\labelsep + \@openbib@code + \usecounter{enumiv}% + \let\p@enumiv\@empty + \renewcommand*\theenumiv{\@arabic\c@enumiv}}% + \sloppy\clubpenalty4000\widowpenalty4000% + \sfcode`\.\@m} + {\def\@noitemerr + {\@latex@warning{Empty `thebibliography' environment}}% + \endlist} +\renewcommand\newblock{\hskip.11em\@plus.33em\@minus.07em} +\let\@openbib@code\@empty +\newenvironment{theindex}{% + \if@twocolumn + \@restonecolfalse + \else + \@restonecoltrue + \fi + \twocolumn[\section*{\indexname}]% + \@mkboth{\MakeUppercase{\indexname}}{\MakeUppercase{\indexname}}% + \thispagestyle{plain}\parindent\z@ + \columnseprule \z@ + \columnsep 35\p@ + \parskip\z@ \@plus .3\p@\relax + \let\item\@idxitem + }{% + \if@restonecol\onecolumn\else\clearpage\fi} +\newcommand*\@idxitem {\par\hangindent 40\p@} +\newcommand*\subitem {\@idxitem\hspace*{20\p@}} +\newcommand*\subsubitem{\@idxitem\hspace*{30\p@}} +\newcommand*\indexspace{\par\vskip10\p@\@plus5\p@\@minus3\p@\relax} +\renewcommand*\footnoterule{% + \kern-3\p@ + \kern.5\baselineskip + \hrule\@width\unitindent + \kern.4\baselineskip +} +\newcommand*\@makefntext{\@xmakefntext{\normalfont\@thefnmark.}} +\newcommand*\@xmakefntext[1]{% + \parindent\z@ + \def\labelitemi{\textendash}\@revlabeltrue + {\setbox0\hbox {#1\hskip.5em plus 1fil} + \dimen0=2\wd0\relax + \ifdim\dimen0>\unitindent + \global\unitindent\dimen0\relax + \@indentset + \fi} + \leavevmode\hb@xt@.5\unitindent{#1\hfil}} +\newcommand*\contentsname{Contents} +\newcommand*\listfigurename{List of Figures} +\newcommand*\listtablename{List of Tables} +\newcommand*\refname{References} +\newcommand*\indexname{Index} +\newcommand*\figurename{Figure} +\newcommand*\tablename{Table} +\newcommand*\partname{Part} +\newcommand*\appendixname{Appendix} +\newcommand*\abstractname{Abstract} +\newcommand*\seename{see} +\newcommand*\andname{and} +\newcommand*\today{} +\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} +\setlength\columnsep{10\p@} +\setlength\columnseprule{0\p@} +\pagestyle{plain} +\pagenumbering{arabic} % Arabic page numbers +\if@twoside +\else + \raggedbottom +\fi +\if@twocolumn + \twocolumn + \sloppy + \flushbottom +\else + \onecolumn +\fi +\frenchspacing +\endinput +%% +%% End of file `artikel1.cls'. diff --git a/Master/texmf-dist/tex/latex/ntgclass/artikel2.cls b/Master/texmf-dist/tex/latex/ntgclass/artikel2.cls new file mode 100644 index 00000000000..28eafa559c5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/ntgclass/artikel2.cls @@ -0,0 +1,905 @@ +%% +%% This is file `artikel2.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% ntgclass.dtx (with options: `artikel,type2') +%% This is a generated file. +%% +%% Copyright (C) 1990-2004 Nederlandstalige TeX Gebruikersgroep. +%% All rights reserved. +%% +%% This file was generated from file(s) of the NTG document classes distribution. +%% ------------------------------------------------------------------------------ +%% +%% It may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% The Current Maintainer of this work is Johannes Braams. +%% +%% This file may only be distributed together with a copy of the NTG +%% document classes distribution. You may however distribute the NTG +%% document classes distribution without such generated files. +%% +%% The list of all files belonging to the NTG document classes +%% distribution is given in the file `manifest.txt'. +%% +%% The list of derived (unpacked) files belonging to the distribution +%% and covered by LPPL is defined by the unpacking scripts (with +%% extension .ins) which are part of the distribution. +%% Copyright (C) 1994 -- 2004 by Victor Eijkhout and Johannes Braams +%% Based on classes.dtx +%% Copyright (C) 1999 LaTeX3 project, all rights reserved. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\NeedsTeXFormat{LaTeX2e}[1995/06/01] +\ProvidesClass{artikel2}% + [2004/06/07 v2.1a + NTG LaTeX document class] +\newcommand*\@ptsize{} + +\newif\if@restonecol +\newif\if@titlepage +\@titlepagefalse +\newif\if@oldtoc +\@oldtocfalse +\newif\if@allcaps +\newif\if@revlabel +\DeclareOption{a4paper} + {\setlength\paperheight {297mm}% + \setlength\paperwidth {210mm}} +\DeclareOption{a5paper} + {\setlength\paperheight {210mm}% + \setlength\paperwidth {148mm}} +\DeclareOption{b5paper} + {\setlength\paperheight {250mm}% + \setlength\paperwidth {176mm}} +\DeclareOption{letterpaper} + {\setlength\paperheight {11in}% + \setlength\paperwidth {8.5in}} +\DeclareOption{legalpaper} + {\setlength\paperheight {14in}% + \setlength\paperwidth {8.5in}} +\DeclareOption{executivepaper} + {\setlength\paperheight {10.5in}% + \setlength\paperwidth {7.25in}} +\DeclareOption{landscape} + {\setlength\@tempdima {\paperheight}% + \setlength\paperheight {\paperwidth}% + \setlength\paperwidth {\@tempdima}} +\DeclareOption{10pt}{\renewcommand\@ptsize{0}} +\DeclareOption{11pt}{\renewcommand\@ptsize{1}} +\DeclareOption{12pt}{\renewcommand\@ptsize{2}} +\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse} +\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue} +\DeclareOption{draft}{\setlength\overfullrule{5pt}} +\DeclareOption{final}{\setlength\overfullrule{0pt}} +\DeclareOption{titlepage}{\@titlepagetrue} +\DeclareOption{notitlepage}{\@titlepagefalse} +\DeclareOption{voorwerk}{\@titlepagetrue} +\DeclareOption{geenvoorwerk}{\@titlepagefalse} +\DeclareOption{oldtoc}{\@oldtoctrue} +\DeclareOption{onecolumn}{\@twocolumnfalse} +\DeclareOption{twocolumn}{\@twocolumntrue} +\DeclareOption{leqno}{\input{leqno.clo}} +\DeclareOption{fleqn}{\input{fleqn.clo}} +\DeclareOption{openbib}{% + \AtEndOfPackage{% + \renewcommand\@openbib@code{% + \advance\leftmargin\bibindent + \itemindent -\bibindent + \listparindent \itemindent + \parsep \z@ + }% + \renewcommand\newblock{\par}}% +} +\ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,uctitle} +\ProcessOptions +\input{ntg1\@ptsize.clo} +\setlength\lineskip{1\p@} +\setlength\normallineskip{1\p@} +\renewcommand\baselinestretch{} +\newdimen\unitindent +\newdimen\othermargin +{\setbox0\hbox{\normalsize (m)\hskip.6em}\global\othermargin=\wd0} +\unitindent=2\othermargin +\@lowpenalty 51 +\@medpenalty 151 +\@highpenalty 301 +\setcounter{topnumber}{2} +\renewcommand\topfraction{.7} +\setcounter{bottomnumber}{1} +\renewcommand\bottomfraction{.3} +\setcounter{totalnumber}{3} +\renewcommand\textfraction{.2} +\renewcommand\floatpagefraction{.5} +\setcounter{dbltopnumber}{2} +\renewcommand\dbltopfraction{.7} +\renewcommand\dblfloatpagefraction{.5} +\let\Thispagestyle\thispagestyle +\newcommand*\@emptypagestyle{empty} +\renewcommand*\pagestyle[1]{\@nameuse{ps@#1}\def\@currentpagestyle{#1}} +\renewcommand*\thispagestyle[1]{% + \ifx\@currentpagestyle\@emptypagestyle + \else + \global\@specialpagetrue + \gdef\@specialstyle{#1}% + \fi} +\renewcommand*\ps@plain{% + \let\@oddhead\@empty\let\@evenhead\@empty + \def\@oddfoot{\hfil\PageFont\thepage}% + \if@twoside + \def\@evenfoot{\PageFont\thepage\hfil}% + \else + \let\@evenfoot\@oddfoot + \fi + \let\@mkboth\@gobbletwo} +\if@twoside + \def\ps@headings{% + \let\@oddfoot\@empty\let\@evenfoot\@empty + \def\@evenhead{{\PageFont\thepage}\hfil\MarkFont\leftmark}% + \def\@oddhead{{\MarkFont\rightmark}\hfil\PageFont\thepage}% + \let\@mkboth\markboth + \def\sectionmark##1{% + \markboth {\MakeUppercase{% + \ifnum \c@secnumdepth >\z@ + \thesection\quad + \fi + ##1}}{}}% + \def\subsectionmark##1{% + \markright {% + \ifnum \c@secnumdepth >\@ne + \thesubsection\quad + \fi + ##1}}} +\else + \def\ps@headings{% + \let\@oddfoot\@empty + \def\@oddhead{{\MarkFont\rightmark}\hfil\PageFont\thepage}% + \let\@mkboth\markboth + \def\sectionmark##1{% + \markright {\MakeUppercase{% + \ifnum \c@secnumdepth >\m@ne + \thesection\quad + \fi + ##1}}}} +\fi +\def\ps@myheadings{% + \let\@oddfoot\@empty\let\@evenfoot\@empty + \def\@evenhead{{\PageFont\thepage}\hfil\MarkFont\leftmark}% + \def\@oddhead{{\MarkFont\rightmark}\hfil\PageFont\thepage}% + \let\@mkboth\@gobbletwo + \let\sectionmark\@gobble + \let\subsectionmark\@gobble + } +\newcommand*\PageFont{\rmfamily} +\newcommand*\MarkFont{\slshape} +\newcommand*\RunningFonts[2]{% + \renewcommand*\PageFont{#1}\renewcommand*\MarkFont{#2}} +\newcommand*\TitleFont{\bfseries} +\if@titlepage +\renewcommand*\TitleFont{\rmfamily} +\newcommand*\maketitle{% + \begin{titlepage}% + \let\footnotesize\small + \let\footnoterule\relax + \let \footnote \thanks + \long\def\@makefntext##1{\parindent\z@ + \def\labelitemi{\textendash}\@revlabeltrue + \leavevmode\@textsuperscript{\@thefnmark}\kern1em\relax ##1} + \renewcommand*\thefootnote{\@fnsymbol\c@footnote}% + \if@compatibility\setcounter{page}{0}\fi + \null\vfil + \vskip 60\p@ + \begin{center}% + \TitleFont + {\LARGE \def\\{\penalty -\@M} + \if@allcaps + \expandafter\uc@nothanks\@title\thanks\relax + \else + \@title + \fi\par}% + \vskip 3em% + {\large + \lineskip .75em \parindent\z@ + \begin{tabular}[t]{c}% + \if@allcaps + \expandafter\uc@authornothanks\@author\and\relax + \else + \@author + \fi + \end{tabular}\par}% + \vskip 1.5em% + {\large + \if@allcaps + \uppercase\expandafter{\@date}% + \else + \@date + \fi\par}% + \end{center}\par + \@thanks + \vfil\null + \end{titlepage}% + \setcounter{footnote}{0}% + \global\let\thanks\relax + \global\let\maketitle\relax + \global\let\@thanks\@empty + \global\let\@author\@empty + \global\let\@title\@empty + \global\let\@date\@empty + \global\let\title\relax + \global\let\author\relax + \global\let\date\relax + \global\let\and\relax +} +\def\uc@nothanks#1\thanks{\uppercase{#1}\futurelet\@tempa\uc@tx} +\def\uc@authornothanks#1\and{\uc@nothanks#1\thanks\relax + \futurelet\@tempa\uc@ax} +\def\uc@ax{% + \ifx\@tempa\relax + \else + \\ \andname \\ \expandafter\uc@authornothanks + \fi} +\def\uc@tx{\ifx\@tempa\relax + \else \expandafter\uc@ty \fi} +\def\uc@ty#1{\thanks{#1}\uc@nothanks} +\else +\newcommand*\maketitle{\par + \begingroup + \renewcommand*\thefootnote{\@fnsymbol\c@footnote}% + \long\def\@makefntext##1{\parindent\z@ + \def\labelitemi{\textendash}% + \leavevmode\hb@xt@.5\unitindent{% + \@textsuperscript{\normalfont\@thefnmark}\hfil}##1} + \if@twocolumn + \ifnum \col@number=\@ne + \@maketitle + \else + \twocolumn[\@maketitle]% + \fi + \else + \newpage + \global\@topnum\z@ + \@maketitle + \fi + \thispagestyle{plain}\@thanks + \endgroup + \setcounter{footnote}{0}% + \global\let\thanks\relax + \global\let\maketitle\relax + \global\let\@maketitle\relax + \global\let\@thanks\@empty + \global\let\@author\@empty + \global\let\@title\@empty + \global\let\@date\@empty + \global\let\title\relax + \global\let\author\relax + \global\let\date\relax + \global\let\and\relax + } +\def\@maketitle{% + \newpage + \null + \vskip 2em% + \begin{center}% + \let \footnote \thanks + {\LARGE \TitleFont \@title \par}% + \vskip 1.5em% + {\large \TitleFont + \lineskip .5em% + \begin{tabular}[t]{c}% + \@author + \end{tabular}\par}% + \vskip 1em% + {\large \TitleFont \@date}% + \end{center}% + \par + \vskip 1.5em} +\fi +\newcommand*\head@style{% + \interlinepenalty \@M + \hyphenpenalty=\@M \exhyphenpenalty=\@M + \rightskip=0cm plus .7\hsize\relax} +\def\@sect#1#2#3#4#5#6[#7]#8{% + \ifnum #2>\c@secnumdepth + \let\@svsec\@empty + \else + \refstepcounter{#1}% + \protected@edef\@svsec{\@seccntformat{#1}\relax}% + \fi + \@tempskipa #5\relax + \ifdim \@tempskipa>\z@ + \begingroup + #6{% + \@hangfrom{\hskip #3} + \head@style\@svsec \hskip.3em\relax #8\endgraf} + \endgroup + \csname #1mark\endcsname{#7}% + \addcontentsline{toc}{#1}{% + \ifnum #2>\c@secnumdepth + \else + \protect\numberline{\csname the#1\endcsname}% + \fi + \toc@font#2 #7}% + \else + \def\@svsechd{#6\hskip #3\relax + \@svsec #8\csname #1mark\endcsname{#7}% + \addcontentsline{toc}{#1}{% + \ifnum #2>\c@secnumdepth + \else + \protect\numberline{\csname the#1\endcsname}% + \fi + \toc@font#2 #7}}% + \fi + \@xsect{#5}} +\def\@seccntformat#1{% + \csname the#1\endcsname\hskip.3em\relax + } +\def\@ssect#1#2#3#4#5{\@tempskipa #3\relax + \ifdim \@tempskipa>\z@ + \begingroup + #4{% + \@hangfrom{\hskip #1}\head@style #5\endgraf}% + \endgroup + \else + \def\@svsechd{#4\hskip #1\relax #5}% + \fi + \@xsect{#3}} +\setcounter{secnumdepth}{3} +\newcounter {part} +\newcounter {section} +\newcounter {subsection}[section] +\newcounter {subsubsection}[subsection] +\newcounter {paragraph}[subsubsection] +\newcounter {subparagraph}[paragraph] +\renewcommand*\thepart{\@Roman\c@part} +\renewcommand\thesection{\@arabic\c@section} +\renewcommand*\thesubsection{\thesection.\@arabic\c@subsection} +\renewcommand*\thesubsubsection{\thesubsection.\@arabic\c@subsubsection} +\renewcommand*\theparagraph{\thesubsubsection.\@arabic\c@paragraph} +\renewcommand*\thesubparagraph{\theparagraph.\@arabic\c@subparagraph} +\newcommand*\part{% + \if@noskipsec \leavevmode \fi + \par + \addvspace{4ex}% + \@afterindenttrue + \secdef\@part\@spart} +\newcommand*\PartFont{\bfseries} +\def\@part[#1]#2{% + \ifnum \c@secnumdepth >\m@ne + \refstepcounter{part}% + \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}% + \else + \addcontentsline{toc}{part}{#1}% + \fi + {\head@style + \parindent\unitindent + \normalfont + \ifnum \c@secnumdepth >\m@ne + \Large\PartFont\indent \partname\nobreakspace\thepart + \par\nobreak + \fi + \Large \PartFont #2% + \markboth{}{}\par}% + \nobreak + \vskip 3ex + \@afterheading} +\def\@spart#1{% + {\parindent \z@ + \head@style + \normalfont + \Large \PartFont \indent #1\par}% + \nobreak + \vskip 3ex + \@afterheading} +\newcommand*\section{% + \@startsection {section}{1}{\unitindent}% + {2\baselineskip\@plus \baselineskip \@minus .5\baselineskip}% + {.01\baselineskip}% + {\normalfont\large\SectFont}} +\newcommand*\SectFont{\bfseries} +\newcommand*\subsection{% + \@startsection{subsection}{2}{\unitindent}% + {1\baselineskip\@plus .5\baselineskip \@minus .25\baselineskip}% + {.01\baselineskip}% + {\normalfont\normalsize\SSectFont}} +\newcommand*\SSectFont{\bfseries} +\newcommand*\subsubsection{% + \@startsection{subsubsection}{3}{\unitindent}% + {1\baselineskip plus .5\baselineskip minus .25\baselineskip}% + {.01\baselineskip}% + {\normalfont\normalsize\SSSectFont}} +\newcommand*\SSSectFont{\scshape} +\newcommand*\paragraph{% + \@startsection{paragraph}{4}{\unitindent}% + {3.25ex \@plus1ex \@minus.2ex}% + {-1em}% + {\normalfont\normalsize\ParaFont}} +\newcommand*\ParaFont{\scshape} +\newcommand*\subparagraph{% + \@startsection{subparagraph}{5}{\unitindent}% + {3.25ex \@plus1ex \@minus .2ex}% + {-1em}% + {\normalfont\normalsize\SParaFont}} +\newcommand*\SParaFont{\slshape} +\newcommand*\HeadingFonts[7]{% + \renewcommand*\TitleFont{#1}% + \renewcommand*\PartFont{#2}% + \renewcommand*\SectFont{#3}% + \renewcommand*\SSectFont{#4}% + \renewcommand*\SSSectFont{#5}% + \renewcommand*\ParaFont{#6}% + \renewcommand*\SParaFont{#7}} +\setlength\leftmargini {\othermargin} +\setlength\leftmarginii {\othermargin} +\setlength\leftmarginiii{\othermargin} +\setlength\leftmarginiv {\othermargin} +\setlength\leftmarginv {\othermargin} +\setlength\leftmarginvi {1em} +\setlength\leftmargin {\leftmargini} +\setlength \labelsep {5\p@} +\setlength \labelwidth{\leftmargini} +\addtolength\labelwidth{-\labelsep} +\setlength\partopsep{\z@} +\setlength\topsep{\z@} +\@beginparpenalty -\@lowpenalty +\@endparpenalty -\@lowpenalty +\@itempenalty -\@lowpenalty +\def\@listi{% + \leftmargin\leftmargini + \labelsep.45em% + \labelwidth\leftmargin + \advance\labelwidth-\labelsep + \parsep \z@ + \topsep 0\p@ \@plus\p@ + \itemsep 0\p@ \@plus1\p@} +\let\@listI\@listi +\@listi +\def\@listii {\leftmargin\leftmarginii + \labelsep .3em% + \labelwidth\leftmarginii + \advance\labelwidth-\labelsep + \topsep 0\p@ \@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\def\@listiii{\leftmargin\leftmarginiii + \labelsep .3em% + \labelwidth\leftmarginiii + \advance\labelwidth-\labelsep + \topsep 0\p@ \@plus\p@ + \parsep \z@ + \partopsep \z@ \@plus\p@ + \itemsep \z@ \@plus\p@} +\def\@listiv {\leftmargin\leftmarginiv + \labelsep .3em% + \labelwidth\leftmarginiv% + \advance\labelwidth-\labelsep + \topsep 0\p@ \@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\def\@listv {\leftmargin\leftmarginv + \labelsep .3em% + \labelwidth\leftmarginv + \advance\labelwidth-\labelsep% + \topsep 0\p@ \@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\def\@listvi {\leftmargin\leftmarginvi + \labelsep .3em + \labelwidth\leftmarginvi + \advance\labelwidth{-\labelsep}% + \topsep 0\p@ \@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\renewcommand*\theenumi{\@arabic\c@enumi} +\renewcommand*\theenumii{\@alph\c@enumii} +\renewcommand*\theenumiii{\@roman\c@enumiii} +\renewcommand*\theenumiv{\@Alph\c@enumiv} +\newcommand*\labelenumi{\theenumi.} +\newcommand*\labelenumii{(\theenumii)} +\newcommand*\labelenumiii{\theenumiii.} +\newcommand*\labelenumiv{\theenumiv.} +\renewcommand*\p@enumii{\theenumi} +\renewcommand*\p@enumiii{\theenumi(\theenumii)} +\renewcommand*\p@enumiv{\p@enumiii\theenumiii} +\renewenvironment{enumerate}{% + \ifnum \@enumdepth >3 + \@toodeep + \else + \advance\@enumdepth \@ne + \edef\@enumctr{enum\romannumeral\the\@enumdepth}% + \list{\csname label\@enumctr\endcsname} + {\usecounter{\@enumctr}% + \def\makelabel##1{##1\hfil}% + }% + \fi} + {\global\@ignoretrue \endlist} +\newcommand*{\labelitemi}{\textbullet} +\newcommand*{\labelitemii}{\normalfont\bfseries \textendash} +\newcommand*{\labelitemiii}{\textasteriskcentered} +\newcommand*{\labelitemiv}{\textperiodcentered} +\renewenvironment{itemize}{% + \ifnum \@itemdepth >3 + \@toodeep + \else + \advance\@itemdepth \@ne + \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}% + \list{\csname\@itemitem\endcsname}% + {% + \def\makelabel##1{##1\hfil} + }% + \fi} + {\global\@ignoretrue \endlist} +\newenvironment{description} + {\list{}{\labelwidth\z@ \itemindent-\leftmargin + \let\makelabel\descriptionlabel}} + {\endlist} +\newcommand*\descriptionlabel[1]{\hspace\labelsep \bfseries #1} +\def\verbatim{% + \topsep=.25\baselineskip \@plus .1\baselineskip + \@minus .1\baselineskip + \@verbatim + \leftskip\z@ + \frenchspacing\@vobeyspaces \@xverbatim} +\if@titlepage + \newenvironment{abstract}{% + \titlepage + \null\vfil + \hbox{\SectFont \abstractname} + \noindent\ignorespaces} + {\par\vfil\null\endtitlepage} +\else + \newenvironment{abstract}{% + \if@twocolumn + \section*{\abstractname}% + \else + \small + \hbox{\hskip\unitindent\SectFont \abstractname}% + \list{}{\setlength\listparindent{\unitindent}% + \setlength\parindent {\z@}% + \setlength\leftmargin {\unitindent}% + \setlength\rightmargin {\unitindent}% + \setlength\parsep {\z@}}% + \item[]% + \fi} + {\if@twocolumn\else\par\endlist\fi} +\fi +\newenvironment{verse} + {\let\\\@centercr + \list{}{\itemsep\z@ + \itemindent-1.5em% + \listparindent\itemindent + \rightmargin\leftmargin + \advance\leftmargin1.5em}% + \item\relax} + {\endlist} +\newenvironment{quotation} + {\list{}{% + \listparindent\unitindent + \itemindent\listparindent + \rightmargin\leftmargin + \parsep\z@ \@plus\p@}% + \item\relax} + {\endlist} +\newenvironment{quote} + {\list{}{\rightmargin\leftmargin}% + \item\relax} + {\endlist} +\def\@begintheorem#1#2{% + \vskip\baselineskip \labelsep=.5em% + \trivlist + \item[\hskip \labelsep{\bfseries #1\ #2}]\slshape} +\def\@opargbegintheorem#1#2#3{% + \vskip\baselineskip \labelsep=.5em% + \trivlist + \item[\hskip \labelsep{\bfseries #1\ #2\ (#3)}]\slshape} +\def\@endtheorem{\endtrivlist \vskip\baselineskip} +\newenvironment{titlepage} + { + \if@twocolumn + \@restonecoltrue\onecolumn + \else + \@restonecolfalse\newpage + \fi + \thispagestyle{empty}% + \if@compatibility + \setcounter{page}\z@ + \else + \setcounter{page}\@ne + \fi} + {\if@restonecol\twocolumn \else \newpage \fi + \setcounter{page}\@ne + } +\newcommand*\appendix{\par + \setcounter{section}{0}% + \setcounter{subsection}{0}% + \gdef\thesection{\@Alph\c@section}} +\setlength\arraycolsep{5\p@} +\setlength\tabcolsep{6\p@} +\setlength\arrayrulewidth{.4\p@} +\setlength\doublerulesep{2\p@} +\setlength\tabbingsep{\labelsep} +\skip\@mpfootins = \skip\footins +\setlength\fboxsep{3\p@} +\setlength\fboxrule{.4\p@} +\renewcommand*\theequation{\@arabic\c@equation} +\newcounter{figure} +\renewcommand*\thefigure{\@arabic\c@figure} +\def\fps@figure{tbp} +\def\ftype@figure{1} +\def\ext@figure{lof} +\def\fnum@figure{\figurename\nobreakspace\thefigure} +\newenvironment{figure} + {\@float{figure}} + {\end@float} +\newenvironment{figure*} + {\@dblfloat{figure}} + {\end@dblfloat} +\newcounter{table} +\renewcommand*\thetable{\@arabic\c@table} +\def\fps@table{tbp} +\def\ftype@table{2} +\def\ext@table{lot} +\def\fnum@table{\tablename\nobreakspace\thetable} +\newenvironment{table} + {\@float{table}} + {\end@float} +\newenvironment{table*} + {\@dblfloat{table}} + {\end@dblfloat} +\newlength\abovecaptionskip +\newlength\belowcaptionskip +\setlength\abovecaptionskip{10\p@} +\setlength\belowcaptionskip{0\p@} +\long\def\@makecaption#1#2{% + \vskip\abovecaptionskip + \sbox\@tempboxa{{\CaptionLabelFont#1:} \CaptionTextFont#2}% + \ifdim \wd\@tempboxa >\hsize + {\CaptionLabelFont#1:} \CaptionTextFont#2\par + \else + \global \@minipagefalse + \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}% + \fi + \vskip\belowcaptionskip} +\newcommand*\CaptionLabelFont{\relax} +\newcommand*\CaptionTextFont{\relax} +\newcommand*\CaptionFonts[2]{% + \renewcommand*\CaptionLabelFont{#1}% + \renewcommand*\CaptionTextFont{#2}% + } +\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm} +\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf} +\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt} +\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf} +\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit} +\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\relax} +\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\relax} +\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal} +\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal} +\DeclareRobustCommand*\em{% + \@nomath\em + \ifdim\fontdimen\@ne\font>\z@ + \upshape + \else + \slshape + \fi} +\newcommand*\@pnumwidth{1.55em} +\newcommand*\@tocrmarg {2.55em} +\newcommand*\@dotsep{4.5} +\setcounter{tocdepth}{3} +\newcommand*\tableofcontents{% + \section*{\contentsname}% + \@mkboth{\MakeUppercase{\contentsname}}% + {\MakeUppercase{\contentsname}}% + \@starttoc{toc}% + } +\newcommand*\@regtocline[3]{% + \ifnum #1>\c@tocdepth + \else + \vskip\z@\@plus.2\p@ + {\hangindent\z@ \@afterindenttrue \interlinepenalty\@M + \leftskip\unitindent + \rightskip\unitindent\@plus 1fil + \parfillskip\z@ + \@tempdima\unitindent + \advance\@tempdima by \othermargin + \parindent\z@ + \leavevmode + \hbox{}\hskip -\leftskip\relax#2\nobreak + \hskip 1em \nobreak{\slshape #3}\par + }% + \fi} +\def\numberline#1{\hb@xt@\@tempdima{\hfil#1\hskip.3em}} +\if@oldtoc + \newcommand*\toc@font[1]{\relax} +\else + \newcommand*\toc@font[1]{% + \ifcase#1\relax + \Large\bfseries + \or\bfseries + \or\slshape + \or\rmfamily + \fi} +\fi +\if@oldtoc + \newcommand*\toc@case{\relax} +\else + \newcommand*\toc@case{\MakeUppercase} +\fi +\if@oldtoc +\newcommand*\l@part[2]{% + \ifnum \c@tocdepth >-2\relax + \addpenalty\@secpenalty + \addvspace{2.25em \@plus\p@}% + \begingroup + \setlength\@tempdima{3em}% + \parindent \z@ \rightskip \@pnumwidth + \parfillskip -\@pnumwidth + {\leavevmode + \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par + \nobreak + \if@compatibility + \global\@nobreaktrue + \everypar{\global\@nobreakfalse\everypar{}}% + \fi + \endgroup + \fi} +\else + \newcommand*\l@part{% + \ifnum \c@tocdepth >-2\relax + \addpenalty\@secpenalty + \addvspace{2.25em \@plus \p@}% + \@regtocline{0}% + \fi} +\fi +\if@oldtoc +\newcommand*\l@section[2]{% + \addpenalty\@secpenalty + \addvspace{1.0em \@plus\p@}% + \setlength\@tempdima{1.5em}% + \begingroup + \parindent \z@ \rightskip \@pnumwidth + \parfillskip -\@pnumwidth + \leavevmode \bfseries + \advance\leftskip\@tempdima + \hskip -\leftskip + #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par + \endgroup} +\else + \newcommand*\l@section{\@regtocline{1}} +\fi +\if@oldtoc + \newcommand*\l@subsection {\@dottedtocline{2}{1.5em}{2.3em}} + \newcommand*\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}} + \newcommand*\l@paragraph {\@dottedtocline{4}{7.0em}{4.1em}} + \newcommand*\l@subparagraph {\@dottedtocline{5}{10em}{5em}} +\else + \newcommand*\l@subsection {\@regtocline{2}} + \newcommand*\l@subsubsection{\@regtocline{3}} + \newcommand*\l@paragraph {\@regtocline{4}} + \newcommand*\l@subparagraph {\@regtocline{5}} +\fi +\newcommand*\listoffigures{% + \section*{\listfigurename}% + \@mkboth{\MakeUppercase{\listfigurename}}% + {\MakeUppercase{\listfigurename}}% + \@starttoc{lof}% + } +\if@oldtoc + \newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} +\else + \newcommand*\l@figure{\@regtocline{1}} +\fi +\newcommand*\listoftables{% + \section*{\listtablename}% + \@mkboth{\MakeUppercase{\listtablename}}% + {\MakeUppercase{\listtablename}}% + \@starttoc{lot}% + } +\let\l@table\l@figure +\newdimen\bibindent +\setlength\bibindent{1.5em} +\newcommand*\newblock{} +\newenvironment{thebibliography}[1] + {\section*{\refname}% + \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}% + \list{\@biblabel{\@arabic\c@enumiv}}% + {\settowidth\labelwidth{\@biblabel{#1}}% + \leftmargin\labelwidth + \advance\leftmargin\labelsep + \@openbib@code + \usecounter{enumiv}% + \let\p@enumiv\@empty + \renewcommand*\theenumiv{\@arabic\c@enumiv}}% + \sloppy\clubpenalty4000\widowpenalty4000% + \sfcode`\.\@m} + {\def\@noitemerr + {\@latex@warning{Empty `thebibliography' environment}}% + \endlist} +\renewcommand\newblock{\hskip.11em\@plus.33em\@minus.07em} +\let\@openbib@code\@empty +\newenvironment{theindex}{% + \if@twocolumn + \@restonecolfalse + \else + \@restonecoltrue + \fi + \twocolumn[\section*{\indexname}]% + \@mkboth{\MakeUppercase{\indexname}}{\MakeUppercase{\indexname}}% + \thispagestyle{plain}\parindent\z@ + \columnseprule \z@ + \columnsep 35\p@ + \parskip\z@ \@plus .3\p@\relax + \let\item\@idxitem + }{% + \if@restonecol\onecolumn\else\clearpage\fi} +\newcommand*\@idxitem {\par\hangindent 40\p@} +\newcommand*\subitem {\@idxitem\hspace*{20\p@}} +\newcommand*\subsubitem{\@idxitem\hspace*{30\p@}} +\newcommand*\indexspace{\par\vskip10\p@\@plus5\p@\@minus3\p@\relax} +\renewcommand*\footnoterule{% + \kern-3\p@ + \hrule\@width 3\unitindent + \kern 2.6\p@ +} +\newcommand\@makefntext[1]{% + \parindent\othermargin + \noindent\hb@xt@\othermargin{\normalfont\@thefnmark\hfil\relax}#1} +\newcommand*\contentsname{Contents} +\newcommand*\listfigurename{List of Figures} +\newcommand*\listtablename{List of Tables} +\newcommand*\refname{References} +\newcommand*\indexname{Index} +\newcommand*\figurename{Figure} +\newcommand*\tablename{Table} +\newcommand*\partname{Part} +\newcommand*\appendixname{Appendix} +\newcommand*\abstractname{Abstract} +\newcommand*\seename{see} +\newcommand*\andname{and} +\newcommand*\today{} +\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} +\setlength\columnsep{10\p@} +\setlength\columnseprule{0\p@} +\pagestyle{plain} +\pagenumbering{arabic} % Arabic page numbers +\if@twoside +\else + \raggedbottom +\fi +\if@twocolumn + \twocolumn + \sloppy + \flushbottom +\else + \onecolumn +\fi +\frenchspacing +\endinput +%% +%% End of file `artikel2.cls'. diff --git a/Master/texmf-dist/tex/latex/ntgclass/artikel3.cls b/Master/texmf-dist/tex/latex/ntgclass/artikel3.cls new file mode 100644 index 00000000000..d10d173336a --- /dev/null +++ b/Master/texmf-dist/tex/latex/ntgclass/artikel3.cls @@ -0,0 +1,963 @@ +%% +%% This is file `artikel3.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% ntgclass.dtx (with options: `artikel,type3') +%% This is a generated file. +%% +%% Copyright (C) 1990-2004 Nederlandstalige TeX Gebruikersgroep. +%% All rights reserved. +%% +%% This file was generated from file(s) of the NTG document classes distribution. +%% ------------------------------------------------------------------------------ +%% +%% It may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% The Current Maintainer of this work is Johannes Braams. +%% +%% This file may only be distributed together with a copy of the NTG +%% document classes distribution. You may however distribute the NTG +%% document classes distribution without such generated files. +%% +%% The list of all files belonging to the NTG document classes +%% distribution is given in the file `manifest.txt'. +%% +%% The list of derived (unpacked) files belonging to the distribution +%% and covered by LPPL is defined by the unpacking scripts (with +%% extension .ins) which are part of the distribution. +%% Copyright (C) 1994 -- 2004 by Victor Eijkhout and Johannes Braams +%% Based on classes.dtx +%% Copyright (C) 1999 LaTeX3 project, all rights reserved. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\NeedsTeXFormat{LaTeX2e}[1995/06/01] +\ProvidesClass{artikel3}% + [2004/06/07 v2.1a + NTG LaTeX document class] +\newcommand*\@ptsize{} + +\newif\if@restonecol +\newif\if@titlepage +\@titlepagefalse +\newif\if@oldtoc +\@oldtocfalse +\newif\if@allcaps +\newif\if@titlecentered +\@titlecenteredfalse +\newif\if@revlabel +\DeclareOption{a4paper} + {\setlength\paperheight {297mm}% + \setlength\paperwidth {210mm}} +\DeclareOption{a5paper} + {\setlength\paperheight {210mm}% + \setlength\paperwidth {148mm}} +\DeclareOption{b5paper} + {\setlength\paperheight {250mm}% + \setlength\paperwidth {176mm}} +\DeclareOption{letterpaper} + {\setlength\paperheight {11in}% + \setlength\paperwidth {8.5in}} +\DeclareOption{legalpaper} + {\setlength\paperheight {14in}% + \setlength\paperwidth {8.5in}} +\DeclareOption{executivepaper} + {\setlength\paperheight {10.5in}% + \setlength\paperwidth {7.25in}} +\DeclareOption{landscape} + {\setlength\@tempdima {\paperheight}% + \setlength\paperheight {\paperwidth}% + \setlength\paperwidth {\@tempdima}} +\DeclareOption{10pt}{\renewcommand\@ptsize{0}} +\DeclareOption{11pt}{\renewcommand\@ptsize{1}} +\DeclareOption{12pt}{\renewcommand\@ptsize{2}} +\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse} +\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue} +\DeclareOption{draft}{\setlength\overfullrule{5pt}} +\DeclareOption{final}{\setlength\overfullrule{0pt}} +\DeclareOption{titlepage}{\@titlepagetrue} +\DeclareOption{notitlepage}{\@titlepagefalse} +\DeclareOption{voorwerk}{\@titlepagetrue} +\DeclareOption{geenvoorwerk}{\@titlepagefalse} +\DeclareOption{oldtoc}{\@oldtoctrue} +\DeclareOption{titlecentered}{\@titlecenteredtrue} +\DeclareOption{onecolumn}{\@twocolumnfalse} +\DeclareOption{twocolumn}{\@twocolumntrue} +\DeclareOption{leqno}{\input{leqno.clo}} +\DeclareOption{fleqn}{\input{fleqn.clo}} +\DeclareOption{openbib}{% + \AtEndOfPackage{% + \renewcommand\@openbib@code{% + \advance\leftmargin\bibindent + \itemindent -\bibindent + \listparindent \itemindent + \parsep \z@ + }% + \renewcommand\newblock{\par}}% +} +\ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,uctitle} +\ProcessOptions +\input{ntg1\@ptsize.clo} +\setlength\lineskip{1\p@} +\setlength\normallineskip{1\p@} +\renewcommand\baselinestretch{} +\newdimen\unitindent +{\setbox0\hbox{\normalsize\rmfamily 2.2.2\hskip.5em} + \global\unitindent=\wd0} +\newdimen\othermargin +{\setbox0\hbox{\normalsize (m)\hskip.6em}\global\othermargin=\wd0} +\newif\if@needwriteindent +\newcommand*\@indentset{% + \global\leftmargini=\unitindent + \global\@needwriteindenttrue} +\newcommand*\@writeindent[1]{\immediate\write\@mainaux + {\string\@ifundefined{unitindent}{\string\newdimen\string\unitindent + \let\string\@indentset\relax}{}} + \immediate\write\@mainaux{\global\string\unitindent=#1\string\relax + \string\@indentset \string\relax}} +\AtEndDocument{% + \if@filesw + \if@needwriteindent + \@writeindent{\the\unitindent} + \fi + \fi} +\setlength\parskip{.5\baselineskip \@plus .1\baselineskip + \@minus .1\baselineskip} +\setlength\parindent{\z@} +\@lowpenalty 51 +\@medpenalty 151 +\@highpenalty 301 +\setcounter{topnumber}{2} +\renewcommand\topfraction{.7} +\setcounter{bottomnumber}{1} +\renewcommand\bottomfraction{.3} +\setcounter{totalnumber}{3} +\renewcommand\textfraction{.2} +\renewcommand\floatpagefraction{.5} +\setcounter{dbltopnumber}{2} +\renewcommand\dbltopfraction{.7} +\renewcommand\dblfloatpagefraction{.5} +\let\Thispagestyle\thispagestyle +\newcommand*\@emptypagestyle{empty} +\renewcommand*\pagestyle[1]{\@nameuse{ps@#1}\def\@currentpagestyle{#1}} +\renewcommand*\thispagestyle[1]{% + \ifx\@currentpagestyle\@emptypagestyle + \else + \global\@specialpagetrue + \gdef\@specialstyle{#1}% + \fi} +\renewcommand*\ps@plain{% + \let\@oddhead\@empty\let\@evenhead\@empty + \def\@oddfoot{\hfil\PageFont\thepage}% + \if@twoside + \def\@evenfoot{\PageFont\thepage\hfil}% + \else + \let\@evenfoot\@oddfoot + \fi + \let\@mkboth\@gobbletwo} +\if@twoside + \def\ps@headings{% + \let\@oddfoot\@empty\let\@evenfoot\@empty + \def\@evenhead{{\PageFont\thepage}\hfil\MarkFont\leftmark}% + \def\@oddhead{{\MarkFont\rightmark}\hfil\PageFont\thepage}% + \let\@mkboth\markboth + \def\sectionmark##1{% + \markboth {\MakeUppercase{% + \ifnum \c@secnumdepth >\z@ + \thesection\quad + \fi + ##1}}{}}% + \def\subsectionmark##1{% + \markright {% + \ifnum \c@secnumdepth >\@ne + \thesubsection\quad + \fi + ##1}}} +\else + \def\ps@headings{% + \let\@oddfoot\@empty + \def\@oddhead{{\MarkFont\rightmark}\hfil\PageFont\thepage}% + \let\@mkboth\markboth + \def\sectionmark##1{% + \markright {\MakeUppercase{% + \ifnum \c@secnumdepth >\m@ne + \thesection\quad + \fi + ##1}}}} +\fi +\def\ps@myheadings{% + \let\@oddfoot\@empty\let\@evenfoot\@empty + \def\@evenhead{{\PageFont\thepage}\hfil\MarkFont\leftmark}% + \def\@oddhead{{\MarkFont\rightmark}\hfil\PageFont\thepage}% + \let\@mkboth\@gobbletwo + \let\sectionmark\@gobble + \let\subsectionmark\@gobble + } +\newcommand*\PageFont{\rmfamily} +\newcommand*\MarkFont{\slshape} +\newcommand*\RunningFonts[2]{% + \renewcommand*\PageFont{#1}\renewcommand*\MarkFont{#2}} +\newcommand*\TitleFont{\bfseries} +\if@titlepage +\renewcommand*\TitleFont{\rmfamily} +\newcommand*\maketitle{% + \begin{titlepage}% + \let\footnotesize\small + \let\footnoterule\relax + \let \footnote \thanks + \long\def\@makefntext##1{\parindent\z@ + \def\labelitemi{\textendash}\@revlabeltrue + \leavevmode\@textsuperscript{\@thefnmark}\kern1em\relax ##1} + \renewcommand*\thefootnote{\@fnsymbol\c@footnote}% + \if@compatibility\setcounter{page}{0}\fi + \null\vfil + \vskip 60\p@ + \begin{center}% + \TitleFont + {\LARGE \def\\{\penalty -\@M} + \if@allcaps + \expandafter\uc@nothanks\@title\thanks\relax + \else + \@title + \fi\par}% + \vskip 3em% + {\large + \lineskip .75em \parindent\z@ + \begin{tabular}[t]{c}% + \if@allcaps + \expandafter\uc@authornothanks\@author\and\relax + \else + \@author + \fi + \end{tabular}\par}% + \vskip 1.5em% + {\large + \if@allcaps + \uppercase\expandafter{\@date}% + \else + \@date + \fi\par}% + \end{center}\par + \@thanks + \vfil\null + \end{titlepage}% + \setcounter{footnote}{0}% + \global\let\thanks\relax + \global\let\maketitle\relax + \global\let\@thanks\@empty + \global\let\@author\@empty + \global\let\@title\@empty + \global\let\@date\@empty + \global\let\title\relax + \global\let\author\relax + \global\let\date\relax + \global\let\and\relax +} +\def\uc@nothanks#1\thanks{\uppercase{#1}\futurelet\@tempa\uc@tx} +\def\uc@authornothanks#1\and{\uc@nothanks#1\thanks\relax + \futurelet\@tempa\uc@ax} +\def\uc@ax{% + \ifx\@tempa\relax + \else + \\ \andname \\ \expandafter\uc@authornothanks + \fi} +\def\uc@tx{\ifx\@tempa\relax + \else \expandafter\uc@ty \fi} +\def\uc@ty#1{\thanks{#1}\uc@nothanks} +\else +\newcommand*\maketitle{\par + \begingroup + \renewcommand*\thefootnote{\@fnsymbol\c@footnote}% + \def\@makefnmark{\rlap{% + \@textsuperscript{\normalfont\@thefnmark}}}% + \long\def\@makefntext{\@xmakefntext{% + \@textsuperscript{\normalfont\@thefnmark}}}% + \if@twocolumn + \ifnum \col@number=\@ne + \@maketitle + \else + \twocolumn[\@maketitle]% + \fi + \else + \newpage + \global\@topnum\z@ + \@maketitle + \fi + \thispagestyle{plain}\@thanks + \endgroup + \setcounter{footnote}{0}% + \global\let\thanks\relax + \global\let\maketitle\relax + \global\let\@maketitle\relax + \global\let\@thanks\@empty + \global\let\@author\@empty + \global\let\@title\@empty + \global\let\@date\@empty + \global\let\title\relax + \global\let\author\relax + \global\let\date\relax + \global\let\and\relax + } +\def\@maketitle{% + \newpage + \null + \vskip 2em% +\if@titlecentered + \begin{center}% + \let \footnote \thanks + {\LARGE \TitleFont \@title \par}% + \vskip 1.5em% + {\large \TitleFont + \lineskip .5em% + \begin{tabular}[t]{c}% + \@author + \end{tabular}\par}% + \vskip 1em% + {\large \TitleFont \@date}% + \end{center}% + \else + {\LARGE \TitleFont \head@style \@title \par} \vskip 1.5em + {\large \TitleFont \lineskip .5em \tabcolsep\z@ + \def\and{%%% \begin{tabular} has already started + \end{tabular}\hskip 1em plus .17fil + \begin{tabular}[t]{l}}%% \end{tabular} will come + \begin{tabular}[t]{l}\@author\end{tabular}\par} + \vskip 1em {\large \TitleFont \@date} + \fi + \par + \vskip 1.5em} +\fi +\newcommand*\head@style{% + \interlinepenalty \@M + \hyphenpenalty=\@M \exhyphenpenalty=\@M + \rightskip=0cm plus .7\hsize\relax} +\def\@sect#1#2#3#4#5#6[#7]#8{% + \ifnum #2>\c@secnumdepth + \let\@svsec\@empty + \else + \refstepcounter{#1}% + \begingroup + \setbox\@tempboxa=\hbox{#6\relax + \csname the#1\endcsname + \hskip.5em} + \ifdim\wd\@tempboxa>\unitindent + \global\unitindent=\wd\@tempboxa + \@indentset + \fi + \endgroup + \protected@edef\@svsec{\@seccntformat{#1}\relax}% + \fi + \@tempskipa #5\relax + \ifdim \@tempskipa>\z@ + \begingroup + #6{% + \@hangfrom{\hskip #3\relax\@svsec}\head@style #8\endgraf}% + \endgroup + \csname #1mark\endcsname{#7}% + \addcontentsline{toc}{#1}{% + \ifnum #2>\c@secnumdepth + \else + \protect\numberline{\csname the#1\endcsname}% + \fi + \toc@font#2 #7}% + \else + \def\@svsechd{#6\hskip #3\relax + \@svsec #8\csname #1mark\endcsname{#7}% + \addcontentsline{toc}{#1}{% + \ifnum #2>\c@secnumdepth + \else + \protect\numberline{\csname the#1\endcsname}% + \fi + \toc@font#2 #7}}% + \fi + \@xsect{#5}} +\def\@seccntformat#1{% + \hb@xt@\unitindent{\csname the#1\endcsname \hfil}% + } +\def\@ssect#1#2#3#4#5{\@tempskipa #3\relax + \ifdim \@tempskipa>\z@ + \begingroup + #4{% + \@hangfrom{\hskip #1}\head@style #5\endgraf}% + \endgroup + \else + \def\@svsechd{#4\hskip #1\relax #5}% + \fi + \@xsect{#3}} +\setcounter{secnumdepth}{3} +\newcounter {part} +\newcounter {section} +\newcounter {subsection}[section] +\newcounter {subsubsection}[subsection] +\newcounter {paragraph}[subsubsection] +\newcounter {subparagraph}[paragraph] +\renewcommand*\thepart{\@Roman\c@part} +\renewcommand\thesection{\@arabic\c@section} +\renewcommand*\thesubsection{\thesection.\@arabic\c@subsection} +\renewcommand*\thesubsubsection{\thesubsection.\@arabic\c@subsubsection} +\renewcommand*\theparagraph{\thesubsubsection.\@arabic\c@paragraph} +\renewcommand*\thesubparagraph{\theparagraph.\@arabic\c@subparagraph} +\newcommand*\part{% + \if@noskipsec \leavevmode \fi + \par + \addvspace{4ex}% + \@afterindentfalse + \secdef\@part\@spart} +\newcommand*\PartFont{\bfseries} +\def\@part[#1]#2{% + \ifnum \c@secnumdepth >\m@ne + \refstepcounter{part}% + \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}% + \else + \addcontentsline{toc}{part}{#1}% + \fi + {\head@style + \parindent\unitindent + \normalfont + \ifnum \c@secnumdepth >\m@ne + \Large\PartFont\noindent \partname\nobreakspace\thepart + \par\nobreak + \fi + \Large \PartFont \noindent #2% + \markboth{}{}\par}% + \nobreak + \vskip 3ex + \@afterheading} +\def\@spart#1{% + {\parindent \z@ + \head@style + \normalfont + \Large \PartFont \noindent #1\par}% + \nobreak + \vskip 3ex + \@afterheading} +\newcommand*\section{% + \@startsection {section}{1}{\z@}% + {-2\baselineskip\@plus -1\baselineskip \@minus -.5\baselineskip}% + {.01\baselineskip}% + {\normalfont\large\SectFont}} +\newcommand*\SectFont{\bfseries} +\newcommand*\subsection{% + \@startsection{subsection}{2}{\z@}% + {-1\baselineskip\@plus -.5\baselineskip \@minus -.25\baselineskip}% + {.01\baselineskip}% + {\normalfont\normalsize\SSectFont}} +\newcommand*\SSectFont{\bfseries} +\newcommand*\subsubsection{% + \@startsection{subsubsection}{3}{\z@}% + {-1\baselineskip plus -.5\baselineskip minus -.25\baselineskip}% + {.01\baselineskip}% + {\normalfont\normalsize\SSSectFont}} +\newcommand*\SSSectFont{\rmfamily} +\newcommand*\paragraph{% + \@startsection{paragraph}{4}{\z@}% + {3.25ex \@plus1ex \@minus.2ex}% + {-1em}% + {\normalfont\normalsize\ParaFont}} +\newcommand*\ParaFont{\slshape} +\newcommand*\subparagraph{% + \@startsection{subparagraph}{5}{\parindent}% + {3.25ex \@plus1ex \@minus .2ex}% + {-1em}% + {\normalfont\normalsize\SParaFont}} +\newcommand*\SParaFont{\slshape} +\newcommand*\HeadingFonts[7]{% + \renewcommand*\TitleFont{#1}% + \renewcommand*\PartFont{#2}% + \renewcommand*\SectFont{#3}% + \renewcommand*\SSectFont{#4}% + \renewcommand*\SSSectFont{#5}% + \renewcommand*\ParaFont{#6}% + \renewcommand*\SParaFont{#7}} +\setlength\leftmargini {\unitindent} +\setlength\leftmarginii {\othermargin} +\setlength\leftmarginiii{\othermargin} +\setlength\leftmarginiv {\othermargin} +\setlength\leftmarginv {\othermargin} +\setlength\leftmarginvi {1em} +\setlength\leftmargin {\leftmargini} +\setlength \labelsep {5\p@} +\setlength \labelwidth{\leftmargini} +\addtolength\labelwidth{-\labelsep} +\setlength\partopsep{\z@} +\setlength\topsep{\z@} +\@beginparpenalty -\@lowpenalty +\@endparpenalty -\@lowpenalty +\@itempenalty -\@lowpenalty +\def\@listi{% + \leftmargin\unitindent + \labelsep.5em% + \labelwidth\leftmargin + \advance\labelwidth-\labelsep + \parsep \z@ + \topsep -.5\parskip \@plus\p@ + \itemsep 0\p@ \@plus1\p@} +\let\@listI\@listi +\@listi +\def\@listii {\leftmargin\leftmarginii + \labelsep .5em% + \labelwidth\leftmarginii + \advance\labelwidth-\labelsep + \topsep -.5\parskip\@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\def\@listiii{\leftmargin\leftmarginiii + \labelsep .5em% + \labelwidth\leftmarginiii + \advance\labelwidth-\labelsep + \topsep -.5\parskip\@plus\p@ + \parsep \z@ + \partopsep \z@ \@plus\p@ + \itemsep \z@ \@plus\p@} +\def\@listiv {\leftmargin\leftmarginiv + \labelsep .5em% + \labelwidth\leftmarginiv% + \advance\labelwidth-\labelsep + \topsep -.5\parskip\@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\def\@listv {\leftmargin\leftmarginv + \labelsep .5em% + \labelwidth\leftmarginv + \advance\labelwidth-\labelsep% + \topsep -.5\parskip\@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\def\@listvi {\leftmargin\leftmarginvi + \labelsep .5em + \labelwidth\leftmarginvi + \advance\labelwidth{-\labelsep}% + \topsep -.5\parskip\@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\renewcommand*\theenumi{\@arabic\c@enumi} +\renewcommand*\theenumii{\@alph\c@enumii} +\renewcommand*\theenumiii{\@roman\c@enumiii} +\renewcommand*\theenumiv{\@Alph\c@enumiv} +\newcommand*\labelenumi{\theenumi.} +\newcommand*\labelenumii{(\theenumii)} +\newcommand*\labelenumiii{\theenumiii.} +\newcommand*\labelenumiv{\theenumiv.} +\renewcommand*\p@enumii{\theenumi} +\renewcommand*\p@enumiii{\theenumi(\theenumii)} +\renewcommand*\p@enumiv{\p@enumiii\theenumiii} +\renewenvironment{enumerate}{% + \ifnum \@enumdepth >3 + \@toodeep + \else + \advance\@enumdepth \@ne + \edef\@enumctr{enum\romannumeral\the\@enumdepth}% + \list{\csname label\@enumctr\endcsname} + {\usecounter{\@enumctr}% + \if@revlabel + \def\makelabel##1{\hskip .5\unitindent{##1\hfil}}% + \else + \def\makelabel##1{##1\hfil} + \fi + }% + \fi} + {\global\@ignoretrue \endlist} +\newcommand*{\labelitemi}{\textbullet} +\newcommand*{\labelitemii}{\normalfont\bfseries \textendash} +\newcommand*{\labelitemiii}{\textasteriskcentered} +\newcommand*{\labelitemiv}{\textperiodcentered} +\renewenvironment{itemize}{% + \ifnum \@itemdepth >3 + \@toodeep + \else + \advance\@itemdepth \@ne + \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}% + \list{\csname\@itemitem\endcsname}% + {% + \if@revlabel + \def\makelabel##1{\hskip .5\unitindent{##1\hfil}}\else + \def\makelabel##1{##1\hfil} + \fi + }% + \fi} + {\global\@ignoretrue \endlist} +\newenvironment{description} + {\list{}{\labelwidth\z@ \itemindent-\leftmargin + \let\makelabel\descriptionlabel}} + {\endlist} +\newcommand*\descriptionlabel[1]{\hspace\labelsep \bfseries #1} +\def\verbatim{% + \topsep=-.5\parskip + \@verbatim + \frenchspacing\@vobeyspaces \@xverbatim} +\if@titlepage + \newenvironment{abstract}{% + \titlepage + \null\vfil + \hbox{\SectFont \abstractname} + \noindent\ignorespaces} + {\par\vfil\null\endtitlepage} +\else + \newenvironment{abstract}{% + \if@twocolumn + \section*{\abstractname}% + \else + \small + \bgroup\rightskip=\unitindent + \hbox{\SectFont \abstractname}% + \noindent\ignorespaces + \fi} + {\if@twocolumn\else\par\egroup\fi} +\fi +\newenvironment{verse} + {\let\\\@centercr + \list{}{\itemsep\z@ + \itemindent-1.5em% + \listparindent\itemindent + \rightmargin\leftmargin + \advance\leftmargin1.5em}% + \item\relax} + {\endlist} +\newenvironment{quotation} + {\list{}{% + \listparindent\z@ + \itemindent\listparindent + \rightmargin\leftmargin + \parsep\z@ \@plus\p@}% + \item\relax} + {\endlist} +\newenvironment{quote} + {\list{}{\rightmargin\leftmargin}% + \item\relax} + {\endlist} +\def\@begintheorem#1#2{% + \vskip\baselineskip \labelsep=.5em% + \trivlist + \item[\hskip \labelsep{\bfseries #1\ #2}]\slshape} +\def\@opargbegintheorem#1#2#3{% + \vskip\baselineskip \labelsep=.5em% + \trivlist + \item[\hskip \labelsep{\bfseries #1\ #2\ (#3)}]\slshape} +\def\@endtheorem{\endtrivlist \vskip\baselineskip} +\newenvironment{titlepage} + { + \if@twocolumn + \@restonecoltrue\onecolumn + \else + \@restonecolfalse\newpage + \fi + \thispagestyle{empty}% + \if@compatibility + \setcounter{page}\z@ + \else + \setcounter{page}\@ne + \fi} + {\if@restonecol\twocolumn \else \newpage \fi + \setcounter{page}\@ne + } +\newcommand*\appendix{\par + \setcounter{section}{0}% + \setcounter{subsection}{0}% + \gdef\thesection{\@Alph\c@section}} +\setlength\arraycolsep{5\p@} +\setlength\tabcolsep{6\p@} +\setlength\arrayrulewidth{.4\p@} +\setlength\doublerulesep{2\p@} +\setlength\tabbingsep{\labelsep} +\def\@minipagerestore{% + \parskip=.5\baselineskip \@plus .1\baselineskip + \@minus .1\baselineskip} +\skip\@mpfootins = \skip\footins +\setlength\fboxsep{3\p@} +\setlength\fboxrule{.4\p@} +\renewcommand*\theequation{\@arabic\c@equation} +\newcounter{figure} +\renewcommand*\thefigure{\@arabic\c@figure} +\def\fps@figure{tbp} +\def\ftype@figure{1} +\def\ext@figure{lof} +\def\fnum@figure{\figurename\nobreakspace\thefigure} +\newenvironment{figure} + {\@float{figure}} + {\end@float} +\newenvironment{figure*} + {\@dblfloat{figure}} + {\end@dblfloat} +\newcounter{table} +\renewcommand*\thetable{\@arabic\c@table} +\def\fps@table{tbp} +\def\ftype@table{2} +\def\ext@table{lot} +\def\fnum@table{\tablename\nobreakspace\thetable} +\newenvironment{table} + {\@float{table}} + {\end@float} +\newenvironment{table*} + {\@dblfloat{table}} + {\end@dblfloat} +\newlength\abovecaptionskip +\newlength\belowcaptionskip +\setlength\abovecaptionskip{10\p@} +\setlength\belowcaptionskip{0\p@} +\long\def\@makecaption#1#2{% + \vskip\abovecaptionskip + \sbox\@tempboxa{{\CaptionLabelFont#1:} \CaptionTextFont#2}% + \ifdim \wd\@tempboxa >\hsize + {\CaptionLabelFont#1:} \CaptionTextFont#2\par + \else + \global \@minipagefalse + \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}% + \fi + \vskip\belowcaptionskip} +\newcommand*\CaptionLabelFont{\relax} +\newcommand*\CaptionTextFont{\relax} +\newcommand*\CaptionFonts[2]{% + \renewcommand*\CaptionLabelFont{#1}% + \renewcommand*\CaptionTextFont{#2}% + } +\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm} +\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf} +\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt} +\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf} +\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit} +\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\relax} +\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\relax} +\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal} +\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal} +\DeclareRobustCommand*\em{% + \@nomath\em + \ifdim\fontdimen\@ne\font>\z@ + \upshape + \else + \slshape + \fi} +\newcommand*\@pnumwidth{1.55em} +\newcommand*\@tocrmarg {2.55em} +\newcommand*\@dotsep{4.5} +\setcounter{tocdepth}{3} +\newcommand*\tableofcontents{% + \section*{\contentsname}% + \@mkboth{\MakeUppercase{\contentsname}}% + {\MakeUppercase{\contentsname}}% + \@starttoc{toc}% + } +\def\@starttoc#1{\begingroup + \makeatletter + \parskip\z@ + \@input{\jobname.#1}% + \if@filesw + \expandafter\newwrite\csname tf@#1\endcsname + \immediate\openout \csname tf@#1\endcsname \jobname.#1\relax + \fi \global\@nobreakfalse \endgroup} +\newcommand*\@regtocline[3]{% + \ifnum #1>\c@tocdepth + \else + \vskip\z@\@plus.2\p@ + {\hangindent\z@ \@afterindenttrue \interlinepenalty\@M + \leftskip\unitindent + \rightskip\unitindent\@plus 1fil + \parfillskip\z@ + \@tempdima\unitindent + \parindent\z@ + \leavevmode + \hbox{}\hskip -\leftskip\relax#2\nobreak + \hskip 1em \nobreak{\slshape #3}\par + }% + \fi} +\if@oldtoc + \newcommand*\toc@font[1]{\relax} +\else + \newcommand*\toc@font[1]{% + \ifcase#1\relax + \or\bfseries + \or\slshape + \or\rmfamily + \fi} +\fi +\if@oldtoc + \newcommand*\toc@case{\relax} +\else + \newcommand*\toc@case{\MakeUppercase} +\fi +\if@oldtoc +\newcommand*\l@part[2]{% + \ifnum \c@tocdepth >-2\relax + \addpenalty\@secpenalty + \addvspace{2.25em \@plus\p@}% + \begingroup + \setlength\@tempdima{3em}% + \parindent \z@ \rightskip \@pnumwidth + \parfillskip -\@pnumwidth + {\leavevmode + \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par + \nobreak + \if@compatibility + \global\@nobreaktrue + \everypar{\global\@nobreakfalse\everypar{}}% + \fi + \endgroup + \fi} +\else + \newcommand*\l@part{% + \ifnum \c@tocdepth >-2\relax + \addpenalty\@secpenalty + \addvspace{2.25em \@plus \p@}% + \@regtocline{0}% + \fi} +\fi +\if@oldtoc +\newcommand*\l@section[2]{% + \addpenalty\@secpenalty + \addvspace{1.0em \@plus\p@}% + \setlength\@tempdima{1.5em}% + \begingroup + \parindent \z@ \rightskip \@pnumwidth + \parfillskip -\@pnumwidth + \leavevmode \bfseries + \advance\leftskip\@tempdima + \hskip -\leftskip + #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par + \endgroup} +\else + \newcommand*\l@section{\@regtocline{1}} +\fi +\if@oldtoc + \newcommand*\l@subsection {\@dottedtocline{2}{1.5em}{2.3em}} + \newcommand*\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}} + \newcommand*\l@paragraph {\@dottedtocline{4}{7.0em}{4.1em}} + \newcommand*\l@subparagraph {\@dottedtocline{5}{10em}{5em}} +\else + \newcommand*\l@subsection {\@regtocline{2}} + \newcommand*\l@subsubsection{\@regtocline{3}} + \newcommand*\l@paragraph {\@regtocline{4}} + \newcommand*\l@subparagraph {\@regtocline{5}} +\fi +\newcommand*\listoffigures{% + \section*{\listfigurename}% + \@mkboth{\MakeUppercase{\listfigurename}}% + {\MakeUppercase{\listfigurename}}% + \@starttoc{lof}% + } +\if@oldtoc + \newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} +\else + \newcommand*\l@figure{\@regtocline{1}} +\fi +\newcommand*\listoftables{% + \section*{\listtablename}% + \@mkboth{\MakeUppercase{\listtablename}}% + {\MakeUppercase{\listtablename}}% + \@starttoc{lot}% + } +\let\l@table\l@figure +\newdimen\bibindent +\setlength\bibindent{1.5em} +\newcommand*\newblock{} +\newenvironment{thebibliography}[1] + {\section*{\refname}% + \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}% + \list{\@biblabel{\@arabic\c@enumiv}}% + {\settowidth\labelwidth{\@biblabel{#1}}% + \leftmargin\labelwidth + \advance\leftmargin\labelsep + \@openbib@code + \usecounter{enumiv}% + \let\p@enumiv\@empty + \renewcommand*\theenumiv{\@arabic\c@enumiv}}% + \sloppy\clubpenalty4000\widowpenalty4000% + \sfcode`\.\@m} + {\def\@noitemerr + {\@latex@warning{Empty `thebibliography' environment}}% + \endlist} +\renewcommand\newblock{\hskip.11em\@plus.33em\@minus.07em} +\let\@openbib@code\@empty +\newenvironment{theindex}{% + \if@twocolumn + \@restonecolfalse + \else + \@restonecoltrue + \fi + \twocolumn[\section*{\indexname}]% + \@mkboth{\MakeUppercase{\indexname}}{\MakeUppercase{\indexname}}% + \thispagestyle{plain}\parindent\z@ + \columnseprule \z@ + \columnsep 35\p@ + \parskip\z@ \@plus .3\p@\relax + \let\item\@idxitem + }{% + \if@restonecol\onecolumn\else\clearpage\fi} +\newcommand*\@idxitem {\par\hangindent 40\p@} +\newcommand*\subitem {\@idxitem\hspace*{20\p@}} +\newcommand*\subsubitem{\@idxitem\hspace*{30\p@}} +\newcommand*\indexspace{\par\vskip10\p@\@plus5\p@\@minus3\p@\relax} +\renewcommand*\footnoterule{% + \kern-3\p@ + \kern.5\baselineskip + \hrule\@width\unitindent + \kern.4\baselineskip +} +\newcommand*\@makefntext{\@xmakefntext{\normalfont\@thefnmark.}} +\newcommand*\@xmakefntext[1]{% + \parindent\z@ + \def\labelitemi{\textendash}\@revlabeltrue + {\setbox0\hbox {#1\hskip.5em plus 1fil} + \dimen0=2\wd0\relax + \ifdim\dimen0>\unitindent + \global\unitindent\dimen0\relax + \@indentset + \fi} + \leavevmode\hb@xt@.5\unitindent{#1\hfil}} +\newcommand*\contentsname{Contents} +\newcommand*\listfigurename{List of Figures} +\newcommand*\listtablename{List of Tables} +\newcommand*\refname{References} +\newcommand*\indexname{Index} +\newcommand*\figurename{Figure} +\newcommand*\tablename{Table} +\newcommand*\partname{Part} +\newcommand*\appendixname{Appendix} +\newcommand*\abstractname{Abstract} +\newcommand*\seename{see} +\newcommand*\andname{and} +\newcommand*\today{} +\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} +\setlength\columnsep{10\p@} +\setlength\columnseprule{0\p@} +\pagestyle{plain} +\pagenumbering{arabic} % Arabic page numbers +\if@twoside +\else + \raggedbottom +\fi +\if@twocolumn + \twocolumn + \sloppy + \flushbottom +\else + \onecolumn +\fi +\frenchspacing +\endinput +%% +%% End of file `artikel3.cls'. diff --git a/Master/texmf-dist/tex/latex/ntgclass/boek.cls b/Master/texmf-dist/tex/latex/ntgclass/boek.cls new file mode 100644 index 00000000000..55d31ba0dd8 --- /dev/null +++ b/Master/texmf-dist/tex/latex/ntgclass/boek.cls @@ -0,0 +1,1018 @@ +%% +%% This is file `boek.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% ntgclass.dtx (with options: `boek,type1') +%% This is a generated file. +%% +%% Copyright (C) 1990-2004 Nederlandstalige TeX Gebruikersgroep. +%% All rights reserved. +%% +%% This file was generated from file(s) of the NTG document classes distribution. +%% ------------------------------------------------------------------------------ +%% +%% It may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% The Current Maintainer of this work is Johannes Braams. +%% +%% This file may only be distributed together with a copy of the NTG +%% document classes distribution. You may however distribute the NTG +%% document classes distribution without such generated files. +%% +%% The list of all files belonging to the NTG document classes +%% distribution is given in the file `manifest.txt'. +%% +%% The list of derived (unpacked) files belonging to the distribution +%% and covered by LPPL is defined by the unpacking scripts (with +%% extension .ins) which are part of the distribution. +%% Copyright (C) 1994 -- 2004 by Victor Eijkhout and Johannes Braams +%% Based on classes.dtx +%% Copyright (C) 1999 LaTeX3 project, all rights reserved. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\NeedsTeXFormat{LaTeX2e}[1995/06/01] +\ProvidesClass{boek}% + [2004/06/07 v2.1a + NTG LaTeX document class] +\newcommand*\@ptsize{} + +\newif\if@restonecol +\newif\if@titlepage +\@titlepagetrue +\newif\if@openright +\newif\if@mainmatter \@mainmattertrue +\newif\if@oldtoc +\@oldtocfalse +\newif\if@allcaps +\newif\if@revlabel +\DeclareOption{a4paper} + {\setlength\paperheight {297mm}% + \setlength\paperwidth {210mm}} +\DeclareOption{a5paper} + {\setlength\paperheight {210mm}% + \setlength\paperwidth {148mm}} +\DeclareOption{b5paper} + {\setlength\paperheight {250mm}% + \setlength\paperwidth {176mm}} +\DeclareOption{letterpaper} + {\setlength\paperheight {11in}% + \setlength\paperwidth {8.5in}} +\DeclareOption{legalpaper} + {\setlength\paperheight {14in}% + \setlength\paperwidth {8.5in}} +\DeclareOption{executivepaper} + {\setlength\paperheight {10.5in}% + \setlength\paperwidth {7.25in}} +\DeclareOption{landscape} + {\setlength\@tempdima {\paperheight}% + \setlength\paperheight {\paperwidth}% + \setlength\paperwidth {\@tempdima}} +\DeclareOption{10pt}{\renewcommand\@ptsize{0}} +\DeclareOption{11pt}{\renewcommand\@ptsize{1}} +\DeclareOption{12pt}{\renewcommand\@ptsize{2}} +\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse} +\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue} +\DeclareOption{draft}{\setlength\overfullrule{5pt}} +\DeclareOption{final}{\setlength\overfullrule{0pt}} +\DeclareOption{titlepage}{\@titlepagetrue} +\DeclareOption{notitlepage}{\@titlepagefalse} +\DeclareOption{openright}{\@openrighttrue} +\DeclareOption{openany}{\@openrightfalse} +\DeclareOption{voorwerk}{\@titlepagetrue} +\DeclareOption{geenvoorwerk}{\@titlepagefalse} +\DeclareOption{oldtoc}{\@oldtoctrue} +\DeclareOption{mctitle}{\@allcapsfalse} +\DeclareOption{uctitle}{\@allcapstrue} +\DeclareOption{onecolumn}{\@twocolumnfalse} +\DeclareOption{twocolumn}{\@twocolumntrue} +\DeclareOption{leqno}{\input{leqno.clo}} +\DeclareOption{fleqn}{\input{fleqn.clo}} +\DeclareOption{openbib}{% + \AtEndOfPackage{% + \renewcommand\@openbib@code{% + \advance\leftmargin\bibindent + \itemindent -\bibindent + \listparindent \itemindent + \parsep \z@ + }% + \renewcommand\newblock{\par}}% +} +\ExecuteOptions{a4paper,10pt,twoside,onecolumn,final,uctitle,openright} +\ProcessOptions +\input{ntg1\@ptsize.clo} +\setlength\lineskip{1\p@} +\setlength\normallineskip{1\p@} +\renewcommand\baselinestretch{} +\newdimen\unitindent +{\setbox0\hbox{\normalsize\rmfamily 2.2.2\hskip.5em} + \global\unitindent=\wd0} +\newdimen\othermargin +{\setbox0\hbox{\normalsize (m)\hskip.6em}\global\othermargin=\wd0} +\newif\if@needwriteindent +\newcommand*\@indentset{% + \global\parindent=\unitindent + \global\leftmargini=\unitindent + \global\@needwriteindenttrue} +\newcommand*\@writeindent[1]{\immediate\write\@mainaux + {\string\@ifundefined{unitindent}{\string\newdimen\string\unitindent + \let\string\@indentset\relax}{}} + \immediate\write\@mainaux{\global\string\unitindent=#1\string\relax + \string\@indentset \string\relax}} +\AtEndDocument{% + \if@filesw + \if@needwriteindent + \@writeindent{\the\unitindent} + \fi + \fi} +\setlength\parskip{0\p@} +\setlength\parindent{\unitindent} +\@lowpenalty 51 +\@medpenalty 151 +\@highpenalty 301 +\setcounter{topnumber}{2} +\renewcommand\topfraction{.7} +\setcounter{bottomnumber}{1} +\renewcommand\bottomfraction{.3} +\setcounter{totalnumber}{3} +\renewcommand\textfraction{.2} +\renewcommand\floatpagefraction{.5} +\setcounter{dbltopnumber}{2} +\renewcommand\dbltopfraction{.7} +\renewcommand\dblfloatpagefraction{.5} +\let\Thispagestyle\thispagestyle +\newcommand*\@emptypagestyle{empty} +\renewcommand*\pagestyle[1]{\@nameuse{ps@#1}\def\@currentpagestyle{#1}} +\renewcommand*\thispagestyle[1]{% + \ifx\@currentpagestyle\@emptypagestyle + \else + \global\@specialpagetrue + \gdef\@specialstyle{#1}% + \fi} +\renewcommand*\ps@plain{% + \let\@oddhead\@empty\let\@evenhead\@empty + \def\@oddfoot{\hfil\PageFont\thepage}% + \if@twoside + \def\@evenfoot{\PageFont\thepage\hfil}% + \else + \let\@evenfoot\@oddfoot + \fi + \let\@mkboth\@gobbletwo} +\if@twoside + \def\ps@headings{% + \let\@oddfoot\@empty\let\@evenfoot\@empty + \def\@evenhead{{\PageFont\thepage}\hfil\MarkFont\leftmark}% + \def\@oddhead{{\MarkFont\rightmark}\hfil\PageFont\thepage}% + \let\@mkboth\markboth + \def\chaptermark##1{% + \markboth {\MakeUppercase{\ifnum \c@secnumdepth >\m@ne + \if@mainmatter + \@chapapp\ \thechapter. \ % + \fi + \fi + ##1}}{}}% + \def\sectionmark##1{% + \markright {\MakeUppercase{\ifnum \c@secnumdepth >\z@ + \thesection. \ \fi + ##1}}}} +\else + \def\ps@headings{% + \let\@oddfoot\@empty + \def\@oddhead{{\MarkFont\rightmark}\hfil\PageFont\thepage}% + \let\@mkboth\markboth + \def\chaptermark##1{% + \markright {\MakeUppercase{% + \ifnum \c@secnumdepth >\m@ne + \if@mainmatter + \@chapapp\ \thechapter. \ % + \fi + \fi + ##1}}}} +\fi +\def\ps@myheadings{% + \let\@oddfoot\@empty\let\@evenfoot\@empty + \def\@evenhead{{\PageFont\thepage}\hfil\MarkFont\leftmark}% + \def\@oddhead{{\MarkFont\rightmark}\hfil\PageFont\thepage}% + \let\@mkboth\@gobbletwo + \let\chaptermark\@gobble + \let\sectionmark\@gobble + } +\newcommand*\PageFont{\rmfamily} +\newcommand*\MarkFont{\slshape} +\newcommand*\RunningFonts[2]{% + \renewcommand*\PageFont{#1}\renewcommand*\MarkFont{#2}} +\newcommand*\TitleFont{\bfseries} +\renewcommand*\TitleFont{\rmfamily} +\newcommand*\maketitle{% + \begin{titlepage}% + \let\footnotesize\small + \let\footnoterule\relax + \let \footnote \thanks + \long\def\@makefntext##1{\parindent\z@ + \def\labelitemi{\textendash}\@revlabeltrue + \leavevmode\@textsuperscript{\@thefnmark}\kern1em\relax ##1} + \renewcommand*\thefootnote{\@fnsymbol\c@footnote}% + \if@compatibility\setcounter{page}{0}\fi + \null\vfil + \vskip 60\p@ + \begin{center}% + \TitleFont + {\LARGE \def\\{\penalty -\@M} + \if@allcaps + \expandafter\uc@nothanks\@title\thanks\relax + \else + \@title + \fi\par}% + \vskip 3em% + {\large + \lineskip .75em \parindent\z@ + \begin{tabular}[t]{c}% + \if@allcaps + \expandafter\uc@authornothanks\@author\and\relax + \else + \@author + \fi + \end{tabular}\par}% + \vskip 1.5em% + {\large + \if@allcaps + \uppercase\expandafter{\@date}% + \else + \@date + \fi\par}% + \end{center}\par + \@thanks + \vfil\null + \end{titlepage}% + \setcounter{footnote}{0}% + \global\let\thanks\relax + \global\let\maketitle\relax + \global\let\@thanks\@empty + \global\let\@author\@empty + \global\let\@title\@empty + \global\let\@date\@empty + \global\let\title\relax + \global\let\author\relax + \global\let\date\relax + \global\let\and\relax +} +\def\uc@nothanks#1\thanks{\uppercase{#1}\futurelet\@tempa\uc@tx} +\def\uc@authornothanks#1\and{\uc@nothanks#1\thanks\relax + \futurelet\@tempa\uc@ax} +\def\uc@ax{% + \ifx\@tempa\relax + \else + \\ \andname \\ \expandafter\uc@authornothanks + \fi} +\def\uc@tx{\ifx\@tempa\relax + \else \expandafter\uc@ty \fi} +\def\uc@ty#1{\thanks{#1}\uc@nothanks} +\newcommand*\head@style{% + \interlinepenalty \@M + \hyphenpenalty=\@M \exhyphenpenalty=\@M + \rightskip=0cm plus .7\hsize\relax} +\def\@sect#1#2#3#4#5#6[#7]#8{% + \ifnum #2>\c@secnumdepth + \let\@svsec\@empty + \else + \refstepcounter{#1}% + \begingroup + \setbox\@tempboxa=\hbox{#6\relax + \csname the#1\endcsname + \hskip.5em} + \ifdim\wd\@tempboxa>\unitindent + \global\unitindent=\wd\@tempboxa + \@indentset + \fi + \endgroup + \protected@edef\@svsec{\@seccntformat{#1}\relax}% + \fi + \@tempskipa #5\relax + \ifdim \@tempskipa>\z@ + \begingroup + #6{% + \@hangfrom{\hskip #3\relax\@svsec}\head@style #8\endgraf}% + \endgroup + \csname #1mark\endcsname{#7}% + \addcontentsline{toc}{#1}{% + \ifnum #2>\c@secnumdepth + \else + \protect\numberline{\csname the#1\endcsname}% + \fi + \toc@font#2 #7}% + \else + \def\@svsechd{#6\hskip #3\relax + \@svsec #8\csname #1mark\endcsname{#7}% + \addcontentsline{toc}{#1}{% + \ifnum #2>\c@secnumdepth + \else + \protect\numberline{\csname the#1\endcsname}% + \fi + \toc@font#2 #7}}% + \fi + \@xsect{#5}} +\def\@seccntformat#1{% + \hb@xt@\unitindent{\csname the#1\endcsname \hfil}% + } +\def\@ssect#1#2#3#4#5{\@tempskipa #3\relax + \ifdim \@tempskipa>\z@ + \begingroup + #4{% + \@hangfrom{\hskip #1}\head@style #5\endgraf}% + \endgroup + \else + \def\@svsechd{#4\hskip #1\relax #5}% + \fi + \@xsect{#3}} +\newcommand*\chaptermark[1]{} +\setcounter{secnumdepth}{2} +\newcounter {part} +\newcounter {chapter} +\newcounter {section}[chapter] +\newcounter {subsection}[section] +\newcounter {subsubsection}[subsection] +\newcounter {paragraph}[subsubsection] +\newcounter {subparagraph}[paragraph] +\renewcommand*\thepart{\@Roman\c@part} +\renewcommand*\thechapter{\@arabic\c@chapter} +\renewcommand*\thesection{\thechapter.\@arabic\c@section} +\renewcommand*\thesubsection{\thesection.\@arabic\c@subsection} +\renewcommand*\thesubsubsection{\thesubsection.\@arabic\c@subsubsection} +\renewcommand*\theparagraph{\thesubsubsection.\@arabic\c@paragraph} +\renewcommand*\thesubparagraph{\theparagraph.\@arabic\c@subparagraph} +\newcommand*\@chapapp{\chaptername} +\newcommand*\frontmatter{% + \cleardoublepage + \@mainmatterfalse + \pagenumbering{roman}} +\newcommand*\mainmatter{% + \cleardoublepage + \@mainmattertrue + \pagenumbering{arabic}} +\newcommand*\backmatter{% + \if@openright\cleardoublepage\else\clearpage\fi + \@mainmatterfalse} +\newcommand*\part{% + \cleardoublepage + \thispagestyle{empty}% + \if@twocolumn + \onecolumn + \@tempswatrue + \else + \@tempswafalse + \fi + \null\vfil + \secdef\@part\@spart} +\newcommand*\PartFont{\bfseries} +\def\@part[#1]#2{% + \ifnum \c@secnumdepth >-2\relax + \refstepcounter{part}% + \addcontentsline{toc}{part}{\thepart\hspace{1em}\toc@case{#1}}% + \else + \addcontentsline{toc}{part}{\toc@case{#1}}% + \fi + \markboth{}{}% + {\centering + \interlinepenalty \@M + \normalfont + \ifnum \c@secnumdepth >-2\relax + \Large\PartFont + \edef\@tempa{\noexpand\uppercase{\partname}}\@tempa + \nobreakspace\thepart + \par + \vskip 20\p@ + \fi + \Large \PartFont \uppercase{#2}\par}% + \@endpart} +\def\@spart#1{% + {\centering + \interlinepenalty \@M + \normalfont + \Large \PartFont #1\par}% + \@endpart} +\def\@endpart{\vfil\newpage + \if@openright + \null + \thispagestyle{empty}% + \newpage + \fi + \if@tempswa + \twocolumn + \fi} +\newcommand*\chapter{\if@openright\cleardoublepage\else\clearpage\fi + \thispagestyle{plain}% + \global\@topnum\z@ + \@afterindentfalse + \secdef\@chapter\@schapter} +\def\@chapter[#1]#2{% + \ifnum \c@secnumdepth >\m@ne + \if@mainmatter + \refstepcounter{chapter}% + \typeout{\@chapapp\space\thechapter.}% + \addcontentsline{toc}{chapter}% + {\protect\numberline{\thechapter}\toc@font0 #1}% + \else + \addcontentsline{toc}{chapter}{\toc@font0 #1}% + \fi + \else + \addcontentsline{toc}{chapter}{\toc@font0 #1}% + \fi + \chaptermark{#1}% + \addtocontents{lof}{\protect\addvspace{10\p@}}% + \addtocontents{lot}{\protect\addvspace{10\p@}}% + \if@twocolumn + \@topnewpage[\@makechapterhead{#2}]% + \else + \@makechapterhead{#2}% + \@afterheading + \fi} +\newcommand*\ChapFont{\bfseries} +\def\@makechapterhead#1{% + \vspace*{50\p@ \@plus 20\p@}% + {\setlength\parindent{\z@}% + \setlength\parskip {\z@}% + \head@style \normalfont + \ifnum \c@secnumdepth >\m@ne + \if@mainmatter + \Large\ChapFont \@chapapp{} \thechapter + \par\nobreak + \vskip 20\p@ + \fi + \fi + \Large \ChapFont #1\par + \nobreak + \vskip 40\p@ + }} +\def\@schapter#1{\if@twocolumn + \@topnewpage[\@makeschapterhead{#1}]% + \else + \@makeschapterhead{#1}% + \@afterheading + \fi} +\def\@makeschapterhead#1{% + \vspace*{50\p@\@plus 20\p@}% + {\setlength\parindent{\z@}% + \setlength\parskip{\z@}% + \head@style + \normalfont + \Large \ChapFont #1\par + \nobreak + \vskip 40\p@ + }} +\newcommand*\section{% + \@startsection {section}{1}{\z@}% + {-2\baselineskip\@plus -1\baselineskip \@minus -.5\baselineskip}% + {.5\baselineskip}% + {\normalfont\large\SectFont}} +\newcommand*\SectFont{\bfseries} +\newcommand*\subsection{% + \@startsection{subsection}{2}{\z@}% + {-1\baselineskip\@plus -.5\baselineskip \@minus -.25\baselineskip}% + {.25\baselineskip}% + {\normalfont\normalsize\SSectFont}} +\newcommand*\SSectFont{\bfseries} +\newcommand*\subsubsection{% + \@startsection{subsubsection}{3}{\z@}% + {-1\baselineskip plus -.5\baselineskip minus -.25\baselineskip}% + {.25\baselineskip}% + {\normalfont\normalsize\SSSectFont}} +\newcommand*\SSSectFont{\slshape} +\newcommand*\paragraph{% + \@startsection{paragraph}{4}{\z@}% + {3.25ex \@plus1ex \@minus.2ex}% + {-1em}% + {\normalfont\normalsize\ParaFont}} +\newcommand*\ParaFont{\slshape} +\newcommand*\subparagraph{% + \@startsection{subparagraph}{5}{\parindent}% + {3.25ex \@plus1ex \@minus .2ex}% + {-1em}% + {\normalfont\normalsize\SParaFont}} +\newcommand*\SParaFont{\slshape} +\newcommand*\HeadingFonts[8]{% + \renewcommand*\TitleFont{#1}% + \renewcommand*\PartFont{#2}% + \renewcommand*\ChapFont{#3}% + \renewcommand*\SectFont{#4}% + \renewcommand*\SSectFont{#5}% + \renewcommand*\SSSectFont{#6}% + \renewcommand*\ParaFont{#7}% + \renewcommand*\SParaFont{#8}} +\setlength\leftmargini {\unitindent} +\setlength\leftmarginii {\othermargin} +\setlength\leftmarginiii{\othermargin} +\setlength\leftmarginiv {\othermargin} +\setlength\leftmarginv {\othermargin} +\setlength\leftmarginvi {1em} +\setlength\leftmargin {\leftmargini} +\setlength \labelsep {5\p@} +\setlength \labelwidth{\leftmargini} +\addtolength\labelwidth{-\labelsep} +\setlength\partopsep{\z@} +\setlength\topsep{\z@} +\@beginparpenalty -\@lowpenalty +\@endparpenalty -\@lowpenalty +\@itempenalty -\@lowpenalty +\def\@listi{% + \leftmargin\unitindent + \labelsep.5em% + \labelwidth\leftmargin + \advance\labelwidth-\labelsep + \parsep \z@ + \topsep 0\p@ \@plus\p@ + \itemsep 0\p@ \@plus1\p@} +\let\@listI\@listi +\@listi +\def\@listii {\leftmargin\leftmarginii + \labelsep .5em% + \labelwidth\leftmarginii + \advance\labelwidth-\labelsep + \topsep 0\p@ \@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\def\@listiii{\leftmargin\leftmarginiii + \labelsep .5em% + \labelwidth\leftmarginiii + \advance\labelwidth-\labelsep + \topsep 0\p@ \@plus\p@ + \parsep \z@ + \partopsep \z@ \@plus\p@ + \itemsep \z@ \@plus\p@} +\def\@listiv {\leftmargin\leftmarginiv + \labelsep .5em% + \labelwidth\leftmarginiv% + \advance\labelwidth-\labelsep + \topsep 0\p@ \@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\def\@listv {\leftmargin\leftmarginv + \labelsep .5em% + \labelwidth\leftmarginv + \advance\labelwidth-\labelsep% + \topsep 0\p@ \@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\def\@listvi {\leftmargin\leftmarginvi + \labelsep .5em + \labelwidth\leftmarginvi + \advance\labelwidth{-\labelsep}% + \topsep 0\p@ \@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\renewcommand*\theenumi{\@arabic\c@enumi} +\renewcommand*\theenumii{\@alph\c@enumii} +\renewcommand*\theenumiii{\@roman\c@enumiii} +\renewcommand*\theenumiv{\@Alph\c@enumiv} +\newcommand*\labelenumi{\theenumi.} +\newcommand*\labelenumii{(\theenumii)} +\newcommand*\labelenumiii{\theenumiii.} +\newcommand*\labelenumiv{\theenumiv.} +\renewcommand*\p@enumii{\theenumi} +\renewcommand*\p@enumiii{\theenumi(\theenumii)} +\renewcommand*\p@enumiv{\p@enumiii\theenumiii} +\renewenvironment{enumerate}{% + \ifnum \@enumdepth >3 + \@toodeep + \else + \advance\@enumdepth \@ne + \edef\@enumctr{enum\romannumeral\the\@enumdepth}% + \list{\csname label\@enumctr\endcsname} + {\usecounter{\@enumctr}% + \ifnum \@listdepth=1 + \if@revlabel + \def\makelabel##1{\hskip .5\unitindent{##1\hfil}}% + \else + \def\makelabel##1{\hfil##1} + \fi + \else + \def\makelabel##1{##1\hfil}% + \fi + }% + \fi} + {\global\@ignoretrue \endlist} +\newcommand*{\labelitemi}{\textbullet} +\newcommand*{\labelitemii}{\normalfont\bfseries \textendash} +\newcommand*{\labelitemiii}{\textasteriskcentered} +\newcommand*{\labelitemiv}{\textperiodcentered} +\renewenvironment{itemize}{% + \ifnum \@itemdepth >3 + \@toodeep + \else + \advance\@itemdepth \@ne + \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}% + \list{\csname\@itemitem\endcsname}% + {% + \ifnum \@listdepth=1\relax + \if@revlabel + \def\makelabel##1{\hskip .5\unitindent{##1\hfil}}\else + \def\makelabel##1{\hfil##1} + \fi + \else + \def\makelabel##1{##1\hfil} + \fi + }% + \fi} + {\global\@ignoretrue \endlist} +\newenvironment{description} + {\list{}{\labelwidth\z@ \itemindent-\leftmargin + \let\makelabel\descriptionlabel}} + {\endlist} +\newcommand*\descriptionlabel[1]{\hspace\labelsep \bfseries #1} +\def\center + {\topsep=.25\baselineskip \@plus .1\baselineskip + \@minus .1\baselineskip + \trivlist \centering\item[]} +\let\endcenter\endtrivlist +\def\flushleft + {\topsep=.25\baselineskip \@plus .1\baselineskip + \@minus .1\baselineskip + \trivlist \raggedright\item[]} +\let\endflushleft=\endtrivlist +\def\flushright + {\topsep=.25\baselineskip \@plus .1\baselineskip + \@minus .1\baselineskip + \trivlist \raggedleft\item[]} +\let\endflushright=\endtrivlist +\def\verbatim{% + \topsep=.25\baselineskip \@plus .1\baselineskip + \@minus .1\baselineskip + \@verbatim + \leftskip\unitindent + \frenchspacing\@vobeyspaces \@xverbatim} +\def\endverbatim{\if@newlist \leavevmode\fi\endtrivlist} + \newenvironment{abstract}{% + \titlepage + \null\vfil + \hbox{\SectFont \abstractname} + \noindent\ignorespaces} + {\par\vfil\null\endtitlepage} +\newenvironment{verse} + {\let\\\@centercr + \list{}{\itemsep\z@ + \itemindent-1.5em% + \listparindent\itemindent + \rightmargin\leftmargin + \advance\leftmargin1.5em}% + \item\relax} + {\endlist} +\newenvironment{quotation} + {\list{}{% + \listparindent\z@ + \listparindent1.5em% + \itemindent\listparindent + \rightmargin\leftmargin + \parsep\z@ \@plus\p@}% + \item\relax} + {\endlist} +\newenvironment{quote} + {\list{}{\rightmargin\leftmargin}% + \item\relax} + {\endlist} +\def\@begintheorem#1#2{% + \vskip\baselineskip \labelsep=.5em% + \trivlist + \item[\hskip \labelsep{\bfseries #1\ #2}]\slshape} +\def\@opargbegintheorem#1#2#3{% + \vskip\baselineskip \labelsep=.5em% + \trivlist + \item[\hskip \labelsep{\bfseries #1\ #2\ (#3)}]\slshape} +\def\@endtheorem{\endtrivlist \vskip\baselineskip} +\newenvironment{titlepage} + { + \cleardoublepage + \if@twocolumn + \@restonecoltrue\onecolumn + \else + \@restonecolfalse\newpage + \fi + \thispagestyle{empty}% + \if@compatibility + \setcounter{page}\z@ + \fi} + {\if@restonecol\twocolumn \else \newpage \fi + } +\newcommand*\appendix{\par + \setcounter{chapter}{0}% + \setcounter{section}{0}% + \gdef\@chapapp{\appendixname}% + \gdef\thechapter{\@Alph\c@chapter}} +\setlength\arraycolsep{5\p@} +\setlength\tabcolsep{6\p@} +\setlength\arrayrulewidth{.4\p@} +\setlength\doublerulesep{2\p@} +\setlength\tabbingsep{\labelsep} +\def\@minipagerestore{\parindent\unitindent} +\skip\@mpfootins = \skip\footins +\setlength\fboxsep{3\p@} +\setlength\fboxrule{.4\p@} +\@addtoreset{equation}{chapter} +\renewcommand*\theequation{% + \ifnum \c@chapter>\z@ \thechapter.\fi\@arabic\c@equation} +\newcounter{figure}[chapter] +\renewcommand*\thefigure{% + \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@figure} +\def\fps@figure{tbp} +\def\ftype@figure{1} +\def\ext@figure{lof} +\def\fnum@figure{\figurename\nobreakspace\thefigure} +\newenvironment{figure} + {\@float{figure}} + {\end@float} +\newenvironment{figure*} + {\@dblfloat{figure}} + {\end@dblfloat} +\newcounter{table}[chapter] +\renewcommand*\thetable{% + \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@table} +\def\fps@table{tbp} +\def\ftype@table{2} +\def\ext@table{lot} +\def\fnum@table{\tablename\nobreakspace\thetable} +\newenvironment{table} + {\@float{table}} + {\end@float} +\newenvironment{table*} + {\@dblfloat{table}} + {\end@dblfloat} +\newlength\abovecaptionskip +\newlength\belowcaptionskip +\setlength\abovecaptionskip{10\p@} +\setlength\belowcaptionskip{0\p@} +\long\def\@makecaption#1#2{% + \vskip\abovecaptionskip + \sbox\@tempboxa{{\CaptionLabelFont#1:} \CaptionTextFont#2}% + \ifdim \wd\@tempboxa >\hsize + {\CaptionLabelFont#1:} \CaptionTextFont#2\par + \else + \global \@minipagefalse + \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}% + \fi + \vskip\belowcaptionskip} +\newcommand*\CaptionLabelFont{\relax} +\newcommand*\CaptionTextFont{\relax} +\newcommand*\CaptionFonts[2]{% + \renewcommand*\CaptionLabelFont{#1}% + \renewcommand*\CaptionTextFont{#2}% + } +\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm} +\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf} +\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt} +\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf} +\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit} +\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\relax} +\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\relax} +\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal} +\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal} +\DeclareRobustCommand*\em{% + \@nomath\em + \ifdim\fontdimen\@ne\font>\z@ + \upshape + \else + \slshape + \fi} +\newcommand*\@pnumwidth{1.55em} +\newcommand*\@tocrmarg {2.55em} +\newcommand*\@dotsep{4.5} +\setcounter{tocdepth}{2} +\newcommand*\tableofcontents{% + \if@twocolumn + \@restonecoltrue\onecolumn + \else + \@restonecolfalse + \fi + \chapter*{\contentsname}% + \@mkboth{\MakeUppercase{\contentsname}}% + {\MakeUppercase{\contentsname}}% + \@starttoc{toc}% + \if@restonecol\twocolumn\fi + } +\newcommand*\@regtocline[3]{% + \ifnum #1>\c@tocdepth + \else + \vskip\z@\@plus.2\p@ + {\hangindent\z@ \@afterindenttrue \interlinepenalty\@M + \leftskip\unitindent + \rightskip\unitindent\@plus 1fil + \parfillskip\z@ + \@tempdima\unitindent + \parindent\z@ + \leavevmode + \hbox{}\hskip -\leftskip\relax#2\nobreak + \hskip 1em \nobreak{\slshape #3}\par + }% + \fi} +\if@oldtoc + \newcommand*\toc@font[1]{\relax} +\else + \newcommand*\toc@font[1]{% + \ifcase#1\relax + \bfseries + \or\slshape + \or\rmfamily + \fi} +\fi +\if@oldtoc + \newcommand*\toc@case{\relax} +\else + \newcommand*\toc@case{\MakeUppercase} +\fi +\if@oldtoc +\newcommand*\l@part[2]{% + \ifnum \c@tocdepth >-2\relax + \addpenalty{-\@highpenalty}% + \addvspace{2.25em \@plus\p@}% + \begingroup + \setlength\@tempdima{3em}% + \parindent \z@ \rightskip \@pnumwidth + \parfillskip -\@pnumwidth + {\leavevmode + \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par + \nobreak + \global\@nobreaktrue + \everypar{\global\@nobreakfalse\everypar{}}% + \endgroup + \fi} +\else + \newcommand*\l@part{% + \ifnum \c@tocdepth >-2\relax + \addpenalty{-\@highpenalty}% + \addvspace{2.25em \@plus \p@}% + \@regtocline{0}% + \fi} +\fi +\if@oldtoc +\newcommand*\l@chapter[2]{% + \addpenalty{-\@highpenalty}% + \vskip 1.0em \@plus\p@ + \setlength\@tempdima{1.5em}% + \begingroup + \parindent \z@ \rightskip \@pnumwidth + \parfillskip -\@pnumwidth + \leavevmode \bfseries + \advance\leftskip\@tempdima + \hskip -\leftskip + #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par + \penalty\@highpenalty + \endgroup} +\else + \newcommand*\l@chapter{\@regtocline{0}} +\fi +\if@oldtoc + \newcommand*\l@section {\@dottedtocline{1}{1.5em}{2.3em}} +\else + \newcommand*\l@section {\@regtocline{1}} +\fi +\if@oldtoc + \newcommand*\l@subsection {\@dottedtocline{2}{3.8em}{3.2em}} + \newcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}} + \newcommand*\l@paragraph {\@dottedtocline{4}{10em}{5em}} + \newcommand*\l@subparagraph {\@dottedtocline{5}{12em}{6em}} +\else + \newcommand*\l@subsection {\@regtocline{2}} + \newcommand*\l@subsubsection{\@regtocline{3}} + \newcommand*\l@paragraph {\@regtocline{4}} + \newcommand*\l@subparagraph {\@regtocline{5}} +\fi +\newcommand*\listoffigures{% + \if@twocolumn + \@restonecoltrue\onecolumn + \else + \@restonecolfalse + \fi + \chapter*{\listfigurename}% + \@mkboth{\MakeUppercase{\listfigurename}}% + {\MakeUppercase{\listfigurename}}% + \@starttoc{lof}% + \if@restonecol\twocolumn\fi + } +\if@oldtoc + \newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} +\else + \newcommand*\l@figure{\@regtocline{1}} +\fi +\newcommand*\listoftables{% + \if@twocolumn + \@restonecoltrue\onecolumn + \else + \@restonecolfalse + \fi + \chapter*{\listtablename}% + \@mkboth{\MakeUppercase{\listtablename}}% + {\MakeUppercase{\listtablename}}% + \@starttoc{lot}% + \if@restonecol\twocolumn\fi + } +\let\l@table\l@figure +\newdimen\bibindent +\setlength\bibindent{1.5em} +\newcommand*\newblock{} +\newenvironment{thebibliography}[1] + {\chapter*{\bibname}% + \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}% + \list{\@biblabel{\@arabic\c@enumiv}}% + {\settowidth\labelwidth{\@biblabel{#1}}% + \leftmargin\labelwidth + \advance\leftmargin\labelsep + \@openbib@code + \usecounter{enumiv}% + \let\p@enumiv\@empty + \renewcommand*\theenumiv{\@arabic\c@enumiv}}% + \sloppy\clubpenalty4000\widowpenalty4000% + \sfcode`\.\@m} + {\def\@noitemerr + {\@latex@warning{Empty `thebibliography' environment}}% + \endlist} +\renewcommand\newblock{\hskip.11em\@plus.33em\@minus.07em} +\let\@openbib@code\@empty +\newenvironment{theindex}{% + \if@twocolumn + \@restonecolfalse + \else + \@restonecoltrue + \fi + \twocolumn[\@makeschapterhead{\indexname}]% + \@mkboth{\MakeUppercase{\indexname}}{\MakeUppercase{\indexname}}% + \thispagestyle{plain}\parindent\z@ + \columnseprule \z@ + \columnsep 35\p@ + \parskip\z@ \@plus .3\p@\relax + \let\item\@idxitem + }{% + \if@restonecol\onecolumn\else\clearpage\fi} +\newcommand*\@idxitem {\par\hangindent 40\p@} +\newcommand*\subitem {\@idxitem\hspace*{20\p@}} +\newcommand*\subsubitem{\@idxitem\hspace*{30\p@}} +\newcommand*\indexspace{\par\vskip10\p@\@plus5\p@\@minus3\p@\relax} +\renewcommand*\footnoterule{% + \kern-3\p@ + \kern.5\baselineskip + \hrule\@width\unitindent + \kern.4\baselineskip +} +\@addtoreset{footnote}{chapter} +\newcommand*\@makefntext{\@xmakefntext{\normalfont\@thefnmark.}} +\newcommand*\@xmakefntext[1]{% + \parindent\z@ + \def\labelitemi{\textendash}\@revlabeltrue + {\setbox0\hbox {#1\hskip.5em plus 1fil} + \dimen0=2\wd0\relax + \ifdim\dimen0>\unitindent + \global\unitindent\dimen0\relax + \@indentset + \fi} + \leavevmode\hb@xt@.5\unitindent{#1\hfil}} +\newcommand*\contentsname{Contents} +\newcommand*\listfigurename{List of Figures} +\newcommand*\listtablename{List of Tables} +\newcommand*\bibname{Bibliography} +\newcommand*\indexname{Index} +\newcommand*\figurename{Figure} +\newcommand*\tablename{Table} +\newcommand*\partname{Part} +\newcommand*\chaptername{Chapter} +\newcommand*\appendixname{Appendix} +\newcommand*\seename{see} +\newcommand*\andname{and} +\newcommand*\today{} +\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} +\setlength\columnsep{10\p@} +\setlength\columnseprule{0\p@} +\pagestyle{headings} +\pagenumbering{arabic} % Arabic page numbers +\if@twocolumn + \twocolumn + \sloppy + \flushbottom +\else + \onecolumn +\fi +\frenchspacing +\endinput +%% +%% End of file `boek.cls'. diff --git a/Master/texmf-dist/tex/latex/ntgclass/boek3.cls b/Master/texmf-dist/tex/latex/ntgclass/boek3.cls new file mode 100644 index 00000000000..e1c936b528a --- /dev/null +++ b/Master/texmf-dist/tex/latex/ntgclass/boek3.cls @@ -0,0 +1,1005 @@ +%% +%% This is file `boek3.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% ntgclass.dtx (with options: `boek,type3') +%% This is a generated file. +%% +%% Copyright (C) 1990-2004 Nederlandstalige TeX Gebruikersgroep. +%% All rights reserved. +%% +%% This file was generated from file(s) of the NTG document classes distribution. +%% ------------------------------------------------------------------------------ +%% +%% It may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% The Current Maintainer of this work is Johannes Braams. +%% +%% This file may only be distributed together with a copy of the NTG +%% document classes distribution. You may however distribute the NTG +%% document classes distribution without such generated files. +%% +%% The list of all files belonging to the NTG document classes +%% distribution is given in the file `manifest.txt'. +%% +%% The list of derived (unpacked) files belonging to the distribution +%% and covered by LPPL is defined by the unpacking scripts (with +%% extension .ins) which are part of the distribution. +%% Copyright (C) 1994 -- 2004 by Victor Eijkhout and Johannes Braams +%% Based on classes.dtx +%% Copyright (C) 1999 LaTeX3 project, all rights reserved. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\NeedsTeXFormat{LaTeX2e}[1995/06/01] +\ProvidesClass{boek3}% + [2004/06/07 v2.1a + NTG LaTeX document class] +\newcommand*\@ptsize{} + +\newif\if@restonecol +\newif\if@titlepage +\@titlepagetrue +\newif\if@openright +\newif\if@mainmatter \@mainmattertrue +\newif\if@oldtoc +\@oldtocfalse +\newif\if@allcaps +\newif\if@titlecentered +\@titlecenteredfalse +\newif\if@revlabel +\DeclareOption{a4paper} + {\setlength\paperheight {297mm}% + \setlength\paperwidth {210mm}} +\DeclareOption{a5paper} + {\setlength\paperheight {210mm}% + \setlength\paperwidth {148mm}} +\DeclareOption{b5paper} + {\setlength\paperheight {250mm}% + \setlength\paperwidth {176mm}} +\DeclareOption{letterpaper} + {\setlength\paperheight {11in}% + \setlength\paperwidth {8.5in}} +\DeclareOption{legalpaper} + {\setlength\paperheight {14in}% + \setlength\paperwidth {8.5in}} +\DeclareOption{executivepaper} + {\setlength\paperheight {10.5in}% + \setlength\paperwidth {7.25in}} +\DeclareOption{landscape} + {\setlength\@tempdima {\paperheight}% + \setlength\paperheight {\paperwidth}% + \setlength\paperwidth {\@tempdima}} +\DeclareOption{10pt}{\renewcommand\@ptsize{0}} +\DeclareOption{11pt}{\renewcommand\@ptsize{1}} +\DeclareOption{12pt}{\renewcommand\@ptsize{2}} +\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse} +\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue} +\DeclareOption{draft}{\setlength\overfullrule{5pt}} +\DeclareOption{final}{\setlength\overfullrule{0pt}} +\DeclareOption{titlepage}{\@titlepagetrue} +\DeclareOption{notitlepage}{\@titlepagefalse} +\DeclareOption{openright}{\@openrighttrue} +\DeclareOption{openany}{\@openrightfalse} +\DeclareOption{voorwerk}{\@titlepagetrue} +\DeclareOption{geenvoorwerk}{\@titlepagefalse} +\DeclareOption{oldtoc}{\@oldtoctrue} +\DeclareOption{titlecentered}{\@titlecenteredtrue} +\DeclareOption{mctitle}{\@allcapsfalse} +\DeclareOption{uctitle}{\@allcapstrue} +\DeclareOption{onecolumn}{\@twocolumnfalse} +\DeclareOption{twocolumn}{\@twocolumntrue} +\DeclareOption{leqno}{\input{leqno.clo}} +\DeclareOption{fleqn}{\input{fleqn.clo}} +\DeclareOption{openbib}{% + \AtEndOfPackage{% + \renewcommand\@openbib@code{% + \advance\leftmargin\bibindent + \itemindent -\bibindent + \listparindent \itemindent + \parsep \z@ + }% + \renewcommand\newblock{\par}}% +} +\ExecuteOptions{a4paper,10pt,twoside,onecolumn,final,uctitle,openright} +\ProcessOptions +\input{ntg1\@ptsize.clo} +\setlength\lineskip{1\p@} +\setlength\normallineskip{1\p@} +\renewcommand\baselinestretch{} +\newdimen\unitindent +{\setbox0\hbox{\normalsize\rmfamily 2.2.2\hskip.5em} + \global\unitindent=\wd0} +\newdimen\othermargin +{\setbox0\hbox{\normalsize (m)\hskip.6em}\global\othermargin=\wd0} +\newif\if@needwriteindent +\newcommand*\@indentset{% + \global\leftmargini=\unitindent + \global\@needwriteindenttrue} +\newcommand*\@writeindent[1]{\immediate\write\@mainaux + {\string\@ifundefined{unitindent}{\string\newdimen\string\unitindent + \let\string\@indentset\relax}{}} + \immediate\write\@mainaux{\global\string\unitindent=#1\string\relax + \string\@indentset \string\relax}} +\AtEndDocument{% + \if@filesw + \if@needwriteindent + \@writeindent{\the\unitindent} + \fi + \fi} +\setlength\parskip{.5\baselineskip \@plus .1\baselineskip + \@minus .1\baselineskip} +\setlength\parindent{\z@} +\@lowpenalty 51 +\@medpenalty 151 +\@highpenalty 301 +\setcounter{topnumber}{2} +\renewcommand\topfraction{.7} +\setcounter{bottomnumber}{1} +\renewcommand\bottomfraction{.3} +\setcounter{totalnumber}{3} +\renewcommand\textfraction{.2} +\renewcommand\floatpagefraction{.5} +\setcounter{dbltopnumber}{2} +\renewcommand\dbltopfraction{.7} +\renewcommand\dblfloatpagefraction{.5} +\let\Thispagestyle\thispagestyle +\newcommand*\@emptypagestyle{empty} +\renewcommand*\pagestyle[1]{\@nameuse{ps@#1}\def\@currentpagestyle{#1}} +\renewcommand*\thispagestyle[1]{% + \ifx\@currentpagestyle\@emptypagestyle + \else + \global\@specialpagetrue + \gdef\@specialstyle{#1}% + \fi} +\renewcommand*\ps@plain{% + \let\@oddhead\@empty\let\@evenhead\@empty + \def\@oddfoot{\hfil\PageFont\thepage}% + \if@twoside + \def\@evenfoot{\PageFont\thepage\hfil}% + \else + \let\@evenfoot\@oddfoot + \fi + \let\@mkboth\@gobbletwo} +\if@twoside + \def\ps@headings{% + \let\@oddfoot\@empty\let\@evenfoot\@empty + \def\@evenhead{{\PageFont\thepage}\hfil\MarkFont\leftmark}% + \def\@oddhead{{\MarkFont\rightmark}\hfil\PageFont\thepage}% + \let\@mkboth\markboth + \def\chaptermark##1{% + \markboth {\MakeUppercase{\ifnum \c@secnumdepth >\m@ne + \if@mainmatter + \@chapapp\ \thechapter. \ % + \fi + \fi + ##1}}{}}% + \def\sectionmark##1{% + \markright {\MakeUppercase{\ifnum \c@secnumdepth >\z@ + \thesection. \ \fi + ##1}}}} +\else + \def\ps@headings{% + \let\@oddfoot\@empty + \def\@oddhead{{\MarkFont\rightmark}\hfil\PageFont\thepage}% + \let\@mkboth\markboth + \def\chaptermark##1{% + \markright {\MakeUppercase{% + \ifnum \c@secnumdepth >\m@ne + \if@mainmatter + \@chapapp\ \thechapter. \ % + \fi + \fi + ##1}}}} +\fi +\def\ps@myheadings{% + \let\@oddfoot\@empty\let\@evenfoot\@empty + \def\@evenhead{{\PageFont\thepage}\hfil\MarkFont\leftmark}% + \def\@oddhead{{\MarkFont\rightmark}\hfil\PageFont\thepage}% + \let\@mkboth\@gobbletwo + \let\chaptermark\@gobble + \let\sectionmark\@gobble + } +\newcommand*\PageFont{\rmfamily} +\newcommand*\MarkFont{\slshape} +\newcommand*\RunningFonts[2]{% + \renewcommand*\PageFont{#1}\renewcommand*\MarkFont{#2}} +\newcommand*\TitleFont{\bfseries} +\renewcommand*\TitleFont{\rmfamily} +\newcommand*\maketitle{% + \begin{titlepage}% + \let\footnotesize\small + \let\footnoterule\relax + \let \footnote \thanks + \long\def\@makefntext##1{\parindent\z@ + \def\labelitemi{\textendash}\@revlabeltrue + \leavevmode\@textsuperscript{\@thefnmark}\kern1em\relax ##1} + \renewcommand*\thefootnote{\@fnsymbol\c@footnote}% + \if@compatibility\setcounter{page}{0}\fi + \null\vfil + \vskip 60\p@ + \begin{center}% + \TitleFont + {\LARGE \def\\{\penalty -\@M} + \if@allcaps + \expandafter\uc@nothanks\@title\thanks\relax + \else + \@title + \fi\par}% + \vskip 3em% + {\large + \lineskip .75em \parindent\z@ + \begin{tabular}[t]{c}% + \if@allcaps + \expandafter\uc@authornothanks\@author\and\relax + \else + \@author + \fi + \end{tabular}\par}% + \vskip 1.5em% + {\large + \if@allcaps + \uppercase\expandafter{\@date}% + \else + \@date + \fi\par}% + \end{center}\par + \@thanks + \vfil\null + \end{titlepage}% + \setcounter{footnote}{0}% + \global\let\thanks\relax + \global\let\maketitle\relax + \global\let\@thanks\@empty + \global\let\@author\@empty + \global\let\@title\@empty + \global\let\@date\@empty + \global\let\title\relax + \global\let\author\relax + \global\let\date\relax + \global\let\and\relax +} +\def\uc@nothanks#1\thanks{\uppercase{#1}\futurelet\@tempa\uc@tx} +\def\uc@authornothanks#1\and{\uc@nothanks#1\thanks\relax + \futurelet\@tempa\uc@ax} +\def\uc@ax{% + \ifx\@tempa\relax + \else + \\ \andname \\ \expandafter\uc@authornothanks + \fi} +\def\uc@tx{\ifx\@tempa\relax + \else \expandafter\uc@ty \fi} +\def\uc@ty#1{\thanks{#1}\uc@nothanks} +\newcommand*\head@style{% + \interlinepenalty \@M + \hyphenpenalty=\@M \exhyphenpenalty=\@M + \rightskip=0cm plus .7\hsize\relax} +\def\@sect#1#2#3#4#5#6[#7]#8{% + \ifnum #2>\c@secnumdepth + \let\@svsec\@empty + \else + \refstepcounter{#1}% + \begingroup + \setbox\@tempboxa=\hbox{#6\relax + \csname the#1\endcsname + \hskip.5em} + \ifdim\wd\@tempboxa>\unitindent + \global\unitindent=\wd\@tempboxa + \@indentset + \fi + \endgroup + \protected@edef\@svsec{\@seccntformat{#1}\relax}% + \fi + \@tempskipa #5\relax + \ifdim \@tempskipa>\z@ + \begingroup + #6{% + \@hangfrom{\hskip #3\relax\@svsec}\head@style #8\endgraf}% + \endgroup + \csname #1mark\endcsname{#7}% + \addcontentsline{toc}{#1}{% + \ifnum #2>\c@secnumdepth + \else + \protect\numberline{\csname the#1\endcsname}% + \fi + \toc@font#2 #7}% + \else + \def\@svsechd{#6\hskip #3\relax + \@svsec #8\csname #1mark\endcsname{#7}% + \addcontentsline{toc}{#1}{% + \ifnum #2>\c@secnumdepth + \else + \protect\numberline{\csname the#1\endcsname}% + \fi + \toc@font#2 #7}}% + \fi + \@xsect{#5}} +\def\@seccntformat#1{% + \hb@xt@\unitindent{\csname the#1\endcsname \hfil}% + } +\def\@ssect#1#2#3#4#5{\@tempskipa #3\relax + \ifdim \@tempskipa>\z@ + \begingroup + #4{% + \@hangfrom{\hskip #1}\head@style #5\endgraf}% + \endgroup + \else + \def\@svsechd{#4\hskip #1\relax #5}% + \fi + \@xsect{#3}} +\newcommand*\chaptermark[1]{} +\setcounter{secnumdepth}{2} +\newcounter {part} +\newcounter {chapter} +\newcounter {section}[chapter] +\newcounter {subsection}[section] +\newcounter {subsubsection}[subsection] +\newcounter {paragraph}[subsubsection] +\newcounter {subparagraph}[paragraph] +\renewcommand*\thepart{\@Roman\c@part} +\renewcommand*\thechapter{\@arabic\c@chapter} +\renewcommand*\thesection{\thechapter.\@arabic\c@section} +\renewcommand*\thesubsection{\thesection.\@arabic\c@subsection} +\renewcommand*\thesubsubsection{\thesubsection.\@arabic\c@subsubsection} +\renewcommand*\theparagraph{\thesubsubsection.\@arabic\c@paragraph} +\renewcommand*\thesubparagraph{\theparagraph.\@arabic\c@subparagraph} +\newcommand*\@chapapp{\chaptername} +\newcommand*\frontmatter{% + \cleardoublepage + \@mainmatterfalse + \pagenumbering{roman}} +\newcommand*\mainmatter{% + \cleardoublepage + \@mainmattertrue + \pagenumbering{arabic}} +\newcommand*\backmatter{% + \if@openright\cleardoublepage\else\clearpage\fi + \@mainmatterfalse} +\newcommand*\part{% + \cleardoublepage + \thispagestyle{empty}% + \if@twocolumn + \onecolumn + \@tempswatrue + \else + \@tempswafalse + \fi + \null\vfil + \secdef\@part\@spart} +\newcommand*\PartFont{\bfseries} +\def\@part[#1]#2{% + \ifnum \c@secnumdepth >-2\relax + \refstepcounter{part}% + \addcontentsline{toc}{part}{\thepart\hspace{1em}\toc@case{#1}}% + \else + \addcontentsline{toc}{part}{\toc@case{#1}}% + \fi + \markboth{}{}% + {\centering + \interlinepenalty \@M + \normalfont + \ifnum \c@secnumdepth >-2\relax + \Large\PartFont + \edef\@tempa{\noexpand\uppercase{\partname}}\@tempa + \nobreakspace\thepart + \par + \vskip 20\p@ + \fi + \Large \PartFont \uppercase{#2}\par}% + \@endpart} +\def\@spart#1{% + {\centering + \interlinepenalty \@M + \normalfont + \Large \PartFont #1\par}% + \@endpart} +\def\@endpart{\vfil\newpage + \if@openright + \null + \thispagestyle{empty}% + \newpage + \fi + \if@tempswa + \twocolumn + \fi} +\newcommand*\chapter{\if@openright\cleardoublepage\else\clearpage\fi + \thispagestyle{plain}% + \global\@topnum\z@ + \@afterindentfalse + \secdef\@chapter\@schapter} +\def\@chapter[#1]#2{% + \ifnum \c@secnumdepth >\m@ne + \if@mainmatter + \refstepcounter{chapter}% + \typeout{\@chapapp\space\thechapter.}% + \addcontentsline{toc}{chapter}% + {\protect\numberline{\thechapter}\toc@font0 #1}% + \else + \addcontentsline{toc}{chapter}{\toc@font0 #1}% + \fi + \else + \addcontentsline{toc}{chapter}{\toc@font0 #1}% + \fi + \chaptermark{#1}% + \addtocontents{lof}{\protect\addvspace{10\p@}}% + \addtocontents{lot}{\protect\addvspace{10\p@}}% + \if@twocolumn + \@topnewpage[\@makechapterhead{#2}]% + \else + \@makechapterhead{#2}% + \@afterheading + \fi} +\newcommand*\ChapFont{\bfseries} +\def\@makechapterhead#1{% + \vspace*{50\p@ \@plus 20\p@}% + {\setlength\parindent{\z@}% + \setlength\parskip {\z@}% + \head@style \normalfont + \ifnum \c@secnumdepth >\m@ne + \if@mainmatter + \Large\ChapFont \@chapapp{} \thechapter + \par\nobreak + \vskip 20\p@ + \fi + \fi + \Large \ChapFont #1\par + \nobreak + \vskip 40\p@ + }} +\def\@schapter#1{\if@twocolumn + \@topnewpage[\@makeschapterhead{#1}]% + \else + \@makeschapterhead{#1}% + \@afterheading + \fi} +\def\@makeschapterhead#1{% + \vspace*{50\p@\@plus 20\p@}% + {\setlength\parindent{\z@}% + \setlength\parskip{\z@}% + \head@style + \normalfont + \Large \ChapFont #1\par + \nobreak + \vskip 40\p@ + }} +\newcommand*\section{% + \@startsection {section}{1}{\z@}% + {-2\baselineskip\@plus -1\baselineskip \@minus -.5\baselineskip}% + {.01\baselineskip}% + {\normalfont\large\SectFont}} +\newcommand*\SectFont{\bfseries} +\newcommand*\subsection{% + \@startsection{subsection}{2}{\z@}% + {-1\baselineskip\@plus -.5\baselineskip \@minus -.25\baselineskip}% + {.01\baselineskip}% + {\normalfont\normalsize\SSectFont}} +\newcommand*\SSectFont{\bfseries} +\newcommand*\subsubsection{% + \@startsection{subsubsection}{3}{\z@}% + {-1\baselineskip plus -.5\baselineskip minus -.25\baselineskip}% + {.01\baselineskip}% + {\normalfont\normalsize\SSSectFont}} +\newcommand*\SSSectFont{\slshape} +\newcommand*\paragraph{% + \@startsection{paragraph}{4}{\z@}% + {3.25ex \@plus1ex \@minus.2ex}% + {-1em}% + {\normalfont\normalsize\ParaFont}} +\newcommand*\ParaFont{\slshape} +\newcommand*\subparagraph{% + \@startsection{subparagraph}{5}{\parindent}% + {3.25ex \@plus1ex \@minus .2ex}% + {-1em}% + {\normalfont\normalsize\SParaFont}} +\newcommand*\SParaFont{\slshape} +\newcommand*\HeadingFonts[8]{% + \renewcommand*\TitleFont{#1}% + \renewcommand*\PartFont{#2}% + \renewcommand*\ChapFont{#3}% + \renewcommand*\SectFont{#4}% + \renewcommand*\SSectFont{#5}% + \renewcommand*\SSSectFont{#6}% + \renewcommand*\ParaFont{#7}% + \renewcommand*\SParaFont{#8}} +\setlength\leftmargini {\unitindent} +\setlength\leftmarginii {\othermargin} +\setlength\leftmarginiii{\othermargin} +\setlength\leftmarginiv {\othermargin} +\setlength\leftmarginv {\othermargin} +\setlength\leftmarginvi {1em} +\setlength\leftmargin {\leftmargini} +\setlength \labelsep {5\p@} +\setlength \labelwidth{\leftmargini} +\addtolength\labelwidth{-\labelsep} +\setlength\partopsep{\z@} +\setlength\topsep{\z@} +\@beginparpenalty -\@lowpenalty +\@endparpenalty -\@lowpenalty +\@itempenalty -\@lowpenalty +\def\@listi{% + \leftmargin\unitindent + \labelsep.5em% + \labelwidth\leftmargin + \advance\labelwidth-\labelsep + \parsep \z@ + \topsep -.5\parskip \@plus\p@ + \itemsep 0\p@ \@plus1\p@} +\let\@listI\@listi +\@listi +\def\@listii {\leftmargin\leftmarginii + \labelsep .5em% + \labelwidth\leftmarginii + \advance\labelwidth-\labelsep + \topsep -.5\parskip\@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\def\@listiii{\leftmargin\leftmarginiii + \labelsep .5em% + \labelwidth\leftmarginiii + \advance\labelwidth-\labelsep + \topsep -.5\parskip\@plus\p@ + \parsep \z@ + \partopsep \z@ \@plus\p@ + \itemsep \z@ \@plus\p@} +\def\@listiv {\leftmargin\leftmarginiv + \labelsep .5em% + \labelwidth\leftmarginiv% + \advance\labelwidth-\labelsep + \topsep -.5\parskip\@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\def\@listv {\leftmargin\leftmarginv + \labelsep .5em% + \labelwidth\leftmarginv + \advance\labelwidth-\labelsep% + \topsep -.5\parskip\@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\def\@listvi {\leftmargin\leftmarginvi + \labelsep .5em + \labelwidth\leftmarginvi + \advance\labelwidth{-\labelsep}% + \topsep -.5\parskip\@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\renewcommand*\theenumi{\@arabic\c@enumi} +\renewcommand*\theenumii{\@alph\c@enumii} +\renewcommand*\theenumiii{\@roman\c@enumiii} +\renewcommand*\theenumiv{\@Alph\c@enumiv} +\newcommand*\labelenumi{\theenumi.} +\newcommand*\labelenumii{(\theenumii)} +\newcommand*\labelenumiii{\theenumiii.} +\newcommand*\labelenumiv{\theenumiv.} +\renewcommand*\p@enumii{\theenumi} +\renewcommand*\p@enumiii{\theenumi(\theenumii)} +\renewcommand*\p@enumiv{\p@enumiii\theenumiii} +\renewenvironment{enumerate}{% + \ifnum \@enumdepth >3 + \@toodeep + \else + \advance\@enumdepth \@ne + \edef\@enumctr{enum\romannumeral\the\@enumdepth}% + \list{\csname label\@enumctr\endcsname} + {\usecounter{\@enumctr}% + \if@revlabel + \def\makelabel##1{\hskip .5\unitindent{##1\hfil}}% + \else + \def\makelabel##1{##1\hfil} + \fi + }% + \fi} + {\global\@ignoretrue \endlist} +\newcommand*{\labelitemi}{\textbullet} +\newcommand*{\labelitemii}{\normalfont\bfseries \textendash} +\newcommand*{\labelitemiii}{\textasteriskcentered} +\newcommand*{\labelitemiv}{\textperiodcentered} +\renewenvironment{itemize}{% + \ifnum \@itemdepth >3 + \@toodeep + \else + \advance\@itemdepth \@ne + \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}% + \list{\csname\@itemitem\endcsname}% + {% + \if@revlabel + \def\makelabel##1{\hskip .5\unitindent{##1\hfil}}\else + \def\makelabel##1{##1\hfil} + \fi + }% + \fi} + {\global\@ignoretrue \endlist} +\newenvironment{description} + {\list{}{\labelwidth\z@ \itemindent-\leftmargin + \let\makelabel\descriptionlabel}} + {\endlist} +\newcommand*\descriptionlabel[1]{\hspace\labelsep \bfseries #1} +\def\verbatim{% + \topsep=-.5\parskip + \@verbatim + \frenchspacing\@vobeyspaces \@xverbatim} + \newenvironment{abstract}{% + \titlepage + \null\vfil + \hbox{\SectFont \abstractname} + \noindent\ignorespaces} + {\par\vfil\null\endtitlepage} +\newenvironment{verse} + {\let\\\@centercr + \list{}{\itemsep\z@ + \itemindent-1.5em% + \listparindent\itemindent + \rightmargin\leftmargin + \advance\leftmargin1.5em}% + \item\relax} + {\endlist} +\newenvironment{quotation} + {\list{}{% + \listparindent\z@ + \listparindent1.5em% + \itemindent\listparindent + \rightmargin\leftmargin + \parsep\z@ \@plus\p@}% + \item\relax} + {\endlist} +\newenvironment{quote} + {\list{}{\rightmargin\leftmargin}% + \item\relax} + {\endlist} +\def\@begintheorem#1#2{% + \vskip\baselineskip \labelsep=.5em% + \trivlist + \item[\hskip \labelsep{\bfseries #1\ #2}]\slshape} +\def\@opargbegintheorem#1#2#3{% + \vskip\baselineskip \labelsep=.5em% + \trivlist + \item[\hskip \labelsep{\bfseries #1\ #2\ (#3)}]\slshape} +\def\@endtheorem{\endtrivlist \vskip\baselineskip} +\newenvironment{titlepage} + { + \cleardoublepage + \if@twocolumn + \@restonecoltrue\onecolumn + \else + \@restonecolfalse\newpage + \fi + \thispagestyle{empty}% + \if@compatibility + \setcounter{page}\z@ + \fi} + {\if@restonecol\twocolumn \else \newpage \fi + } +\newcommand*\appendix{\par + \setcounter{chapter}{0}% + \setcounter{section}{0}% + \gdef\@chapapp{\appendixname}% + \gdef\thechapter{\@Alph\c@chapter}} +\setlength\arraycolsep{5\p@} +\setlength\tabcolsep{6\p@} +\setlength\arrayrulewidth{.4\p@} +\setlength\doublerulesep{2\p@} +\setlength\tabbingsep{\labelsep} +\def\@minipagerestore{% + \parskip=.5\baselineskip \@plus .1\baselineskip + \@minus .1\baselineskip} +\skip\@mpfootins = \skip\footins +\setlength\fboxsep{3\p@} +\setlength\fboxrule{.4\p@} +\@addtoreset{equation}{chapter} +\renewcommand*\theequation{% + \ifnum \c@chapter>\z@ \thechapter.\fi\@arabic\c@equation} +\newcounter{figure}[chapter] +\renewcommand*\thefigure{% + \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@figure} +\def\fps@figure{tbp} +\def\ftype@figure{1} +\def\ext@figure{lof} +\def\fnum@figure{\figurename\nobreakspace\thefigure} +\newenvironment{figure} + {\@float{figure}} + {\end@float} +\newenvironment{figure*} + {\@dblfloat{figure}} + {\end@dblfloat} +\newcounter{table}[chapter] +\renewcommand*\thetable{% + \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@table} +\def\fps@table{tbp} +\def\ftype@table{2} +\def\ext@table{lot} +\def\fnum@table{\tablename\nobreakspace\thetable} +\newenvironment{table} + {\@float{table}} + {\end@float} +\newenvironment{table*} + {\@dblfloat{table}} + {\end@dblfloat} +\newlength\abovecaptionskip +\newlength\belowcaptionskip +\setlength\abovecaptionskip{10\p@} +\setlength\belowcaptionskip{0\p@} +\long\def\@makecaption#1#2{% + \vskip\abovecaptionskip + \sbox\@tempboxa{{\CaptionLabelFont#1:} \CaptionTextFont#2}% + \ifdim \wd\@tempboxa >\hsize + {\CaptionLabelFont#1:} \CaptionTextFont#2\par + \else + \global \@minipagefalse + \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}% + \fi + \vskip\belowcaptionskip} +\newcommand*\CaptionLabelFont{\relax} +\newcommand*\CaptionTextFont{\relax} +\newcommand*\CaptionFonts[2]{% + \renewcommand*\CaptionLabelFont{#1}% + \renewcommand*\CaptionTextFont{#2}% + } +\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm} +\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf} +\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt} +\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf} +\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit} +\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\relax} +\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\relax} +\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal} +\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal} +\DeclareRobustCommand*\em{% + \@nomath\em + \ifdim\fontdimen\@ne\font>\z@ + \upshape + \else + \slshape + \fi} +\newcommand*\@pnumwidth{1.55em} +\newcommand*\@tocrmarg {2.55em} +\newcommand*\@dotsep{4.5} +\setcounter{tocdepth}{2} +\newcommand*\tableofcontents{% + \if@twocolumn + \@restonecoltrue\onecolumn + \else + \@restonecolfalse + \fi + \chapter*{\contentsname}% + \@mkboth{\MakeUppercase{\contentsname}}% + {\MakeUppercase{\contentsname}}% + \@starttoc{toc}% + \if@restonecol\twocolumn\fi + } +\def\@starttoc#1{\begingroup + \makeatletter + \parskip\z@ + \@input{\jobname.#1}% + \if@filesw + \expandafter\newwrite\csname tf@#1\endcsname + \immediate\openout \csname tf@#1\endcsname \jobname.#1\relax + \fi \global\@nobreakfalse \endgroup} +\newcommand*\@regtocline[3]{% + \ifnum #1>\c@tocdepth + \else + \vskip\z@\@plus.2\p@ + {\hangindent\z@ \@afterindenttrue \interlinepenalty\@M + \leftskip\unitindent + \rightskip\unitindent\@plus 1fil + \parfillskip\z@ + \@tempdima\unitindent + \parindent\z@ + \leavevmode + \hbox{}\hskip -\leftskip\relax#2\nobreak + \hskip 1em \nobreak{\slshape #3}\par + }% + \fi} +\if@oldtoc + \newcommand*\toc@font[1]{\relax} +\else + \newcommand*\toc@font[1]{% + \ifcase#1\relax + \bfseries + \or\slshape + \or\rmfamily + \fi} +\fi +\if@oldtoc + \newcommand*\toc@case{\relax} +\else + \newcommand*\toc@case{\MakeUppercase} +\fi +\if@oldtoc +\newcommand*\l@part[2]{% + \ifnum \c@tocdepth >-2\relax + \addpenalty{-\@highpenalty}% + \addvspace{2.25em \@plus\p@}% + \begingroup + \setlength\@tempdima{3em}% + \parindent \z@ \rightskip \@pnumwidth + \parfillskip -\@pnumwidth + {\leavevmode + \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par + \nobreak + \global\@nobreaktrue + \everypar{\global\@nobreakfalse\everypar{}}% + \endgroup + \fi} +\else + \newcommand*\l@part{% + \ifnum \c@tocdepth >-2\relax + \addpenalty{-\@highpenalty}% + \addvspace{2.25em \@plus \p@}% + \@regtocline{0}% + \fi} +\fi +\if@oldtoc +\newcommand*\l@chapter[2]{% + \addpenalty{-\@highpenalty}% + \vskip 1.0em \@plus\p@ + \setlength\@tempdima{1.5em}% + \begingroup + \parindent \z@ \rightskip \@pnumwidth + \parfillskip -\@pnumwidth + \leavevmode \bfseries + \advance\leftskip\@tempdima + \hskip -\leftskip + #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par + \penalty\@highpenalty + \endgroup} +\else + \newcommand*\l@chapter{\@regtocline{0}} +\fi +\if@oldtoc + \newcommand*\l@section {\@dottedtocline{1}{1.5em}{2.3em}} +\else + \newcommand*\l@section {\@regtocline{1}} +\fi +\if@oldtoc + \newcommand*\l@subsection {\@dottedtocline{2}{3.8em}{3.2em}} + \newcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}} + \newcommand*\l@paragraph {\@dottedtocline{4}{10em}{5em}} + \newcommand*\l@subparagraph {\@dottedtocline{5}{12em}{6em}} +\else + \newcommand*\l@subsection {\@regtocline{2}} + \newcommand*\l@subsubsection{\@regtocline{3}} + \newcommand*\l@paragraph {\@regtocline{4}} + \newcommand*\l@subparagraph {\@regtocline{5}} +\fi +\newcommand*\listoffigures{% + \if@twocolumn + \@restonecoltrue\onecolumn + \else + \@restonecolfalse + \fi + \chapter*{\listfigurename}% + \@mkboth{\MakeUppercase{\listfigurename}}% + {\MakeUppercase{\listfigurename}}% + \@starttoc{lof}% + \if@restonecol\twocolumn\fi + } +\if@oldtoc + \newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} +\else + \newcommand*\l@figure{\@regtocline{1}} +\fi +\newcommand*\listoftables{% + \if@twocolumn + \@restonecoltrue\onecolumn + \else + \@restonecolfalse + \fi + \chapter*{\listtablename}% + \@mkboth{\MakeUppercase{\listtablename}}% + {\MakeUppercase{\listtablename}}% + \@starttoc{lot}% + \if@restonecol\twocolumn\fi + } +\let\l@table\l@figure +\newdimen\bibindent +\setlength\bibindent{1.5em} +\newcommand*\newblock{} +\newenvironment{thebibliography}[1] + {\chapter*{\bibname}% + \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}% + \list{\@biblabel{\@arabic\c@enumiv}}% + {\settowidth\labelwidth{\@biblabel{#1}}% + \leftmargin\labelwidth + \advance\leftmargin\labelsep + \@openbib@code + \usecounter{enumiv}% + \let\p@enumiv\@empty + \renewcommand*\theenumiv{\@arabic\c@enumiv}}% + \sloppy\clubpenalty4000\widowpenalty4000% + \sfcode`\.\@m} + {\def\@noitemerr + {\@latex@warning{Empty `thebibliography' environment}}% + \endlist} +\renewcommand\newblock{\hskip.11em\@plus.33em\@minus.07em} +\let\@openbib@code\@empty +\newenvironment{theindex}{% + \if@twocolumn + \@restonecolfalse + \else + \@restonecoltrue + \fi + \twocolumn[\@makeschapterhead{\indexname}]% + \@mkboth{\MakeUppercase{\indexname}}{\MakeUppercase{\indexname}}% + \thispagestyle{plain}\parindent\z@ + \columnseprule \z@ + \columnsep 35\p@ + \parskip\z@ \@plus .3\p@\relax + \let\item\@idxitem + }{% + \if@restonecol\onecolumn\else\clearpage\fi} +\newcommand*\@idxitem {\par\hangindent 40\p@} +\newcommand*\subitem {\@idxitem\hspace*{20\p@}} +\newcommand*\subsubitem{\@idxitem\hspace*{30\p@}} +\newcommand*\indexspace{\par\vskip10\p@\@plus5\p@\@minus3\p@\relax} +\renewcommand*\footnoterule{% + \kern-3\p@ + \kern.5\baselineskip + \hrule\@width\unitindent + \kern.4\baselineskip +} +\@addtoreset{footnote}{chapter} +\newcommand*\@makefntext{\@xmakefntext{\normalfont\@thefnmark.}} +\newcommand*\@xmakefntext[1]{% + \parindent\z@ + \def\labelitemi{\textendash}\@revlabeltrue + {\setbox0\hbox {#1\hskip.5em plus 1fil} + \dimen0=2\wd0\relax + \ifdim\dimen0>\unitindent + \global\unitindent\dimen0\relax + \@indentset + \fi} + \leavevmode\hb@xt@.5\unitindent{#1\hfil}} +\newcommand*\contentsname{Contents} +\newcommand*\listfigurename{List of Figures} +\newcommand*\listtablename{List of Tables} +\newcommand*\bibname{Bibliography} +\newcommand*\indexname{Index} +\newcommand*\figurename{Figure} +\newcommand*\tablename{Table} +\newcommand*\partname{Part} +\newcommand*\chaptername{Chapter} +\newcommand*\appendixname{Appendix} +\newcommand*\seename{see} +\newcommand*\andname{and} +\newcommand*\today{} +\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} +\setlength\columnsep{10\p@} +\setlength\columnseprule{0\p@} +\pagestyle{headings} +\pagenumbering{arabic} % Arabic page numbers +\if@twocolumn + \twocolumn + \sloppy + \flushbottom +\else + \onecolumn +\fi +\frenchspacing +\endinput +%% +%% End of file `boek3.cls'. diff --git a/Master/texmf-dist/tex/latex/ntgclass/brief.cls b/Master/texmf-dist/tex/latex/ntgclass/brief.cls new file mode 100644 index 00000000000..aac42637d92 --- /dev/null +++ b/Master/texmf-dist/tex/latex/ntgclass/brief.cls @@ -0,0 +1,813 @@ +%% +%% This is file `brief.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% brief.dtx (with options: `brief') +%% This is a generated file. +%% +%% Copyright (C) 1990-2004 Nederlandstalige TeX Gebruikersgroep. +%% All rights reserved. +%% +%% This file was generated from file(s) of the NTG document classes distribution. +%% ------------------------------------------------------------------------------ +%% +%% It may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% The Current Maintainer of this work is Johannes Braams. +%% +%% This file may only be distributed together with a copy of the NTG +%% document classes distribution. You may however distribute the NTG +%% document classes distribution without such generated files. +%% +%% The list of all files belonging to the NTG document classes +%% distribution is given in the file `manifest.txt'. +%% +%% The list of derived (unpacked) files belonging to the distribution +%% and covered by LPPL is defined by the unpacking scripts (with +%% extension .ins) which are part of the distribution. +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +%% Copyright (C) 1994 -- 1999 by Victor Eijkhout \and Johannes Braams +%% Based on letter.dtx version 1.2i +%% Copyright (C) 1994 LaTeX3 project, Frank Mittelbach +%% and Rainer Sch\"opf, all rights reserved. +%% +%% This program can be redistributed and/or modified under the terms +%% of the LaTeX Project Public License Distributed from CTAN +%% archives in directory macros/latex/base/lppl.txt; either +%% version 1 of the License, or any later version. +%% +\NeedsTeXFormat{LaTeX2e}[1995/06/01] +\ProvidesClass{brief} + [1999/03/03 v2.0r + NTG LaTeX document class] +\newcommand*\@ptsize{} +\newif\if@typhulp +\newif\if@streepjes +\newif\if@adresrechts +\newif\if@elfinch +\DeclareOption{a4paper} + {\setlength\paperheight {297mm}% + \setlength\paperwidth {210mm}\@elfinchfalse} +\DeclareOption{a5paper} + {\ClassWarning{brief}{Paper size A5 not supported, using A4}% + \setlength\paperheight {297mm}% + \setlength\paperwidth {210mm}\@elfinchfalse} +\DeclareOption{b5paper} + {\ClassWarning{brief}{Paper size B5 not supported, using A4}% + \setlength\paperheight {297mm}% + \setlength\paperwidth {210mm}\@elfinchfalse} +\DeclareOption{letterpaper} + {\setlength\paperheight {11in}% + \setlength\paperwidth {8.5in}\@elfinchtrue} +\DeclareOption{USletter} + {\setlength\paperheight {11in}% + \setlength\paperwidth {8.5in}\@elfinchtrue} +\DeclareOption{legalpaper} + {\ClassWarning{brief} + {Paper size `legal' not supported, using `letter'}% + \setlength\paperheight {14in}% + \setlength\paperwidth {8.5in}\@elfinchtrue} +\DeclareOption{executivepaper} + {\ClassWarning{brief} + {Paper size `executive' not supported, using `letter'}% + \setlength\paperheight {10.5in}% + \setlength\paperwidth {7.25in}\@elfinchtrue} +\DeclareOption{10pt}{\renewcommand*\@ptsize{0}} +\DeclareOption{11pt}{\renewcommand*\@ptsize{1}} +\DeclareOption{12pt}{\renewcommand*\@ptsize{2}} +\if@compatibility + \DeclareOption{twoside}{\@latexerr{No 'twoside' layout for letters}% + \@eha} +\else + \DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue} +\fi +\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse} +\DeclareOption{draft}{\setlength\overfullrule{5pt}} +\DeclareOption{final}{\setlength\overfullrule{0pt}} +\DeclareOption{leqno}{\input{leqno.clo}} +\DeclareOption{fleqn}{\input{fleqn.clo}} +\DeclareOption{typhulp}{\@typhulptrue} +\DeclareOption{geentyphulp}{\@typhulpfalse} +\DeclareOption{streepjes}{\@streepjestrue} +\DeclareOption{geenstreepjes}{\@streepjesfalse} +\DeclareOption{adreslinks}{\@adresrechtsfalse} +\DeclareOption{adresrechts}{\@adresrechtstrue} +\DeclareOption{nederlands}{\AtEndOfClass{\dutchbrief}} +\DeclareOption{dutch} {\AtEndOfClass{\dutchbrief}} +\DeclareOption{engels} {\AtEndOfClass{\englishbrief}} +\DeclareOption{english} {\AtEndOfClass{\englishbrief}} +\DeclareOption{USengels} {\AtEndOfClass{\americanbrief}} +\DeclareOption{american} {\AtEndOfClass{\americanbrief}} +\DeclareOption{duits} {\AtEndOfClass{\germanbrief}} +\DeclareOption{german} {\AtEndOfClass{\germanbrief}} +\DeclareOption{frans} {\AtEndOfClass{\frenchbrief}} +\DeclareOption{french} {\AtEndOfClass{\frenchbrief}} +\DeclareOption{francais} {\AtEndOfClass{\frenchbrief}} +\ExecuteOptions{a4paper,11pt,oneside,onecolumn,final,% + geentyphulp,geenstreepjes,adreslinks,% + nederlands} +\ProcessOptions\relax +\ifcase\@ptsize + \renewcommand*\normalsize{% + \@setfontsize\normalsize\@xpt\@xiipt + \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@ + \belowdisplayskip \abovedisplayskip + \let\@listi\@listI} +\or + \renewcommand*\normalsize{% + \@setfontsize\normalsize\@xipt{13.6}% + \abovedisplayskip 11\p@ \@plus3\p@ \@minus6\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@ + \belowdisplayskip \abovedisplayskip + \let\@listi\@listI} +\or + \renewcommand*\normalsize{% + \@setfontsize\normalsize\@xiipt{15}% + \abovedisplayskip 12\p@ \@plus3\p@ \@minus7\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@ + \belowdisplayskip \abovedisplayskip + \let\@listi\@listI} +\fi +\let\@normalsize\normalsize +\normalsize +\ifcase\@ptsize + \newcommand*\small{% + \@setfontsize\small\@ixpt{11}% + \abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@ + \abovedisplayshortskip \z@ \@plus2\p@ + \belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@ + \belowdisplayskip \abovedisplayskip} +\or + \newcommand*\small{% + \@setfontsize\small\@xpt\@xiipt + \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@ + \belowdisplayskip \abovedisplayskip} +\or + \newcommand*\small{% + \@setfontsize\small\@xipt{13.6}% + \abovedisplayskip 11\p@ \@plus3\p@ \@minus6\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@ + \belowdisplayskip \abovedisplayskip} +\fi +\ifcase\@ptsize + \newcommand*\footnotesize{% + \@setfontsize\footnotesize\@viiipt{9.5}% + \abovedisplayskip 6\p@ \@plus2\p@ \@minus4\p@ + \abovedisplayshortskip \z@ \@plus\p@ + \belowdisplayshortskip 3\p@ \@plus\p@ \@minus2\p@ + \belowdisplayskip \abovedisplayskip} +\or + \newcommand*\footnotesize{% + \@setfontsize\footnotesize\@ixpt{11}% + \abovedisplayskip 8\p@ \@plus2\p@ \@minus4\p@ + \abovedisplayshortskip \z@ \@plus\p@ + \belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@ + \belowdisplayskip \abovedisplayskip} +\or + \newcommand*\footnotesize{% + \@setfontsize\footnotesize\@xpt\@xiipt + \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@ + \belowdisplayskip \abovedisplayskip} +\fi +\ifcase\@ptsize + \newcommand*\scriptsize{\@setfontsize\scriptsize\@viipt\@viiipt} + \newcommand*\tiny{\@setfontsize\tiny\@vpt\@vipt} + \newcommand*\large{\@setfontsize\large\@xiipt{14}} + \newcommand*\Large{\@setfontsize\Large\@xivpt{18}} + \newcommand*\LARGE{\@setfontsize\LARGE\@xviipt{22}} + \newcommand*\huge{\@setfontsize\huge\@xxpt{25}} + \newcommand*\Huge{\@setfontsize\Huge\@xxvpt{30}} +\or + \newcommand*\scriptsize{\@setfontsize\scriptsize\@viiipt{9.5}} + \newcommand*\tiny{\@setfontsize\tiny\@vipt\@viipt} + \newcommand*\large{\@setfontsize\large\@xiipt{14}} + \newcommand*\Large{\@setfontsize\Large\@xivpt{18}} + \newcommand*\LARGE{\@setfontsize\LARGE\@xviipt{22}} + \newcommand*\huge{\@setfontsize\huge\@xxpt{25}} + \newcommand*\Huge{\@setfontsize\Huge\@xxvpt{30}} +\or + \newcommand*\scriptsize{\@setfontsize\scriptsize\@viiipt{9.5}} + \newcommand*\tiny{\@setfontsize\tiny\@vipt\@viipt} + \newcommand*\large{\@setfontsize\large\@xivpt{18}} + \newcommand*\Large{\@setfontsize\Large\@xviipt{22}} + \newcommand*\LARGE{\@setfontsize\LARGE\@xxpt{25}} + \newcommand*\huge{\@setfontsize\huge\@xxvpt{30}} + \let\Huge=\huge +\fi +\newfont\refkopfont{cmssq8} +\DeclareFixedFont\kleinvet{\encodingdefault}% + {\rmdefault}% + {\bfdefault}% + {\shapedefault}% + {7} +\setlength\lineskip{1\p@} +\setlength\normallineskip{1\p@} +\renewcommand*\baselinestretch{} +\setlength\parskip{0.7em \@plus .3em \@minus .2em} +\setlength\parindent{0\p@} +\@lowpenalty 51 +\@medpenalty 151 +\@highpenalty 301 +\setlength\headheight{37mm} +\setlength\headsep {0mm} +\setlength\footskip{25\p@} +\if@compatibility + \setlength\maxdepth{4\p@} +\else + \setlength\maxdepth{.5\topskip} +\fi +\setlength\@maxdepth\maxdepth +\setlength\textwidth{144mm} +\setlength\textheight{197mm} +\if@elfinch \addtolength\textheight{-17.6mm} \fi +\setlength\@rightskip{0cm \@plus 5cm} +\setlength\rightskip{\@rightskip} +\setlength\@tempdima{\paperwidth} +\addtolength\@tempdima{-2in} +\addtolength\@tempdima{-\textwidth} +\setlength\oddsidemargin {7.6mm} +\setlength\evensidemargin {\oddsidemargin} +\setlength\marginparwidth {0\p@} +\setlength\marginparsep {0\p@} +\setlength\marginparpush{0\p@} +\setlength\topmargin{-12.4mm} +\newdimen\vensterskip +\setlength\vensterskip{50mm} +\newdimen\@vensterskip +\newdimen\@firstheadheight +\newdimen\@otherheadheight +\newdimen\@othertextheight +\newdimen\@otherheadsep +\newdimen\@vervolgsep +\setlength\@otherheadsep{2mm} +\def\@prepareerhoofden{% + \setlength\@vensterskip{\vensterskip}% + \addtolength\@vensterskip{-50mm}% + \setlength\@firstheadheight{\headheight}% + \setlength\@otherheadheight{\headheight}% + \setlength\@othertextheight{\textheight}% + } +\newdimen\footsep +\setlength\footsep{15mm} +\setlength\footnotesep{12\p@} +\setlength{\skip\footins}{10\p@ \@plus 2\p@ \@minus 4\p@} +\if@twoside + \def\ps@headings{% + \def\@oddfoot{\voetregel\hss}% + \let\@evenfoot\@oddfoot + \def\@oddhead{% + \vbox to \@otherheadheight + {\vervolghoofd\vfil + \if@streepjes\streepjes{\@firstheadheight}\fi}\hss} + \let\@evenhead\@oddhead} +\else + \def\ps@headings{% + \def\@oddfoot{\voetregel\hss}% + \def\@oddhead{% + \vbox to \@otherheadheight + {\vervolghoofd\vfil + \if@streepjes\streepjes{\@otherheadheight}\fi}\hss}} +\fi +\def\ps@firstpage{% + \global\headheight=\@otherheadheight + \global\textheight=\@othertextheight %?? werkt dit ?? + \global\headsep=\@otherheadsep + \def\@oddhead{\vbox to \@firstheadheight + {\briefhoofd\vfil + \if@streepjes\streepjes{\@firstheadheight}\fi}% + \hss} + \def\@evenhead{} + \def\@oddfoot{\voetregel\hss} \let\@evenfoot\@oddfoot} +\def\ps@empty{% + \let\@oddfoot\@empty\let\@oddhead\@empty + \let\@evenfoot\@empty\let\@evenhead\@empty} +\def\ps@plain{% + \let\@oddhead\@empty + \def\@oddfoot{\normalfont\hfil\thepage}% + \def\@evenfoot{\normalfont\hfil\thepage}} +\def\name#1{\def\fromname{#1}} +\def\fromname{} +\newcommand*\ondertekening[1]{\def\fromsig{#1}} +\def\fromsig{} +\let\signature\ondertekening +\newcommand*\address[1]{\maakbriefhoofd*{}{#1}} +\newcommand*{\location}[1]{\def\fromlocation{#1}} +\def\fromlocation{} +\newcommand*{\telephone}[1]{\def\telephonenum{#1}} +\def\telephonenum{} +\newcommand*{\makelabels}{% + \AtBeginDocument{% + \let\@startlabels\startlabels + \let\@mlabel\mlabel + \if@filesw + \immediate\write\@mainaux{\string\@startlabels}\fi}% + \AtEndDocument{% + \if@filesw\immediate\write\@mainaux{\string\clearpage}\fi}} +\@onlypreamble\makelabels +\newenvironment{brief}[1] + {\newpage + \if@twoside \ifodd\c@page + \else\thispagestyle{empty} \hbox{}\newpage\fi + \fi + \c@page\@ne + \interlinepenalty=200 % smaller than the TeXbook value + \@processto{\leavevmode\ignorespaces #1}% + \@defrefveld{\@Ad}{\geadresseerdetekst}{\toname} + \ifdim\wd\@Dt=0cm \@defrefveld{\@Dt}{\datumtekst}{\vandaag}\fi + \@prepareerhoofden + {\setbox\@tempboxa\vervolghoofd + \@tempdima\ht\@tempboxa + \advance\@tempdima by -\@otherheadheight + \ifdim\@tempdima>0\p@ + \global\advance\@otherheadheight by \@tempdima + \global\advance\@othertextheight by -\@tempdima + \fi} + {\setbox\@tempboxa=\vbox{\voetregel} + \global\footskip=\ht\@tempboxa + \global\advance\footskip by \footsep}% + } + {\stopletter\@@par\pagebreak\@@par + \if@filesw + \begingroup + \let\\=\relax + \let\protect\@unexpandable@protect + \immediate\write\@auxout + {\string\@mlabel{\returnaddress}{\toname\\\toaddress}}% + \endgroup + \fi} +\let\letter\brief +\let\endletter\endbrief +\long\def\@processto#1{\@xproc #1\\@@@\ifx\toaddress\@empty + \else \@yproc #1@@@\fi} +\long\def\@xproc #1\\#2@@@{\def\toname{#1}\def\toaddress{#2}} +\long\def\@yproc #1\\#2@@@{\def\toaddress{#2}} +\newif\if@antwoordadres +\newcommand*\antwoordadres[1]{% + \@antwoordadrestrue\renewcommand*\@antwoordadres{#1}} +\newcommand*\@antwoordadres{} +\let\replyaddress\antwoordadres +\newdimen\adresveldbreedte +\newcommand*{\adresveld}{% + \hbox{}\kern-\topskip + \kern\@vensterskip + \begingroup + \if@adresrechts + \setlength\adresveldbreedte{4\refveldbreedte}% + \addtolength\adresveldbreedte{-76mm}% + \def\@tempa{\moveright 76mm}% + \else + \let\@tempa\relax + \setlength\adresveldbreedte{83mm}% + \fi + \setbox\@tempboxa\vtop{% + \hsize\adresveldbreedte + \@normalsize + \parindent\z@\parskip\z@ + \rightskip0\p@\@plus\adresveldbreedte + \let\\\@nobreakcr \toname \\ \toaddress} + {\baselineskip\z@\lineskip\z@ + \if@antwoordadres + \@tempa\vbox to \z@{% + \hb@xt@\adresveldbreedte{% + \kleinvet + \def\\{\unskip\enspace{\textbullet}\enspace\ignorespaces}% + \@antwoordadres\hfil} + \kern2\p@\hrule \vss} + \fi + \if@typhulp + \@tempa\llap{\vbox to \z@{\vskip9mm\streepje\vss}} + \fi + \kern9mm \kern-\ht\@tempboxa \@tempdima=\dp\@tempboxa + \@tempa\box\@tempboxa \kern-\@tempdima + \vskip31mm}\endgroup} +\newdimen\refveldbreedte +\setlength\refveldbreedte{38mm} +\def\@defrefveld#1#2#3{\setbox#1\@refveld{#2}{#3}} +\def\@refveld#1#2{% + \vtop{\hsize\refveldbreedte + \parskip\z@\parindent\z@ + \everypar{}% + \lineskiplimit\z@\baselineskip12\p@ + \lineskip\z@ + \rightskip0\p@ \@plus \refveldbreedte \@minus .5\refveldbreedte + \vbox{\refkopfont\baselineskip10\p@#1\@@par} + \kern2\p@ + \strut #2}} +\newbox\@UB \newbox\@UK \newbox\@OK \newbox\@Dt +\newcommand*\uwbriefvan[1]{\@defrefveld{\@UB}{\uwbrieftekst}{#1}} +\let\yourletterof\uwbriefvan +\newcommand*\uwkenmerk[1]{\@defrefveld{\@UK}{\uwkenmerktekst}{#1}} +\let\yourreference\uwkenmerk +\newcommand*\onskenmerk[1]{\@defrefveld{\@OK}{\onskenmerktekst}{#1}} +\newcommand*\datum[1]{\def\@tempa{}\def\@tempb{#1}% + \ifx\@tempa\@tempb + \setbox\@Dt\hbox{ }% + \else + \@defrefveld{\@Dt}{\datumtekst}{#1}% + \fi} +\let\date\datum +\def\referentieregel{\hbox + {\hb@xt@\refveldbreedte{\copy\@UB\hfil}% + \hb@xt@\refveldbreedte{\copy\@UK\hfil}% + \hb@xt@\refveldbreedte{\copy\@OK\hfil}% + \hb@xt@\refveldbreedte{\copy\@Dt\hfil}\hss}} +\newbox\@Ad +\def\vervolgreferentieregel{% + \hbox{% + \hb@xt@\refveldbreedte{\copy\@Ad\hfil}% + \hskip\refveldbreedte + \hb@xt@\refveldbreedte{\copy\@Dt\hfil}% + \@refveld{\bladnummertekst}{\thepage}\hss}} +\newcommand*\briefhoofd{} +\newcommand*\vervolghoofd{\vbox{}} +\newcommand*\maakbriefhoofd + {\@ifstar {\@kortvervolgbriefhoofd}{\@langvervolgbriefhoofd}} +\let\makeheader\maakbriefhoofd +\newcommand*\@kortvervolgbriefhoofd[2]{% + \@maakbriefhoofd{#1}{#2} + \def\vervolghoofd{% + \vbox{\hsize=4\refveldbreedte + \hb@xt@\hsize{\Large \normalfont\sffamily #1\strut\hfil} + \hrule \kern2mm \vervolgreferentieregel}}} +\newcommand*\@langvervolgbriefhoofd[2]{ + \@maakbriefhoofd{#1}{#2} + \def\vervolghoofd{% + \vbox{\briefhoofd\vskip2mm + \vervolgreferentieregel + \vbox{}}}} +\newcommand*\@maakbriefhoofd[2]{\def\briefhoofd{% + \vbox{\hsize=4\refveldbreedte + \hb@xt@\hsize{\Large \normalfont\sffamily #1\strut\hfil} + \hrule + \moveright 3\refveldbreedte\@refveld{\strut #2}{} + \vbox{}}}} +\newbox\@voetruimte +\setbox\@voetruimte=\hbox{} +\newcount\@voetteller +\newcommand*\voetregel{\copy\@voetruimte} +\newcommand*\voetitem[2]{% + \advance\@voetteller by 1 + \setbox\@voetruimte\hb@xt@4\refveldbreedte{% + \unhbox\@voetruimte + \ifcase\@voetteller \relax \or \relax \or \hfil \else \hfill + \fi + \@refveld{#1}{#2}\hskip0\p@ \@plus 3\refveldbreedte}} +\let\footitem\voetitem +\newcommand*\streepje{\hb@xt@2mm{\rule{2mm}{.1pt}}} +\newcommand*\streepjes[1]{% + \vbox to \z@{% + \kern-#1\relax + \hb@xt@\textwidth{% + \llap{\perfstreepje\kern24mm}\hfill + \rlap{\kern24mm\vouwstreepjes}} + \vss}} +\newcommand*\perfstreepje{\vtop{\kern\z@ \kern 135mm \streepje}} +\newcommand*\vouwstreepjes{% + \vtop{\kern\z@ + \kern 95mm %% 108-13 + \streepje %% denk maar dat dit geen dikte heeft + \kern 45mm %% 155-150 + \streepje}} +\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{% + \let\reserved@e\relax + \let\reserved@f\relax + \vadjust{\nobreak}\@ifstar{\@xnewline}{\@xnewline}} +\def\startbreaks{\let\\=\@normalcr + \interlinepenalty 200\def\par{\@@par\penalty 200\relax}} +\newcommand*\opening[1]{% + \thispagestyle{firstpage}% + \adresveld + \prevdepth=-1000\p@ \vskip-2\p@ %% ???? + \referentieregel + \@dosubject #1\par\nobreak} +\def\@dosubject{% + \ifx\@empty\@subject + \else + \par\noindent + \parbox[t]{\textwidth} + {\@hangfrom{\refkopfont \betrefttekst \enspace}% + \normalfont\rmfamily\ignorespaces \@subject\strut}% + \par + \fi} +\newcommand*\afsluiting[1]{\par\nobreak\vspace{\parskip}% + \stopbreaks + \ifx\@empty\fromsig + \def\ondertekening##1{\def\fromsig{##1}\@afsluiting{#1}}% + \else + \@afsluiting{#1}% + \fi} +\let\closing\afsluiting +\def\open@af{\vtop\bgroup\hsize.3\textwidth \raggedright} +\newcommand*\@afsluiting[1]{% + \def\en{\strut\egroup\open@af}% + \let\and\en + \noindent + \parbox{.5\textwidth}{% + \raggedright \ignorespaces #1\\[6\medskipamount]% + \leavevmode\open@af \fromsig \strut\egroup}} +\medskipamount=\parskip +\newcommand*\betreft[1]{\def\@subject{#1}} +\let\onderwerp\betreft +\let\subject\betreft +\def\@subject{} +\let\re\betreft +\newcommand*{\cc}[1]{\par\noindent + \parbox[t]{\textwidth}{\@hangfrom{\normalfont\ccname: }% + \ignorespaces #1\strut}\par} +\newcommand*{\bijlage}[1]{% + \par\noindent + \parbox[t]{\textwidth}{\@hangfrom{\normalfont\bijlagetekst\ }% + \ignorespaces #1\strut}\par} +\newcommand*{\bijlagen}[1]{% + \par\noindent + \parbox[t]{\textwidth}{\@hangfrom{\normalfont\bijlagentekst\ }% + \ignorespaces #1\strut}\par} +\let\encl\bijlagen +\def\ps{\par\startbreaks} +\def\stopletter{} +\def\returnaddress{} +\newcount\labelcount +\newcommand*{\startlabels}{\labelcount\z@ + \pagestyle{empty}% + \let\@texttop\relax + \topmargin -50\p@ + \headsep \z@ + \oddsidemargin -35\p@ + \evensidemargin -35\p@ + \textheight 10in + \@colht\textheight \@colroom\textheight \vsize\textheight + \textwidth 550\p@ + \columnsep 26\p@ + \ifcase \@ptsize\relax + \normalsize + \or + \small + \or + \footnotesize + \fi + \baselineskip \z@ + \lineskip \z@ + \boxmaxdepth \z@ + \parindent \z@ + \twocolumn\relax} +\let\@startlabels=\relax +\newcommand*{\mlabel}[2]{% + \parbox[b][2in][c]{262\p@}{\strut\ignorespaces #2}% + } +\let\@mlabel=\@gobbletwo +\setlength\leftmargini {2.5em} +\setlength\leftmarginii {2.2em} +\setlength\leftmarginiii {1.87em} +\setlength\leftmarginiv {1.7em} +\setlength\leftmarginv {1em} +\setlength\leftmarginvi {1em} +\setlength\leftmargin {\leftmargini} +\setlength \labelsep {5\p@} +\setlength \labelwidth{\leftmargini} +\addtolength\labelwidth{-\labelsep} +\setlength\partopsep{0\p@} +\setlength\topsep{.4em} +\@beginparpenalty -\@lowpenalty +\@endparpenalty -\@lowpenalty +\@itempenalty -\@lowpenalty +\def\@listI{\leftmargin\leftmargini + \labelsep.5em% + \labelwidth\leftmargin + \advance\labelwidth-\labelsep + \topsep .5\parskip \@plus \p@ + \parsep \z@ + \itemsep\parsep} +\let\@listi\@listI +\@listi +\def\@listii {\leftmargin\leftmarginii + \labelsep .5em% + \labelwidth\leftmarginii + \advance\labelwidth-\labelsep + \topsep -.5\parskip \@plus \p@ + \parsep \z@ + \itemsep\parsep} +\def\@listiii{\leftmargin\leftmarginiii + \labelsep .5em% + \labelwidth\leftmarginiii + \advance\labelwidth-\labelsep + \topsep -.5\parskip \@plus \p@ + \parsep \z@ + \partopsep \z@ + \itemsep \topsep} +\def\@listiv {\leftmargin\leftmarginiv + \labelsep .5em% + \labelwidth\leftmarginiv + \advance\labelwidth-\labelsep + \topsep -.5\parskip \@plus \p@} +\def\@listv {\leftmargin\leftmarginv + \labelsep .5em% + \labelwidth\leftmarginv + \advance\labelwidth-\labelsep + \topsep -.5\parskip \@plus \p@} +\def\@listvi {\leftmargin\leftmarginvi + \labelsep .5em% + \labelwidth\leftmarginvi + \advance\labelwidth-\labelsep + \topsep -.5\parskip \@plus \p@} +\renewcommand*{\theenumi}{\@arabic\c@enumi} +\renewcommand*{\theenumii}{\@alph\c@enumii} +\renewcommand*{\theenumiii}{\@roman\c@enumiii} +\renewcommand*{\theenumiv}{\@Alph\c@enumiv} +\newcommand*{\labelenumi}{\theenumi.} +\newcommand*{\labelenumii}{(\theenumii)} +\newcommand*{\labelenumiii}{\theenumiii.} +\newcommand*{\labelenumiv}{\theenumiv.} +\renewcommand*{\p@enumii}{\theenumi} +\renewcommand*{\p@enumiii}{\theenumi(\theenumii)} +\renewcommand*{\p@enumiv}{\p@enumiii\theenumiii} +\newcommand*{\labelitemi}{\textbullet} +\newcommand*{\labelitemii}{\normalfont\bfseries \textendash} +\newcommand*{\labelitemiii}{\textasteriskcentered} +\newcommand*{\labelitemiv}{\textperiodcentered} +\newenvironment{description} + {\list{}{\labelwidth\z@ \itemindent-\leftmargin + \let\makelabel\descriptionlabel}} + {\endlist} +\newcommand*\descriptionlabel[1]{\hspace\labelsep + \normalfont\bfseries #1} +\newenvironment{verse} + {\let\\=\@centercr + \list{}{\setlength\itemsep{\z@}% + \setlength\itemindent{-15\p@}% + \setlength\listparindent{\itemindent}% + \setlength\rightmargin{\leftmargin}% + \addtolength\leftmargin{15\p@}}% + \item[]} + {\endlist} +\newenvironment{quotation} + {\list{}{\setlength\listparindent{1.5em}% + \setlength\itemindent{\listparindent}% + \setlength\rightmargin{\leftmargin}}% + \item[]} + {\endlist} +\newenvironment{quote} + {\list{}{\setlength\rightmargin{\leftmargin}}% + \item[]} + {\endlist} +\setlength\arraycolsep{5\p@} +\setlength\tabcolsep{6\p@} +\setlength\arrayrulewidth{.4\p@} +\setlength\doublerulesep{2\p@} +\setlength\tabbingsep{\labelsep} +\skip\@mpfootins = \skip\footins +\setlength\fboxsep{3\p@} +\setlength\fboxrule{.4\p@} +\renewcommand*{\theequation}{\@arabic\c@equation} +\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm} +\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf} +\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt} +\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf} +\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit} +\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\relax} +\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\relax} +\DeclareRobustCommand*{\cal}{\@fontswitch{\relax}{\mathcal}} +\DeclareRobustCommand*{\mit}{\@fontswitch{\relax}{\mathnormal}} +\renewcommand*{\footnoterule}{% + \kern-\p@ + \hrule \@width .4\columnwidth + \kern .6\p@} +\long\def\@makefntext#1{% + \noindent\hb@xt@\leftmargini{\normalfont\@thefnmark.\hfil}#1} +\newcommand*{\dutchbrief}{% + \def\uwbrieftekst{Uw brief van} + \def\uwkenmerktekst{Uw kenmerk} + \def\onskenmerktekst{Ons kenmerk} + \def\datumtekst{Datum} + \def\geadresseerdetekst{Geadresseerde} + \def\bladnummertekst{Bladnummer} + \def\vandaag{\number\day~\ifcase\month\or + januari\or februari\or maart\or april\or mei\or juni\or juli\or + augustus\or september\or oktober\or november\or december\fi + \space \number\year} + \def\betrefttekst{Onderwerp:} + \def\ccname{cc} + \def\bijlagetekst{Bijlage:} + \def\bijlagentekst{Bijlagen:} + \def\telefoontekst{telefoon}} +\newcommand*{\englishbrief}{% + \def\uwbrieftekst{Your letter of} + \def\uwkenmerktekst{Your reference} + \def\onskenmerktekst{Our reference} + \def\datumtekst{Date} + \def\geadresseerdetekst{To} + \def\bladnummertekst{Page} + \def\vandaag{\ifcase\day\or + 1st\or 2nd\or 3rd\or 4th\or 5th\or + 6th\or 7th\or 8th\or 9th\or 10th\or + 11th\or 12th\or 13th\or 14th\or 15th\or + 16th\or 17th\or 18th\or 19th\or 20th\or + 21st\or 22nd\or 23rd\or 24th\or 25th\or + 26th\or 27th\or 28th\or 29th\or 30th\or + 31st\fi~\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\year} + \def\betrefttekst{Re:} + \def\ccname{cc} + \def\bijlagetekst{Enclosure:} + \def\bijlagentekst{Enclosures:} + \def\telefoontekst{telephone}} +\newcommand*{\americanbrief}{% + \def\uwbrieftekst{Your letter of} + \def\uwkenmerktekst{Your reference} + \def\onskenmerktekst{Our reference} + \def\datumtekst{Date} + \def\geadresseerdetekst{To} + \def\bladnummertekst{Page} + \def\vandaag{\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} + \def\betrefttekst{Re:} + \def\ccname{cc} + \def\bijlagetekst{Enclosure:} + \def\bijlagentekst{Enclosures:} + \def\telefoontekst{telephone}} +\newcommand*{\germanbrief}{% + \def\uwbrieftekst{Ihr Brief vom} + \def\uwkenmerktekst{Ihr Zeichen} + \def\onskenmerktekst{Unser Zeichen} + \def\datumtekst{Datum} + \def\geadresseerdetekst{An} + \def\bladnummertekst{Seite} + \def\vandaag{\number\day.~\ifcase\month\or + Januar\or Februar\or M\"arz\or April\or Mai\or Juni\or + Juli\or August\or September\or Oktober\or November\or Dezember\fi + \space\number\year} + \def\betrefttekst{Betrifft:} + \def\ccname{Kopien an} + \def\bijlagetekst{Anlage:} + \def\bijlagentekst{Anlagen:} + \def\telefoontekst{Telefon}} +\newcommand*{\frenchbrief}{% + \def\uwbrieftekst{Votre lettre du} + \def\uwkenmerktekst{Vos r\'ef\'erences:} + \def\onskenmerktekst{Nos r\'ef\'erences:} + \def\datumtekst{Date:} + \def\geadresseerdetekst{\`A l'attention de} + \def\bladnummertekst{Page} + \def\vandaag{\number\day\ifnum\day=1$^{er}$\fi + ~\ifcase\month\or janvier\or + f\'evrier\or mars\or avril\or mai\or juin\or + juillet\or ao\^ut\or septembre\or octobre\or + novembre\or d\'ecembre\fi \space \number\year} + \def\betrefttekst{Objet:} + \def\ccname{Copie \`a} + \def\bijlagetekst{Pi\`ece jointe:} + \def\bijlagentekst{Pi\`eces jointes:} + \def\telefoontekst{T\'el\'ephone:}} +\setlength\columnsep{10\p@} +\setlength\columnseprule{0\p@} +\pagestyle{headings} +\pagenumbering{arabic} +\raggedbottom +\let\@texttop\relax +\onecolumn +\endinput +%% +%% End of file `brief.cls'. diff --git a/Master/texmf-dist/tex/latex/ntgclass/ntg10.clo b/Master/texmf-dist/tex/latex/ntgclass/ntg10.clo new file mode 100644 index 00000000000..08a16600dab --- /dev/null +++ b/Master/texmf-dist/tex/latex/ntgclass/ntg10.clo @@ -0,0 +1,216 @@ +%% +%% This is file `ntg10.clo', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% ntgclass.dtx (with options: `10pt') +%% This is a generated file. +%% +%% Copyright (C) 1990-2004 Nederlandstalige TeX Gebruikersgroep. +%% All rights reserved. +%% +%% This file was generated from file(s) of the NTG document classes distribution. +%% ------------------------------------------------------------------------------ +%% +%% It may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% The Current Maintainer of this work is Johannes Braams. +%% +%% This file may only be distributed together with a copy of the NTG +%% document classes distribution. You may however distribute the NTG +%% document classes distribution without such generated files. +%% +%% The list of all files belonging to the NTG document classes +%% distribution is given in the file `manifest.txt'. +%% +%% The list of derived (unpacked) files belonging to the distribution +%% and covered by LPPL is defined by the unpacking scripts (with +%% extension .ins) which are part of the distribution. +%% Copyright (C) 1994 -- 2004 by Victor Eijkhout and Johannes Braams +%% Based on classes.dtx +%% Copyright (C) 1999 LaTeX3 project, all rights reserved. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesFile{ntg10.clo} + [2004/06/07 v2.1a + NTG LaTeX file (size option)] +\renewcommand\normalsize{% + \@setfontsize\normalsize\@xpt\@xiipt + \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@ + \belowdisplayskip \abovedisplayskip + \let\@listi\@listI} +\let\@normalsize\normalsize +\normalsize +\newcommand*\small{% + \@setfontsize\small\@ixpt{11}% + \abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@ + \abovedisplayshortskip \z@ \@plus2\p@ + \belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@ + \belowdisplayskip \abovedisplayskip +} +\newcommand*\footnotesize{% + \@setfontsize\footnotesize\@viiipt{9.5}% + \abovedisplayskip 6\p@ \@plus2\p@ \@minus4\p@ + \abovedisplayshortskip \z@ \@plus\p@ + \belowdisplayshortskip 3\p@ \@plus\p@ \@minus2\p@ + \belowdisplayskip \abovedisplayskip +} +\newcommand*\scriptsize{\@setfontsize\scriptsize\@viipt\@viiipt} +\newcommand*\tiny{\@setfontsize\tiny\@vpt\@vipt} +\newcommand*\large{\@setfontsize\large\@xiipt{14}} +\newcommand*\Large{\@setfontsize\Large\@xivpt{18}} +\newcommand*\LARGE{\@setfontsize\LARGE\@xviipt{22}} +\newcommand*\huge{\@setfontsize\huge\@xxpt{25}} +\newcommand*\Huge{\@setfontsize\Huge\@xxvpt{30}} +\setlength\headheight{12\p@} +\setlength\headsep {25\p@} +\setlength\topskip {10\p@} +\setlength\footskip{30\p@} % +\if@compatibility + \setlength\maxdepth{4\p@} +\else + \setlength\maxdepth{.5\topskip} +\fi +\if@compatibility + \if@twocolumn + \setlength\textwidth{410\p@} + \else + \setlength\textwidth{345\p@} + \fi +\else + \setlength\@tempdima{\paperwidth} + \addtolength\@tempdima{-2in} + \setlength\@tempdimb{361\p@} + \if@twocolumn + \ifdim\@tempdima>2\@tempdimb\relax + \setlength\textwidth{2\@tempdimb} + \else + \setlength\textwidth{\@tempdima} + \fi + + \else + \ifdim\@tempdima>\@tempdimb\relax + \setlength\textwidth{\@tempdimb} + \else + \setlength\textwidth{\@tempdima} + \fi + \fi +\fi +\if@compatibility +\else + \@settopoint\textwidth +\fi +\if@compatibility + \setlength\textheight{43\baselineskip} +\else + \setlength\@tempdima{\paperheight} + \addtolength\@tempdima{-2in} + \addtolength\@tempdima{-1.5in} + \divide\@tempdima\baselineskip + \@tempcnta=\@tempdima + \setlength\textheight{\@tempcnta\baselineskip} +\fi +\advance\textheight by \topskip +\if@twocolumn + \setlength\marginparsep {10\p@} +\else + \setlength\marginparsep{11\p@} +\fi +\setlength\marginparpush{5\p@} +\if@compatibility + \if@twoside + \setlength\oddsidemargin {44\p@} + \setlength\evensidemargin {82\p@} + \setlength\marginparwidth {107\p@} + \else + \setlength\oddsidemargin {63\p@} + \setlength\evensidemargin {63\p@} + \setlength\marginparwidth {90\p@} + \fi + \if@twocolumn + \setlength\oddsidemargin {30\p@} + \setlength\evensidemargin {30\p@} + \setlength\marginparwidth {48\p@} + \fi +\else + \if@twoside + \setlength\@tempdima {\paperwidth} + \addtolength\@tempdima {-\textwidth} + \setlength\oddsidemargin {.4\@tempdima} + \addtolength\oddsidemargin {-1in} + \setlength\marginparwidth {.6\@tempdima} + \addtolength\marginparwidth {-\marginparsep} + \addtolength\marginparwidth {-0.4in} + \else + \setlength\@tempdima {\paperwidth} + \addtolength\@tempdima {-\textwidth} + \setlength\oddsidemargin {.5\@tempdima} + \addtolength\oddsidemargin {-1in} + \setlength\marginparwidth {.5\@tempdima} + \addtolength\marginparwidth {-\marginparsep} + \addtolength\marginparwidth {-.4in} + \fi + \ifdim \marginparwidth >2in + \setlength\marginparwidth{2in} + \fi + \@settopoint\oddsidemargin + \@settopoint\marginparwidth + \setlength\evensidemargin {\paperwidth} + \addtolength\evensidemargin{-2in} + \addtolength\evensidemargin{-\textwidth} + \addtolength\evensidemargin{-\oddsidemargin} + \@settopoint\evensidemargin +\fi +\if@compatibility + \setlength\topmargin{27pt} +\else + \setlength\topmargin{\paperheight} + \addtolength\topmargin{-2in} + \addtolength\topmargin{-\headheight} + \addtolength\topmargin{-\headsep} + \addtolength\topmargin{-\textheight} + \addtolength\topmargin{-\footskip} % this might be wrong! + \addtolength\topmargin{-.5\topmargin} + \@settopoint\topmargin +\fi +\setlength\footnotesep{6.65\p@} +\setlength{\skip\footins}{9\p@ \@plus 4\p@ \@minus 2\p@} +\setlength\floatsep {12\p@ \@plus 2\p@ \@minus 2\p@} +\setlength\textfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@} +\setlength\intextsep {12\p@ \@plus 2\p@ \@minus 2\p@} +\setlength\dblfloatsep {12\p@ \@plus 2\p@ \@minus 2\p@} +\setlength\dbltextfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@} +\setlength\@fptop{0\p@ \@plus 1fil} +\setlength\@fpsep{8\p@ \@plus 2fil} +\setlength\@fpbot{0\p@ \@plus 1fil} +\setlength\@dblfptop{0\p@ \@plus 1fil} +\setlength\@dblfpsep{8\p@ \@plus 2fil} +\setlength\@dblfpbot{0\p@ \@plus 1fil} +\endinput +%% +%% End of file `ntg10.clo'. diff --git a/Master/texmf-dist/tex/latex/ntgclass/ntg11.clo b/Master/texmf-dist/tex/latex/ntgclass/ntg11.clo new file mode 100644 index 00000000000..8bc9cc2aeec --- /dev/null +++ b/Master/texmf-dist/tex/latex/ntgclass/ntg11.clo @@ -0,0 +1,216 @@ +%% +%% This is file `ntg11.clo', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% ntgclass.dtx (with options: `11pt') +%% This is a generated file. +%% +%% Copyright (C) 1990-2004 Nederlandstalige TeX Gebruikersgroep. +%% All rights reserved. +%% +%% This file was generated from file(s) of the NTG document classes distribution. +%% ------------------------------------------------------------------------------ +%% +%% It may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% The Current Maintainer of this work is Johannes Braams. +%% +%% This file may only be distributed together with a copy of the NTG +%% document classes distribution. You may however distribute the NTG +%% document classes distribution without such generated files. +%% +%% The list of all files belonging to the NTG document classes +%% distribution is given in the file `manifest.txt'. +%% +%% The list of derived (unpacked) files belonging to the distribution +%% and covered by LPPL is defined by the unpacking scripts (with +%% extension .ins) which are part of the distribution. +%% Copyright (C) 1994 -- 2004 by Victor Eijkhout and Johannes Braams +%% Based on classes.dtx +%% Copyright (C) 1999 LaTeX3 project, all rights reserved. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesFile{ntg11.clo} + [2004/06/07 v2.1a + NTG LaTeX file (size option)] +\renewcommand\normalsize{% + \@setfontsize\normalsize\@xipt{13.6}% + \abovedisplayskip 11\p@ \@plus3\p@ \@minus6\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@ + \belowdisplayskip \abovedisplayskip + \let\@listi\@listI} +\let\@normalsize\normalsize +\normalsize +\newcommand*\small{% + \@setfontsize\small\@xpt\@xiipt + \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@ + \belowdisplayskip \abovedisplayskip +} +\newcommand*\footnotesize{% + \@setfontsize\footnotesize\@ixpt{11}% + \abovedisplayskip 8\p@ \@plus2\p@ \@minus4\p@ + \abovedisplayshortskip \z@ \@plus\p@ + \belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@ + \belowdisplayskip \abovedisplayskip +} +\newcommand*\scriptsize{\@setfontsize\scriptsize\@viiipt{9.5}} +\newcommand*\tiny{\@setfontsize\tiny\@vipt\@viipt} +\newcommand*\large{\@setfontsize\large\@xiipt{14}} +\newcommand*\Large{\@setfontsize\Large\@xivpt{18}} +\newcommand*\LARGE{\@setfontsize\LARGE\@xviipt{22}} +\newcommand*\huge{\@setfontsize\huge\@xxpt{25}} +\newcommand*\Huge{\@setfontsize\Huge\@xxvpt{30}} +\setlength\headheight{12\p@} +\setlength\headsep {25\p@} +\setlength\topskip {11\p@} +\setlength\footskip{30\p@} % +\if@compatibility + \setlength\maxdepth{4\p@} +\else + \setlength\maxdepth{.5\topskip} +\fi +\if@compatibility + \if@twocolumn + \setlength\textwidth{410\p@} + \else + \setlength\textwidth{360\p@} + \fi +\else + \setlength\@tempdima{\paperwidth} + \addtolength\@tempdima{-2in} + \setlength\@tempdimb{376\p@} + \if@twocolumn + \ifdim\@tempdima>2\@tempdimb\relax + \setlength\textwidth{2\@tempdimb} + \else + \setlength\textwidth{\@tempdima} + \fi + + \else + \ifdim\@tempdima>\@tempdimb\relax + \setlength\textwidth{\@tempdimb} + \else + \setlength\textwidth{\@tempdima} + \fi + \fi +\fi +\if@compatibility +\else + \@settopoint\textwidth +\fi +\if@compatibility + \setlength\textheight{38\baselineskip} +\else + \setlength\@tempdima{\paperheight} + \addtolength\@tempdima{-2in} + \addtolength\@tempdima{-1.5in} + \divide\@tempdima\baselineskip + \@tempcnta=\@tempdima + \setlength\textheight{\@tempcnta\baselineskip} +\fi +\advance\textheight by \topskip +\if@twocolumn + \setlength\marginparsep {10\p@} +\else + \setlength\marginparsep{10\p@} +\fi +\setlength\marginparpush{5\p@} +\if@compatibility + \if@twoside + \setlength\oddsidemargin {36\p@} + \setlength\evensidemargin {74\p@} + \setlength\marginparwidth {100\p@} + \else + \setlength\oddsidemargin {54\p@} + \setlength\evensidemargin {54\p@} + \setlength\marginparwidth {83\p@} + \fi + \if@twocolumn + \setlength\oddsidemargin {30\p@} + \setlength\evensidemargin {30\p@} + \setlength\marginparwidth {48\p@} + \fi +\else + \if@twoside + \setlength\@tempdima {\paperwidth} + \addtolength\@tempdima {-\textwidth} + \setlength\oddsidemargin {.4\@tempdima} + \addtolength\oddsidemargin {-1in} + \setlength\marginparwidth {.6\@tempdima} + \addtolength\marginparwidth {-\marginparsep} + \addtolength\marginparwidth {-0.4in} + \else + \setlength\@tempdima {\paperwidth} + \addtolength\@tempdima {-\textwidth} + \setlength\oddsidemargin {.5\@tempdima} + \addtolength\oddsidemargin {-1in} + \setlength\marginparwidth {.5\@tempdima} + \addtolength\marginparwidth {-\marginparsep} + \addtolength\marginparwidth {-.4in} + \fi + \ifdim \marginparwidth >2in + \setlength\marginparwidth{2in} + \fi + \@settopoint\oddsidemargin + \@settopoint\marginparwidth + \setlength\evensidemargin {\paperwidth} + \addtolength\evensidemargin{-2in} + \addtolength\evensidemargin{-\textwidth} + \addtolength\evensidemargin{-\oddsidemargin} + \@settopoint\evensidemargin +\fi +\if@compatibility + \setlength\topmargin{27pt} +\else + \setlength\topmargin{\paperheight} + \addtolength\topmargin{-2in} + \addtolength\topmargin{-\headheight} + \addtolength\topmargin{-\headsep} + \addtolength\topmargin{-\textheight} + \addtolength\topmargin{-\footskip} % this might be wrong! + \addtolength\topmargin{-.5\topmargin} + \@settopoint\topmargin +\fi +\setlength\footnotesep{7.7\p@} +\setlength{\skip\footins}{10\p@ \@plus 4\p@ \@minus 2\p@} +\setlength\floatsep {12\p@ \@plus 2\p@ \@minus 2\p@} +\setlength\textfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@} +\setlength\intextsep {12\p@ \@plus 2\p@ \@minus 2\p@} +\setlength\dblfloatsep {12\p@ \@plus 2\p@ \@minus 2\p@} +\setlength\dbltextfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@} +\setlength\@fptop{0\p@ \@plus 1fil} +\setlength\@fpsep{8\p@ \@plus 2fil} +\setlength\@fpbot{0\p@ \@plus 1fil} +\setlength\@dblfptop{0\p@ \@plus 1fil} +\setlength\@dblfpsep{8\p@ \@plus 2fil} +\setlength\@dblfpbot{0\p@ \@plus 1fil} +\endinput +%% +%% End of file `ntg11.clo'. diff --git a/Master/texmf-dist/tex/latex/ntgclass/ntg12.clo b/Master/texmf-dist/tex/latex/ntgclass/ntg12.clo new file mode 100644 index 00000000000..0159ff46dcb --- /dev/null +++ b/Master/texmf-dist/tex/latex/ntgclass/ntg12.clo @@ -0,0 +1,216 @@ +%% +%% This is file `ntg12.clo', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% ntgclass.dtx (with options: `12pt') +%% This is a generated file. +%% +%% Copyright (C) 1990-2004 Nederlandstalige TeX Gebruikersgroep. +%% All rights reserved. +%% +%% This file was generated from file(s) of the NTG document classes distribution. +%% ------------------------------------------------------------------------------ +%% +%% It may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% The Current Maintainer of this work is Johannes Braams. +%% +%% This file may only be distributed together with a copy of the NTG +%% document classes distribution. You may however distribute the NTG +%% document classes distribution without such generated files. +%% +%% The list of all files belonging to the NTG document classes +%% distribution is given in the file `manifest.txt'. +%% +%% The list of derived (unpacked) files belonging to the distribution +%% and covered by LPPL is defined by the unpacking scripts (with +%% extension .ins) which are part of the distribution. +%% Copyright (C) 1994 -- 2004 by Victor Eijkhout and Johannes Braams +%% Based on classes.dtx +%% Copyright (C) 1999 LaTeX3 project, all rights reserved. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesFile{ntg12.clo} + [2004/06/07 v2.1a + NTG LaTeX file (size option)] +\renewcommand\normalsize{% + \@setfontsize\normalsize\@xiipt{14.5}% + \abovedisplayskip 12\p@ \@plus3\p@ \@minus7\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@ + \belowdisplayskip \abovedisplayskip + \let\@listi\@listI} +\let\@normalsize\normalsize +\normalsize +\newcommand*\small{% + \@setfontsize\small\@xipt{13.6}% + \abovedisplayskip 11\p@ \@plus3\p@ \@minus6\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@ + \belowdisplayskip \abovedisplayskip +} +\newcommand*\footnotesize{% + \@setfontsize\footnotesize\@xpt\@xiipt + \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@ + \belowdisplayskip \abovedisplayskip +} +\newcommand*\scriptsize{\@setfontsize\scriptsize\@viiipt{9.5}} +\newcommand*\tiny{\@setfontsize\tiny\@vipt\@viipt} +\newcommand*\large{\@setfontsize\large\@xivpt{18}} +\newcommand*\Large{\@setfontsize\Large\@xviipt{22}} +\newcommand*\LARGE{\@setfontsize\LARGE\@xxpt{25}} +\newcommand*\huge{\@setfontsize\huge\@xxvpt{30}} +\let\Huge=\huge +\setlength\headheight{12\p@} +\setlength\headsep {25\p@} +\setlength\topskip {12\p@} +\setlength\footskip{30\p@} % +\if@compatibility + \setlength\maxdepth{4\p@} +\else + \setlength\maxdepth{.5\topskip} +\fi +\if@compatibility + \if@twocolumn + \setlength\textwidth{410\p@} + \else + \setlength\textwidth{390\p@} + \fi +\else + \setlength\@tempdima{\paperwidth} + \addtolength\@tempdima{-2in} + \setlength\@tempdimb{412\p@} + \if@twocolumn + \ifdim\@tempdima>2\@tempdimb\relax + \setlength\textwidth{2\@tempdimb} + \else + \setlength\textwidth{\@tempdima} + \fi + + \else + \ifdim\@tempdima>\@tempdimb\relax + \setlength\textwidth{\@tempdimb} + \else + \setlength\textwidth{\@tempdima} + \fi + \fi +\fi +\if@compatibility +\else + \@settopoint\textwidth +\fi +\if@compatibility + \setlength\textheight{36\baselineskip} +\else + \setlength\@tempdima{\paperheight} + \addtolength\@tempdima{-2in} + \addtolength\@tempdima{-1.5in} + \divide\@tempdima\baselineskip + \@tempcnta=\@tempdima + \setlength\textheight{\@tempcnta\baselineskip} +\fi +\advance\textheight by \topskip +\if@twocolumn + \setlength\marginparsep {10\p@} +\else + \setlength\marginparsep{10\p@} +\fi +\setlength\marginparpush{7\p@} +\if@compatibility + \if@twoside + \setlength\oddsidemargin {21\p@} + \setlength\evensidemargin {59\p@} + \setlength\marginparwidth {85\p@} + \else + \setlength\oddsidemargin {39.5\p@} + \setlength\evensidemargin {39.5\p@} + \setlength\marginparwidth {68\p@} + \fi + \if@twocolumn + \setlength\oddsidemargin {30\p@} + \setlength\evensidemargin {30\p@} + \setlength\marginparwidth {48\p@} + \fi +\else + \if@twoside + \setlength\@tempdima {\paperwidth} + \addtolength\@tempdima {-\textwidth} + \setlength\oddsidemargin {.4\@tempdima} + \addtolength\oddsidemargin {-1in} + \setlength\marginparwidth {.6\@tempdima} + \addtolength\marginparwidth {-\marginparsep} + \addtolength\marginparwidth {-0.4in} + \else + \setlength\@tempdima {\paperwidth} + \addtolength\@tempdima {-\textwidth} + \setlength\oddsidemargin {.5\@tempdima} + \addtolength\oddsidemargin {-1in} + \setlength\marginparwidth {.5\@tempdima} + \addtolength\marginparwidth {-\marginparsep} + \addtolength\marginparwidth {-.4in} + \fi + \ifdim \marginparwidth >2in + \setlength\marginparwidth{2in} + \fi + \@settopoint\oddsidemargin + \@settopoint\marginparwidth + \setlength\evensidemargin {\paperwidth} + \addtolength\evensidemargin{-2in} + \addtolength\evensidemargin{-\textwidth} + \addtolength\evensidemargin{-\oddsidemargin} + \@settopoint\evensidemargin +\fi +\if@compatibility + \setlength\topmargin{27pt} +\else + \setlength\topmargin{\paperheight} + \addtolength\topmargin{-2in} + \addtolength\topmargin{-\headheight} + \addtolength\topmargin{-\headsep} + \addtolength\topmargin{-\textheight} + \addtolength\topmargin{-\footskip} % this might be wrong! + \addtolength\topmargin{-.5\topmargin} + \@settopoint\topmargin +\fi +\setlength\footnotesep{8.4\p@} +\setlength{\skip\footins}{10.8\p@ \@plus 4\p@ \@minus 2\p@} +\setlength\floatsep {12\p@ \@plus 2\p@ \@minus 4\p@} +\setlength\textfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@} +\setlength\intextsep {14\p@ \@plus 4\p@ \@minus 4\p@} +\setlength\dblfloatsep {14\p@ \@plus 2\p@ \@minus 4\p@} +\setlength\dbltextfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@} +\setlength\@fptop{0\p@ \@plus 1fil} +\setlength\@fpsep{10\p@ \@plus 2fil} +\setlength\@fpbot{0\p@ \@plus 1fil} +\setlength\@dblfptop{0\p@ \@plus 1fil} +\setlength\@dblfpsep{10\p@ \@plus 2fil} +\setlength\@dblfpbot{0\p@ \@plus 1fil} +\endinput +%% +%% End of file `ntg12.clo'. diff --git a/Master/texmf-dist/tex/latex/ntgclass/rapport1.cls b/Master/texmf-dist/tex/latex/ntgclass/rapport1.cls new file mode 100644 index 00000000000..f8f8e2e4d94 --- /dev/null +++ b/Master/texmf-dist/tex/latex/ntgclass/rapport1.cls @@ -0,0 +1,1067 @@ +%% +%% This is file `rapport1.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% ntgclass.dtx (with options: `rapport,type1') +%% This is a generated file. +%% +%% Copyright (C) 1990-2004 Nederlandstalige TeX Gebruikersgroep. +%% All rights reserved. +%% +%% This file was generated from file(s) of the NTG document classes distribution. +%% ------------------------------------------------------------------------------ +%% +%% It may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% The Current Maintainer of this work is Johannes Braams. +%% +%% This file may only be distributed together with a copy of the NTG +%% document classes distribution. You may however distribute the NTG +%% document classes distribution without such generated files. +%% +%% The list of all files belonging to the NTG document classes +%% distribution is given in the file `manifest.txt'. +%% +%% The list of derived (unpacked) files belonging to the distribution +%% and covered by LPPL is defined by the unpacking scripts (with +%% extension .ins) which are part of the distribution. +%% Copyright (C) 1994 -- 2004 by Victor Eijkhout and Johannes Braams +%% Based on classes.dtx +%% Copyright (C) 1999 LaTeX3 project, all rights reserved. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\NeedsTeXFormat{LaTeX2e}[1995/06/01] +\ProvidesClass{rapport1}% + [2004/06/07 v2.1a + NTG LaTeX document class] +\newcommand*\@ptsize{} + +\newif\if@restonecol +\newif\if@titlepage +\@titlepagetrue +\newif\if@openright +\newif\if@oldtoc +\@oldtocfalse +\newif\if@allcaps +\newif\if@revlabel +\DeclareOption{a4paper} + {\setlength\paperheight {297mm}% + \setlength\paperwidth {210mm}} +\DeclareOption{a5paper} + {\setlength\paperheight {210mm}% + \setlength\paperwidth {148mm}} +\DeclareOption{b5paper} + {\setlength\paperheight {250mm}% + \setlength\paperwidth {176mm}} +\DeclareOption{letterpaper} + {\setlength\paperheight {11in}% + \setlength\paperwidth {8.5in}} +\DeclareOption{legalpaper} + {\setlength\paperheight {14in}% + \setlength\paperwidth {8.5in}} +\DeclareOption{executivepaper} + {\setlength\paperheight {10.5in}% + \setlength\paperwidth {7.25in}} +\DeclareOption{landscape} + {\setlength\@tempdima {\paperheight}% + \setlength\paperheight {\paperwidth}% + \setlength\paperwidth {\@tempdima}} +\DeclareOption{10pt}{\renewcommand\@ptsize{0}} +\DeclareOption{11pt}{\renewcommand\@ptsize{1}} +\DeclareOption{12pt}{\renewcommand\@ptsize{2}} +\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse} +\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue} +\DeclareOption{draft}{\setlength\overfullrule{5pt}} +\DeclareOption{final}{\setlength\overfullrule{0pt}} +\DeclareOption{titlepage}{\@titlepagetrue} +\DeclareOption{notitlepage}{\@titlepagefalse} +\DeclareOption{openright}{\@openrighttrue} +\DeclareOption{openany}{\@openrightfalse} +\DeclareOption{voorwerk}{\@titlepagetrue} +\DeclareOption{geenvoorwerk}{\@titlepagefalse} +\DeclareOption{oldtoc}{\@oldtoctrue} +\DeclareOption{mctitle}{\@allcapsfalse} +\DeclareOption{uctitle}{\@allcapstrue} +\DeclareOption{onecolumn}{\@twocolumnfalse} +\DeclareOption{twocolumn}{\@twocolumntrue} +\DeclareOption{leqno}{\input{leqno.clo}} +\DeclareOption{fleqn}{\input{fleqn.clo}} +\DeclareOption{openbib}{% + \AtEndOfPackage{% + \renewcommand\@openbib@code{% + \advance\leftmargin\bibindent + \itemindent -\bibindent + \listparindent \itemindent + \parsep \z@ + }% + \renewcommand\newblock{\par}}% +} +\ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,uctitle,openany} +\ProcessOptions +\input{ntg1\@ptsize.clo} +\setlength\lineskip{1\p@} +\setlength\normallineskip{1\p@} +\renewcommand\baselinestretch{} +\newdimen\unitindent +{\setbox0\hbox{\normalsize\rmfamily 2.2.2\hskip.5em} + \global\unitindent=\wd0} +\newdimen\othermargin +{\setbox0\hbox{\normalsize (m)\hskip.6em}\global\othermargin=\wd0} +\newif\if@needwriteindent +\newcommand*\@indentset{% + \global\parindent=\unitindent + \global\leftmargini=\unitindent + \global\@needwriteindenttrue} +\newcommand*\@writeindent[1]{\immediate\write\@mainaux + {\string\@ifundefined{unitindent}{\string\newdimen\string\unitindent + \let\string\@indentset\relax}{}} + \immediate\write\@mainaux{\global\string\unitindent=#1\string\relax + \string\@indentset \string\relax}} +\AtEndDocument{% + \if@filesw + \if@needwriteindent + \@writeindent{\the\unitindent} + \fi + \fi} +\setlength\parskip{0\p@} +\setlength\parindent{\unitindent} +\@lowpenalty 51 +\@medpenalty 151 +\@highpenalty 301 +\setcounter{topnumber}{2} +\renewcommand\topfraction{.7} +\setcounter{bottomnumber}{1} +\renewcommand\bottomfraction{.3} +\setcounter{totalnumber}{3} +\renewcommand\textfraction{.2} +\renewcommand\floatpagefraction{.5} +\setcounter{dbltopnumber}{2} +\renewcommand\dbltopfraction{.7} +\renewcommand\dblfloatpagefraction{.5} +\let\Thispagestyle\thispagestyle +\newcommand*\@emptypagestyle{empty} +\renewcommand*\pagestyle[1]{\@nameuse{ps@#1}\def\@currentpagestyle{#1}} +\renewcommand*\thispagestyle[1]{% + \ifx\@currentpagestyle\@emptypagestyle + \else + \global\@specialpagetrue + \gdef\@specialstyle{#1}% + \fi} +\renewcommand*\ps@plain{% + \let\@oddhead\@empty\let\@evenhead\@empty + \def\@oddfoot{\hfil\PageFont\thepage}% + \if@twoside + \def\@evenfoot{\PageFont\thepage\hfil}% + \else + \let\@evenfoot\@oddfoot + \fi + \let\@mkboth\@gobbletwo} +\if@twoside + \def\ps@headings{% + \let\@oddfoot\@empty\let\@evenfoot\@empty + \def\@evenhead{{\PageFont\thepage}\hfil\MarkFont\leftmark}% + \def\@oddhead{{\MarkFont\rightmark}\hfil\PageFont\thepage}% + \let\@mkboth\markboth + \def\chaptermark##1{% + \markboth {\MakeUppercase{\ifnum \c@secnumdepth >\m@ne + \@chapapp\ \thechapter. \ % + \fi + ##1}}{}}% + \def\sectionmark##1{% + \markright {\MakeUppercase{\ifnum \c@secnumdepth >\z@ + \thesection. \ \fi + ##1}}}} +\else + \def\ps@headings{% + \let\@oddfoot\@empty + \def\@oddhead{{\MarkFont\rightmark}\hfil\PageFont\thepage}% + \let\@mkboth\markboth + \def\chaptermark##1{% + \markright {\MakeUppercase{% + \ifnum \c@secnumdepth >\m@ne + \@chapapp\ \thechapter. \ % + \fi + ##1}}}} +\fi +\def\ps@myheadings{% + \let\@oddfoot\@empty\let\@evenfoot\@empty + \def\@evenhead{{\PageFont\thepage}\hfil\MarkFont\leftmark}% + \def\@oddhead{{\MarkFont\rightmark}\hfil\PageFont\thepage}% + \let\@mkboth\@gobbletwo + \let\chaptermark\@gobble + \let\sectionmark\@gobble + } +\newcommand*\PageFont{\rmfamily} +\newcommand*\MarkFont{\slshape} +\newcommand*\RunningFonts[2]{% + \renewcommand*\PageFont{#1}\renewcommand*\MarkFont{#2}} +\newcommand*\TitleFont{\bfseries} +\if@titlepage +\renewcommand*\TitleFont{\rmfamily} +\newcommand*\maketitle{% + \begin{titlepage}% + \let\footnotesize\small + \let\footnoterule\relax + \let \footnote \thanks + \long\def\@makefntext##1{\parindent\z@ + \def\labelitemi{\textendash}\@revlabeltrue + \leavevmode\@textsuperscript{\@thefnmark}\kern1em\relax ##1} + \renewcommand*\thefootnote{\@fnsymbol\c@footnote}% + \if@compatibility\setcounter{page}{0}\fi + \null\vfil + \vskip 60\p@ + \begin{center}% + \TitleFont + {\LARGE \def\\{\penalty -\@M} + \if@allcaps + \expandafter\uc@nothanks\@title\thanks\relax + \else + \@title + \fi\par}% + \vskip 3em% + {\large + \lineskip .75em \parindent\z@ + \begin{tabular}[t]{c}% + \if@allcaps + \expandafter\uc@authornothanks\@author\and\relax + \else + \@author + \fi + \end{tabular}\par}% + \vskip 1.5em% + {\large + \if@allcaps + \uppercase\expandafter{\@date}% + \else + \@date + \fi\par}% + \end{center}\par + \@thanks + \vfil\null + \end{titlepage}% + \setcounter{footnote}{0}% + \global\let\thanks\relax + \global\let\maketitle\relax + \global\let\@thanks\@empty + \global\let\@author\@empty + \global\let\@title\@empty + \global\let\@date\@empty + \global\let\title\relax + \global\let\author\relax + \global\let\date\relax + \global\let\and\relax +} +\def\uc@nothanks#1\thanks{\uppercase{#1}\futurelet\@tempa\uc@tx} +\def\uc@authornothanks#1\and{\uc@nothanks#1\thanks\relax + \futurelet\@tempa\uc@ax} +\def\uc@ax{% + \ifx\@tempa\relax + \else + \\ \andname \\ \expandafter\uc@authornothanks + \fi} +\def\uc@tx{\ifx\@tempa\relax + \else \expandafter\uc@ty \fi} +\def\uc@ty#1{\thanks{#1}\uc@nothanks} +\else +\newcommand*\maketitle{\par + \begingroup + \renewcommand*\thefootnote{\@fnsymbol\c@footnote}% + \def\@makefnmark{\rlap{% + \@textsuperscript{\normalfont\@thefnmark}}}% + \long\def\@makefntext{\@xmakefntext{% + \@textsuperscript{\normalfont\@thefnmark}}}% + \if@twocolumn + \ifnum \col@number=\@ne + \@maketitle + \else + \twocolumn[\@maketitle]% + \fi + \else + \newpage + \global\@topnum\z@ + \@maketitle + \fi + \thispagestyle{plain}\@thanks + \endgroup + \setcounter{footnote}{0}% + \global\let\thanks\relax + \global\let\maketitle\relax + \global\let\@maketitle\relax + \global\let\@thanks\@empty + \global\let\@author\@empty + \global\let\@title\@empty + \global\let\@date\@empty + \global\let\title\relax + \global\let\author\relax + \global\let\date\relax + \global\let\and\relax + } +\def\@maketitle{% + \newpage + \null + \vskip 2em% + \begin{center}% + \let \footnote \thanks + {\LARGE \TitleFont \@title \par}% + \vskip 1.5em% + {\large \TitleFont + \lineskip .5em% + \begin{tabular}[t]{c}% + \@author + \end{tabular}\par}% + \vskip 1em% + {\large \TitleFont \@date}% + \end{center}% + \par + \vskip 1.5em} +\fi +\newcommand*\head@style{% + \interlinepenalty \@M + \hyphenpenalty=\@M \exhyphenpenalty=\@M + \rightskip=0cm plus .7\hsize\relax} +\def\@sect#1#2#3#4#5#6[#7]#8{% + \ifnum #2>\c@secnumdepth + \let\@svsec\@empty + \else + \refstepcounter{#1}% + \begingroup + \setbox\@tempboxa=\hbox{#6\relax + \csname the#1\endcsname + \hskip.5em} + \ifdim\wd\@tempboxa>\unitindent + \global\unitindent=\wd\@tempboxa + \@indentset + \fi + \endgroup + \protected@edef\@svsec{\@seccntformat{#1}\relax}% + \fi + \@tempskipa #5\relax + \ifdim \@tempskipa>\z@ + \begingroup + #6{% + \@hangfrom{\hskip #3\relax\@svsec}\head@style #8\endgraf}% + \endgroup + \csname #1mark\endcsname{#7}% + \addcontentsline{toc}{#1}{% + \ifnum #2>\c@secnumdepth + \else + \protect\numberline{\csname the#1\endcsname}% + \fi + \toc@font#2 #7}% + \else + \def\@svsechd{#6\hskip #3\relax + \@svsec #8\csname #1mark\endcsname{#7}% + \addcontentsline{toc}{#1}{% + \ifnum #2>\c@secnumdepth + \else + \protect\numberline{\csname the#1\endcsname}% + \fi + \toc@font#2 #7}}% + \fi + \@xsect{#5}} +\def\@seccntformat#1{% + \hb@xt@\unitindent{\csname the#1\endcsname \hfil}% + } +\def\@ssect#1#2#3#4#5{\@tempskipa #3\relax + \ifdim \@tempskipa>\z@ + \begingroup + #4{% + \@hangfrom{\hskip #1}\head@style #5\endgraf}% + \endgroup + \else + \def\@svsechd{#4\hskip #1\relax #5}% + \fi + \@xsect{#3}} +\newcommand*\chaptermark[1]{} +\setcounter{secnumdepth}{2} +\newcounter {part} +\newcounter {chapter} +\newcounter {section}[chapter] +\newcounter {subsection}[section] +\newcounter {subsubsection}[subsection] +\newcounter {paragraph}[subsubsection] +\newcounter {subparagraph}[paragraph] +\renewcommand*\thepart{\@Roman\c@part} +\renewcommand*\thechapter{\@arabic\c@chapter} +\renewcommand*\thesection{\thechapter.\@arabic\c@section} +\renewcommand*\thesubsection{\thesection.\@arabic\c@subsection} +\renewcommand*\thesubsubsection{\thesubsection.\@arabic\c@subsubsection} +\renewcommand*\theparagraph{\thesubsubsection.\@arabic\c@paragraph} +\renewcommand*\thesubparagraph{\theparagraph.\@arabic\c@subparagraph} +\newcommand*\@chapapp{\chaptername} +\newcommand*\part{% + \cleardoublepage + \thispagestyle{empty}% + \if@twocolumn + \onecolumn + \@tempswatrue + \else + \@tempswafalse + \fi + \null\vfil + \secdef\@part\@spart} +\newcommand*\PartFont{\bfseries} +\def\@part[#1]#2{% + \ifnum \c@secnumdepth >-2\relax + \refstepcounter{part}% + \addcontentsline{toc}{part}{\thepart\hspace{1em}\toc@case{#1}}% + \else + \addcontentsline{toc}{part}{\toc@case{#1}}% + \fi + \markboth{}{}% + {\centering + \interlinepenalty \@M + \normalfont + \ifnum \c@secnumdepth >-2\relax + \Large\PartFont + \edef\@tempa{\noexpand\uppercase{\partname}}\@tempa + \nobreakspace\thepart + \par + \vskip 20\p@ + \fi + \Large \PartFont \uppercase{#2}\par}% + \@endpart} +\def\@spart#1{% + {\centering + \interlinepenalty \@M + \normalfont + \Large \PartFont #1\par}% + \@endpart} +\def\@endpart{\vfil\newpage + \if@twoside + \if@openright + \null + \thispagestyle{empty}% + \newpage + \fi + \fi + \if@tempswa + \twocolumn + \fi} +\newcommand*\chapter{\if@openright\cleardoublepage\else\clearpage\fi + \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}\toc@font0 #1}% + \else + \addcontentsline{toc}{chapter}{\toc@font0 #1}% + \fi + \chaptermark{#1}% + \addtocontents{lof}{\protect\addvspace{10\p@}}% + \addtocontents{lot}{\protect\addvspace{10\p@}}% + \if@twocolumn + \@topnewpage[\@makechapterhead{#2}]% + \else + \@makechapterhead{#2}% + \@afterheading + \fi} +\newcommand*\ChapFont{\bfseries} +\def\@makechapterhead#1{% + \vspace*{50\p@ \@plus 5\p@}% + {\setlength\parindent{\z@}% + \setlength\parskip {\z@}% + \head@style \normalfont + \ifnum \c@secnumdepth >\m@ne + \Large\ChapFont \@chapapp{} \thechapter + \par\nobreak + \vskip 20\p@ + \fi + \Large \ChapFont #1\par + \nobreak + \vskip 40\p@ + }} +\def\@schapter#1{\if@twocolumn + \@topnewpage[\@makeschapterhead{#1}]% + \else + \@makeschapterhead{#1}% + \@afterheading + \fi} +\def\@makeschapterhead#1{% + \vspace*{50\p@\@plus 5\p@}% + {\setlength\parindent{\z@}% + \setlength\parskip{\z@}% + \head@style + \normalfont + \Large \ChapFont #1\par + \nobreak + \vskip 40\p@ + }} +\newcommand*\section{% + \@startsection {section}{1}{\z@}% + {-2\baselineskip\@plus -1\baselineskip \@minus -.5\baselineskip}% + {.5\baselineskip}% + {\normalfont\large\SectFont}} +\newcommand*\SectFont{\bfseries} +\newcommand*\subsection{% + \@startsection{subsection}{2}{\z@}% + {-1\baselineskip\@plus -.5\baselineskip \@minus -.25\baselineskip}% + {.25\baselineskip}% + {\normalfont\normalsize\SSectFont}} +\newcommand*\SSectFont{\bfseries} +\newcommand*\subsubsection{% + \@startsection{subsubsection}{3}{\z@}% + {-1\baselineskip plus -.5\baselineskip minus -.25\baselineskip}% + {.25\baselineskip}% + {\normalfont\normalsize\SSSectFont}} +\newcommand*\SSSectFont{\slshape} +\newcommand*\paragraph{% + \@startsection{paragraph}{4}{\z@}% + {3.25ex \@plus1ex \@minus.2ex}% + {-1em}% + {\normalfont\normalsize\ParaFont}} +\newcommand*\ParaFont{\slshape} +\newcommand*\subparagraph{% + \@startsection{subparagraph}{5}{\parindent}% + {3.25ex \@plus1ex \@minus .2ex}% + {-1em}% + {\normalfont\normalsize\SParaFont}} +\newcommand*\SParaFont{\slshape} +\newcommand*\HeadingFonts[8]{% + \renewcommand*\TitleFont{#1}% + \renewcommand*\PartFont{#2}% + \renewcommand*\ChapFont{#3}% + \renewcommand*\SectFont{#4}% + \renewcommand*\SSectFont{#5}% + \renewcommand*\SSSectFont{#6}% + \renewcommand*\ParaFont{#7}% + \renewcommand*\SParaFont{#8}} +\setlength\leftmargini {\unitindent} +\setlength\leftmarginii {\othermargin} +\setlength\leftmarginiii{\othermargin} +\setlength\leftmarginiv {\othermargin} +\setlength\leftmarginv {\othermargin} +\setlength\leftmarginvi {1em} +\setlength\leftmargin {\leftmargini} +\setlength \labelsep {5\p@} +\setlength \labelwidth{\leftmargini} +\addtolength\labelwidth{-\labelsep} +\setlength\partopsep{\z@} +\setlength\topsep{\z@} +\@beginparpenalty -\@lowpenalty +\@endparpenalty -\@lowpenalty +\@itempenalty -\@lowpenalty +\def\@listi{% + \leftmargin\unitindent + \labelsep.5em% + \labelwidth\leftmargin + \advance\labelwidth-\labelsep + \parsep \z@ + \topsep 0\p@ \@plus\p@ + \itemsep 0\p@ \@plus1\p@} +\let\@listI\@listi +\@listi +\def\@listii {\leftmargin\leftmarginii + \labelsep .5em% + \labelwidth\leftmarginii + \advance\labelwidth-\labelsep + \topsep 0\p@ \@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\def\@listiii{\leftmargin\leftmarginiii + \labelsep .5em% + \labelwidth\leftmarginiii + \advance\labelwidth-\labelsep + \topsep 0\p@ \@plus\p@ + \parsep \z@ + \partopsep \z@ \@plus\p@ + \itemsep \z@ \@plus\p@} +\def\@listiv {\leftmargin\leftmarginiv + \labelsep .5em% + \labelwidth\leftmarginiv% + \advance\labelwidth-\labelsep + \topsep 0\p@ \@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\def\@listv {\leftmargin\leftmarginv + \labelsep .5em% + \labelwidth\leftmarginv + \advance\labelwidth-\labelsep% + \topsep 0\p@ \@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\def\@listvi {\leftmargin\leftmarginvi + \labelsep .5em + \labelwidth\leftmarginvi + \advance\labelwidth{-\labelsep}% + \topsep 0\p@ \@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\renewcommand*\theenumi{\@arabic\c@enumi} +\renewcommand*\theenumii{\@alph\c@enumii} +\renewcommand*\theenumiii{\@roman\c@enumiii} +\renewcommand*\theenumiv{\@Alph\c@enumiv} +\newcommand*\labelenumi{\theenumi.} +\newcommand*\labelenumii{(\theenumii)} +\newcommand*\labelenumiii{\theenumiii.} +\newcommand*\labelenumiv{\theenumiv.} +\renewcommand*\p@enumii{\theenumi} +\renewcommand*\p@enumiii{\theenumi(\theenumii)} +\renewcommand*\p@enumiv{\p@enumiii\theenumiii} +\renewenvironment{enumerate}{% + \ifnum \@enumdepth >3 + \@toodeep + \else + \advance\@enumdepth \@ne + \edef\@enumctr{enum\romannumeral\the\@enumdepth}% + \list{\csname label\@enumctr\endcsname} + {\usecounter{\@enumctr}% + \ifnum \@listdepth=1 + \if@revlabel + \def\makelabel##1{\hskip .5\unitindent{##1\hfil}}% + \else + \def\makelabel##1{\hfil##1} + \fi + \else + \def\makelabel##1{##1\hfil}% + \fi + }% + \fi} + {\global\@ignoretrue \endlist} +\newcommand*{\labelitemi}{\textbullet} +\newcommand*{\labelitemii}{\normalfont\bfseries \textendash} +\newcommand*{\labelitemiii}{\textasteriskcentered} +\newcommand*{\labelitemiv}{\textperiodcentered} +\renewenvironment{itemize}{% + \ifnum \@itemdepth >3 + \@toodeep + \else + \advance\@itemdepth \@ne + \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}% + \list{\csname\@itemitem\endcsname}% + {% + \ifnum \@listdepth=1\relax + \if@revlabel + \def\makelabel##1{\hskip .5\unitindent{##1\hfil}}\else + \def\makelabel##1{\hfil##1} + \fi + \else + \def\makelabel##1{##1\hfil} + \fi + }% + \fi} + {\global\@ignoretrue \endlist} +\newenvironment{description} + {\list{}{\labelwidth\z@ \itemindent-\leftmargin + \let\makelabel\descriptionlabel}} + {\endlist} +\newcommand*\descriptionlabel[1]{\hspace\labelsep \bfseries #1} +\def\center + {\topsep=.25\baselineskip \@plus .1\baselineskip + \@minus .1\baselineskip + \trivlist \centering\item[]} +\let\endcenter\endtrivlist +\def\flushleft + {\topsep=.25\baselineskip \@plus .1\baselineskip + \@minus .1\baselineskip + \trivlist \raggedright\item[]} +\let\endflushleft=\endtrivlist +\def\flushright + {\topsep=.25\baselineskip \@plus .1\baselineskip + \@minus .1\baselineskip + \trivlist \raggedleft\item[]} +\let\endflushright=\endtrivlist +\def\verbatim{% + \topsep=.25\baselineskip \@plus .1\baselineskip + \@minus .1\baselineskip + \@verbatim + \leftskip\unitindent + \frenchspacing\@vobeyspaces \@xverbatim} +\def\endverbatim{\if@newlist \leavevmode\fi\endtrivlist} +\if@titlepage + \newenvironment{abstract}{% + \titlepage + \null\vfil + \hbox{\SectFont \abstractname} + \noindent\ignorespaces} + {\par\vfil\null\endtitlepage} +\else + \newenvironment{abstract}{% + \if@twocolumn + \section*{\abstractname}% + \else + \small + \bgroup\rightskip=\unitindent + \hbox{\SectFont \abstractname}% + \noindent\ignorespaces + \fi} + {\if@twocolumn\else\par\egroup\fi} +\fi +\newenvironment{verse} + {\let\\\@centercr + \list{}{\itemsep\z@ + \itemindent-1.5em% + \listparindent\itemindent + \rightmargin\leftmargin + \advance\leftmargin1.5em}% + \item\relax} + {\endlist} +\newenvironment{quotation} + {\list{}{% + \listparindent\z@ + \itemindent\listparindent + \rightmargin\leftmargin + \parsep\z@ \@plus\p@}% + \item\relax} + {\endlist} +\newenvironment{quote} + {\list{}{\rightmargin\leftmargin}% + \item\relax} + {\endlist} +\def\@begintheorem#1#2{% + \vskip\baselineskip \labelsep=.5em% + \trivlist + \item[\hskip \labelsep{\bfseries #1\ #2}]\slshape} +\def\@opargbegintheorem#1#2#3{% + \vskip\baselineskip \labelsep=.5em% + \trivlist + \item[\hskip \labelsep{\bfseries #1\ #2\ (#3)}]\slshape} +\def\@endtheorem{\endtrivlist \vskip\baselineskip} +\newenvironment{titlepage} + { + \if@twocolumn + \@restonecoltrue\onecolumn + \else + \@restonecolfalse\newpage + \fi + \thispagestyle{empty}% + \if@compatibility + \setcounter{page}\z@ + \else + \setcounter{page}\@ne + \fi} + {\if@restonecol\twocolumn \else \newpage \fi + \setcounter{page}\@ne + } +\newcommand*\appendix{\par + \setcounter{chapter}{0}% + \setcounter{section}{0}% + \gdef\@chapapp{\appendixname}% + \gdef\thechapter{\@Alph\c@chapter}} +\setlength\arraycolsep{5\p@} +\setlength\tabcolsep{6\p@} +\setlength\arrayrulewidth{.4\p@} +\setlength\doublerulesep{2\p@} +\setlength\tabbingsep{\labelsep} +\def\@minipagerestore{\parindent\unitindent} +\skip\@mpfootins = \skip\footins +\setlength\fboxsep{3\p@} +\setlength\fboxrule{.4\p@} +\@addtoreset{equation}{chapter} +\renewcommand*\theequation{% + \ifnum \c@chapter>\z@ \thechapter.\fi\@arabic\c@equation} +\newcounter{figure}[chapter] +\renewcommand*\thefigure{% + \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@figure} +\def\fps@figure{tbp} +\def\ftype@figure{1} +\def\ext@figure{lof} +\def\fnum@figure{\figurename\nobreakspace\thefigure} +\newenvironment{figure} + {\@float{figure}} + {\end@float} +\newenvironment{figure*} + {\@dblfloat{figure}} + {\end@dblfloat} +\newcounter{table}[chapter] +\renewcommand*\thetable{% + \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@table} +\def\fps@table{tbp} +\def\ftype@table{2} +\def\ext@table{lot} +\def\fnum@table{\tablename\nobreakspace\thetable} +\newenvironment{table} + {\@float{table}} + {\end@float} +\newenvironment{table*} + {\@dblfloat{table}} + {\end@dblfloat} +\newlength\abovecaptionskip +\newlength\belowcaptionskip +\setlength\abovecaptionskip{10\p@} +\setlength\belowcaptionskip{0\p@} +\long\def\@makecaption#1#2{% + \vskip\abovecaptionskip + \sbox\@tempboxa{{\CaptionLabelFont#1:} \CaptionTextFont#2}% + \ifdim \wd\@tempboxa >\hsize + {\CaptionLabelFont#1:} \CaptionTextFont#2\par + \else + \global \@minipagefalse + \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}% + \fi + \vskip\belowcaptionskip} +\newcommand*\CaptionLabelFont{\relax} +\newcommand*\CaptionTextFont{\relax} +\newcommand*\CaptionFonts[2]{% + \renewcommand*\CaptionLabelFont{#1}% + \renewcommand*\CaptionTextFont{#2}% + } +\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm} +\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf} +\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt} +\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf} +\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit} +\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\relax} +\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\relax} +\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal} +\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal} +\DeclareRobustCommand*\em{% + \@nomath\em + \ifdim\fontdimen\@ne\font>\z@ + \upshape + \else + \slshape + \fi} +\newcommand*\@pnumwidth{1.55em} +\newcommand*\@tocrmarg {2.55em} +\newcommand*\@dotsep{4.5} +\setcounter{tocdepth}{2} +\newcommand*\tableofcontents{% + \if@twocolumn + \@restonecoltrue\onecolumn + \else + \@restonecolfalse + \fi + \chapter*{\contentsname}% + \@mkboth{\MakeUppercase{\contentsname}}% + {\MakeUppercase{\contentsname}}% + \@starttoc{toc}% + \if@restonecol\twocolumn\fi + } +\newcommand*\@regtocline[3]{% + \ifnum #1>\c@tocdepth + \else + \vskip\z@\@plus.2\p@ + {\hangindent\z@ \@afterindenttrue \interlinepenalty\@M + \leftskip\unitindent + \rightskip\unitindent\@plus 1fil + \parfillskip\z@ + \@tempdima\unitindent + \parindent\z@ + \leavevmode + \hbox{}\hskip -\leftskip\relax#2\nobreak + \hskip 1em \nobreak{\slshape #3}\par + }% + \fi} +\if@oldtoc + \newcommand*\toc@font[1]{\relax} +\else + \newcommand*\toc@font[1]{% + \ifcase#1\relax + \bfseries + \or\slshape + \or\rmfamily + \fi} +\fi +\if@oldtoc + \newcommand*\toc@case{\relax} +\else + \newcommand*\toc@case{\MakeUppercase} +\fi +\if@oldtoc +\newcommand*\l@part[2]{% + \ifnum \c@tocdepth >-2\relax + \addpenalty{-\@highpenalty}% + \addvspace{2.25em \@plus\p@}% + \begingroup + \setlength\@tempdima{3em}% + \parindent \z@ \rightskip \@pnumwidth + \parfillskip -\@pnumwidth + {\leavevmode + \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par + \nobreak + \global\@nobreaktrue + \everypar{\global\@nobreakfalse\everypar{}}% + \endgroup + \fi} +\else + \newcommand*\l@part{% + \ifnum \c@tocdepth >-2\relax + \addpenalty{-\@highpenalty}% + \addvspace{2.25em \@plus \p@}% + \@regtocline{0}% + \fi} +\fi +\if@oldtoc +\newcommand*\l@chapter[2]{% + \addpenalty{-\@highpenalty}% + \vskip 1.0em \@plus\p@ + \setlength\@tempdima{1.5em}% + \begingroup + \parindent \z@ \rightskip \@pnumwidth + \parfillskip -\@pnumwidth + \leavevmode \bfseries + \advance\leftskip\@tempdima + \hskip -\leftskip + #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par + \penalty\@highpenalty + \endgroup} +\else + \newcommand*\l@chapter{\@regtocline{0}} +\fi +\if@oldtoc + \newcommand*\l@section {\@dottedtocline{1}{1.5em}{2.3em}} +\else + \newcommand*\l@section {\@regtocline{1}} +\fi +\if@oldtoc + \newcommand*\l@subsection {\@dottedtocline{2}{3.8em}{3.2em}} + \newcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}} + \newcommand*\l@paragraph {\@dottedtocline{4}{10em}{5em}} + \newcommand*\l@subparagraph {\@dottedtocline{5}{12em}{6em}} +\else + \newcommand*\l@subsection {\@regtocline{2}} + \newcommand*\l@subsubsection{\@regtocline{3}} + \newcommand*\l@paragraph {\@regtocline{4}} + \newcommand*\l@subparagraph {\@regtocline{5}} +\fi +\newcommand*\listoffigures{% + \if@twocolumn + \@restonecoltrue\onecolumn + \else + \@restonecolfalse + \fi + \chapter*{\listfigurename}% + \@mkboth{\MakeUppercase{\listfigurename}}% + {\MakeUppercase{\listfigurename}}% + \@starttoc{lof}% + \if@restonecol\twocolumn\fi + } +\if@oldtoc + \newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} +\else + \newcommand*\l@figure{\@regtocline{1}} +\fi +\newcommand*\listoftables{% + \if@twocolumn + \@restonecoltrue\onecolumn + \else + \@restonecolfalse + \fi + \chapter*{\listtablename}% + \@mkboth{\MakeUppercase{\listtablename}}% + {\MakeUppercase{\listtablename}}% + \@starttoc{lot}% + \if@restonecol\twocolumn\fi + } +\let\l@table\l@figure +\newdimen\bibindent +\setlength\bibindent{1.5em} +\newcommand*\newblock{} +\newenvironment{thebibliography}[1] + {\chapter*{\bibname}% + \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}% + \list{\@biblabel{\@arabic\c@enumiv}}% + {\settowidth\labelwidth{\@biblabel{#1}}% + \leftmargin\labelwidth + \advance\leftmargin\labelsep + \@openbib@code + \usecounter{enumiv}% + \let\p@enumiv\@empty + \renewcommand*\theenumiv{\@arabic\c@enumiv}}% + \sloppy\clubpenalty4000\widowpenalty4000% + \sfcode`\.\@m} + {\def\@noitemerr + {\@latex@warning{Empty `thebibliography' environment}}% + \endlist} +\renewcommand\newblock{\hskip.11em\@plus.33em\@minus.07em} +\let\@openbib@code\@empty +\newenvironment{theindex}{% + \if@twocolumn + \@restonecolfalse + \else + \@restonecoltrue + \fi + \twocolumn[\@makeschapterhead{\indexname}]% + \@mkboth{\MakeUppercase{\indexname}}{\MakeUppercase{\indexname}}% + \thispagestyle{plain}\parindent\z@ + \columnseprule \z@ + \columnsep 35\p@ + \parskip\z@ \@plus .3\p@\relax + \let\item\@idxitem + }{% + \if@restonecol\onecolumn\else\clearpage\fi} +\newcommand*\@idxitem {\par\hangindent 40\p@} +\newcommand*\subitem {\@idxitem\hspace*{20\p@}} +\newcommand*\subsubitem{\@idxitem\hspace*{30\p@}} +\newcommand*\indexspace{\par\vskip10\p@\@plus5\p@\@minus3\p@\relax} +\renewcommand*\footnoterule{% + \kern-3\p@ + \kern.5\baselineskip + \hrule\@width\unitindent + \kern.4\baselineskip +} +\@addtoreset{footnote}{chapter} +\newcommand*\@makefntext{\@xmakefntext{\normalfont\@thefnmark.}} +\newcommand*\@xmakefntext[1]{% + \parindent\z@ + \def\labelitemi{\textendash}\@revlabeltrue + {\setbox0\hbox {#1\hskip.5em plus 1fil} + \dimen0=2\wd0\relax + \ifdim\dimen0>\unitindent + \global\unitindent\dimen0\relax + \@indentset + \fi} + \leavevmode\hb@xt@.5\unitindent{#1\hfil}} +\newcommand*\contentsname{Contents} +\newcommand*\listfigurename{List of Figures} +\newcommand*\listtablename{List of Tables} +\newcommand*\bibname{Bibliography} +\newcommand*\indexname{Index} +\newcommand*\figurename{Figure} +\newcommand*\tablename{Table} +\newcommand*\partname{Part} +\newcommand*\chaptername{Chapter} +\newcommand*\appendixname{Appendix} +\newcommand*\abstractname{Abstract} +\newcommand*\seename{see} +\newcommand*\andname{and} +\newcommand*\today{} +\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} +\setlength\columnsep{10\p@} +\setlength\columnseprule{0\p@} +\pagestyle{plain} +\pagenumbering{arabic} % Arabic page numbers +\if@twocolumn + \twocolumn + \sloppy + \flushbottom +\else + \onecolumn +\fi +\frenchspacing +\endinput +%% +%% End of file `rapport1.cls'. diff --git a/Master/texmf-dist/tex/latex/ntgclass/rapport3.cls b/Master/texmf-dist/tex/latex/ntgclass/rapport3.cls new file mode 100644 index 00000000000..08248016f5e --- /dev/null +++ b/Master/texmf-dist/tex/latex/ntgclass/rapport3.cls @@ -0,0 +1,1064 @@ +%% +%% This is file `rapport3.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% ntgclass.dtx (with options: `rapport,type3') +%% This is a generated file. +%% +%% Copyright (C) 1990-2004 Nederlandstalige TeX Gebruikersgroep. +%% All rights reserved. +%% +%% This file was generated from file(s) of the NTG document classes distribution. +%% ------------------------------------------------------------------------------ +%% +%% It may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% The Current Maintainer of this work is Johannes Braams. +%% +%% This file may only be distributed together with a copy of the NTG +%% document classes distribution. You may however distribute the NTG +%% document classes distribution without such generated files. +%% +%% The list of all files belonging to the NTG document classes +%% distribution is given in the file `manifest.txt'. +%% +%% The list of derived (unpacked) files belonging to the distribution +%% and covered by LPPL is defined by the unpacking scripts (with +%% extension .ins) which are part of the distribution. +%% Copyright (C) 1994 -- 2004 by Victor Eijkhout and Johannes Braams +%% Based on classes.dtx +%% Copyright (C) 1999 LaTeX3 project, all rights reserved. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\NeedsTeXFormat{LaTeX2e}[1995/06/01] +\ProvidesClass{rapport3}% + [2004/06/07 v2.1a + NTG LaTeX document class] +\newcommand*\@ptsize{} + +\newif\if@restonecol +\newif\if@titlepage +\@titlepagetrue +\newif\if@openright +\newif\if@oldtoc +\@oldtocfalse +\newif\if@allcaps +\newif\if@titlecentered +\@titlecenteredfalse +\newif\if@revlabel +\DeclareOption{a4paper} + {\setlength\paperheight {297mm}% + \setlength\paperwidth {210mm}} +\DeclareOption{a5paper} + {\setlength\paperheight {210mm}% + \setlength\paperwidth {148mm}} +\DeclareOption{b5paper} + {\setlength\paperheight {250mm}% + \setlength\paperwidth {176mm}} +\DeclareOption{letterpaper} + {\setlength\paperheight {11in}% + \setlength\paperwidth {8.5in}} +\DeclareOption{legalpaper} + {\setlength\paperheight {14in}% + \setlength\paperwidth {8.5in}} +\DeclareOption{executivepaper} + {\setlength\paperheight {10.5in}% + \setlength\paperwidth {7.25in}} +\DeclareOption{landscape} + {\setlength\@tempdima {\paperheight}% + \setlength\paperheight {\paperwidth}% + \setlength\paperwidth {\@tempdima}} +\DeclareOption{10pt}{\renewcommand\@ptsize{0}} +\DeclareOption{11pt}{\renewcommand\@ptsize{1}} +\DeclareOption{12pt}{\renewcommand\@ptsize{2}} +\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse} +\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue} +\DeclareOption{draft}{\setlength\overfullrule{5pt}} +\DeclareOption{final}{\setlength\overfullrule{0pt}} +\DeclareOption{titlepage}{\@titlepagetrue} +\DeclareOption{notitlepage}{\@titlepagefalse} +\DeclareOption{openright}{\@openrighttrue} +\DeclareOption{openany}{\@openrightfalse} +\DeclareOption{voorwerk}{\@titlepagetrue} +\DeclareOption{geenvoorwerk}{\@titlepagefalse} +\DeclareOption{oldtoc}{\@oldtoctrue} +\DeclareOption{titlecentered}{\@titlecenteredtrue} +\DeclareOption{mctitle}{\@allcapsfalse} +\DeclareOption{uctitle}{\@allcapstrue} +\DeclareOption{onecolumn}{\@twocolumnfalse} +\DeclareOption{twocolumn}{\@twocolumntrue} +\DeclareOption{leqno}{\input{leqno.clo}} +\DeclareOption{fleqn}{\input{fleqn.clo}} +\DeclareOption{openbib}{% + \AtEndOfPackage{% + \renewcommand\@openbib@code{% + \advance\leftmargin\bibindent + \itemindent -\bibindent + \listparindent \itemindent + \parsep \z@ + }% + \renewcommand\newblock{\par}}% +} +\ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,uctitle,openany} +\ProcessOptions +\input{ntg1\@ptsize.clo} +\setlength\lineskip{1\p@} +\setlength\normallineskip{1\p@} +\renewcommand\baselinestretch{} +\newdimen\unitindent +{\setbox0\hbox{\normalsize\rmfamily 2.2.2\hskip.5em} + \global\unitindent=\wd0} +\newdimen\othermargin +{\setbox0\hbox{\normalsize (m)\hskip.6em}\global\othermargin=\wd0} +\newif\if@needwriteindent +\newcommand*\@indentset{% + \global\leftmargini=\unitindent + \global\@needwriteindenttrue} +\newcommand*\@writeindent[1]{\immediate\write\@mainaux + {\string\@ifundefined{unitindent}{\string\newdimen\string\unitindent + \let\string\@indentset\relax}{}} + \immediate\write\@mainaux{\global\string\unitindent=#1\string\relax + \string\@indentset \string\relax}} +\AtEndDocument{% + \if@filesw + \if@needwriteindent + \@writeindent{\the\unitindent} + \fi + \fi} +\setlength\parskip{.5\baselineskip \@plus .1\baselineskip + \@minus .1\baselineskip} +\setlength\parindent{\z@} +\@lowpenalty 51 +\@medpenalty 151 +\@highpenalty 301 +\setcounter{topnumber}{2} +\renewcommand\topfraction{.7} +\setcounter{bottomnumber}{1} +\renewcommand\bottomfraction{.3} +\setcounter{totalnumber}{3} +\renewcommand\textfraction{.2} +\renewcommand\floatpagefraction{.5} +\setcounter{dbltopnumber}{2} +\renewcommand\dbltopfraction{.7} +\renewcommand\dblfloatpagefraction{.5} +\let\Thispagestyle\thispagestyle +\newcommand*\@emptypagestyle{empty} +\renewcommand*\pagestyle[1]{\@nameuse{ps@#1}\def\@currentpagestyle{#1}} +\renewcommand*\thispagestyle[1]{% + \ifx\@currentpagestyle\@emptypagestyle + \else + \global\@specialpagetrue + \gdef\@specialstyle{#1}% + \fi} +\renewcommand*\ps@plain{% + \let\@oddhead\@empty\let\@evenhead\@empty + \def\@oddfoot{\hfil\PageFont\thepage}% + \if@twoside + \def\@evenfoot{\PageFont\thepage\hfil}% + \else + \let\@evenfoot\@oddfoot + \fi + \let\@mkboth\@gobbletwo} +\if@twoside + \def\ps@headings{% + \let\@oddfoot\@empty\let\@evenfoot\@empty + \def\@evenhead{{\PageFont\thepage}\hfil\MarkFont\leftmark}% + \def\@oddhead{{\MarkFont\rightmark}\hfil\PageFont\thepage}% + \let\@mkboth\markboth + \def\chaptermark##1{% + \markboth {\MakeUppercase{\ifnum \c@secnumdepth >\m@ne + \@chapapp\ \thechapter. \ % + \fi + ##1}}{}}% + \def\sectionmark##1{% + \markright {\MakeUppercase{\ifnum \c@secnumdepth >\z@ + \thesection. \ \fi + ##1}}}} +\else + \def\ps@headings{% + \let\@oddfoot\@empty + \def\@oddhead{{\MarkFont\rightmark}\hfil\PageFont\thepage}% + \let\@mkboth\markboth + \def\chaptermark##1{% + \markright {\MakeUppercase{% + \ifnum \c@secnumdepth >\m@ne + \@chapapp\ \thechapter. \ % + \fi + ##1}}}} +\fi +\def\ps@myheadings{% + \let\@oddfoot\@empty\let\@evenfoot\@empty + \def\@evenhead{{\PageFont\thepage}\hfil\MarkFont\leftmark}% + \def\@oddhead{{\MarkFont\rightmark}\hfil\PageFont\thepage}% + \let\@mkboth\@gobbletwo + \let\chaptermark\@gobble + \let\sectionmark\@gobble + } +\newcommand*\PageFont{\rmfamily} +\newcommand*\MarkFont{\slshape} +\newcommand*\RunningFonts[2]{% + \renewcommand*\PageFont{#1}\renewcommand*\MarkFont{#2}} +\newcommand*\TitleFont{\bfseries} +\if@titlepage +\renewcommand*\TitleFont{\rmfamily} +\newcommand*\maketitle{% + \begin{titlepage}% + \let\footnotesize\small + \let\footnoterule\relax + \let \footnote \thanks + \long\def\@makefntext##1{\parindent\z@ + \def\labelitemi{\textendash}\@revlabeltrue + \leavevmode\@textsuperscript{\@thefnmark}\kern1em\relax ##1} + \renewcommand*\thefootnote{\@fnsymbol\c@footnote}% + \if@compatibility\setcounter{page}{0}\fi + \null\vfil + \vskip 60\p@ + \begin{center}% + \TitleFont + {\LARGE \def\\{\penalty -\@M} + \if@allcaps + \expandafter\uc@nothanks\@title\thanks\relax + \else + \@title + \fi\par}% + \vskip 3em% + {\large + \lineskip .75em \parindent\z@ + \begin{tabular}[t]{c}% + \if@allcaps + \expandafter\uc@authornothanks\@author\and\relax + \else + \@author + \fi + \end{tabular}\par}% + \vskip 1.5em% + {\large + \if@allcaps + \uppercase\expandafter{\@date}% + \else + \@date + \fi\par}% + \end{center}\par + \@thanks + \vfil\null + \end{titlepage}% + \setcounter{footnote}{0}% + \global\let\thanks\relax + \global\let\maketitle\relax + \global\let\@thanks\@empty + \global\let\@author\@empty + \global\let\@title\@empty + \global\let\@date\@empty + \global\let\title\relax + \global\let\author\relax + \global\let\date\relax + \global\let\and\relax +} +\def\uc@nothanks#1\thanks{\uppercase{#1}\futurelet\@tempa\uc@tx} +\def\uc@authornothanks#1\and{\uc@nothanks#1\thanks\relax + \futurelet\@tempa\uc@ax} +\def\uc@ax{% + \ifx\@tempa\relax + \else + \\ \andname \\ \expandafter\uc@authornothanks + \fi} +\def\uc@tx{\ifx\@tempa\relax + \else \expandafter\uc@ty \fi} +\def\uc@ty#1{\thanks{#1}\uc@nothanks} +\else +\newcommand*\maketitle{\par + \begingroup + \renewcommand*\thefootnote{\@fnsymbol\c@footnote}% + \def\@makefnmark{\rlap{% + \@textsuperscript{\normalfont\@thefnmark}}}% + \long\def\@makefntext{\@xmakefntext{% + \@textsuperscript{\normalfont\@thefnmark}}}% + \if@twocolumn + \ifnum \col@number=\@ne + \@maketitle + \else + \twocolumn[\@maketitle]% + \fi + \else + \newpage + \global\@topnum\z@ + \@maketitle + \fi + \thispagestyle{plain}\@thanks + \endgroup + \setcounter{footnote}{0}% + \global\let\thanks\relax + \global\let\maketitle\relax + \global\let\@maketitle\relax + \global\let\@thanks\@empty + \global\let\@author\@empty + \global\let\@title\@empty + \global\let\@date\@empty + \global\let\title\relax + \global\let\author\relax + \global\let\date\relax + \global\let\and\relax + } +\def\@maketitle{% + \newpage + \null + \vskip 2em% +\if@titlecentered + \begin{center}% + \let \footnote \thanks + {\LARGE \TitleFont \@title \par}% + \vskip 1.5em% + {\large \TitleFont + \lineskip .5em% + \begin{tabular}[t]{c}% + \@author + \end{tabular}\par}% + \vskip 1em% + {\large \TitleFont \@date}% + \end{center}% + \else + {\LARGE \TitleFont \head@style \@title \par} \vskip 1.5em + {\large \TitleFont \lineskip .5em \tabcolsep\z@ + \def\and{%%% \begin{tabular} has already started + \end{tabular}\hskip 1em plus .17fil + \begin{tabular}[t]{l}}%% \end{tabular} will come + \begin{tabular}[t]{l}\@author\end{tabular}\par} + \vskip 1em {\large \TitleFont \@date} + \fi + \par + \vskip 1.5em} +\fi +\newcommand*\head@style{% + \interlinepenalty \@M + \hyphenpenalty=\@M \exhyphenpenalty=\@M + \rightskip=0cm plus .7\hsize\relax} +\def\@sect#1#2#3#4#5#6[#7]#8{% + \ifnum #2>\c@secnumdepth + \let\@svsec\@empty + \else + \refstepcounter{#1}% + \begingroup + \setbox\@tempboxa=\hbox{#6\relax + \csname the#1\endcsname + \hskip.5em} + \ifdim\wd\@tempboxa>\unitindent + \global\unitindent=\wd\@tempboxa + \@indentset + \fi + \endgroup + \protected@edef\@svsec{\@seccntformat{#1}\relax}% + \fi + \@tempskipa #5\relax + \ifdim \@tempskipa>\z@ + \begingroup + #6{% + \@hangfrom{\hskip #3\relax\@svsec}\head@style #8\endgraf}% + \endgroup + \csname #1mark\endcsname{#7}% + \addcontentsline{toc}{#1}{% + \ifnum #2>\c@secnumdepth + \else + \protect\numberline{\csname the#1\endcsname}% + \fi + \toc@font#2 #7}% + \else + \def\@svsechd{#6\hskip #3\relax + \@svsec #8\csname #1mark\endcsname{#7}% + \addcontentsline{toc}{#1}{% + \ifnum #2>\c@secnumdepth + \else + \protect\numberline{\csname the#1\endcsname}% + \fi + \toc@font#2 #7}}% + \fi + \@xsect{#5}} +\def\@seccntformat#1{% + \hb@xt@\unitindent{\csname the#1\endcsname \hfil}% + } +\def\@ssect#1#2#3#4#5{\@tempskipa #3\relax + \ifdim \@tempskipa>\z@ + \begingroup + #4{% + \@hangfrom{\hskip #1}\head@style #5\endgraf}% + \endgroup + \else + \def\@svsechd{#4\hskip #1\relax #5}% + \fi + \@xsect{#3}} +\newcommand*\chaptermark[1]{} +\setcounter{secnumdepth}{2} +\newcounter {part} +\newcounter {chapter} +\newcounter {section}[chapter] +\newcounter {subsection}[section] +\newcounter {subsubsection}[subsection] +\newcounter {paragraph}[subsubsection] +\newcounter {subparagraph}[paragraph] +\renewcommand*\thepart{\@Roman\c@part} +\renewcommand*\thechapter{\@arabic\c@chapter} +\renewcommand*\thesection{\thechapter.\@arabic\c@section} +\renewcommand*\thesubsection{\thesection.\@arabic\c@subsection} +\renewcommand*\thesubsubsection{\thesubsection.\@arabic\c@subsubsection} +\renewcommand*\theparagraph{\thesubsubsection.\@arabic\c@paragraph} +\renewcommand*\thesubparagraph{\theparagraph.\@arabic\c@subparagraph} +\newcommand*\@chapapp{\chaptername} +\newcommand*\part{% + \cleardoublepage + \thispagestyle{empty}% + \if@twocolumn + \onecolumn + \@tempswatrue + \else + \@tempswafalse + \fi + \null\vfil + \secdef\@part\@spart} +\newcommand*\PartFont{\bfseries} +\def\@part[#1]#2{% + \ifnum \c@secnumdepth >-2\relax + \refstepcounter{part}% + \addcontentsline{toc}{part}{\thepart\hspace{1em}\toc@case{#1}}% + \else + \addcontentsline{toc}{part}{\toc@case{#1}}% + \fi + \markboth{}{}% + {\centering + \interlinepenalty \@M + \normalfont + \ifnum \c@secnumdepth >-2\relax + \Large\PartFont + \edef\@tempa{\noexpand\uppercase{\partname}}\@tempa + \nobreakspace\thepart + \par + \vskip 20\p@ + \fi + \Large \PartFont \uppercase{#2}\par}% + \@endpart} +\def\@spart#1{% + {\centering + \interlinepenalty \@M + \normalfont + \Large \PartFont #1\par}% + \@endpart} +\def\@endpart{\vfil\newpage + \if@twoside + \if@openright + \null + \thispagestyle{empty}% + \newpage + \fi + \fi + \if@tempswa + \twocolumn + \fi} +\newcommand*\chapter{\if@openright\cleardoublepage\else\clearpage\fi + \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}\toc@font0 #1}% + \else + \addcontentsline{toc}{chapter}{\toc@font0 #1}% + \fi + \chaptermark{#1}% + \addtocontents{lof}{\protect\addvspace{10\p@}}% + \addtocontents{lot}{\protect\addvspace{10\p@}}% + \if@twocolumn + \@topnewpage[\@makechapterhead{#2}]% + \else + \@makechapterhead{#2}% + \@afterheading + \fi} +\newcommand*\ChapFont{\bfseries} +\def\@makechapterhead#1{% + \vspace*{50\p@ \@plus 5\p@}% + {\setlength\parindent{\z@}% + \setlength\parskip {\z@}% + \head@style \normalfont + \ifnum \c@secnumdepth >\m@ne + \Large\ChapFont \@chapapp{} \thechapter + \par\nobreak + \vskip 20\p@ + \fi + \Large \ChapFont #1\par + \nobreak + \vskip 40\p@ + }} +\def\@schapter#1{\if@twocolumn + \@topnewpage[\@makeschapterhead{#1}]% + \else + \@makeschapterhead{#1}% + \@afterheading + \fi} +\def\@makeschapterhead#1{% + \vspace*{50\p@\@plus 5\p@}% + {\setlength\parindent{\z@}% + \setlength\parskip{\z@}% + \head@style + \normalfont + \Large \ChapFont #1\par + \nobreak + \vskip 40\p@ + }} +\newcommand*\section{% + \@startsection {section}{1}{\z@}% + {-2\baselineskip\@plus -1\baselineskip \@minus -.5\baselineskip}% + {.01\baselineskip}% + {\normalfont\large\SectFont}} +\newcommand*\SectFont{\bfseries} +\newcommand*\subsection{% + \@startsection{subsection}{2}{\z@}% + {-1\baselineskip\@plus -.5\baselineskip \@minus -.25\baselineskip}% + {.01\baselineskip}% + {\normalfont\normalsize\SSectFont}} +\newcommand*\SSectFont{\bfseries} +\newcommand*\subsubsection{% + \@startsection{subsubsection}{3}{\z@}% + {-1\baselineskip plus -.5\baselineskip minus -.25\baselineskip}% + {.01\baselineskip}% + {\normalfont\normalsize\SSSectFont}} +\newcommand*\SSSectFont{\slshape} +\newcommand*\paragraph{% + \@startsection{paragraph}{4}{\z@}% + {3.25ex \@plus1ex \@minus.2ex}% + {-1em}% + {\normalfont\normalsize\ParaFont}} +\newcommand*\ParaFont{\slshape} +\newcommand*\subparagraph{% + \@startsection{subparagraph}{5}{\parindent}% + {3.25ex \@plus1ex \@minus .2ex}% + {-1em}% + {\normalfont\normalsize\SParaFont}} +\newcommand*\SParaFont{\slshape} +\newcommand*\HeadingFonts[8]{% + \renewcommand*\TitleFont{#1}% + \renewcommand*\PartFont{#2}% + \renewcommand*\ChapFont{#3}% + \renewcommand*\SectFont{#4}% + \renewcommand*\SSectFont{#5}% + \renewcommand*\SSSectFont{#6}% + \renewcommand*\ParaFont{#7}% + \renewcommand*\SParaFont{#8}} +\setlength\leftmargini {\unitindent} +\setlength\leftmarginii {\othermargin} +\setlength\leftmarginiii{\othermargin} +\setlength\leftmarginiv {\othermargin} +\setlength\leftmarginv {\othermargin} +\setlength\leftmarginvi {1em} +\setlength\leftmargin {\leftmargini} +\setlength \labelsep {5\p@} +\setlength \labelwidth{\leftmargini} +\addtolength\labelwidth{-\labelsep} +\setlength\partopsep{\z@} +\setlength\topsep{\z@} +\@beginparpenalty -\@lowpenalty +\@endparpenalty -\@lowpenalty +\@itempenalty -\@lowpenalty +\def\@listi{% + \leftmargin\unitindent + \labelsep.5em% + \labelwidth\leftmargin + \advance\labelwidth-\labelsep + \parsep \z@ + \topsep -.5\parskip \@plus\p@ + \itemsep 0\p@ \@plus1\p@} +\let\@listI\@listi +\@listi +\def\@listii {\leftmargin\leftmarginii + \labelsep .5em% + \labelwidth\leftmarginii + \advance\labelwidth-\labelsep + \topsep -.5\parskip\@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\def\@listiii{\leftmargin\leftmarginiii + \labelsep .5em% + \labelwidth\leftmarginiii + \advance\labelwidth-\labelsep + \topsep -.5\parskip\@plus\p@ + \parsep \z@ + \partopsep \z@ \@plus\p@ + \itemsep \z@ \@plus\p@} +\def\@listiv {\leftmargin\leftmarginiv + \labelsep .5em% + \labelwidth\leftmarginiv% + \advance\labelwidth-\labelsep + \topsep -.5\parskip\@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\def\@listv {\leftmargin\leftmarginv + \labelsep .5em% + \labelwidth\leftmarginv + \advance\labelwidth-\labelsep% + \topsep -.5\parskip\@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\def\@listvi {\leftmargin\leftmarginvi + \labelsep .5em + \labelwidth\leftmarginvi + \advance\labelwidth{-\labelsep}% + \topsep -.5\parskip\@plus\p@ + \parsep \z@ + \itemsep \z@ \@plus\p@} +\renewcommand*\theenumi{\@arabic\c@enumi} +\renewcommand*\theenumii{\@alph\c@enumii} +\renewcommand*\theenumiii{\@roman\c@enumiii} +\renewcommand*\theenumiv{\@Alph\c@enumiv} +\newcommand*\labelenumi{\theenumi.} +\newcommand*\labelenumii{(\theenumii)} +\newcommand*\labelenumiii{\theenumiii.} +\newcommand*\labelenumiv{\theenumiv.} +\renewcommand*\p@enumii{\theenumi} +\renewcommand*\p@enumiii{\theenumi(\theenumii)} +\renewcommand*\p@enumiv{\p@enumiii\theenumiii} +\renewenvironment{enumerate}{% + \ifnum \@enumdepth >3 + \@toodeep + \else + \advance\@enumdepth \@ne + \edef\@enumctr{enum\romannumeral\the\@enumdepth}% + \list{\csname label\@enumctr\endcsname} + {\usecounter{\@enumctr}% + \if@revlabel + \def\makelabel##1{\hskip .5\unitindent{##1\hfil}}% + \else + \def\makelabel##1{##1\hfil} + \fi + }% + \fi} + {\global\@ignoretrue \endlist} +\newcommand*{\labelitemi}{\textbullet} +\newcommand*{\labelitemii}{\normalfont\bfseries \textendash} +\newcommand*{\labelitemiii}{\textasteriskcentered} +\newcommand*{\labelitemiv}{\textperiodcentered} +\renewenvironment{itemize}{% + \ifnum \@itemdepth >3 + \@toodeep + \else + \advance\@itemdepth \@ne + \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}% + \list{\csname\@itemitem\endcsname}% + {% + \if@revlabel + \def\makelabel##1{\hskip .5\unitindent{##1\hfil}}\else + \def\makelabel##1{##1\hfil} + \fi + }% + \fi} + {\global\@ignoretrue \endlist} +\newenvironment{description} + {\list{}{\labelwidth\z@ \itemindent-\leftmargin + \let\makelabel\descriptionlabel}} + {\endlist} +\newcommand*\descriptionlabel[1]{\hspace\labelsep \bfseries #1} +\def\verbatim{% + \topsep=-.5\parskip + \@verbatim + \frenchspacing\@vobeyspaces \@xverbatim} +\if@titlepage + \newenvironment{abstract}{% + \titlepage + \null\vfil + \hbox{\SectFont \abstractname} + \noindent\ignorespaces} + {\par\vfil\null\endtitlepage} +\else + \newenvironment{abstract}{% + \if@twocolumn + \section*{\abstractname}% + \else + \small + \bgroup\rightskip=\unitindent + \hbox{\SectFont \abstractname}% + \noindent\ignorespaces + \fi} + {\if@twocolumn\else\par\egroup\fi} +\fi +\newenvironment{verse} + {\let\\\@centercr + \list{}{\itemsep\z@ + \itemindent-1.5em% + \listparindent\itemindent + \rightmargin\leftmargin + \advance\leftmargin1.5em}% + \item\relax} + {\endlist} +\newenvironment{quotation} + {\list{}{% + \listparindent\z@ + \itemindent\listparindent + \rightmargin\leftmargin + \parsep\z@ \@plus\p@}% + \item\relax} + {\endlist} +\newenvironment{quote} + {\list{}{\rightmargin\leftmargin}% + \item\relax} + {\endlist} +\def\@begintheorem#1#2{% + \vskip\baselineskip \labelsep=.5em% + \trivlist + \item[\hskip \labelsep{\bfseries #1\ #2}]\slshape} +\def\@opargbegintheorem#1#2#3{% + \vskip\baselineskip \labelsep=.5em% + \trivlist + \item[\hskip \labelsep{\bfseries #1\ #2\ (#3)}]\slshape} +\def\@endtheorem{\endtrivlist \vskip\baselineskip} +\newenvironment{titlepage} + { + \if@twocolumn + \@restonecoltrue\onecolumn + \else + \@restonecolfalse\newpage + \fi + \thispagestyle{empty}% + \if@compatibility + \setcounter{page}\z@ + \else + \setcounter{page}\@ne + \fi} + {\if@restonecol\twocolumn \else \newpage \fi + \setcounter{page}\@ne + } +\newcommand*\appendix{\par + \setcounter{chapter}{0}% + \setcounter{section}{0}% + \gdef\@chapapp{\appendixname}% + \gdef\thechapter{\@Alph\c@chapter}} +\setlength\arraycolsep{5\p@} +\setlength\tabcolsep{6\p@} +\setlength\arrayrulewidth{.4\p@} +\setlength\doublerulesep{2\p@} +\setlength\tabbingsep{\labelsep} +\def\@minipagerestore{% + \parskip=.5\baselineskip \@plus .1\baselineskip + \@minus .1\baselineskip} +\skip\@mpfootins = \skip\footins +\setlength\fboxsep{3\p@} +\setlength\fboxrule{.4\p@} +\@addtoreset{equation}{chapter} +\renewcommand*\theequation{% + \ifnum \c@chapter>\z@ \thechapter.\fi\@arabic\c@equation} +\newcounter{figure}[chapter] +\renewcommand*\thefigure{% + \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@figure} +\def\fps@figure{tbp} +\def\ftype@figure{1} +\def\ext@figure{lof} +\def\fnum@figure{\figurename\nobreakspace\thefigure} +\newenvironment{figure} + {\@float{figure}} + {\end@float} +\newenvironment{figure*} + {\@dblfloat{figure}} + {\end@dblfloat} +\newcounter{table}[chapter] +\renewcommand*\thetable{% + \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@table} +\def\fps@table{tbp} +\def\ftype@table{2} +\def\ext@table{lot} +\def\fnum@table{\tablename\nobreakspace\thetable} +\newenvironment{table} + {\@float{table}} + {\end@float} +\newenvironment{table*} + {\@dblfloat{table}} + {\end@dblfloat} +\newlength\abovecaptionskip +\newlength\belowcaptionskip +\setlength\abovecaptionskip{10\p@} +\setlength\belowcaptionskip{0\p@} +\long\def\@makecaption#1#2{% + \vskip\abovecaptionskip + \sbox\@tempboxa{{\CaptionLabelFont#1:} \CaptionTextFont#2}% + \ifdim \wd\@tempboxa >\hsize + {\CaptionLabelFont#1:} \CaptionTextFont#2\par + \else + \global \@minipagefalse + \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}% + \fi + \vskip\belowcaptionskip} +\newcommand*\CaptionLabelFont{\relax} +\newcommand*\CaptionTextFont{\relax} +\newcommand*\CaptionFonts[2]{% + \renewcommand*\CaptionLabelFont{#1}% + \renewcommand*\CaptionTextFont{#2}% + } +\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm} +\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf} +\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt} +\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf} +\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit} +\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\relax} +\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\relax} +\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal} +\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal} +\DeclareRobustCommand*\em{% + \@nomath\em + \ifdim\fontdimen\@ne\font>\z@ + \upshape + \else + \slshape + \fi} +\newcommand*\@pnumwidth{1.55em} +\newcommand*\@tocrmarg {2.55em} +\newcommand*\@dotsep{4.5} +\setcounter{tocdepth}{2} +\newcommand*\tableofcontents{% + \if@twocolumn + \@restonecoltrue\onecolumn + \else + \@restonecolfalse + \fi + \chapter*{\contentsname}% + \@mkboth{\MakeUppercase{\contentsname}}% + {\MakeUppercase{\contentsname}}% + \@starttoc{toc}% + \if@restonecol\twocolumn\fi + } +\def\@starttoc#1{\begingroup + \makeatletter + \parskip\z@ + \@input{\jobname.#1}% + \if@filesw + \expandafter\newwrite\csname tf@#1\endcsname + \immediate\openout \csname tf@#1\endcsname \jobname.#1\relax + \fi \global\@nobreakfalse \endgroup} +\newcommand*\@regtocline[3]{% + \ifnum #1>\c@tocdepth + \else + \vskip\z@\@plus.2\p@ + {\hangindent\z@ \@afterindenttrue \interlinepenalty\@M + \leftskip\unitindent + \rightskip\unitindent\@plus 1fil + \parfillskip\z@ + \@tempdima\unitindent + \parindent\z@ + \leavevmode + \hbox{}\hskip -\leftskip\relax#2\nobreak + \hskip 1em \nobreak{\slshape #3}\par + }% + \fi} +\if@oldtoc + \newcommand*\toc@font[1]{\relax} +\else + \newcommand*\toc@font[1]{% + \ifcase#1\relax + \bfseries + \or\slshape + \or\rmfamily + \fi} +\fi +\if@oldtoc + \newcommand*\toc@case{\relax} +\else + \newcommand*\toc@case{\MakeUppercase} +\fi +\if@oldtoc +\newcommand*\l@part[2]{% + \ifnum \c@tocdepth >-2\relax + \addpenalty{-\@highpenalty}% + \addvspace{2.25em \@plus\p@}% + \begingroup + \setlength\@tempdima{3em}% + \parindent \z@ \rightskip \@pnumwidth + \parfillskip -\@pnumwidth + {\leavevmode + \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par + \nobreak + \global\@nobreaktrue + \everypar{\global\@nobreakfalse\everypar{}}% + \endgroup + \fi} +\else + \newcommand*\l@part{% + \ifnum \c@tocdepth >-2\relax + \addpenalty{-\@highpenalty}% + \addvspace{2.25em \@plus \p@}% + \@regtocline{0}% + \fi} +\fi +\if@oldtoc +\newcommand*\l@chapter[2]{% + \addpenalty{-\@highpenalty}% + \vskip 1.0em \@plus\p@ + \setlength\@tempdima{1.5em}% + \begingroup + \parindent \z@ \rightskip \@pnumwidth + \parfillskip -\@pnumwidth + \leavevmode \bfseries + \advance\leftskip\@tempdima + \hskip -\leftskip + #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par + \penalty\@highpenalty + \endgroup} +\else + \newcommand*\l@chapter{\@regtocline{0}} +\fi +\if@oldtoc + \newcommand*\l@section {\@dottedtocline{1}{1.5em}{2.3em}} +\else + \newcommand*\l@section {\@regtocline{1}} +\fi +\if@oldtoc + \newcommand*\l@subsection {\@dottedtocline{2}{3.8em}{3.2em}} + \newcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}} + \newcommand*\l@paragraph {\@dottedtocline{4}{10em}{5em}} + \newcommand*\l@subparagraph {\@dottedtocline{5}{12em}{6em}} +\else + \newcommand*\l@subsection {\@regtocline{2}} + \newcommand*\l@subsubsection{\@regtocline{3}} + \newcommand*\l@paragraph {\@regtocline{4}} + \newcommand*\l@subparagraph {\@regtocline{5}} +\fi +\newcommand*\listoffigures{% + \if@twocolumn + \@restonecoltrue\onecolumn + \else + \@restonecolfalse + \fi + \chapter*{\listfigurename}% + \@mkboth{\MakeUppercase{\listfigurename}}% + {\MakeUppercase{\listfigurename}}% + \@starttoc{lof}% + \if@restonecol\twocolumn\fi + } +\if@oldtoc + \newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} +\else + \newcommand*\l@figure{\@regtocline{1}} +\fi +\newcommand*\listoftables{% + \if@twocolumn + \@restonecoltrue\onecolumn + \else + \@restonecolfalse + \fi + \chapter*{\listtablename}% + \@mkboth{\MakeUppercase{\listtablename}}% + {\MakeUppercase{\listtablename}}% + \@starttoc{lot}% + \if@restonecol\twocolumn\fi + } +\let\l@table\l@figure +\newdimen\bibindent +\setlength\bibindent{1.5em} +\newcommand*\newblock{} +\newenvironment{thebibliography}[1] + {\chapter*{\bibname}% + \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}% + \list{\@biblabel{\@arabic\c@enumiv}}% + {\settowidth\labelwidth{\@biblabel{#1}}% + \leftmargin\labelwidth + \advance\leftmargin\labelsep + \@openbib@code + \usecounter{enumiv}% + \let\p@enumiv\@empty + \renewcommand*\theenumiv{\@arabic\c@enumiv}}% + \sloppy\clubpenalty4000\widowpenalty4000% + \sfcode`\.\@m} + {\def\@noitemerr + {\@latex@warning{Empty `thebibliography' environment}}% + \endlist} +\renewcommand\newblock{\hskip.11em\@plus.33em\@minus.07em} +\let\@openbib@code\@empty +\newenvironment{theindex}{% + \if@twocolumn + \@restonecolfalse + \else + \@restonecoltrue + \fi + \twocolumn[\@makeschapterhead{\indexname}]% + \@mkboth{\MakeUppercase{\indexname}}{\MakeUppercase{\indexname}}% + \thispagestyle{plain}\parindent\z@ + \columnseprule \z@ + \columnsep 35\p@ + \parskip\z@ \@plus .3\p@\relax + \let\item\@idxitem + }{% + \if@restonecol\onecolumn\else\clearpage\fi} +\newcommand*\@idxitem {\par\hangindent 40\p@} +\newcommand*\subitem {\@idxitem\hspace*{20\p@}} +\newcommand*\subsubitem{\@idxitem\hspace*{30\p@}} +\newcommand*\indexspace{\par\vskip10\p@\@plus5\p@\@minus3\p@\relax} +\renewcommand*\footnoterule{% + \kern-3\p@ + \kern.5\baselineskip + \hrule\@width\unitindent + \kern.4\baselineskip +} +\@addtoreset{footnote}{chapter} +\newcommand*\@makefntext{\@xmakefntext{\normalfont\@thefnmark.}} +\newcommand*\@xmakefntext[1]{% + \parindent\z@ + \def\labelitemi{\textendash}\@revlabeltrue + {\setbox0\hbox {#1\hskip.5em plus 1fil} + \dimen0=2\wd0\relax + \ifdim\dimen0>\unitindent + \global\unitindent\dimen0\relax + \@indentset + \fi} + \leavevmode\hb@xt@.5\unitindent{#1\hfil}} +\newcommand*\contentsname{Contents} +\newcommand*\listfigurename{List of Figures} +\newcommand*\listtablename{List of Tables} +\newcommand*\bibname{Bibliography} +\newcommand*\indexname{Index} +\newcommand*\figurename{Figure} +\newcommand*\tablename{Table} +\newcommand*\partname{Part} +\newcommand*\chaptername{Chapter} +\newcommand*\appendixname{Appendix} +\newcommand*\abstractname{Abstract} +\newcommand*\seename{see} +\newcommand*\andname{and} +\newcommand*\today{} +\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} +\setlength\columnsep{10\p@} +\setlength\columnseprule{0\p@} +\pagestyle{plain} +\pagenumbering{arabic} % Arabic page numbers +\if@twocolumn + \twocolumn + \sloppy + \flushbottom +\else + \onecolumn +\fi +\frenchspacing +\endinput +%% +%% End of file `rapport3.cls'. -- cgit v1.2.3