| 1 |
% \iffalse |
| 2 |
% |
| 3 |
% Copyright (C) 1994 -- 2026 by Nederlandstalige TeX Gebruikersgroep. |
| 4 |
% Based on letter.dtx version 1.3a |
| 5 |
% |
| 6 |
% Copyright (C) 1994 LaTeX3 project, Frank Mittelbach |
| 7 |
% and Rainer Sch\"opf, all rights reserved. |
| 8 |
% |
| 9 |
% This file is part of the NTG document classes distribution |
| 10 |
% ---------------------------------------------------------- |
| 11 |
% |
| 12 |
% It may be distributed and/or modified under the |
| 13 |
% conditions of the LaTeX Project Public License, either version 1.3c |
| 14 |
% of this license or (at your option) any later version. |
| 15 |
% The latest version of this license is in |
| 16 |
% http://www.latex-project.org/lppl.txt |
| 17 |
% and version 1.3c or later is part of all distributions of LaTeX |
| 18 |
% version 2008 or later. |
| 19 |
% |
| 20 |
% This work has the LPPL maintenance status "maintained". |
| 21 |
% |
| 22 |
% The Current Maintainer of this work is Johannes Braams. |
| 23 |
% |
| 24 |
% The list of all files belonging to the NTG document classes |
| 25 |
% distribution is given in the file `manifest.txt. |
| 26 |
% |
| 27 |
% The list of derived (unpacked) files belonging to the distribution |
| 28 |
% and covered by LPPL is defined by the unpacking scripts (with |
| 29 |
% extension .ins) which are part of the distribution. |
| 30 |
% |
| 31 |
% \fi |
| 32 |
% \CheckSum{2217} |
| 33 |
% \iffalse |
| 34 |
% |
| 35 |
% \section{Identification} |
| 36 |
% |
| 37 |
% This document class can only be used with \LaTeXe, so we make |
| 38 |
% sure that an appropriate message is displayed when another \TeX{} |
| 39 |
% format is used. |
| 40 |
% \begin{macrocode} |
| 41 |
%<+brief>\NeedsTeXFormat{LaTeX2e}[1995/12/01] |
| 42 |
% \end{macrocode} |
| 43 |
% |
| 44 |
% Announce the Class name and its version. |
| 45 |
% \begin{macrocode} |
| 46 |
%<+brief>\ProvidesClass{brief} |
| 47 |
%<*driver> |
| 48 |
\ProvidesFile{brief.drv} |
| 49 |
%</driver> |
| 50 |
[2025/12/29 v2.0t |
| 51 |
%<+brief> NTG LaTeX document class] |
| 52 |
% \end{macrocode} |
| 53 |
% |
| 54 |
% \section{The documentation driver file} |
| 55 |
% |
| 56 |
% We use the document class \cls{ltxdoc} which is also used to |
| 57 |
% format the \LaTeXe\ documentation. |
| 58 |
% \begin{macrocode} |
| 59 |
%<*driver> |
| 60 |
] |
| 61 |
\documentclass{ltxdoc} |
| 62 |
% \end{macrocode} |
| 63 |
% |
| 64 |
% We don't want everything to appear in the index. |
| 65 |
% \changes{v2.0c}{1994/06/15}{Reordered DoNotIndex list} |
| 66 |
% \changes{v2.0f}{1994/10/04}{Added a missing comma} |
| 67 |
% \begin{macrocode} |
| 68 |
\DoNotIndex{\@Alph,\@alph,\@arabic,\@badmath} |
| 69 |
\DoNotIndex{\@centercr} |
| 70 |
\DoNotIndex{\@empty,\@ignoretrue} |
| 71 |
\DoNotIndex{\@ixpt} |
| 72 |
\DoNotIndex{\@M,\@minus,\@ne,\@plus} |
| 73 |
\DoNotIndex{\\,\addtolength} |
| 74 |
\DoNotIndex{\advance} |
| 75 |
\DoNotIndex{\ast,\begin,\begingroup,\bfseries,\bgroup,\box} |
| 76 |
\DoNotIndex{\bullet} |
| 77 |
\DoNotIndex{\cdot,\cr,\day,\DeclareOption} |
| 78 |
\DoNotIndex{\def,\DocInput,\documentclass} |
| 79 |
\DoNotIndex{\DoNotIndex,\egroup,\ifx,\else,\fi,\endtrivlist} |
| 80 |
\DoNotIndex{\EnableCrossrefs,\end,\end@dblfloat,\end@float,\endgroup} |
| 81 |
\DoNotIndex{\endlist,\everycr,\ExecuteOptions} |
| 82 |
\DoNotIndex{\filedate,\filename,\fileversion} |
| 83 |
\DoNotIndex{\global,\halign,\hangindent,\hbox,\hfil,\hfill,\hrule} |
| 84 |
\DoNotIndex{\hsize,\hskip,\hspace,\hss,\ifcase,\or,\fi} |
| 85 |
\DoNotIndex{\ifvmode,\ifnum,\fi,\fi,\input} |
| 86 |
\DoNotIndex{\kern,\leavevmode,\let,\leftmark} |
| 87 |
\DoNotIndex{\list,\llap,\long,\m@ne,\m@th,\mark} |
| 88 |
\DoNotIndex{\month,\newcommand,\newcounter,\newenvironment} |
| 89 |
\DoNotIndex{\NeedsTeXFormat,\newdimen} |
| 90 |
\DoNotIndex{\newpage,\nobreak,\noindent,\number} |
| 91 |
\DoNotIndex{\p@} |
| 92 |
\DoNotIndex{\pagestyle,\par} |
| 93 |
\DoNotIndex{\penalty,\PrintChanges,\PrintIndex,\ProcessOptions} |
| 94 |
\DoNotIndex{\protect,\ProvidesClass,\raggedbottom,\raggedright} |
| 95 |
\DoNotIndex{\refstepcounter,\relax,\renewcommand,\reset@font} |
| 96 |
\DoNotIndex{\rightmargin,\rlap,\rmfamily} |
| 97 |
\DoNotIndex{\roman,\setbox,\setcounter,\setlength} |
| 98 |
\DoNotIndex{\skip,\slshape,\space} |
| 99 |
\DoNotIndex{\trivlist,\typeout,\tw@} |
| 100 |
\DoNotIndex{\vskip,\vspace,\year,\z@} |
| 101 |
% \end{macrocode} |
| 102 |
% We do want an index, using linenumbers. |
| 103 |
% \changes{v2.0s}{2020/02/18}{Added \cs{CodelineIndex} to make sure a |
| 104 |
% \texttt{.idx} file is produced} |
| 105 |
% \begin{macrocode} |
| 106 |
\EnableCrossrefs |
| 107 |
\CodelineIndex |
| 108 |
% \end{macrocode} |
| 109 |
% Produce a listing of the changes. |
| 110 |
% \begin{macrocode} |
| 111 |
\RecordChanges |
| 112 |
% \end{macrocode} |
| 113 |
% We use so many \file{docstrip} modules that we set the |
| 114 |
% \texttt{StandardModuleDepth} counter to 1. |
| 115 |
% \begin{macrocode} |
| 116 |
\setcounter{StandardModuleDepth}{1} |
| 117 |
% \end{macrocode} |
| 118 |
% The following command retrieves the date and version information |
| 119 |
% from the file. |
| 120 |
% \changes{v2.0c}{1994/06/15}{Removed remnant from \file{letter.dtx}, |
| 121 |
% now get the file info from \file{bief.dtx}} |
| 122 |
% \begin{macrocode} |
| 123 |
\GetFileInfo{brief.drv} |
| 124 |
% \end{macrocode} |
| 125 |
% Some commonly used abbreviations |
| 126 |
% \begin{macrocode} |
| 127 |
\newcommand*\Lopt[1]{\textsf{#1}} |
| 128 |
\newcommand*\Lenv[1]{\textsf{#1}} |
| 129 |
\newcommand*\file[1]{\texttt{#1}} |
| 130 |
\newcommand*\cls[1]{\texttt{#1}} |
| 131 |
\newcommand*\Lcount[1]{\textsl{\small#1}} |
| 132 |
\newcommand*\pstyle[1]{\textsl{#1}} |
| 133 |
% \end{macrocode} |
| 134 |
% We also want the full details. |
| 135 |
% \changes{v2.0c}{1994/06/15}{Removed another remnant of |
| 136 |
% \file{letter.dtx}} |
| 137 |
% \begin{macrocode} |
| 138 |
\begin{document} |
| 139 |
\DocInput{brief.dtx} |
| 140 |
\PrintIndex |
| 141 |
\PrintChanges |
| 142 |
\end{document} |
| 143 |
%</driver> |
| 144 |
% \end{macrocode} |
| 145 |
% \fi |
| 146 |
% |
| 147 |
% \changes{v2.0g}{1994/12/23}{Use \cs{newcommand*} instead of |
| 148 |
% \cs{newcommand} in most places} |
| 149 |
% \changes{v2.0l}{1995/08/10}{Use \cs{hb@xt@} instead of \cs{hbox} |
| 150 |
% \texttt{to}} |
| 151 |
% \changes{v2.0q}{1997/09/09}{Added a few more synonimes for commands} |
| 152 |
% \changes{v2.0s}{2020/02/18}{Synchronised with the standard document |
| 153 |
% classes} |
| 154 |
% |
| 155 |
% |
| 156 |
% \author{Victor Eijkhout \and Johannes Braams} |
| 157 |
% |
| 158 |
% \title{NTG Document Class \texttt{brief} for \LaTeX{} version 2e} |
| 159 |
% |
| 160 |
% |
| 161 |
% \maketitle |
| 162 |
% \tableofcontents |
| 163 |
% |
| 164 |
% \section{Introduction} |
| 165 |
% |
| 166 |
% This file contains the document class \cls{brief} that was made |
| 167 |
% available by Working Group 13 of the NTG (Nederlandstalige \TeX\ |
| 168 |
% Gebruikersgroep). It defines more commands than the standard |
| 169 |
% document class \cls{letter}, but a letter made with the |
| 170 |
% \cls{letter} document class is still processable with this |
| 171 |
% document class. |
| 172 |
% |
| 173 |
% \StopEventually |
| 174 |
% |
| 175 |
% \section{Initial Code} |
| 176 |
% |
| 177 |
% In this part we define a few comands that are used later on. |
| 178 |
% |
| 179 |
% \begin{macro}{\@ptsize} |
| 180 |
% This control sequence is used to store the second digit of the |
| 181 |
% pointsize we are typesetting in. So, normally, it's value is one |
| 182 |
% of 0, 1 or 2. |
| 183 |
% \begin{macrocode} |
| 184 |
%<*brief> |
| 185 |
\newcommand*\@ptsize{} |
| 186 |
% \end{macrocode} |
| 187 |
% \end{macro} |
| 188 |
% |
| 189 |
% \begin{macro}{\if@typhulp} |
| 190 |
% This switch is used to decide whether or not to put a small line |
| 191 |
% on the paper that is used to align the paper in a typewriter. |
| 192 |
% \begin{macrocode} |
| 193 |
\newif\if@typhulp |
| 194 |
% \end{macrocode} |
| 195 |
% \end{macro} |
| 196 |
% |
| 197 |
% \begin{macro}{\if@streepjes} |
| 198 |
% A switch to indicate if the `folding lines' should be printed |
| 199 |
% \begin{macrocode} |
| 200 |
\newif\if@streepjes |
| 201 |
% \end{macrocode} |
| 202 |
% \end{macro} |
| 203 |
% |
| 204 |
% \begin{macro}{\if@adresrechts} |
| 205 |
% This switch indicates if the addressing information is to be set |
| 206 |
% on the left or on the right side of the letter. |
| 207 |
% \begin{macrocode} |
| 208 |
\newif\if@adresrechts |
| 209 |
% \end{macrocode} |
| 210 |
% \end{macro} |
| 211 |
% |
| 212 |
% \begin{macro}{\if@elfinch} |
| 213 |
% A switch to remember whether we are using A4 or letter |
| 214 |
% paper. (possibly obsolete) |
| 215 |
% \begin{macrocode} |
| 216 |
\newif\if@elfinch |
| 217 |
% \end{macrocode} |
| 218 |
% \end{macro} |
| 219 |
% |
| 220 |
% |
| 221 |
% \subsection{Setting Paper Sizes} |
| 222 |
% |
| 223 |
% The variables |\paperwidth| and |\paperheight| should reflect the |
| 224 |
% physical paper size after trimming. For desk printer output this |
| 225 |
% is usually the real paper size since there is no post-processing. |
| 226 |
% \begin{macrocode} |
| 227 |
\DeclareOption{a4paper} |
| 228 |
{\setlength\paperheight {297mm}% |
| 229 |
\setlength\paperwidth {210mm}\@elfinchfalse} |
| 230 |
\DeclareOption{a5paper} |
| 231 |
{\ClassWarning{brief}{Paper size A5 not supported, using A4}% |
| 232 |
\setlength\paperheight {297mm}% |
| 233 |
\setlength\paperwidth {210mm}\@elfinchfalse} |
| 234 |
\DeclareOption{b5paper} |
| 235 |
{\ClassWarning{brief}{Paper size B5 not supported, using A4}% |
| 236 |
\setlength\paperheight {297mm}% |
| 237 |
\setlength\paperwidth {210mm}\@elfinchfalse} |
| 238 |
\DeclareOption{letterpaper} |
| 239 |
{\setlength\paperheight {11in}% |
| 240 |
\setlength\paperwidth {8.5in}\@elfinchtrue} |
| 241 |
\DeclareOption{USletter} |
| 242 |
{\setlength\paperheight {11in}% |
| 243 |
\setlength\paperwidth {8.5in}\@elfinchtrue} |
| 244 |
\DeclareOption{legalpaper} |
| 245 |
{\ClassWarning{brief} |
| 246 |
{Paper size `legal' not supported, using `letter'}% |
| 247 |
\setlength\paperheight {14in}% |
| 248 |
\setlength\paperwidth {8.5in}\@elfinchtrue} |
| 249 |
\DeclareOption{executivepaper} |
| 250 |
{\ClassWarning{brief} |
| 251 |
{Paper size `executive' not supported, using `letter'}% |
| 252 |
\setlength\paperheight {10.5in}% |
| 253 |
\setlength\paperwidth {7.25in}\@elfinchtrue} |
| 254 |
% \end{macrocode} |
| 255 |
% |
| 256 |
% |
| 257 |
% \subsection{Choosing the type size} |
| 258 |
% |
| 259 |
% The type size options are handled by defining |\@ptsize| to |
| 260 |
% contain the last digit of the size in question and branching on |
| 261 |
% |\ifcase| statements. This is done for historical reasons to stay |
| 262 |
% compatible with other packages that use the |\@ptsize| variable |
| 263 |
% to select special actions. It makes the declarations of size |
| 264 |
% options less than 10pt difficult, although one can probably use |
| 265 |
% \texttt{9} and \texttt{8} assuming that a class wont define both |
| 266 |
% \Lopt{8pt} and \Lopt{18pt} options. |
| 267 |
% |
| 268 |
% \begin{macrocode} |
| 269 |
\DeclareOption{10pt}{\renewcommand*\@ptsize{0}} |
| 270 |
\DeclareOption{11pt}{\renewcommand*\@ptsize{1}} |
| 271 |
\DeclareOption{12pt}{\renewcommand*\@ptsize{2}} |
| 272 |
% \end{macrocode} |
| 273 |
% |
| 274 |
% |
| 275 |
% \subsection{Two-side or one-side printing} |
| 276 |
% |
| 277 |
% Two-sided printing was not supported in the \LaTeX~2.09 version |
| 278 |
% of this documentclass. |
| 279 |
% \begin{macrocode} |
| 280 |
\if@compatibility |
| 281 |
\DeclareOption{twoside}{\@latexerr{No 'twoside' layout for letters}% |
| 282 |
\@eha} |
| 283 |
\else |
| 284 |
\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue} |
| 285 |
\fi |
| 286 |
% \end{macrocode} |
| 287 |
% |
| 288 |
% |
| 289 |
% \begin{macrocode} |
| 290 |
\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse} |
| 291 |
% \end{macrocode} |
| 292 |
% |
| 293 |
% \subsection{Draft option} |
| 294 |
% |
| 295 |
% If the user requests \Lopt{draft} we show any overfull boxes. |
| 296 |
% We could probably add some more interesting stuff to this option. |
| 297 |
% \begin{macrocode} |
| 298 |
\DeclareOption{draft}{\setlength\overfullrule{5pt}} |
| 299 |
\DeclareOption{final}{\setlength\overfullrule{0pt}} |
| 300 |
% \end{macrocode} |
| 301 |
% |
| 302 |
% |
| 303 |
% \subsection{Equation numbering on the left} |
| 304 |
% |
| 305 |
% The option \Lopt{leqno} can be used to get the equation numbers |
| 306 |
% on the left side of the equation. |
| 307 |
% \begin{macrocode} |
| 308 |
\DeclareOption{leqno}{\input{leqno.clo}} |
| 309 |
% \end{macrocode} |
| 310 |
% |
| 311 |
% \subsection{Flush left displays} |
| 312 |
% |
| 313 |
% The option \Lopt{fleqn} redefines the displayed math environmens |
| 314 |
% in such a way that they come out flush left, with an indentation |
| 315 |
% of |\mathindent| from the prevailing left margin. |
| 316 |
% \begin{macrocode} |
| 317 |
\DeclareOption{fleqn}{\input{fleqn.clo}} |
| 318 |
% \end{macrocode} |
| 319 |
% |
| 320 |
% \subsection{Typewriter alignment} |
| 321 |
% |
| 322 |
% \begin{macrocode} |
| 323 |
\DeclareOption{typhulp}{\@typhulptrue} |
| 324 |
\DeclareOption{geentyphulp}{\@typhulpfalse} |
| 325 |
% \end{macrocode} |
| 326 |
% \subsection{Folding lines} |
| 327 |
% It is possible to print `folding lines' on the far right side of |
| 328 |
% the paper. |
| 329 |
% |
| 330 |
% \begin{macrocode} |
| 331 |
\DeclareOption{streepjes}{\@streepjestrue} |
| 332 |
\DeclareOption{geenstreepjes}{\@streepjesfalse} |
| 333 |
% \end{macrocode} |
| 334 |
% |
| 335 |
% \subsection{Address placement} |
| 336 |
% The address information can be put either on the left or on the |
| 337 |
% right side of the letter |
| 338 |
% |
| 339 |
% \begin{macrocode} |
| 340 |
\DeclareOption{adreslinks}{\@adresrechtsfalse} |
| 341 |
\DeclareOption{adresrechts}{\@adresrechtstrue} |
| 342 |
% \end{macrocode} |
| 343 |
% |
| 344 |
% \subsection{Support for different languages} |
| 345 |
% |
| 346 |
% In the original document style \cls{brief} the options to support |
| 347 |
% the various languages were all dutch words. To be compatible with |
| 348 |
% both the old version of the document class and with the |
| 349 |
% recommended set of language options we have at least two options |
| 350 |
% for each language. |
| 351 |
% |
| 352 |
% First Dutch, |
| 353 |
% \begin{macrocode} |
| 354 |
\DeclareOption{nederlands}{\AtEndOfClass{\dutchbrief}} |
| 355 |
\DeclareOption{dutch} {\AtEndOfClass{\dutchbrief}} |
| 356 |
% \end{macrocode} |
| 357 |
% then British English, |
| 358 |
% \begin{macrocode} |
| 359 |
\DeclareOption{engels} {\AtEndOfClass{\englishbrief}} |
| 360 |
\DeclareOption{english} {\AtEndOfClass{\englishbrief}} |
| 361 |
% \end{macrocode} |
| 362 |
% American English, |
| 363 |
% \begin{macrocode} |
| 364 |
\DeclareOption{USengels} {\AtEndOfClass{\americanbrief}} |
| 365 |
\DeclareOption{american} {\AtEndOfClass{\americanbrief}} |
| 366 |
% \end{macrocode} |
| 367 |
% German |
| 368 |
% \begin{macrocode} |
| 369 |
\DeclareOption{duits} {\AtEndOfClass{\germanbrief}} |
| 370 |
\DeclareOption{german} {\AtEndOfClass{\germanbrief}} |
| 371 |
% \end{macrocode} |
| 372 |
% and finally french. |
| 373 |
% \begin{macrocode} |
| 374 |
\DeclareOption{frans} {\AtEndOfClass{\frenchbrief}} |
| 375 |
\DeclareOption{french} {\AtEndOfClass{\frenchbrief}} |
| 376 |
\DeclareOption{francais} {\AtEndOfClass{\frenchbrief}} |
| 377 |
% \end{macrocode} |
| 378 |
% |
| 379 |
% \section{Executing Options} |
| 380 |
% |
| 381 |
% Here we execute the default options to initialize certain |
| 382 |
% variables. |
| 383 |
% \begin{macrocode} |
| 384 |
\ExecuteOptions{a4paper,11pt,oneside,onecolumn,final,% |
| 385 |
geentyphulp,geenstreepjes,adreslinks,% |
| 386 |
nederlands} |
| 387 |
% \end{macrocode} |
| 388 |
% |
| 389 |
% The |\ProcessOptions| command causes the execution of the code |
| 390 |
% for every option \Lopt{FOO} |
| 391 |
% which is declared and for which the user typed |
| 392 |
% the \Lopt{FOO} option in his |
| 393 |
% |\documentclass| command. For every option \Lopt{BAR} he typed, |
| 394 |
% which is not declared, the option is assumed to be a global option. |
| 395 |
% All options will be passed as document options to any |
| 396 |
% |\usepackage| command in the document preamble. |
| 397 |
% \changes{v2.0h}{1994/12/30}{Added a \cs{relax} to prevent an |
| 398 |
% incomplete \cs{ifcase} error} |
| 399 |
% \begin{macrocode} |
| 400 |
\ProcessOptions\relax |
| 401 |
% \end{macrocode} |
| 402 |
% Now that all the options have been executed we can define the |
| 403 |
% user-level size changing commands. Their definition depends on |
| 404 |
% which of the \Lopt{10pt}, \Lopt{11pt} or \Lopt{12pt} options was |
| 405 |
% specified. |
| 406 |
% |
| 407 |
% \begin{macro}{\normalsize} |
| 408 |
% \begin{macro}{\@normalsize} |
| 409 |
% |
| 410 |
% The user level command for the main size is |\normalsize|. |
| 411 |
% Internally \LaTeX{} uses |\@normalsize| when it refers to the |
| 412 |
% main size. |\@normalsize| will be defined to work like |
| 413 |
% |\normalsize| if the latter is redefined from its default |
| 414 |
% definition (that just issues an error message). Otherwise |
| 415 |
% |\@normalsize| simply selects a 10pt/12pt size. |
| 416 |
% |
| 417 |
% The |\normalsize| macro also sets new values for\\ |
| 418 |
% |\abovedisplayskip|, |\abovedisplayshortskip| and |
| 419 |
% |
| 420 |
% \begin{macrocode} |
| 421 |
\ifcase\@ptsize |
| 422 |
\renewcommand*\normalsize{% |
| 423 |
\@setfontsize\normalsize\@xpt\@xiipt |
| 424 |
\abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@ |
| 425 |
\abovedisplayshortskip \z@ \@plus3\p@ |
| 426 |
\belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@ |
| 427 |
\belowdisplayskip \abovedisplayskip |
| 428 |
\let\@listi\@listI} |
| 429 |
\or |
| 430 |
\renewcommand*\normalsize{% |
| 431 |
\@setfontsize\normalsize\@xipt{13.6}% |
| 432 |
\abovedisplayskip 11\p@ \@plus3\p@ \@minus6\p@ |
| 433 |
\abovedisplayshortskip \z@ \@plus3\p@ |
| 434 |
\belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@ |
| 435 |
\belowdisplayskip \abovedisplayskip |
| 436 |
\let\@listi\@listI} |
| 437 |
\or |
| 438 |
\renewcommand*\normalsize{% |
| 439 |
\@setfontsize\normalsize\@xiipt{15}% |
| 440 |
\abovedisplayskip 12\p@ \@plus3\p@ \@minus7\p@ |
| 441 |
\abovedisplayshortskip \z@ \@plus3\p@ |
| 442 |
\belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@ |
| 443 |
\belowdisplayskip \abovedisplayskip |
| 444 |
\let\@listi\@listI} |
| 445 |
\fi |
| 446 |
% \end{macrocode} |
| 447 |
% Make |\@normalsize| a synonymn for |\normalsize|. |
| 448 |
% \begin{macrocode} |
| 449 |
\let\@normalsize\normalsize |
| 450 |
% \end{macrocode} |
| 451 |
% |
| 452 |
% We initially choose the normalsize font. |
| 453 |
% \begin{macrocode} |
| 454 |
\normalsize |
| 455 |
% \end{macrocode} |
| 456 |
% We use |\MakeRobust| instead of |\DeclareRobustCommand| above to |
| 457 |
% avoid a log entry for the redefinition. |
| 458 |
% But if we are running in a rollback situation |
| 459 |
% (prior to 2015) we don't touch it. |
| 460 |
% \changes{v2.0s}{2020/02/18}{Roll back handling (gh/201)} |
| 461 |
% \begin{macrocode} |
| 462 |
\ifx\MakeRobust\@undefined \else |
| 463 |
\MakeRobust\normalsize |
| 464 |
\fi |
| 465 |
% \end{macrocode} |
| 466 |
% \end{macro} |
| 467 |
% \end{macro} |
| 468 |
% |
| 469 |
% \begin{macro}{\small} |
| 470 |
% |
| 471 |
% This is similar to |\normalsize|. |
| 472 |
% \changes{v2.0s}{2020/02/18}{Use \cs{DeclareRobustCommand} instead of |
| 473 |
% \cs{newcommand*}} |
| 474 |
% \begin{macrocode} |
| 475 |
\ifcase\@ptsize |
| 476 |
\DeclareRobustCommand\small{% |
| 477 |
\@setfontsize\small\@ixpt{11}% |
| 478 |
\abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@ |
| 479 |
\abovedisplayshortskip \z@ \@plus2\p@ |
| 480 |
\belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@ |
| 481 |
\belowdisplayskip \abovedisplayskip} |
| 482 |
\or |
| 483 |
\DeclareRobustCommand\small{% |
| 484 |
\@setfontsize\small\@xpt\@xiipt |
| 485 |
\abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@ |
| 486 |
\abovedisplayshortskip \z@ \@plus3\p@ |
| 487 |
\belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@ |
| 488 |
\belowdisplayskip \abovedisplayskip} |
| 489 |
\or |
| 490 |
\DeclareRobustCommand\small{% |
| 491 |
\@setfontsize\small\@xipt{13.6}% |
| 492 |
\abovedisplayskip 11\p@ \@plus3\p@ \@minus6\p@ |
| 493 |
\abovedisplayshortskip \z@ \@plus3\p@ |
| 494 |
\belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@ |
| 495 |
\belowdisplayskip \abovedisplayskip} |
| 496 |
\fi |
| 497 |
% \end{macrocode} |
| 498 |
% \end{macro} |
| 499 |
% |
| 500 |
% \begin{macro}{\footnotesize} |
| 501 |
% |
| 502 |
% This is similar to |\normalsize|. |
| 503 |
% \begin{macrocode} |
| 504 |
\ifcase\@ptsize |
| 505 |
\DeclareRobustCommand\footnotesize{% |
| 506 |
\@setfontsize\footnotesize\@viiipt{9.5}% |
| 507 |
\abovedisplayskip 6\p@ \@plus2\p@ \@minus4\p@ |
| 508 |
\abovedisplayshortskip \z@ \@plus\p@ |
| 509 |
\belowdisplayshortskip 3\p@ \@plus\p@ \@minus2\p@ |
| 510 |
\belowdisplayskip \abovedisplayskip} |
| 511 |
\or |
| 512 |
\DeclareRobustCommand\footnotesize{% |
| 513 |
\@setfontsize\footnotesize\@ixpt{11}% |
| 514 |
\abovedisplayskip 8\p@ \@plus2\p@ \@minus4\p@ |
| 515 |
\abovedisplayshortskip \z@ \@plus\p@ |
| 516 |
\belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@ |
| 517 |
\belowdisplayskip \abovedisplayskip} |
| 518 |
\or |
| 519 |
\DeclareRobustCommand\footnotesize{% |
| 520 |
\@setfontsize\footnotesize\@xpt\@xiipt |
| 521 |
\abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@ |
| 522 |
\abovedisplayshortskip \z@ \@plus3\p@ |
| 523 |
\belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@ |
| 524 |
\belowdisplayskip \abovedisplayskip} |
| 525 |
\fi |
| 526 |
% \end{macrocode} |
| 527 |
% \end{macro} |
| 528 |
% |
| 529 |
% \begin{macro}{\scriptsize} |
| 530 |
% \begin{macro}{\tiny} |
| 531 |
% \begin{macro}{\large} |
| 532 |
% \begin{macro}{\Large} |
| 533 |
% \begin{macro}{\LARGE} |
| 534 |
% \begin{macro}{\huge} |
| 535 |
% \begin{macro}{\Huge} |
| 536 |
% These are all much simpler than the previous macros, they just |
| 537 |
% select a new fontsize, but leave the parameters for displays and |
| 538 |
% lists alone. |
| 539 |
% \begin{macrocode} |
| 540 |
\ifcase\@ptsize |
| 541 |
\DeclareRobustCommand\scriptsize{\@setfontsize\scriptsize\@viipt\@viiipt} |
| 542 |
\DeclareRobustCommand\tiny{\@setfontsize\tiny\@vpt\@vipt} |
| 543 |
\DeclareRobustCommand\large{\@setfontsize\large\@xiipt{14}} |
| 544 |
\DeclareRobustCommand\Large{\@setfontsize\Large\@xivpt{18}} |
| 545 |
\DeclareRobustCommand\LARGE{\@setfontsize\LARGE\@xviipt{22}} |
| 546 |
\DeclareRobustCommand\huge{\@setfontsize\huge\@xxpt{25}} |
| 547 |
\DeclareRobustCommand\Huge{\@setfontsize\Huge\@xxvpt{30}} |
| 548 |
\or |
| 549 |
\DeclareRobustCommand\scriptsize{\@setfontsize\scriptsize\@viiipt{9.5}} |
| 550 |
\DeclareRobustCommand\tiny{\@setfontsize\tiny\@vipt\@viipt} |
| 551 |
\DeclareRobustCommand\large{\@setfontsize\large\@xiipt{14}} |
| 552 |
\DeclareRobustCommand\Large{\@setfontsize\Large\@xivpt{18}} |
| 553 |
\DeclareRobustCommand\LARGE{\@setfontsize\LARGE\@xviipt{22}} |
| 554 |
\DeclareRobustCommand\huge{\@setfontsize\huge\@xxpt{25}} |
| 555 |
\DeclareRobustCommand\Huge{\@setfontsize\Huge\@xxvpt{30}} |
| 556 |
\or |
| 557 |
\DeclareRobustCommand\scriptsize{\@setfontsize\scriptsize\@viiipt{9.5}} |
| 558 |
\DeclareRobustCommand\tiny{\@setfontsize\tiny\@vipt\@viipt} |
| 559 |
\DeclareRobustCommand\large{\@setfontsize\large\@xivpt{18}} |
| 560 |
\DeclareRobustCommand\Large{\@setfontsize\Large\@xviipt{22}} |
| 561 |
\DeclareRobustCommand\LARGE{\@setfontsize\LARGE\@xxpt{25}} |
| 562 |
\DeclareRobustCommand\huge{\@setfontsize\huge\@xxvpt{30}} |
| 563 |
\let\Huge=\huge |
| 564 |
\fi |
| 565 |
% \end{macrocode} |
| 566 |
% \end{macro} |
| 567 |
% \end{macro} |
| 568 |
% \end{macro} |
| 569 |
% \end{macro} |
| 570 |
% \end{macro} |
| 571 |
% \end{macro} |
| 572 |
% \end{macro} |
| 573 |
% |
| 574 |
% \section{Loading Packages} |
| 575 |
% |
| 576 |
% This class file does not load additional packages. |
| 577 |
% |
| 578 |
% |
| 579 |
% \section{Document Layout} |
| 580 |
% \label{sec:maincode} |
| 581 |
% |
| 582 |
% In this section we are finally dealing with the nasty typographical |
| 583 |
% details. |
| 584 |
% |
| 585 |
% \subsection{Fonts} |
| 586 |
% |
| 587 |
% We use two fixed fonts in these letters. |
| 588 |
%^^A possibly need to update for DC fonts in future? |
| 589 |
% \begin{macrocode} |
| 590 |
\newfont\refkopfont{cmssq8} |
| 591 |
\DeclareFixedFont\kleinvet{\encodingdefault}% |
| 592 |
{\rmdefault}% |
| 593 |
{\bfdefault}% |
| 594 |
{\shapedefault}% |
| 595 |
{7} |
| 596 |
% \end{macrocode} |
| 597 |
% \subsection{Paragraphing} |
| 598 |
% |
| 599 |
% \begin{macro}{\lineskip} |
| 600 |
% \begin{macro}{\normallineskip} |
| 601 |
% These parameters control \TeX's behaviour when two lines tend to |
| 602 |
% come too close together. |
| 603 |
% \begin{macrocode} |
| 604 |
\setlength\lineskip{1\p@} |
| 605 |
\setlength\normallineskip{1\p@} |
| 606 |
% \end{macrocode} |
| 607 |
% \end{macro} |
| 608 |
% \end{macro} |
| 609 |
% |
| 610 |
% \begin{macro}{\baselinestretch} |
| 611 |
% This is used as a multiplier for |\baselineskip|. The default is |
| 612 |
% to {\em not\/} stretch the baselines. |
| 613 |
% \begin{macrocode} |
| 614 |
\renewcommand*\baselinestretch{} |
| 615 |
% \end{macrocode} |
| 616 |
% \end{macro} |
| 617 |
% |
| 618 |
% \begin{macro}{\parskip} |
| 619 |
% \begin{macro}{\parindent} |
| 620 |
% |\parskip| gives extra vertical space between paragraphs and |
| 621 |
% |\parindent| is the width of the paragraph indentation. |
| 622 |
% Letters are typeset without paragraph indentation. |
| 623 |
% \begin{macrocode} |
| 624 |
\setlength\parskip{0.7em \@plus .3em \@minus .2em} |
| 625 |
\setlength\parindent{0\p@} |
| 626 |
% \end{macrocode} |
| 627 |
% \end{macro} |
| 628 |
% \end{macro} |
| 629 |
% |
| 630 |
% \begin{macro}{\@lowpenalty} |
| 631 |
% \begin{macro}{\@medpenalty} |
| 632 |
% \begin{macro}{\@highpenalty} |
| 633 |
% The commands |\nopagebreak| and |\nolinebreak| put in penalties |
| 634 |
% to discourage these breaks at the point they are put in. |
| 635 |
% They use |\@lowpenalty|, |\@medpenalty| or |\@highpenalty|, |
| 636 |
% dependant on their argument. |
| 637 |
% \begin{macrocode} |
| 638 |
\@lowpenalty 51 |
| 639 |
\@medpenalty 151 |
| 640 |
\@highpenalty 301 |
| 641 |
% \end{macrocode} |
| 642 |
% \end{macro} |
| 643 |
% \end{macro} |
| 644 |
% \end{macro} |
| 645 |
% |
| 646 |
% \begin{macro}{\clubpenalty} |
| 647 |
% \begin{macro}{\widowpenalty} |
| 648 |
% These penalties are use to discourage club and widow lines. |
| 649 |
% Because we use their default values we only show them here, |
| 650 |
% commented out. |
| 651 |
% \begin{macrocode} |
| 652 |
% \clubpenalty 150 |
| 653 |
% \widowpenalty 150 |
| 654 |
% \end{macrocode} |
| 655 |
% \end{macro} |
| 656 |
% \end{macro} |
| 657 |
% |
| 658 |
% \begin{macro}{\displaywidowpenalty} |
| 659 |
% \begin{macro}{\predisplaypenalty} |
| 660 |
% \begin{macro}{\postdisplaypenalty} |
| 661 |
% Discourage (but not so much) widows in front of a math display |
| 662 |
% and forbid breaking directly in front of a display. Allow break |
| 663 |
% after a display without a penalty. Again the default values are |
| 664 |
% used, therefore we only show them here. |
| 665 |
% \begin{macrocode} |
| 666 |
% \displaywidowpenalty 50 |
| 667 |
% \predisplaypenalty 10000 |
| 668 |
% \postdisplaypenalty 0 |
| 669 |
% \end{macrocode} |
| 670 |
% \end{macro} |
| 671 |
% \end{macro} |
| 672 |
% \end{macro} |
| 673 |
% |
| 674 |
% \begin{macro}{\interlinepenalty} |
| 675 |
% Allow the breaking of a page in the middle of a paragraph. |
| 676 |
% \begin{macrocode} |
| 677 |
% \interlinepenalty 0 |
| 678 |
% \end{macrocode} |
| 679 |
% \end{macro} |
| 680 |
% |
| 681 |
% |
| 682 |
% \begin{macro}{\brokenpenalty} |
| 683 |
% We allow the breaking of a page after a hyphenated line. |
| 684 |
% \begin{macrocode} |
| 685 |
% \brokenpenalty 0 |
| 686 |
% \end{macrocode} |
| 687 |
% \end{macro} |
| 688 |
% |
| 689 |
% |
| 690 |
% \subsection{Page Layout} |
| 691 |
% |
| 692 |
% All margin dimensions are measured from a point one inch from the |
| 693 |
% top and lefthand side of the page. |
| 694 |
% |
| 695 |
% \subsubsection{Vertical spacing} |
| 696 |
% |
| 697 |
% \begin{macro}{\headheight} |
| 698 |
% \begin{macro}{\headsep} |
| 699 |
% The |\headheight| is the height of the box that will contain the |
| 700 |
% running head. The |\headsep| is the distance between the bottom |
| 701 |
% of the running head and the top of the text. |\topskip| is the |
| 702 |
% |\baselineskip| for the first line on a page. |
| 703 |
% \begin{macrocode} |
| 704 |
\setlength\headheight{37mm} |
| 705 |
\setlength\headsep {0mm} |
| 706 |
% \end{macrocode} |
| 707 |
% \end{macro} |
| 708 |
% \end{macro} |
| 709 |
% |
| 710 |
% \begin{macro}{\footskip} |
| 711 |
% The distance from the baseline of the box which contains the |
| 712 |
% running footer to the baseline of last line of text is controlled |
| 713 |
% by the |\footskip|. |
| 714 |
% Bottom of page: |
| 715 |
% \begin{macrocode} |
| 716 |
\setlength\footskip{25\p@} |
| 717 |
% \end{macrocode} |
| 718 |
% \end{macro} |
| 719 |
% |
| 720 |
% \begin{macro}{\maxdepth} |
| 721 |
% \begin{macro}{\@maxdepth} |
| 722 |
% The \TeX\ primitive register |\maxdepth| has a function that is |
| 723 |
% similar to that of |\topskip|. The register |\@maxdepth| should |
| 724 |
% always contain a copy of |\maxdepth|. In both plain \TeX\ and |
| 725 |
% \LaTeX~2.09 |\maxdepth| had a fixed value of \texttt{4pt}; in |
| 726 |
% native \LaTeX2e\ mode we let the value depend on the typesize. We |
| 727 |
% set it so that |\maxdepth| $+$ |\topskip| $=$ typesize $\times |
| 728 |
% 1.5$. As it happens, in these classes |\topskip| is equal to the |
| 729 |
% typesize, therefor we set |\maxdepth| to half the value of |
| 730 |
% |\topskip|. |
| 731 |
% \begin{macrocode} |
| 732 |
\if@compatibility |
| 733 |
\setlength\maxdepth{4\p@} |
| 734 |
\else |
| 735 |
\setlength\maxdepth{.5\topskip} |
| 736 |
\fi |
| 737 |
\setlength\@maxdepth\maxdepth |
| 738 |
% \end{macrocode} |
| 739 |
% \end{macro} |
| 740 |
% \end{macro} |
| 741 |
% |
| 742 |
% \subsubsection{The dimension of text} |
| 743 |
% |
| 744 |
% \begin{macro}{\textwidth} |
| 745 |
% \begin{macro}{\textheight} |
| 746 |
% The dimensions of the text are fixed; they are defined in the |
| 747 |
% \textsc{nen} norm which this class implements. |
| 748 |
% |
| 749 |
% \begin{macrocode} |
| 750 |
\setlength\textwidth{144mm} |
| 751 |
\setlength\textheight{197mm} |
| 752 |
\if@elfinch \addtolength\textheight{-17.6mm} \fi |
| 753 |
% \end{macrocode} |
| 754 |
% \end{macro} |
| 755 |
% \end{macro} |
| 756 |
% |
| 757 |
% \begin{macro}{\rightskip} |
| 758 |
% \begin{macro}{\@rightskip} |
| 759 |
% |
| 760 |
% \begin{macrocode} |
| 761 |
\setlength\@rightskip{0cm \@plus 5cm} |
| 762 |
\setlength\rightskip{\@rightskip} |
| 763 |
% \end{macrocode} |
| 764 |
% \end{macro} |
| 765 |
% \end{macro} |
| 766 |
% |
| 767 |
% \subsubsection{Margins} |
| 768 |
% |
| 769 |
% \begin{macro}{\oddsidemargin} |
| 770 |
% \begin{macro}{\evensidemargin} |
| 771 |
% \begin{macro}{\marginparwidth} |
| 772 |
% Again, these dimensions are based on the \textsc{nen} norm. |
| 773 |
% \begin{macrocode} |
| 774 |
\setlength\@tempdima{\paperwidth} |
| 775 |
\addtolength\@tempdima{-2in} |
| 776 |
\addtolength\@tempdima{-\textwidth} |
| 777 |
\setlength\oddsidemargin {7.6mm} |
| 778 |
\setlength\evensidemargin {\oddsidemargin} |
| 779 |
\setlength\marginparwidth {0\p@} |
| 780 |
% \end{macrocode} |
| 781 |
% \end{macro} |
| 782 |
% \end{macro} |
| 783 |
% \end{macro} |
| 784 |
% |
| 785 |
% \begin{macro}{\marginparsep} |
| 786 |
% \begin{macro}{\marginparpush} |
| 787 |
% The horizontal space between the main text and marginal notes is |
| 788 |
% determined by |\marginparsep|, the minimum vertical separation |
| 789 |
% between two marginal notes is controlled by |\marginparpush|. |
| 790 |
% \begin{macrocode} |
| 791 |
\setlength\marginparsep {0\p@} |
| 792 |
\setlength\marginparpush{0\p@} |
| 793 |
% \end{macrocode} |
| 794 |
% \end{macro} |
| 795 |
% \end{macro} |
| 796 |
% |
| 797 |
% \begin{macro}{\topmargin} |
| 798 |
% The |\topmargin| is the distance between the top of `the |
| 799 |
% printable area' --which is 1 inch below the top of the paper-- |
| 800 |
% and the top of the box which contains the running head. |
| 801 |
% |
| 802 |
% \begin{macrocode} |
| 803 |
\setlength\topmargin{-12.4mm} |
| 804 |
% \end{macrocode} |
| 805 |
% \end{macro} |
| 806 |
% |
| 807 |
% \subsubsection{The address field} |
| 808 |
% |
| 809 |
% The address information has to be put on a specific place. |
| 810 |
% |
| 811 |
% \begin{macro}{\vensterskip} |
| 812 |
% \begin{macro}{\@vensterskip} |
| 813 |
% |
| 814 |
% \begin{macrocode} |
| 815 |
\newdimen\vensterskip |
| 816 |
\setlength\vensterskip{50mm} |
| 817 |
\newdimen\@vensterskip |
| 818 |
% \end{macrocode} |
| 819 |
% \end{macro} |
| 820 |
% \end{macro} |
| 821 |
% |
| 822 |
% \subsubsection{Changing head and text heights} |
| 823 |
% |
| 824 |
% This class has a much higher head on the first page of a letter |
| 825 |
% than on subsequent pages. |
| 826 |
% |
| 827 |
% \begin{macro}{\@firstheadheight} |
| 828 |
% \begin{macro}{\@otherheadheight} |
| 829 |
% \begin{macro}{\@othertextheight} |
| 830 |
% \begin{macro}{\@otherheadsep} |
| 831 |
% \begin{macro}{\@vervolgsep} |
| 832 |
% |
| 833 |
% \begin{macrocode} |
| 834 |
\newdimen\@firstheadheight |
| 835 |
\newdimen\@otherheadheight |
| 836 |
\newdimen\@othertextheight |
| 837 |
\newdimen\@otherheadsep |
| 838 |
\newdimen\@vervolgsep |
| 839 |
\setlength\@otherheadsep{2mm} |
| 840 |
% \end{macrocode} |
| 841 |
% \end{macro} |
| 842 |
% \end{macro} |
| 843 |
% \end{macro} |
| 844 |
% \end{macro} |
| 845 |
% \end{macro} |
| 846 |
% |
| 847 |
% \begin{macro}{\@prepareerhoofden} |
| 848 |
% |
| 849 |
% \begin{macrocode} |
| 850 |
\def\@prepareerhoofden{% |
| 851 |
\setlength\@vensterskip{\vensterskip}% |
| 852 |
\addtolength\@vensterskip{-50mm}% |
| 853 |
\setlength\@firstheadheight{\headheight}% |
| 854 |
\setlength\@otherheadheight{\headheight}% |
| 855 |
\setlength\@othertextheight{\textheight}% |
| 856 |
} |
| 857 |
% \end{macrocode} |
| 858 |
% \end{macro} |
| 859 |
% |
| 860 |
% \subsubsection{Information in the foot} |
| 861 |
% |
| 862 |
% We also reserve some space at the bottom of the paper to print |
| 863 |
% some information about the sender of the letter. |
| 864 |
% |
| 865 |
% \begin{macro}{\footsep} |
| 866 |
% The distance between the text and this foot information |
| 867 |
% \begin{macrocode} |
| 868 |
\newdimen\footsep |
| 869 |
\setlength\footsep{15mm} |
| 870 |
% \end{macrocode} |
| 871 |
% \end{macro} |
| 872 |
% |
| 873 |
% \subsubsection{Footnotes} |
| 874 |
% |
| 875 |
% \begin{macro}{\footnotesep} |
| 876 |
% |\footnotesep| is the height of the strut placed at the beginning |
| 877 |
% of every footnote. It equals the height of a normal |
| 878 |
% |\footnotesize| strut in this |
| 879 |
% class, thus no extra space occurs between footnotes. |
| 880 |
% \begin{macrocode} |
| 881 |
\setlength\footnotesep{12\p@} |
| 882 |
% \end{macrocode} |
| 883 |
% \end{macro} |
| 884 |
% |
| 885 |
% \begin{macro}{\footins} |
| 886 |
% |\skip\footins| is the space between the last line of the main |
| 887 |
% text and the top of the first footnote. |
| 888 |
% \begin{macrocode} |
| 889 |
\setlength{\skip\footins}{10\p@ \@plus 2\p@ \@minus 4\p@} |
| 890 |
% \end{macrocode} |
| 891 |
% \end{macro} |
| 892 |
% |
| 893 |
% |
| 894 |
% \subsection{Page Styles} |
| 895 |
% |
| 896 |
% The page style \pstyle{foo} is defined by defining the command |
| 897 |
% |\ps@foo|. This command should make only local definitions. |
| 898 |
% There should be no stray spaces in the definition, since they |
| 899 |
% could lead to mysterious extra spaces in the output (well, that's |
| 900 |
% something that should be always avoided). |
| 901 |
% |
| 902 |
% \begin{macro}{\@evenhead} |
| 903 |
% \begin{macro}{\@oddhead} |
| 904 |
% \begin{macro}{\@evenfoot} |
| 905 |
% \begin{macro}{\@oddfoot} |
| 906 |
% The |\ps@...| command defines the macros |\@oddhead|, |
| 907 |
% |\@oddfoot|, |\@evenhead|, and |\@evenfoot| to define the running |
| 908 |
% heads and feet---e.g., |\@oddhead| is the macro to produce the |
| 909 |
% contents of the heading box for odd-numbered pages. It is called |
| 910 |
% inside an |\hbox| of width |\textwidth|. |
| 911 |
% \end{macro} |
| 912 |
% \end{macro} |
| 913 |
% \end{macro} |
| 914 |
% \end{macro} |
| 915 |
% |
| 916 |
% \subsubsection{Marking conventions} |
| 917 |
% |
| 918 |
% To make headings determined by the sectioning commands, the page |
| 919 |
% style defines the commands |\chaptermark|, |\sectionmark|, |
| 920 |
% \ldots, where |\chaptermark{|\meta{TEXT}|}| is called by |
| 921 |
% |\chapter| to set a mark, and so on. |
| 922 |
% |
| 923 |
% The |\...mark| commands and the |\...head| macros are defined |
| 924 |
% with the help of the following macros. (All the |\...mark| |
| 925 |
% commands should be initialized to no-ops.) |
| 926 |
% |
| 927 |
% \LaTeX{} extends \TeX's |\mark| facility by producing two kinds |
| 928 |
% of marks, a `left' and a `right' mark, using the following |
| 929 |
% commands: |
| 930 |
% \begin{flushleft} |
| 931 |
% |\markboth{|\meta{LEFT}|}{|\meta{RIGHT}|}|: Adds both marks. |
| 932 |
% |
| 933 |
% |\markright{|\meta{RIGHT}|}|: Adds a `right' mark. |
| 934 |
% |
| 935 |
% |\leftmark|: Used in the |\@oddhead|, |\@oddfoot|, |\@evenhead| |
| 936 |
% or |\@evenfoot| macros, it gets the current `left' |
| 937 |
% mark. |\leftmark| works like \TeX's |\botmark| |
| 938 |
% command. |
| 939 |
% |
| 940 |
% |\rightmark|: Used in the |\@oddhead|, |\@oddfoot|, |\@evenhead| |
| 941 |
% or |\@evenfoot| macros, it gets the current |
| 942 |
% `right' mark. |\rightmark| works like \TeX's |
| 943 |
% |\firstmark| command. |
| 944 |
% \end{flushleft} |
| 945 |
% |
| 946 |
% The marking commands work reasonably well for right marks |
| 947 |
% `numbered within' left marks--e.g., the left mark is changed by a |
| 948 |
% |\chapter| command and the right mark is changed by a |\section| |
| 949 |
% command. However, it does produce somewhat anomalous results if |
| 950 |
% two |\markboth|'s occur on the same page. |
| 951 |
% |
| 952 |
% |
| 953 |
% Commands like |\tableofcontents| that should set the marks in some |
| 954 |
% page styles use a |\@mkboth| command, which is |\let| by the |
| 955 |
% pagestyle command (|\ps@...|) to |\markboth| for setting the |
| 956 |
% heading or to |\@gobbletwo| to do nothing. |
| 957 |
% |
| 958 |
% |
| 959 |
% \begin{macrocode} |
| 960 |
% %%%\mark{{}{}} % Initializes TeX's marks <--- can vanish |
| 961 |
% \end{macrocode} |
| 962 |
% |
| 963 |
% \subsubsection{Defining the page styles} |
| 964 |
% \label{sec:pagestyle} |
| 965 |
% |
| 966 |
% The pagestyles \pstyle{empty} and \pstyle{plain} are defined in |
| 967 |
% the \LaTeX{} kernel (\file{ltpage.dtx}), but these definitions |
| 968 |
% are changed to a simpler version for this document class. |
| 969 |
% |
| 970 |
% \begin{macro}{\ps@headings} |
| 971 |
% The definition of the page style \pstyle{headings} has to be |
| 972 |
% different for two sided printing than it is for one sided |
| 973 |
% printing. |
| 974 |
% |
| 975 |
% \begin{macrocode} |
| 976 |
\if@twoside |
| 977 |
\def\ps@headings{% |
| 978 |
% \end{macrocode} |
| 979 |
% The running feet contain some information about the sender of the |
| 980 |
% letter. The feet aer the same for even and odd pages. |
| 981 |
% \begin{macrocode} |
| 982 |
\def\@oddfoot{\voetregel\hss}% |
| 983 |
\let\@evenfoot\@oddfoot |
| 984 |
% \end{macrocode} |
| 985 |
% The running head contains some information about this letter. The |
| 986 |
% head is the same for even and odd pages. |
| 987 |
% \begin{macrocode} |
| 988 |
\def\@oddhead{% |
| 989 |
\vbox to \@otherheadheight |
| 990 |
{\vervolghoofd\vfil |
| 991 |
\if@streepjes\streepjes{\@firstheadheight}\fi}\hss} |
| 992 |
\let\@evenhead\@oddhead} |
| 993 |
% \end{macrocode} |
| 994 |
% For one sided printing we don't need to define |\@evenhead| so |
| 995 |
% the definition is somewhat simpler. |
| 996 |
% \changes{v2.0e}{1994/07/12}{Removed a typo (\cs{othertheadheight})} |
| 997 |
% \begin{macrocode} |
| 998 |
\else |
| 999 |
\def\ps@headings{% |
| 1000 |
\def\@oddfoot{\voetregel\hss}% |
| 1001 |
\def\@oddhead{% |
| 1002 |
\vbox to \@otherheadheight |
| 1003 |
{\vervolghoofd\vfil |
| 1004 |
\if@streepjes\streepjes{\@otherheadheight}\fi}\hss}} |
| 1005 |
\fi |
| 1006 |
% \end{macrocode} |
| 1007 |
% \end{macro} |
| 1008 |
% |
| 1009 |
% |
| 1010 |
% \begin{macro}{\ps@firstpage} |
| 1011 |
% On the first page the head contains much more than on other |
| 1012 |
% pages, therefore the height of the head and text need to be |
| 1013 |
% adapted. |
| 1014 |
% \begin{macrocode} |
| 1015 |
\def\ps@firstpage{% |
| 1016 |
\global\headheight=\@otherheadheight |
| 1017 |
\global\textheight=\@othertextheight %?? werkt dit ?? |
| 1018 |
\global\headsep=\@otherheadsep |
| 1019 |
\def\@oddhead{\vbox to \@firstheadheight |
| 1020 |
{\briefhoofd\vfil |
| 1021 |
\if@streepjes\streepjes{\@firstheadheight}\fi}% |
| 1022 |
\hss} |
| 1023 |
\def\@evenhead{} |
| 1024 |
\def\@oddfoot{\voetregel\hss} \let\@evenfoot\@oddfoot} |
| 1025 |
% \end{macrocode} |
| 1026 |
% \end{macro} |
| 1027 |
% |
| 1028 |
% \begin{macro}{\ps@empty} |
| 1029 |
% The definition of the page style \pstyle{empty} is simple: |
| 1030 |
% No running head or foot at all. |
| 1031 |
% \begin{macrocode} |
| 1032 |
\def\ps@empty{% |
| 1033 |
\let\@oddfoot\@empty\let\@oddhead\@empty |
| 1034 |
\let\@evenfoot\@empty\let\@evenhead\@empty} |
| 1035 |
% \end{macrocode} |
| 1036 |
% \end{macro} |
| 1037 |
% |
| 1038 |
% \begin{macro}{\ps@plain} |
| 1039 |
% The definition of the page style \pstyle{plain} is again simple. |
| 1040 |
% \changes{v2.0l}{1995/08/10}{replace \cs{rmfamily} with |
| 1041 |
% \cs{normalfont} (PR 1578)} |
| 1042 |
% \begin{macrocode} |
| 1043 |
\def\ps@plain{% |
| 1044 |
\let\@oddhead\@empty |
| 1045 |
\def\@oddfoot{\normalfont\hfil\thepage}% |
| 1046 |
\def\@evenfoot{\normalfont\hfil\thepage}} |
| 1047 |
% \end{macrocode} |
| 1048 |
% \end{macro} |
| 1049 |
% |
| 1050 |
% \section{Document Markup} |
| 1051 |
% |
| 1052 |
% \subsection{Global Declarations} |
| 1053 |
% |
| 1054 |
% The following declarations, shown with examples, give information |
| 1055 |
% about the sender: |
| 1056 |
% \begin{itemize} |
| 1057 |
% \item |\name{Dr. L. User}| : to be used for the return address on |
| 1058 |
% the envelope. |
| 1059 |
% \item |\signature{Larry User}| : goes after the closing. |
| 1060 |
% \item |\address{3245 Foo St.\\Gnu York}| : used as the return |
| 1061 |
% address in the |
| 1062 |
% letter and on the envelope. If not declared, then an |
| 1063 |
% institutional standard address is used. |
| 1064 |
% \item |\location{Room 374}| : Acts as modifier to the standard |
| 1065 |
% institutional address. |
| 1066 |
% \item |\telephone{(415)123-4567}| : Just in case some style puts it |
| 1067 |
% on the letter. |
| 1068 |
% \end{itemize} |
| 1069 |
% |
| 1070 |
% \begin{macro}{\name} |
| 1071 |
% \begin{macro}{\fromname} |
| 1072 |
% \begin{macrocode} |
| 1073 |
\newcommand*\name[1]{\def\fromname{#1}} |
| 1074 |
\def\fromname{} |
| 1075 |
% \end{macrocode} |
| 1076 |
% \end{macro} |
| 1077 |
% \end{macro} |
| 1078 |
% |
| 1079 |
% \begin{macro}{\ondertekening} |
| 1080 |
% \begin{macro}{\signature} |
| 1081 |
% \begin{macro}{\fromsig} |
| 1082 |
% This macro stores the signature. |
| 1083 |
% \changes{v2.0b}{1994/06/05}{Can't use (re)newcommand for |
| 1084 |
% \cs{fromsig} as that breaks the test against \cs{@empty}} |
| 1085 |
% \begin{macrocode} |
| 1086 |
\newcommand*\ondertekening[1]{\def\fromsig{#1}} |
| 1087 |
\def\fromsig{} |
| 1088 |
\let\signature\ondertekening |
| 1089 |
% \end{macrocode} |
| 1090 |
% \end{macro} |
| 1091 |
% \end{macro} |
| 1092 |
% \end{macro} |
| 1093 |
% |
| 1094 |
% \begin{macro}{\address} |
| 1095 |
% \begin{macrocode} |
| 1096 |
\newcommand*\address[1]{\maakbriefhoofd*{}{#1}} |
| 1097 |
% \end{macrocode} |
| 1098 |
% \end{macro} |
| 1099 |
% |
| 1100 |
% \begin{macro}{\location} |
| 1101 |
% \begin{macro}{\fromlocation} |
| 1102 |
% \begin{macrocode} |
| 1103 |
\newcommand*\location[1]{\def\fromlocation{#1}} |
| 1104 |
\def\fromlocation{} |
| 1105 |
% \end{macrocode} |
| 1106 |
% \end{macro} |
| 1107 |
% \end{macro} |
| 1108 |
% \begin{macro}{\telephone} |
| 1109 |
% \begin{macro}{\telephonenum} |
| 1110 |
% \begin{macrocode} |
| 1111 |
\newcommand*\telephone[1]{\def\telephonenum{#1}} |
| 1112 |
\def\telephonenum{} |
| 1113 |
% \end{macrocode} |
| 1114 |
% \end{macro} |
| 1115 |
% \end{macro} |
| 1116 |
% |
| 1117 |
% \begin{macro}{\makelabels} |
| 1118 |
% The |\makelabels| declaration causes mailing labels to be made. |
| 1119 |
% \begin{macrocode} |
| 1120 |
\newcommand*\makelabels{% |
| 1121 |
% \end{macrocode} |
| 1122 |
% At the beginning of the document, we need to activate the |
| 1123 |
% |\@mlabel| and |\@startlabels| commands, as well as write |
| 1124 |
% |\@startlabels| to the |.aux| file. |
| 1125 |
% \begin{macrocode} |
| 1126 |
\AtBeginDocument{% |
| 1127 |
\let\@startlabels\startlabels |
| 1128 |
\let\@mlabel\mlabel |
| 1129 |
\if@filesw |
| 1130 |
\immediate\write\@mainaux{\string\@startlabels}\fi}% |
| 1131 |
% \end{macrocode} |
| 1132 |
% At the end of the document we need to write |\clearpage| to the |
| 1133 |
% |.aux| file. |
| 1134 |
% \begin{macrocode} |
| 1135 |
\AtEndDocument{% |
| 1136 |
\if@filesw\immediate\write\@mainaux{\string\clearpage}\fi}} |
| 1137 |
% \end{macrocode} |
| 1138 |
% |\makelabels| is allowed only before the |\begin{document}| |
| 1139 |
% command. |
| 1140 |
% \begin{macrocode} |
| 1141 |
\@onlypreamble\makelabels |
| 1142 |
% \end{macrocode} |
| 1143 |
% \end{macro} |
| 1144 |
% |
| 1145 |
% \subsection{The generic letter commands} |
| 1146 |
% |
| 1147 |
% \begin{environment}{brief} |
| 1148 |
% The \Lenv{brief} environment creates a new letter, starting from |
| 1149 |
% page 1. (The first page is unnumbered.) It has a single |
| 1150 |
% argument, which is the adressee and his address, as in |
| 1151 |
%\begin{verbatim} |
| 1152 |
% \begin{brief}{Sam Jones \\ |
| 1153 |
% Institute for Retarded Study\\ |
| 1154 |
% Princeton, N.J.} |
| 1155 |
%\end{verbatim} |
| 1156 |
% Local declarations, such as |\address|, can follow the |
| 1157 |
% |\begin{brief}|. |
| 1158 |
% \begin{macrocode} |
| 1159 |
\newenvironment{brief}[1] |
| 1160 |
{\newpage |
| 1161 |
\if@twoside \ifodd\c@page |
| 1162 |
\else\thispagestyle{empty} \hbox{}\newpage\fi |
| 1163 |
\fi |
| 1164 |
\c@page\@ne |
| 1165 |
\interlinepenalty=200 % smaller than the TeXbook value |
| 1166 |
% \end{macrocode} |
| 1167 |
% The |\leavevmode| and |\ignorespaces| commands are there for |
| 1168 |
% protecting against an empty argument. |
| 1169 |
% \begin{macrocode} |
| 1170 |
\@processto{\leavevmode\ignorespaces #1}% |
| 1171 |
% \end{macrocode} |
| 1172 |
% Now we can start filling in the various fields in the references |
| 1173 |
% line. First the adressee. |
| 1174 |
% \begin{macrocode} |
| 1175 |
\@defrefveld{\@Ad}{\geadresseerdetekst}{\toname} |
| 1176 |
% \end{macrocode} |
| 1177 |
% Then the date. When nothing was specified we use |\vandaag|. |
| 1178 |
% \begin{macrocode} |
| 1179 |
\ifdim\wd\@Dt=0cm \@defrefveld{\@Dt}{\datumtekst}{\vandaag}\fi |
| 1180 |
% \end{macrocode} |
| 1181 |
% Now we can prepare the letterheads. It couldn't be done earlier |
| 1182 |
% because the user can specify that he uses a different kind of |
| 1183 |
% `window envelope'. |
| 1184 |
% \begin{macrocode} |
| 1185 |
\@prepareerhoofden |
| 1186 |
% \end{macrocode} |
| 1187 |
% We may need to adapt the height of the head and the text body on |
| 1188 |
% the following pages. Therefore we measure the height of the head |
| 1189 |
% on those pages. |
| 1190 |
% \begin{macrocode} |
| 1191 |
{\setbox\@tempboxa\vervolghoofd |
| 1192 |
\@tempdima\ht\@tempboxa |
| 1193 |
\advance\@tempdima by -\@otherheadheight |
| 1194 |
\ifdim\@tempdima>0\p@ |
| 1195 |
\global\advance\@otherheadheight by \@tempdima |
| 1196 |
\global\advance\@othertextheight by -\@tempdima |
| 1197 |
\fi} |
| 1198 |
% \end{macrocode} |
| 1199 |
% We have to do the same for the foot of the letter. |
| 1200 |
% \begin{macrocode} |
| 1201 |
{\setbox\@tempboxa=\vbox{\voetregel} |
| 1202 |
\global\footskip=\ht\@tempboxa |
| 1203 |
\global\advance\footskip by \footsep}% |
| 1204 |
} |
| 1205 |
% \end{macrocode} |
| 1206 |
% The end of the environment possibly writes the address |
| 1207 |
% information on the \file{.aux} file. |
| 1208 |
% \changes{v2.0g}{1994/12/23}{No longer redefine \cs{protect} but use |
| 1209 |
% one of the available settings} |
| 1210 |
% \begin{macrocode} |
| 1211 |
{\stopletter\@@par\pagebreak\@@par |
| 1212 |
\if@filesw |
| 1213 |
\begingroup |
| 1214 |
\let\\=\relax |
| 1215 |
\let\protect\@unexpandable@protect |
| 1216 |
\immediate\write\@auxout |
| 1217 |
{\string\@mlabel{\returnaddress}{\toname\\\toaddress}}% |
| 1218 |
\endgroup |
| 1219 |
\fi} |
| 1220 |
% \end{macrocode} |
| 1221 |
% \end{environment} |
| 1222 |
% |
| 1223 |
% \begin{environment}{letter} |
| 1224 |
% The \Lenv{letter} environment is a synonime for the \Lenv{brief} |
| 1225 |
% environment, to provide compatibility with the standard |
| 1226 |
% \file{letter} document class. |
| 1227 |
% \begin{macrocode} |
| 1228 |
\let\letter\brief |
| 1229 |
\let\endletter\endbrief |
| 1230 |
% \end{macrocode} |
| 1231 |
% \end{environment} |
| 1232 |
% |
| 1233 |
% \begin{macro}{\@processto} |
| 1234 |
% \begin{macro}{\@xproc} |
| 1235 |
% \begin{macro}{\@yproc} |
| 1236 |
% |\@processto| gets the |\toname| and |\toaddress| from the letter |
| 1237 |
% environment's macro argument. |\@xproc| and |\@yproc| are auxiliary |
| 1238 |
% macros. |
| 1239 |
% \begin{macrocode} |
| 1240 |
\long\def\@processto#1{\@xproc #1\\@@@\ifx\toaddress\@empty |
| 1241 |
\else \@yproc #1@@@\fi} |
| 1242 |
\long\def\@xproc #1\\#2@@@{\def\toname{#1}\def\toaddress{#2}} |
| 1243 |
\long\def\@yproc #1\\#2@@@{\def\toaddress{#2}} |
| 1244 |
% \end{macrocode} |
| 1245 |
% \end{macro} |
| 1246 |
% \end{macro} |
| 1247 |
% \end{macro} |
| 1248 |
% |
| 1249 |
% |
| 1250 |
% \begin{macro}{\antwoordadres} |
| 1251 |
% The command |\antwoordadres| takes the return address as an |
| 1252 |
% argument. The various parts of the address should be separated by |
| 1253 |
% |\\|, which will be turned into bullets. |
| 1254 |
% \begin{macrocode} |
| 1255 |
\newif\if@antwoordadres |
| 1256 |
\newcommand*\antwoordadres[1]{% |
| 1257 |
\@antwoordadrestrue\renewcommand*\@antwoordadres{#1}} |
| 1258 |
\newcommand*\@antwoordadres{} |
| 1259 |
\let\replyaddress\antwoordadres |
| 1260 |
% \end{macrocode} |
| 1261 |
% \end{macro} |
| 1262 |
% |
| 1263 |
% \subsubsection{The address window} |
| 1264 |
% |
| 1265 |
% The address for the letter will be placed in such a way that a |
| 1266 |
% `window envelope' can be used to send the letter. |
| 1267 |
% |
| 1268 |
% \begin{macro}{\adresveldbreedte} |
| 1269 |
% The width of the address window. |
| 1270 |
% \begin{macrocode} |
| 1271 |
\newdimen\adresveldbreedte |
| 1272 |
% \end{macrocode} |
| 1273 |
% \end{macro} |
| 1274 |
% |
| 1275 |
% \begin{macro}{\adresveld} |
| 1276 |
% This command formats the address window. |
| 1277 |
% \begin{macrocode} |
| 1278 |
\newcommand*\adresveld{% |
| 1279 |
\hbox{}\kern-\topskip |
| 1280 |
\kern\@vensterskip |
| 1281 |
\begingroup |
| 1282 |
% \end{macrocode} |
| 1283 |
% Compute the width of the address window |
| 1284 |
% \begin{macrocode} |
| 1285 |
\if@adresrechts |
| 1286 |
\setlength\adresveldbreedte{4\refveldbreedte}% |
| 1287 |
\addtolength\adresveldbreedte{-76mm}% |
| 1288 |
\def\@tempa{\moveright 76mm}% |
| 1289 |
\else |
| 1290 |
\let\@tempa\relax |
| 1291 |
\setlength\adresveldbreedte{83mm}% |
| 1292 |
\fi |
| 1293 |
% \end{macrocode} |
| 1294 |
% Store the address in a box. |
| 1295 |
% \changes{v2.0m}{1995/11/29}{Set both \cs{parskip} and \cs{parindent} |
| 1296 |
% to zero in \cs{adresveld}} |
| 1297 |
% \changes{v2.0n}{1996/04/01}{Repaired a typo (\cs{parksip})} |
| 1298 |
% \begin{macrocode} |
| 1299 |
\setbox\@tempboxa\vtop{% |
| 1300 |
\hsize\adresveldbreedte |
| 1301 |
\@normalsize |
| 1302 |
\parindent\z@\parskip\z@ |
| 1303 |
\rightskip0\p@\@plus\adresveldbreedte |
| 1304 |
\let\\\@nobreakcr \toname \\ \toaddress} |
| 1305 |
% \end{macrocode} |
| 1306 |
% Format the return address if one was given. |
| 1307 |
% \changes{v2.0q}{1997/09/08}{Put \cs{textbullet} in a group to keep |
| 1308 |
% the font change local} |
| 1309 |
% \begin{macrocode} |
| 1310 |
{\baselineskip\z@\lineskip\z@ |
| 1311 |
\if@antwoordadres |
| 1312 |
\@tempa\vbox to \z@{% |
| 1313 |
\hb@xt@\adresveldbreedte{% |
| 1314 |
\kleinvet |
| 1315 |
\def\\{\unskip\enspace{\textbullet}\enspace\ignorespaces}% |
| 1316 |
\@antwoordadres\hfil} |
| 1317 |
\kern2\p@\hrule \vss} |
| 1318 |
\fi |
| 1319 |
% \end{macrocode} |
| 1320 |
% Print a small rule as typing aid if required. |
| 1321 |
% \begin{macrocode} |
| 1322 |
\if@typhulp |
| 1323 |
\@tempa\llap{\vbox to \z@{\vskip9mm\streepje\vss}} |
| 1324 |
\fi |
| 1325 |
% \end{macrocode} |
| 1326 |
% And finally print the address information. Note that this way of |
| 1327 |
% position the box which contains the address information has the |
| 1328 |
% advantage that no matter how high or deep the box is, the |
| 1329 |
% following information will always be printed in the same spot on |
| 1330 |
% the paper. |
| 1331 |
% \begin{macrocode} |
| 1332 |
\kern9mm \kern-\ht\@tempboxa \@tempdima=\dp\@tempboxa |
| 1333 |
\@tempa\box\@tempboxa \kern-\@tempdima |
| 1334 |
\vskip31mm}\endgroup} |
| 1335 |
% \end{macrocode} |
| 1336 |
% \end{macro} |
| 1337 |
% |
| 1338 |
% \subsubsection{The reference line} |
| 1339 |
% |
| 1340 |
% \begin{macro}{\refveldbreedte} |
| 1341 |
% The width of the various fields in this line. It is determined in |
| 1342 |
% \textsc{nen}~\oldstylenums{3516} |
| 1343 |
% \begin{macrocode} |
| 1344 |
\newdimen\refveldbreedte |
| 1345 |
\setlength\refveldbreedte{38mm} |
| 1346 |
% \end{macrocode} |
| 1347 |
% \end{macro} |
| 1348 |
% |
| 1349 |
% \begin{macro}{\@defrefveld} |
| 1350 |
% A macro to help in defining the various fields. |
| 1351 |
% \begin{macrocode} |
| 1352 |
\def\@defrefveld#1#2#3{\setbox#1\@refveld{#2}{#3}} |
| 1353 |
% \end{macrocode} |
| 1354 |
% \begin{macro}{\@refveld} |
| 1355 |
% The macro |\@refveld| stores the formatted field in a box. |
| 1356 |
% \changes{v2.0m}{1995/11/29}{Also set \cs{parindent} to zero} |
| 1357 |
% \begin{macrocode} |
| 1358 |
\def\@refveld#1#2{% |
| 1359 |
\vtop{\hsize\refveldbreedte |
| 1360 |
\parskip\z@\parindent\z@ |
| 1361 |
\everypar{}% |
| 1362 |
\lineskiplimit\z@\baselineskip12\p@ |
| 1363 |
\lineskip\z@ |
| 1364 |
\rightskip0\p@ \@plus \refveldbreedte \@minus .5\refveldbreedte |
| 1365 |
\vbox{\refkopfont\baselineskip10\p@#1\@@par} |
| 1366 |
\kern2\p@ |
| 1367 |
\strut #2}} |
| 1368 |
% \end{macrocode} |
| 1369 |
% \end{macro} |
| 1370 |
% \end{macro} |
| 1371 |
% |
| 1372 |
% \begin{macro}{\@UB} |
| 1373 |
% \begin{macro}{\@UK} |
| 1374 |
% \begin{macro}{\@OK} |
| 1375 |
% \begin{macro}{\@Dt} |
| 1376 |
% We allocate four box registers to store the four fields in |
| 1377 |
% \begin{macrocode} |
| 1378 |
\newbox\@UB \newbox\@UK \newbox\@OK \newbox\@Dt |
| 1379 |
% \end{macrocode} |
| 1380 |
% \end{macro} |
| 1381 |
% \end{macro} |
| 1382 |
% \end{macro} |
| 1383 |
% \end{macro} |
| 1384 |
% |
| 1385 |
% \begin{macro}{\uwbriefvan} |
| 1386 |
% The command|\uwbriefvan| can be used to show the date of the |
| 1387 |
% letter to which your letter is an answer |
| 1388 |
% \begin{macrocode} |
| 1389 |
\newcommand*\uwbriefvan[1]{\@defrefveld{\@UB}{\uwbrieftekst}{#1}} |
| 1390 |
\let\yourletterof\uwbriefvan |
| 1391 |
% \end{macrocode} |
| 1392 |
% \end{macro} |
| 1393 |
% |
| 1394 |
% \begin{macro}{\uwkenmerk} |
| 1395 |
% The command |\uwkenmerk| can be used to show the reference of the |
| 1396 |
% letter to which your letter is an answer |
| 1397 |
% \begin{macrocode} |
| 1398 |
\newcommand*\uwkenmerk[1]{\@defrefveld{\@UK}{\uwkenmerktekst}{#1}} |
| 1399 |
\let\yourreference\uwkenmerk |
| 1400 |
% \end{macrocode} |
| 1401 |
% \end{macro} |
| 1402 |
% |
| 1403 |
% \begin{macro}{\onskenmerk} |
| 1404 |
% Store our reference in a box register. |
| 1405 |
% \begin{macrocode} |
| 1406 |
\newcommand*\onskenmerk[1]{\@defrefveld{\@OK}{\onskenmerktekst}{#1}} |
| 1407 |
% \end{macrocode} |
| 1408 |
% \end{macro} |
| 1409 |
% |
| 1410 |
% \begin{macro}{\datum} |
| 1411 |
% To store the date in a box register. When the user gives an empty |
| 1412 |
% argument no date will be printed. When he doesn't use |\datum| he |
| 1413 |
% will get today's date. |
| 1414 |
% \begin{macrocode} |
| 1415 |
\newcommand*\datum[1]{\def\@tempa{}\def\@tempb{#1}% |
| 1416 |
\ifx\@tempa\@tempb |
| 1417 |
\setbox\@Dt\hbox{ }% |
| 1418 |
\else |
| 1419 |
\@defrefveld{\@Dt}{\datumtekst}{#1}% |
| 1420 |
\fi} |
| 1421 |
\let\date\datum |
| 1422 |
% \end{macrocode} |
| 1423 |
% \end{macro} |
| 1424 |
% |
| 1425 |
% \begin{macro}{\referentieregel} |
| 1426 |
% This collects all the information for the reference line. |
| 1427 |
% \begin{macrocode} |
| 1428 |
\def\referentieregel{\hbox |
| 1429 |
{\hb@xt@\refveldbreedte{\copy\@UB\hfil}% |
| 1430 |
\hb@xt@\refveldbreedte{\copy\@UK\hfil}% |
| 1431 |
\hb@xt@\refveldbreedte{\copy\@OK\hfil}% |
| 1432 |
\hb@xt@\refveldbreedte{\copy\@Dt\hfil}\hss}} |
| 1433 |
% \end{macrocode} |
| 1434 |
% \end{macro} |
| 1435 |
% |
| 1436 |
% \begin{macro}{\vervolgreferentieregel} |
| 1437 |
% On the second and following pages a simple reference line can be |
| 1438 |
% printed. It contains the address information, the date and the |
| 1439 |
% page number. |
| 1440 |
% \begin{macro}{\@Ad} |
| 1441 |
% For this purpose we need to allocate another box register. |
| 1442 |
% \begin{macrocode} |
| 1443 |
\newbox\@Ad |
| 1444 |
% \end{macrocode} |
| 1445 |
% \end{macro} |
| 1446 |
% |
| 1447 |
% \begin{macrocode} |
| 1448 |
\def\vervolgreferentieregel{% |
| 1449 |
\hbox{% |
| 1450 |
\hb@xt@\refveldbreedte{\copy\@Ad\hfil}% |
| 1451 |
\hskip\refveldbreedte |
| 1452 |
\hb@xt@\refveldbreedte{\copy\@Dt\hfil}% |
| 1453 |
\@refveld{\bladnummertekst}{\thepage}\hss}} |
| 1454 |
% \end{macrocode} |
| 1455 |
% \end{macro} |
| 1456 |
% |
| 1457 |
% \subsubsection{The headers and footers} |
| 1458 |
% |
| 1459 |
% \begin{macro}{\briefhoofd} |
| 1460 |
% \begin{macro}{\vervolghoofd} |
| 1461 |
% The headings are empty by default. |
| 1462 |
% \begin{macrocode} |
| 1463 |
\newcommand*\briefhoofd{} |
| 1464 |
\newcommand*\vervolghoofd{\vbox{}} |
| 1465 |
% \end{macrocode} |
| 1466 |
% \end{macro} |
| 1467 |
% \end{macro} |
| 1468 |
% |
| 1469 |
% \begin{macro}{\maakbriefhoofd} |
| 1470 |
% The usage of this command creates non-empty headers. |
| 1471 |
% \begin{macrocode} |
| 1472 |
\newcommand*\maakbriefhoofd |
| 1473 |
{\@ifstar {\@kortvervolgbriefhoofd}{\@langvervolgbriefhoofd}} |
| 1474 |
\let\makeheader\maakbriefhoofd |
| 1475 |
% \end{macrocode} |
| 1476 |
% |
| 1477 |
% \begin{macro}{\@kortvervolgbriefhoofd} |
| 1478 |
% This creates a shortened heading for following pages |
| 1479 |
% \begin{macrocode} |
| 1480 |
\newcommand*\@kortvervolgbriefhoofd[2]{% |
| 1481 |
\@maakbriefhoofd{#1}{#2} |
| 1482 |
\def\vervolghoofd{% |
| 1483 |
\vbox{\hsize=4\refveldbreedte |
| 1484 |
\hb@xt@\hsize{\Large \normalfont\sffamily #1\strut\hfil} |
| 1485 |
\hrule \kern2mm \vervolgreferentieregel}}} |
| 1486 |
% \end{macrocode} |
| 1487 |
% \end{macro} |
| 1488 |
% |
| 1489 |
% \begin{macro}{\@langvervolgbriefhoofd} |
| 1490 |
% This creates a long heading for following pages by just using |
| 1491 |
% |\briefhoofd|. |
| 1492 |
% \begin{macrocode} |
| 1493 |
\newcommand*\@langvervolgbriefhoofd[2]{ |
| 1494 |
\@maakbriefhoofd{#1}{#2} |
| 1495 |
\def\vervolghoofd{% |
| 1496 |
\vbox{\briefhoofd\vskip2mm |
| 1497 |
\vervolgreferentieregel |
| 1498 |
\vbox{}}}} |
| 1499 |
% \end{macrocode} |
| 1500 |
% \end{macro} |
| 1501 |
% |
| 1502 |
% \begin{macro}{\@maakbriefhoofd} |
| 1503 |
% This was used in the two preceding macros; it defines |
| 1504 |
% |\briefhoofd|. |
| 1505 |
% \begin{macrocode} |
| 1506 |
\newcommand*\@maakbriefhoofd[2]{\def\briefhoofd{% |
| 1507 |
\vbox{\hsize=4\refveldbreedte |
| 1508 |
\hb@xt@\hsize{\Large \normalfont\sffamily #1\strut\hfil} |
| 1509 |
\hrule |
| 1510 |
\moveright 3\refveldbreedte\@refveld{\strut #2}{} |
| 1511 |
\vbox{}}}} |
| 1512 |
% \end{macrocode} |
| 1513 |
% \end{macro} |
| 1514 |
% \end{macro} |
| 1515 |
% |
| 1516 |
% \begin{macro}{\@voetruimte} |
| 1517 |
% A box to store the footer in. |
| 1518 |
% \begin{macrocode} |
| 1519 |
\newbox\@voetruimte |
| 1520 |
\setbox\@voetruimte=\hbox{} |
| 1521 |
% \end{macrocode} |
| 1522 |
% \end{macro} |
| 1523 |
% |
| 1524 |
% \begin{macro}{\@voetteller} |
| 1525 |
% We need to know how many items are placed in the footer. |
| 1526 |
% \begin{macrocode} |
| 1527 |
\newcount\@voetteller |
| 1528 |
% \end{macrocode} |
| 1529 |
% \end{macro} |
| 1530 |
% |
| 1531 |
% \begin{macro}{\voetregel} |
| 1532 |
% |\voetregel| just copies the box |\@voetruimte|. |
| 1533 |
% \begin{macrocode} |
| 1534 |
\newcommand*\voetregel{\copy\@voetruimte} |
| 1535 |
% \end{macrocode} |
| 1536 |
% \end{macro} |
| 1537 |
% |
| 1538 |
% \begin{macro}{\voetitem} |
| 1539 |
% A command to add an information field to the footer. |
| 1540 |
% \begin{macrocode} |
| 1541 |
\newcommand*\voetitem[2]{% |
| 1542 |
\advance\@voetteller by 1 |
| 1543 |
\setbox\@voetruimte\hb@xt@4\refveldbreedte{% |
| 1544 |
\unhbox\@voetruimte |
| 1545 |
\ifcase\@voetteller \relax \or \relax \or \hfil \else \hfill |
| 1546 |
\fi |
| 1547 |
\@refveld{#1}{#2}\hskip0\p@ \@plus 3\refveldbreedte}} |
| 1548 |
\let\footitem\voetitem |
| 1549 |
% \end{macrocode} |
| 1550 |
% \end{macro} |
| 1551 |
% |
| 1552 |
% \subsubsection{The little rules} |
| 1553 |
% |
| 1554 |
% \begin{macro}{\streepje} |
| 1555 |
% A shorthand for one little rule. |
| 1556 |
% \changes{v2.0q}{1997/09/09}{Make the `streepje's a little smaller} |
| 1557 |
% \begin{macrocode} |
| 1558 |
\newcommand*\streepje{\hb@xt@2mm{\rule{2mm}{.1pt}}} |
| 1559 |
% \end{macrocode} |
| 1560 |
% \end{macro} |
| 1561 |
% |
| 1562 |
% \begin{macro}{\streepjes} |
| 1563 |
% This prints the folding rules |
| 1564 |
% \begin{macrocode} |
| 1565 |
\newcommand*\streepjes[1]{% |
| 1566 |
\vbox to \z@{% |
| 1567 |
% \end{macrocode} |
| 1568 |
% We have to backup to a position 13mm below the edge of the paper. |
| 1569 |
% \begin{macrocode} |
| 1570 |
\kern-#1\relax |
| 1571 |
\hb@xt@\textwidth{% |
| 1572 |
% \end{macrocode} |
| 1573 |
% Then we can print a rule on the left side of the paper, half way |
| 1574 |
% down to align for a perforator. |
| 1575 |
% \begin{macrocode} |
| 1576 |
\llap{\perfstreepje\kern24mm}\hfill |
| 1577 |
% \end{macrocode} |
| 1578 |
% The folding rules are printed on the right hand side of the paper. |
| 1579 |
% \begin{macrocode} |
| 1580 |
\rlap{\kern24mm\vouwstreepjes}} |
| 1581 |
\vss}} |
| 1582 |
% \end{macrocode} |
| 1583 |
% \end{macro} |
| 1584 |
% |
| 1585 |
% \begin{macro}{\perfstreepje} |
| 1586 |
% Prints a |\streepje| halfway down the paper. A4 paper is 297 mm |
| 1587 |
% high; we start from a position 13mm below the edge of the paper. |
| 1588 |
% Hence the |\kern 135mm|. |
| 1589 |
% \begin{macrocode} |
| 1590 |
\newcommand*\perfstreepje{\vtop{\kern\z@ \kern 135mm \streepje}} |
| 1591 |
% \end{macrocode} |
| 1592 |
% \end{macro} |
| 1593 |
% |
| 1594 |
% \begin{macro}{\vouwstreepjes} |
| 1595 |
% This prints two folding rules. |
| 1596 |
% \changes{v2.0q}{1997/09/09}{Change the positioning of the |
| 1597 |
% `streepje's a little} |
| 1598 |
% \begin{macrocode} |
| 1599 |
\newcommand*\vouwstreepjes{% |
| 1600 |
\vtop{\kern\z@ |
| 1601 |
\kern 95mm %% 108-13 |
| 1602 |
\streepje %% denk maar dat dit geen dikte heeft |
| 1603 |
\kern 45mm %% 155-150 |
| 1604 |
\streepje}} |
| 1605 |
% \end{macrocode} |
| 1606 |
% \end{macro} |
| 1607 |
% |
| 1608 |
% \subsubsection{Page breaking control} |
| 1609 |
% |
| 1610 |
% \begin{macro}{\stopbreaks} |
| 1611 |
% \begin{macrocode} |
| 1612 |
\newcommand*\stopbreaks{\interlinepenalty \@M |
| 1613 |
\def\par{\@@par\nobreak}\let\\=\@nobreakcr |
| 1614 |
\let\vspace\@nobreakvspace} |
| 1615 |
% \end{macrocode} |
| 1616 |
% \end{macro} |
| 1617 |
% |
| 1618 |
% \begin{macro}{\@nobreakvspace} |
| 1619 |
% \changes{v2.0s}{2020/02/18}{Made robust (\LaTeX{} pr/2049)} |
| 1620 |
% \begin{macro}{\@nobreakvspacex} |
| 1621 |
% \begin{macro}{\@nobreakcr} |
| 1622 |
% \begin{macrocode} |
| 1623 |
\DeclareRobustCommand\@nobreakvspace |
| 1624 |
{\@ifstar{\@nobreakvspacex}{\@nobreakvspacex}} |
| 1625 |
% \end{macrocode} |
| 1626 |
% |
| 1627 |
% \begin{macrocode} |
| 1628 |
\def\@nobreakvspacex#1{% |
| 1629 |
\ifvmode |
| 1630 |
\nobreak\vskip #1\relax |
| 1631 |
\else |
| 1632 |
\@bsphack\vadjust{\nobreak\vskip #1}\@esphack |
| 1633 |
\fi} |
| 1634 |
% \end{macrocode} |
| 1635 |
% |
| 1636 |
% \changes{v2.0p}{1997/03/02}{Added setting of \cs{reserved@e} and |
| 1637 |
% \cs{reserved@f} as this is now needed for \LaTeX.} |
| 1638 |
% \begin{macrocode} |
| 1639 |
\def\@nobreakcr{% |
| 1640 |
\let\reserved@e\relax |
| 1641 |
\let\reserved@f\relax |
| 1642 |
\vadjust{\nobreak}\@ifstar{\@xnewline}{\@xnewline}} |
| 1643 |
% \end{macrocode} |
| 1644 |
% \end{macro} |
| 1645 |
% \end{macro} |
| 1646 |
% \end{macro} |
| 1647 |
% |
| 1648 |
% \begin{macro}{\startbreaks} |
| 1649 |
% \begin{macrocode} |
| 1650 |
\def\startbreaks{\let\\=\@normalcr |
| 1651 |
\interlinepenalty 200\def\par{\@@par\penalty 200\relax}} |
| 1652 |
% \end{macrocode} |
| 1653 |
% \end{macro} |
| 1654 |
% |
| 1655 |
% \begin{macro}{\opening} |
| 1656 |
% Text is begun with the |\opening| command, whose argument |
| 1657 |
% generates the salutation, as in |
| 1658 |
%\begin{verbatim} |
| 1659 |
% \opening{Dear Henry,} |
| 1660 |
%\end{verbatim} |
| 1661 |
% This should produce everything up to and including the `Dear Henry,' |
| 1662 |
% and a \par command that follows. Since there's a |\vfil| at the |
| 1663 |
% bottom of every page, it can add vertical fil to position a |
| 1664 |
% short letter. It should use the following commands: |
| 1665 |
% \begin{itemize} |
| 1666 |
% \item |\toname| : name part of 'to' address. |
| 1667 |
% Will be one line long. |
| 1668 |
% \item |\toaddress| : address part of 'to' address. |
| 1669 |
% The lines separated by |\\|. |
| 1670 |
% \item |\fromname| : name of sender. |
| 1671 |
% \item |\fromaddress| : argument of current |\address| |
| 1672 |
% declaration-- |
| 1673 |
% null if none. Should use standard institutional |
| 1674 |
% address if null. |
| 1675 |
% \item |\fromlocation| : argument of current |\location| |
| 1676 |
% declaration--null if none. |
| 1677 |
% \item |\telephonenum| : argument of current |\telephone| |
| 1678 |
% declaration--null if none. |
| 1679 |
% \end{itemize} |
| 1680 |
% \begin{macrocode} |
| 1681 |
\newcommand*\opening[1]{% |
| 1682 |
\thispagestyle{firstpage}% |
| 1683 |
\adresveld |
| 1684 |
\prevdepth=-1000\p@ \vskip-2\p@ %% ???? |
| 1685 |
\referentieregel |
| 1686 |
\@dosubject #1\par\nobreak} |
| 1687 |
% \end{macrocode} |
| 1688 |
% |
| 1689 |
% \begin{macro}{\@dosubject} |
| 1690 |
% This prints the subject of the letter if one was specified. |
| 1691 |
% \begin{macrocode} |
| 1692 |
\def\@dosubject{% |
| 1693 |
\ifx\@empty\@subject |
| 1694 |
\else |
| 1695 |
\par\noindent |
| 1696 |
\parbox[t]{\textwidth} |
| 1697 |
{\@hangfrom{\refkopfont \betrefttekst \enspace}% |
| 1698 |
\normalfont\rmfamily\ignorespaces \@subject\strut}% |
| 1699 |
\par |
| 1700 |
\fi} |
| 1701 |
% \end{macrocode} |
| 1702 |
% \end{macro} |
| 1703 |
% \end{macro} |
| 1704 |
% |
| 1705 |
% \begin{macro}{\afsluiting} |
| 1706 |
% \begin{macro}{\closing} |
| 1707 |
% The body of the letter follows, ended by a |\afsluiting| command, |
| 1708 |
% as in |
| 1709 |
%\begin{verbatim} |
| 1710 |
% \afsluiting{Yours truly,} |
| 1711 |
%\end{verbatim} |
| 1712 |
% This commands generates the closing matter, and the signature. |
| 1713 |
% An obvious thing to do is to use a |\parbox| for the closing |
| 1714 |
% and the signature. Should use the following: |
| 1715 |
% \begin{itemize} |
| 1716 |
% \item |\fromsig| : argument of current |\signature| declaration |
| 1717 |
% or, if null, the |\fromname|. |
| 1718 |
% \item |\stopbreaks| : a macro that inhibits page breaking. |
| 1719 |
% \end{itemize} |
| 1720 |
% \changes{v2.0k}{1995/06/01}{removed a \cs{noindent} which caused an |
| 1721 |
% anomalous space to appear in the output} |
| 1722 |
% \changes{v2.0t}{2025/12/29}{Add an optional argument to specify the |
| 1723 |
% width of the signature boxes} |
| 1724 |
% \begin{macrocode} |
| 1725 |
\newcommand*\afsluiting[2][.3\textwidth]{% |
| 1726 |
\par\nobreak\vspace{\parskip}% |
| 1727 |
\stopbreaks |
| 1728 |
\ifx\@empty\fromsig |
| 1729 |
\def\ondertekening##1{\def\fromsig{##1}\@afsluiting{#1}{#2}}% |
| 1730 |
\else |
| 1731 |
\@afsluiting{#1}{#2}% |
| 1732 |
\fi} |
| 1733 |
\let\closing\afsluiting |
| 1734 |
% \end{macrocode} |
| 1735 |
% \changes{v2.0t}{2025/12/29}{\cs{open@af} now receives a parameter |
| 1736 |
% with the width of the box} |
| 1737 |
% \begin{macrocode} |
| 1738 |
\def\open@af#1{\vtop\bgroup\hsize#1\raggedright} |
| 1739 |
% \end{macrocode} |
| 1740 |
% The internal command |\@afsluiting| takes care of printing the |
| 1741 |
% closing text. |
| 1742 |
% \changes{v2.0j}{1994/12/31}{Don't put an \cs{hbox} of \cs{textwidth} |
| 1743 |
% inside a \cs{parbox} of .5\cs{textwidth}} |
| 1744 |
% \changes{v2.0k}{1995/06/02}{inserted the \cs{noindent} which was |
| 1745 |
% removed from \cs{afsluiting}} |
| 1746 |
% \changes{v2.0t}{2025/12/29}{Extra argument for the width of the |
| 1747 |
% signature boxes} |
| 1748 |
% \begin{macrocode} |
| 1749 |
\newcommand*\@afsluiting[2]{% |
| 1750 |
\def\sig@boxwd{#1}% |
| 1751 |
\def\en{\strut\egroup\open@af\sig@boxwd}% |
| 1752 |
\let\and\en |
| 1753 |
\noindent |
| 1754 |
\parbox{.5\textwidth}{% |
| 1755 |
\raggedright \ignorespaces #2\\[6\medskipamount]% |
| 1756 |
% \end{macrocode} |
| 1757 |
% \changes{v2.0q}{1997/09/09}{Added \cs{leavevmode} to get the |
| 1758 |
% signatures on one line} |
| 1759 |
% \begin{macrocode} |
| 1760 |
\leavevmode\open@af \sig@boxwd \fromsig \strut\egroup}} |
| 1761 |
% \end{macrocode} |
| 1762 |
% \end{macro} |
| 1763 |
% \end{macro} |
| 1764 |
% |
| 1765 |
% \begin{macro}{\smallskipamount} |
| 1766 |
% \begin{macro}{\mdeskipamount} |
| 1767 |
% \begin{macro}{\bigskipamount} |
| 1768 |
% Of these three, only |\medskipmount| is actually used above. |
| 1769 |
% \begin{macrocode} |
| 1770 |
%\smallskipamount=.5\parskip |
| 1771 |
\medskipamount=\parskip |
| 1772 |
%\bigskipamount=2\parskip |
| 1773 |
% \end{macrocode} |
| 1774 |
% \end{macro} |
| 1775 |
% \end{macro} |
| 1776 |
% \end{macro} |
| 1777 |
% |
| 1778 |
% \begin{macro}{\betreft} |
| 1779 |
% \begin{macro}{\re} |
| 1780 |
% The command |\betreft| (|\re|) stores the subject of the letter. |
| 1781 |
% \changes{v2.0b}{1994/06/05}{Can't use (re)newcommand for |
| 1782 |
% \cs{@subject} as that breaks the test against \cs{@empty}} |
| 1783 |
% \begin{macrocode} |
| 1784 |
\newcommand*\betreft[1]{\def\@subject{#1}} |
| 1785 |
\let\onderwerp\betreft |
| 1786 |
\let\subject\betreft |
| 1787 |
\def\@subject{} |
| 1788 |
\let\re\betreft |
| 1789 |
% \end{macrocode} |
| 1790 |
% \end{macro} |
| 1791 |
% \end{macro} |
| 1792 |
% |
| 1793 |
% \begin{macro}{\cc} |
| 1794 |
% After the |\closing| you can put arbitrary stuff, which is typeset |
| 1795 |
% with zero |\parindent| and no page breaking. Commands designed |
| 1796 |
% for use after the closing are: |
| 1797 |
% \begin{verbatim} |
| 1798 |
% \cc{Tinker\\Evers\\Chance} |
| 1799 |
%\end{verbatim} |
| 1800 |
% which produces:\\ |
| 1801 |
% \begin{tabular}{ll} |
| 1802 |
% cc: & Tinker\\ |
| 1803 |
% & Evers\\ |
| 1804 |
% & Chance |
| 1805 |
% \end{tabular}\\ |
| 1806 |
% Note the obvious use of |\parbox|. |
| 1807 |
% \changes{v2.0l}{1995/08/10}{replace \cs{reset@font} with |
| 1808 |
% \cs{normalfont}; remove \cs{rm}} |
| 1809 |
% \begin{macrocode} |
| 1810 |
\newcommand*{\cc}[1]{\par\noindent |
| 1811 |
\parbox[t]{\textwidth}{\@hangfrom{\normalfont\ccname: }% |
| 1812 |
\ignorespaces #1\strut}\par} |
| 1813 |
% \end{macrocode} |
| 1814 |
% \end{macro} |
| 1815 |
% |
| 1816 |
% \begin{macro}{\bijlage} |
| 1817 |
% \begin{macro}{\bijlagen} |
| 1818 |
% \begin{macro}{\encl} |
| 1819 |
%\begin{verbatim} |
| 1820 |
% \bijlagen{Foo(2)\\Bar} |
| 1821 |
%\end{verbatim} |
| 1822 |
% which produces:\\ |
| 1823 |
% \begin{tabular}{ll} |
| 1824 |
% bijlagen: & Foo(2)\\ |
| 1825 |
% & Bar |
| 1826 |
% \end{tabular} |
| 1827 |
% \changes{v2.0l}{1995/08/10}{replace \cs{reset@font} with |
| 1828 |
% \cs{normalfont}; remove \cs{rm}} |
| 1829 |
% \begin{macrocode} |
| 1830 |
\newcommand*\bijlage[1]{% |
| 1831 |
\par\noindent |
| 1832 |
\parbox[t]{\textwidth}{\@hangfrom{\normalfont\bijlagetekst\ }% |
| 1833 |
\ignorespaces #1\strut}\par} |
| 1834 |
\newcommand*\bijlagen[1]{% |
| 1835 |
\par\noindent |
| 1836 |
\parbox[t]{\textwidth}{\@hangfrom{\normalfont\bijlagentekst\ }% |
| 1837 |
\ignorespaces #1\strut}\par} |
| 1838 |
\let\encl\bijlagen |
| 1839 |
% \end{macrocode} |
| 1840 |
% \end{macro} |
| 1841 |
% \end{macro} |
| 1842 |
% \end{macro} |
| 1843 |
% |
| 1844 |
% \begin{macro}{\ps} |
| 1845 |
% The only thing |\ps| needs to do is call |\startbreaks|, |
| 1846 |
% which allows page breaking again. |
| 1847 |
% \begin{macrocode} |
| 1848 |
\newcommand*\ps{\par\startbreaks} |
| 1849 |
% \end{macrocode} |
| 1850 |
% \end{macro} |
| 1851 |
% |
| 1852 |
% |
| 1853 |
% \begin{macro}{\stopletter} |
| 1854 |
% The |\stopletter| command is called by |\endletter| to do the |
| 1855 |
% following: |
| 1856 |
% \begin{itemize} |
| 1857 |
% \item Add any desired fil or other material at the end of the |
| 1858 |
% letter. |
| 1859 |
% \item Define |\returnaddress| to be the return address for the |
| 1860 |
% mailing label. |
| 1861 |
% More precisely, it is the first argument of the |\mlabel| |
| 1862 |
% command described below. It should be defined to null if the |
| 1863 |
% return address doesn't appear on the labels. Any command, |
| 1864 |
% other than |\\|, that should not be expanded until the |\mlabel| |
| 1865 |
% command is actually executed must be preceded by |\protect|. |
| 1866 |
% Whenever possible, |\protect| commands in the definition of |
| 1867 |
% |\returnaddress|---it's much more efficient that way. In |
| 1868 |
% particular, when the standard return address is used, you |
| 1869 |
% should define |\returnaddress| to something like |
| 1870 |
% |\protect\standardreturnaddress|. |
| 1871 |
% \end{itemize} |
| 1872 |
% \begin{macrocode} |
| 1873 |
\newcommand*\stopletter{} |
| 1874 |
% \end{macrocode} |
| 1875 |
% \end{macro} |
| 1876 |
% |
| 1877 |
% \subsection{Customizing the labels} |
| 1878 |
% |
| 1879 |
% Commands for generating the labels are put on the .AUX file, which is |
| 1880 |
% read in and processed by the |\end{document}| command. You have to |
| 1881 |
% define the following two commands: |
| 1882 |
% \begin{itemize} |
| 1883 |
% \item |
| 1884 |
% |\startlabels| : Should reset the page layout parameters if |
| 1885 |
% necessary. |
| 1886 |
% \item |
| 1887 |
% |\mlabel|\marg{return address}\marg{to adress} : Command to |
| 1888 |
% generate a single label. |
| 1889 |
% \end{itemize} |
| 1890 |
% |
| 1891 |
% |
| 1892 |
% |
| 1893 |
% \begin{macro}{\returnaddress} |
| 1894 |
% \begin{macrocode} |
| 1895 |
\newcommand*\returnaddress{} |
| 1896 |
% \end{macrocode} |
| 1897 |
% \end{macro} |
| 1898 |
% |
| 1899 |
% \begin{macro}{\labelcount} |
| 1900 |
% \begin{macrocode} |
| 1901 |
\newcount\labelcount |
| 1902 |
% \end{macrocode} |
| 1903 |
% \end{macro} |
| 1904 |
% |
| 1905 |
% \begin{macro}{\startlabels} |
| 1906 |
% The following |\startlabels| command sets things up for producing |
| 1907 |
% labels in two columns of five 2" $\times$ 4-1/4" labels each, |
| 1908 |
% suitable for reproducing onto Avery brand number 5352 address |
| 1909 |
% labels. |
| 1910 |
% \changes{v2.0l}{1995/08/10}{changed value of \cs{columnsep} by 1pt} |
| 1911 |
% \begin{macrocode} |
| 1912 |
\newcommand*\startlabels{\labelcount\z@ |
| 1913 |
\pagestyle{empty}% |
| 1914 |
\let\@texttop\relax |
| 1915 |
\topmargin -50\p@ |
| 1916 |
\headsep \z@ |
| 1917 |
\oddsidemargin -35\p@ |
| 1918 |
\evensidemargin -35\p@ |
| 1919 |
\textheight 10in |
| 1920 |
\@colht\textheight \@colroom\textheight \vsize\textheight |
| 1921 |
\textwidth 550\p@ |
| 1922 |
\columnsep 26\p@ |
| 1923 |
\ifcase \@ptsize\relax |
| 1924 |
\normalsize |
| 1925 |
\or |
| 1926 |
\small |
| 1927 |
\or |
| 1928 |
\footnotesize |
| 1929 |
\fi |
| 1930 |
\baselineskip \z@ |
| 1931 |
\lineskip \z@ |
| 1932 |
\boxmaxdepth \z@ |
| 1933 |
\parindent \z@ |
| 1934 |
\twocolumn\relax} |
| 1935 |
% \end{macrocode} |
| 1936 |
% \end{macro} |
| 1937 |
% |
| 1938 |
% \begin{macro}{\@startlabels} |
| 1939 |
% |\@startlabels| is the command name that is written to the |.aux| |
| 1940 |
% file. It is a no-op at first, and defined to be the same as |
| 1941 |
% |\startlabels| in the |\begin{document}| hook. |
| 1942 |
% \begin{macrocode} |
| 1943 |
\let\@startlabels=\relax |
| 1944 |
% \end{macrocode} |
| 1945 |
% \end{macro} |
| 1946 |
% |
| 1947 |
% \begin{macro}{\mlabel} |
| 1948 |
% This command prints an address label; it is used when the user |
| 1949 |
% specified |\makelabels| in the preamble of his document. The |
| 1950 |
% command |\mlabel| takes two arguments; the second argument is |
| 1951 |
% supposed to be the address; the first argument can be used to |
| 1952 |
% print a return address. In this document class we ignore the |
| 1953 |
% first argument. Also the labels are supposed to be 2~inch high |
| 1954 |
% and 3.6~inch wide. When your address labels have a different |
| 1955 |
% width you will have to defined your own |\mlabel| command. |
| 1956 |
% \changes{v2.0g}{1994/12/23}{Redefined \cs{mlabel} to not use the |
| 1957 |
% \cs{setbox} primitive} |
| 1958 |
% \changes{v2.0l}{1995/08/10}{changed width of the labels slightly to |
| 1959 |
% prevent \LaTeX\ stuffing two on each line} |
| 1960 |
% \begin{macrocode} |
| 1961 |
\newcommand*\mlabel[2]{% |
| 1962 |
\parbox[b][2in][c]{262\p@}{\strut\ignorespaces #2}% |
| 1963 |
} |
| 1964 |
% \end{macrocode} |
| 1965 |
% \end{macro} |
| 1966 |
% |
| 1967 |
% \begin{macro}{\@mlabel} |
| 1968 |
% |\@mlabel| is written to the \file{.aux} file in place of |
| 1969 |
% |\mlabel|. That allows to define it as a no-op per default, and |
| 1970 |
% activate it in the |\begin{document}| hook. |
| 1971 |
% \begin{macrocode} |
| 1972 |
\let\@mlabel=\@gobbletwo |
| 1973 |
% \end{macrocode} |
| 1974 |
% \end{macro} |
| 1975 |
% |
| 1976 |
% |
| 1977 |
% \subsection{Lists} |
| 1978 |
% |
| 1979 |
% \subsubsection{General List Parameters} |
| 1980 |
% |
| 1981 |
% The following commands are used to set the default values for the |
| 1982 |
% list environment's parameters. See the \LaTeX{} manual for an |
| 1983 |
% explanation of the meanings of the parameters. Defaults for the |
| 1984 |
% list environment are set as follows. First, |\rightmargin|, |
| 1985 |
% |\listparindent| and |\itemindent| are set to 0pt. Then, for a |
| 1986 |
% \texttt{K}th level list, the command |\@listK| is called, where |
| 1987 |
% `\texttt{K'} denotes `\texttt{i}', `\texttt{ii}', ... , |
| 1988 |
% `\texttt{vi}'. (I.e., |\@listiii| is called for a third-level |
| 1989 |
% list.) By convention, |\@listK| should set |\leftmargin| to |
| 1990 |
% |\leftmarginK|. |
| 1991 |
% |
| 1992 |
% \begin{macro}{\leftmargin} |
| 1993 |
% \begin{macro}{\leftmargini} |
| 1994 |
% \begin{macro}{\leftmarginii} |
| 1995 |
% \begin{macro}{\leftmarginiii} |
| 1996 |
% \begin{macro}{\leftmarginiv} |
| 1997 |
% \begin{macro}{\leftmarginv} |
| 1998 |
% \begin{macro}{\leftmarginvi} |
| 1999 |
% For efficiency, level-one list's values are defined at top level, |
| 2000 |
% and |\@listi| is defined to set only |\leftmargin|. |
| 2001 |
% \begin{macrocode} |
| 2002 |
\setlength\leftmargini {2.5em} |
| 2003 |
% \end{macrocode} |
| 2004 |
% The following three are calculated so that they are larger than |
| 2005 |
% the sum of |\labelsep| and the width of the default labels (which |
| 2006 |
% are `(m)', `vii.' and `M.'). |
| 2007 |
% \begin{macrocode} |
| 2008 |
\setlength\leftmarginii {2.2em} |
| 2009 |
\setlength\leftmarginiii {1.87em} |
| 2010 |
\setlength\leftmarginiv {1.7em} |
| 2011 |
\setlength\leftmarginv {1em} |
| 2012 |
\setlength\leftmarginvi {1em} |
| 2013 |
% \end{macrocode} |
| 2014 |
% Here we set the top level leftmargin. |
| 2015 |
% \begin{macrocode} |
| 2016 |
\setlength\leftmargin {\leftmargini} |
| 2017 |
% \end{macrocode} |
| 2018 |
% \end{macro} |
| 2019 |
% \end{macro} |
| 2020 |
% \end{macro} |
| 2021 |
% \end{macro} |
| 2022 |
% \end{macro} |
| 2023 |
% \end{macro} |
| 2024 |
% \end{macro} |
| 2025 |
% |
| 2026 |
% \begin{macro}{\labelsep} |
| 2027 |
% \begin{macro}{\labelwidth} |
| 2028 |
% |\labelsep| is the distance between the label and the text of an |
| 2029 |
% item; |\labelwidth| is the width of the label. |
| 2030 |
% \begin{macrocode} |
| 2031 |
\setlength \labelsep {5\p@} |
| 2032 |
\setlength \labelwidth{\leftmargini} |
| 2033 |
\addtolength\labelwidth{-\labelsep} |
| 2034 |
% \end{macrocode} |
| 2035 |
% \end{macro} |
| 2036 |
% \end{macro} |
| 2037 |
% |
| 2038 |
% \begin{macro}{\partopsep} |
| 2039 |
% When the user leaves a blank line before the environment an extra |
| 2040 |
% vertical space of |\partopsep| is inserted, in addition to |
| 2041 |
% |\parskip| and |\topsep|. |
| 2042 |
% \begin{macrocode} |
| 2043 |
\setlength\partopsep{0\p@} |
| 2044 |
% \end{macrocode} |
| 2045 |
% \end{macro} |
| 2046 |
% |
| 2047 |
% \begin{macro}{\topsep} |
| 2048 |
% Extra vertical space, in addition to |\parskip|, added above and |
| 2049 |
% below list and paragraphing environments. |
| 2050 |
% \begin{macrocode} |
| 2051 |
\setlength\topsep{.4em} |
| 2052 |
% \end{macrocode} |
| 2053 |
% \end{macro} |
| 2054 |
% |
| 2055 |
% \begin{macro}{\@beginparpenalty} |
| 2056 |
% \begin{macro}{\@endparpenalty} |
| 2057 |
% These penalties are inserted before and after a list or paragraph |
| 2058 |
% environment. They are set to a bonus value to encourage page |
| 2059 |
% breaking at these points. |
| 2060 |
% \begin{macro}{\@itempenalty} |
| 2061 |
% This penalty is inserted between list items. |
| 2062 |
% \begin{macrocode} |
| 2063 |
\@beginparpenalty -\@lowpenalty |
| 2064 |
\@endparpenalty -\@lowpenalty |
| 2065 |
\@itempenalty -\@lowpenalty |
| 2066 |
% \end{macrocode} |
| 2067 |
% \end{macro} |
| 2068 |
% \end{macro} |
| 2069 |
% \end{macro} |
| 2070 |
% |
| 2071 |
% \begin{macro}{\@listI} |
| 2072 |
% \begin{macro}{\@listi} |
| 2073 |
% |\@listI| defines top level and |\@listi| values of |
| 2074 |
% |\leftmargin|, |\parsep|, |\topsep|, and |\itemsep| |
| 2075 |
% |
| 2076 |
% These values have been taken from the ones in the document class |
| 2077 |
% \cls{artikel3}. |
| 2078 |
% \begin{macrocode} |
| 2079 |
\def\@listI{\leftmargin\leftmargini |
| 2080 |
\labelsep.5em% |
| 2081 |
\labelwidth\leftmargin |
| 2082 |
\advance\labelwidth-\labelsep |
| 2083 |
\topsep .5\parskip \@plus \p@ |
| 2084 |
\parsep \z@ |
| 2085 |
\itemsep\parsep} |
| 2086 |
\let\@listi\@listI |
| 2087 |
% \end{macrocode} |
| 2088 |
% We have to initialise these parameters. |
| 2089 |
% \begin{macrocode} |
| 2090 |
\@listi |
| 2091 |
% \end{macrocode} |
| 2092 |
% \end{macro} |
| 2093 |
% \end{macro} |
| 2094 |
% |
| 2095 |
% \begin{macro}{\@listii} |
| 2096 |
% \begin{macro}{\@listiii} |
| 2097 |
% \begin{macro}{\@listiv} |
| 2098 |
% \begin{macro}{\@listv} |
| 2099 |
% \begin{macro}{\@listvi} |
| 2100 |
% Here are the same macros for the higher level lists. |
| 2101 |
% \begin{macrocode} |
| 2102 |
\def\@listii {\leftmargin\leftmarginii |
| 2103 |
\labelsep .5em% |
| 2104 |
\labelwidth\leftmarginii |
| 2105 |
\advance\labelwidth-\labelsep |
| 2106 |
\topsep -.5\parskip \@plus \p@ |
| 2107 |
\parsep \z@ |
| 2108 |
\itemsep\parsep} |
| 2109 |
\def\@listiii{\leftmargin\leftmarginiii |
| 2110 |
\labelsep .5em% |
| 2111 |
\labelwidth\leftmarginiii |
| 2112 |
\advance\labelwidth-\labelsep |
| 2113 |
\topsep -.5\parskip \@plus \p@ |
| 2114 |
\parsep \z@ |
| 2115 |
\partopsep \z@ |
| 2116 |
\itemsep \topsep} |
| 2117 |
\def\@listiv {\leftmargin\leftmarginiv |
| 2118 |
\labelsep .5em% |
| 2119 |
\labelwidth\leftmarginiv |
| 2120 |
\advance\labelwidth-\labelsep |
| 2121 |
\topsep -.5\parskip \@plus \p@} |
| 2122 |
\def\@listv {\leftmargin\leftmarginv |
| 2123 |
\labelsep .5em% |
| 2124 |
\labelwidth\leftmarginv |
| 2125 |
\advance\labelwidth-\labelsep |
| 2126 |
\topsep -.5\parskip \@plus \p@} |
| 2127 |
\def\@listvi {\leftmargin\leftmarginvi |
| 2128 |
\labelsep .5em% |
| 2129 |
\labelwidth\leftmarginvi |
| 2130 |
\advance\labelwidth-\labelsep |
| 2131 |
\topsep -.5\parskip \@plus \p@} |
| 2132 |
% \end{macrocode} |
| 2133 |
% \end{macro} |
| 2134 |
% \end{macro} |
| 2135 |
% \end{macro} |
| 2136 |
% \end{macro} |
| 2137 |
% \end{macro} |
| 2138 |
% |
| 2139 |
% \subsubsection{Enumerate} |
| 2140 |
% |
| 2141 |
% The enumerate environment uses four counters: \Lcount{enumi}, |
| 2142 |
% \Lcount{enumii}, \Lcount{enumiii} and \Lcount{enumiv}, where |
| 2143 |
% \Lcount{enumN} controls the numbering of the Nth level |
| 2144 |
% enumeration. |
| 2145 |
% |
| 2146 |
% \begin{macro}{\theenumi} |
| 2147 |
% \begin{macro}{\theenumii} |
| 2148 |
% \begin{macro}{\theenumiii} |
| 2149 |
% \begin{macro}{\theenumiv} |
| 2150 |
% The counters are already defined in in the \LaTeX{} kernel |
| 2151 |
% (\file{ltlists.dtx}), but their representation is changed here. |
| 2152 |
% |
| 2153 |
% \begin{macrocode} |
| 2154 |
\renewcommand*\theenumi {\@arabic\c@enumi} |
| 2155 |
\renewcommand*\theenumii {\@alph\c@enumii} |
| 2156 |
\renewcommand*\theenumiii{\@roman\c@enumiii} |
| 2157 |
\renewcommand*\theenumiv {\@Alph\c@enumiv} |
| 2158 |
% \end{macrocode} |
| 2159 |
% \end{macro} |
| 2160 |
% \end{macro} |
| 2161 |
% \end{macro} |
| 2162 |
% \end{macro} |
| 2163 |
% |
| 2164 |
% \begin{macro}{\labelenumi} |
| 2165 |
% \begin{macro}{\labelenumii} |
| 2166 |
% \begin{macro}{\labelenumiii} |
| 2167 |
% \begin{macro}{\labelenumiv} |
| 2168 |
% The label for each item is generated by the commands |
| 2169 |
% |\labelenumi| ... |\labelenumiv|. |
| 2170 |
% \begin{macrocode} |
| 2171 |
\newcommand*\labelenumi {\theenumi.} |
| 2172 |
\newcommand*\labelenumii {(\theenumii)} |
| 2173 |
\newcommand*\labelenumiii{\theenumiii.} |
| 2174 |
\newcommand*\labelenumiv {\theenumiv.} |
| 2175 |
% \end{macrocode} |
| 2176 |
% \end{macro} |
| 2177 |
% \end{macro} |
| 2178 |
% \end{macro} |
| 2179 |
% \end{macro} |
| 2180 |
% |
| 2181 |
% \begin{macro}{\p@enumii} |
| 2182 |
% \begin{macro}{\p@enumiii} |
| 2183 |
% \begin{macro}{\p@enumiv} |
| 2184 |
% The expansion of |\p@enumN||\theenumN| defines the output of a |
| 2185 |
% |\ref| command when referencing an item of the Nth level of an |
| 2186 |
% enumerated list. |
| 2187 |
% \begin{macrocode} |
| 2188 |
\renewcommand*\p@enumii {\theenumi} |
| 2189 |
\renewcommand*\p@enumiii{\theenumi(\theenumii)} |
| 2190 |
\renewcommand*\p@enumiv {\p@enumiii\theenumiii} |
| 2191 |
% \end{macrocode} |
| 2192 |
% \end{macro} |
| 2193 |
% \end{macro} |
| 2194 |
% \end{macro} |
| 2195 |
% |
| 2196 |
% \subsubsection{Itemize} |
| 2197 |
% |
| 2198 |
% \begin{macro}{\labelitemi} |
| 2199 |
% \begin{macro}{\labelitemii} |
| 2200 |
% \begin{macro}{\labelitemiii} |
| 2201 |
% \begin{macro}{\labelitemiv} |
| 2202 |
% Itemization is controlled by |\labelitemi|, |\labelitemii|, |
| 2203 |
% |\labelitemiii|, and |\labelitemiv|, which define the labels of |
| 2204 |
% the various itemization levels: the symbols used are bullet, bold |
| 2205 |
% en-dash, asterisk and centred dot. |
| 2206 |
% |
| 2207 |
% \changes{v2.0d}{1994/07/11}{renamed \cs{labelitemiiii} to |
| 2208 |
% \cs{labelitemiii}} |
| 2209 |
% \changes{v2.0o}{1996/09/23}{Changed \texttt{-{}-} to \cs{textendash} |
| 2210 |
% following \file{classes.dtx}} |
| 2211 |
% \changes{v2.0o}{1996/09/23}{Did similar for the bullet and centered |
| 2212 |
% dot.} |
| 2213 |
% \changes{v2.0p}{1997/03/02}{Now also \cs{textasteriskcentered}} |
| 2214 |
% \begin{macrocode} |
| 2215 |
\newcommand*\labelitemi {\labelitemfont \textbullet} |
| 2216 |
\newcommand*\labelitemii {\labelitemfont \bfseries \textendash} |
| 2217 |
\newcommand*\labelitemiii{\labelitemfont \textasteriskcentered} |
| 2218 |
\newcommand*\labelitemiv {\labelitemfont \textperiodcentered} |
| 2219 |
% \end{macrocode} |
| 2220 |
% |
| 2221 |
% \begin{macro}{\labelitemfont} |
| 2222 |
% The default definition for \cs{labelitemfont} is to reset the |
| 2223 |
% font to \cs{normalfont} so that always the same symbol is |
| 2224 |
% produced regardless of surrounding conditions. |
| 2225 |
% |
| 2226 |
% \changes{v2.0s}{2020/02/18}{Normalize label fonts} |
| 2227 |
% A possible alternative would be |
| 2228 |
%\begin{verbatim} |
| 2229 |
%\renewcommand\labelitemfont{% |
| 2230 |
% \fontseries\seriesdefault |
| 2231 |
% \fontshape\shapedefault\selectfont} |
| 2232 |
%\end{verbatim} |
| 2233 |
% which resets series and shape doesn't touch the family. |
| 2234 |
% \begin{macrocode} |
| 2235 |
\newcommand\labelitemfont{\normalfont} |
| 2236 |
% \end{macrocode} |
| 2237 |
% \end{macro} |
| 2238 |
% \end{macro} |
| 2239 |
% \end{macro} |
| 2240 |
% \end{macro} |
| 2241 |
% \end{macro} |
| 2242 |
% |
| 2243 |
% \subsubsection{Description} |
| 2244 |
% |
| 2245 |
% \begin{environment}{description} |
| 2246 |
% The description environment is defined here -- while the itemize |
| 2247 |
% and enumerate environments are defined in the \LaTeX{} kernel |
| 2248 |
% (\file{ltlists.dtx}). |
| 2249 |
% |
| 2250 |
% \begin{macrocode} |
| 2251 |
\newenvironment{description} |
| 2252 |
{\list{}{\labelwidth\z@ \itemindent-\leftmargin |
| 2253 |
\let\makelabel\descriptionlabel}} |
| 2254 |
{\endlist} |
| 2255 |
% \end{macrocode} |
| 2256 |
% \end{environment} |
| 2257 |
% |
| 2258 |
% \begin{macro}{\descriptionlabel} |
| 2259 |
% To change the formatting of the label, you must redefine |
| 2260 |
% |\descriptionlabel|. |
| 2261 |
% |
| 2262 |
% \begin{macrocode} |
| 2263 |
\newcommand*\descriptionlabel[1]{\hspace\labelsep |
| 2264 |
\normalfont\bfseries #1} |
| 2265 |
% \end{macrocode} |
| 2266 |
% \end{macro} |
| 2267 |
% |
| 2268 |
% \subsection{Defining new environments} |
| 2269 |
% |
| 2270 |
% \subsubsection{Verse} |
| 2271 |
% |
| 2272 |
% \begin{environment}{verse} |
| 2273 |
% The verse environment is defined by making clever use of the |
| 2274 |
% list environment's parameters. The user types |\\| to end a line. |
| 2275 |
% This is implemented by |\let|'ing |\\| equal |\@centercr|. |
| 2276 |
% |
| 2277 |
% \begin{macrocode} |
| 2278 |
\newenvironment{verse} |
| 2279 |
{\let\\=\@centercr |
| 2280 |
\list{}{\setlength\itemsep{\z@}% |
| 2281 |
\setlength\itemindent{-15\p@}% |
| 2282 |
\setlength\listparindent{\itemindent}% |
| 2283 |
\setlength\rightmargin{\leftmargin}% |
| 2284 |
\addtolength\leftmargin{15\p@}}% |
| 2285 |
\item[]} |
| 2286 |
{\endlist} |
| 2287 |
% \end{macrocode} |
| 2288 |
% \end{environment} |
| 2289 |
% |
| 2290 |
% \subsubsection{Quotation} |
| 2291 |
% |
| 2292 |
% \begin{environment}{quotation} |
| 2293 |
% The quotation environment is also defined by making clever use of |
| 2294 |
% the list environment's parameters. The lines in the environment |
| 2295 |
% are set smaller than |\textwidth|. The first line of a paragraph |
| 2296 |
% inside this environment is indented. |
| 2297 |
% |
| 2298 |
% \begin{macrocode} |
| 2299 |
\newenvironment{quotation} |
| 2300 |
{\list{}{\setlength\listparindent{1.5em}% |
| 2301 |
\setlength\itemindent{\listparindent}% |
| 2302 |
\setlength\rightmargin{\leftmargin}}% |
| 2303 |
\item[]} |
| 2304 |
{\endlist} |
| 2305 |
% \end{macrocode} |
| 2306 |
% \end{environment} |
| 2307 |
% |
| 2308 |
% \subsubsection{Quote} |
| 2309 |
% |
| 2310 |
% \begin{environment}{quote} |
| 2311 |
% The quote environment is like the quotation environment except |
| 2312 |
% that paragraphs are not indented. |
| 2313 |
% |
| 2314 |
% \begin{macrocode} |
| 2315 |
\newenvironment{quote} |
| 2316 |
{\list{}{\setlength\rightmargin{\leftmargin}}% |
| 2317 |
\item[]} |
| 2318 |
{\endlist} |
| 2319 |
% \end{macrocode} |
| 2320 |
% \end{environment} |
| 2321 |
% |
| 2322 |
% \subsubsection{Theorem} |
| 2323 |
% |
| 2324 |
% This document class does not define it's own theorem environemts, |
| 2325 |
% the defaults, supplied by \LaTeX{} kernel (\file{ltthm.dtx}) are |
| 2326 |
% available. |
| 2327 |
% |
| 2328 |
% \subsection{Setting parameters for existing environments} |
| 2329 |
% |
| 2330 |
% \subsubsection{Array and tabular} |
| 2331 |
% |
| 2332 |
% \begin{macro}{\arraycolsep} |
| 2333 |
% The columns in an array environment are separated by |
| 2334 |
% 2|\arraycolsep|. |
| 2335 |
% \begin{macrocode} |
| 2336 |
\setlength\arraycolsep{5\p@} |
| 2337 |
% \end{macrocode} |
| 2338 |
% \end{macro} |
| 2339 |
% |
| 2340 |
% \begin{macro}{\tabcolsep} |
| 2341 |
% The columns in an tabular environment are separated by |
| 2342 |
% 2|\tabcolsep|. |
| 2343 |
% \begin{macrocode} |
| 2344 |
\setlength\tabcolsep{6\p@} |
| 2345 |
% \end{macrocode} |
| 2346 |
% \end{macro} |
| 2347 |
% |
| 2348 |
% \begin{macro}{\arrayrulewidth} |
| 2349 |
% The width of vertical rules in the array and tabular environments |
| 2350 |
% is given by |\arrayrulewidth|. |
| 2351 |
% \begin{macrocode} |
| 2352 |
\setlength\arrayrulewidth{.4\p@} |
| 2353 |
% \end{macrocode} |
| 2354 |
% \end{macro} |
| 2355 |
% |
| 2356 |
% \begin{macro}{\doublerulesep} |
| 2357 |
% The space between adjacent rules in the array and tabular |
| 2358 |
% environments is given by |\doublerulesep|. |
| 2359 |
% \begin{macrocode} |
| 2360 |
\setlength\doublerulesep{2\p@} |
| 2361 |
% \end{macrocode} |
| 2362 |
% \end{macro} |
| 2363 |
% |
| 2364 |
% \subsubsection{Tabbing} |
| 2365 |
% |
| 2366 |
% \begin{macro}{\tabbingsep} |
| 2367 |
% This controls the space that the |\'| command puts in. (See |
| 2368 |
% \LaTeX{} manual for an explanation.) |
| 2369 |
% \begin{macrocode} |
| 2370 |
\setlength\tabbingsep{\labelsep} |
| 2371 |
% \end{macrocode} |
| 2372 |
% \end{macro} |
| 2373 |
% |
| 2374 |
% \subsubsection{Minipage} |
| 2375 |
% |
| 2376 |
% \begin{macro}{\@minipagerestore} |
| 2377 |
% The macro |\@minipagerestore| is called upon entry to a minipage |
| 2378 |
% environment to set up things that are to be handled differently |
| 2379 |
% inside a minipage environment. In the current styles, it does |
| 2380 |
% nothing. |
| 2381 |
% \end{macro} |
| 2382 |
% |
| 2383 |
% \begin{macro}{\@mpfootins} |
| 2384 |
% Minipages have their own footnotes; |\skip||\@mpfootins| plays |
| 2385 |
% same r\^ole for footnotes in a minipage as |\skip||\footins| does |
| 2386 |
% for ordinary footnotes. |
| 2387 |
% |
| 2388 |
% \begin{macrocode} |
| 2389 |
\skip\@mpfootins = \skip\footins |
| 2390 |
% \end{macrocode} |
| 2391 |
% \end{macro} |
| 2392 |
% |
| 2393 |
% \subsubsection{Framed boxes} |
| 2394 |
% |
| 2395 |
% \begin{macro}{\fboxsep} |
| 2396 |
% The space left by |\fbox| and |\framebox| between the box and the |
| 2397 |
% text in it. |
| 2398 |
% \begin{macro}{\fboxrule} |
| 2399 |
% The width of the rules in the box made by |\fbox| and |\framebox|. |
| 2400 |
% \begin{macrocode} |
| 2401 |
\setlength\fboxsep{3\p@} |
| 2402 |
\setlength\fboxrule{.4\p@} |
| 2403 |
% \end{macrocode} |
| 2404 |
% \end{macro} |
| 2405 |
% \end{macro} |
| 2406 |
% |
| 2407 |
% \subsubsection{Equation and eqnarray} |
| 2408 |
% |
| 2409 |
% \begin{macro}{\theequation} |
| 2410 |
% The equation counter will be typeset using arabic numbers. |
| 2411 |
% \begin{macrocode} |
| 2412 |
\renewcommand*\theequation{\@arabic\c@equation} |
| 2413 |
% \end{macrocode} |
| 2414 |
% \end{macro} |
| 2415 |
% |
| 2416 |
% \begin{macro}{\jot} |
| 2417 |
% |\jot| is the extra space added between lines of an eqnarray |
| 2418 |
% environment. The default value is used. |
| 2419 |
% \begin{macrocode} |
| 2420 |
% \setlength\jot{3pt} |
| 2421 |
% \end{macrocode} |
| 2422 |
% \end{macro} |
| 2423 |
% |
| 2424 |
% \begin{macro}{\@eqnnum} |
| 2425 |
% The macro |\@eqnnum| defines how equation numbers are to appear in |
| 2426 |
% equations. Again the default is used. |
| 2427 |
% |
| 2428 |
% \begin{macrocode} |
| 2429 |
% \def\@eqnnum{(\theequation)} |
| 2430 |
% \end{macrocode} |
| 2431 |
% \end{macro} |
| 2432 |
% |
| 2433 |
% \subsection{Font changing} |
| 2434 |
% |
| 2435 |
% Here we supply the declarative font changing commands that were |
| 2436 |
% common in \LaTeX\ version 2.09 and earlier. These commands work |
| 2437 |
% in text mode \emph{and} in math mode. They are provided for |
| 2438 |
% compatiblity, but one should start using the |\text...| and |
| 2439 |
% |\math...| commands instead. These commands are redefined using |
| 2440 |
% |\@renewfontswitch|, a command with three arguments: the user |
| 2441 |
% command to be defined; \LaTeX\ commands to execute in text mode |
| 2442 |
% and \LaTeX\ commands to execute in math mode. |
| 2443 |
% |
| 2444 |
% \begin{macro}{\rm} |
| 2445 |
% \begin{macro}{\tt} |
| 2446 |
% \begin{macro}{\sf} |
| 2447 |
% The commands to change the family. |
| 2448 |
% \begin{macrocode} |
| 2449 |
\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm} |
| 2450 |
\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf} |
| 2451 |
\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt} |
| 2452 |
% \end{macrocode} |
| 2453 |
% \end{macro} |
| 2454 |
% \end{macro} |
| 2455 |
% \end{macro} |
| 2456 |
% |
| 2457 |
% \begin{macro}{\bf} |
| 2458 |
% The command to change to the bold series. One should use |
| 2459 |
% |\mdseries| to explicitly switch back to medium series. |
| 2460 |
% \begin{macrocode} |
| 2461 |
\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf} |
| 2462 |
% \end{macrocode} |
| 2463 |
% \end{macro} |
| 2464 |
% |
| 2465 |
% \begin{macro}{\sl} |
| 2466 |
% \begin{macro}{\it} |
| 2467 |
% \begin{macro}{\sc} |
| 2468 |
% |
| 2469 |
% And the commands to change the shape of the font. The slanted and |
| 2470 |
% small caps shapes are not available by default as math alphabets, |
| 2471 |
% so those changes do nothing in math mode. One should use |
| 2472 |
% |\upshape| to explicitly change back to the upright shape. |
| 2473 |
% \begin{macrocode} |
| 2474 |
\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit} |
| 2475 |
\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\relax} |
| 2476 |
\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\relax} |
| 2477 |
% \end{macrocode} |
| 2478 |
% \end{macro} |
| 2479 |
% \end{macro} |
| 2480 |
% \end{macro} |
| 2481 |
% |
| 2482 |
% \begin{macro}{\cal} |
| 2483 |
% \begin{macro}{\mit} |
| 2484 |
% |
| 2485 |
% The commands |\cal| and |\mit| should only be used in math mode, |
| 2486 |
% outside math mode they have no effect. Currently the New Font |
| 2487 |
% Selection Scheme defines these commands to generate warning |
| 2488 |
% messages. Therefore we have to define them `by hand'. |
| 2489 |
% \changes{v2.0g}{1994/12/23}{Now define \cs{cal} and \cs{mit} using |
| 2490 |
% \cs{DeclareRobustCommand*}} |
| 2491 |
% \begin{macrocode} |
| 2492 |
\DeclareRobustCommand*{\cal}{\@fontswitch{\relax}{\mathcal}} |
| 2493 |
\DeclareRobustCommand*{\mit}{\@fontswitch{\relax}{\mathnormal}} |
| 2494 |
% \end{macrocode} |
| 2495 |
% \end{macro} |
| 2496 |
% \end{macro} |
| 2497 |
% |
| 2498 |
% \subsection{Footnotes} |
| 2499 |
% |
| 2500 |
% \begin{macro}{\footnoterule} |
| 2501 |
% Usually, footnotes are separated from the main body of the text |
| 2502 |
% by a small rule. This rule is drawn by the macro |\footnoterule|. |
| 2503 |
% We have to make sure that the rule takes no vertical space (see |
| 2504 |
% \file{plain.tex}) so we compensate for the natural heigth of the |
| 2505 |
% rule of 0.4pt by adding the right amount of vertical skip. |
| 2506 |
% |
| 2507 |
% To prevent the rule from colliding with the footnote we first add |
| 2508 |
% a little negative vertical skip, then we put the rule and make |
| 2509 |
% sure we end up at the same point where we begun this operation. |
| 2510 |
% \begin{macrocode} |
| 2511 |
\renewcommand*\footnoterule{% |
| 2512 |
\kern-\p@ |
| 2513 |
\hrule \@width .4\columnwidth |
| 2514 |
\kern .6\p@} |
| 2515 |
% \end{macrocode} |
| 2516 |
% \end{macro} |
| 2517 |
% |
| 2518 |
% \begin{macro}{\c@footnote} |
| 2519 |
% Footnotes are numbered within chapters in the report and book |
| 2520 |
% document styles. |
| 2521 |
% \begin{macrocode} |
| 2522 |
% \newcounter{footnote} |
| 2523 |
% \end{macrocode} |
| 2524 |
% \end{macro} |
| 2525 |
% |
| 2526 |
% \begin{macro}{\@makefntext} |
| 2527 |
% The footnote mechanism of \LaTeX{} calls the macro |\@makefntext| |
| 2528 |
% to produce the actual footnote. The macro gets the text of the |
| 2529 |
% footnote as its argument and should use |\@makefnmark| to produce |
| 2530 |
% the mark of the footnote. The macro |\@makefntext| is called when |
| 2531 |
% effectively inside a |\parbox| of width |\columnwidth| (i.e., |
| 2532 |
% with |\hsize| = |\columnwidth|). |
| 2533 |
% |
| 2534 |
% An example of what can be achieved is given by the following piece |
| 2535 |
% of \TeX\ code. |
| 2536 |
% \begin{verbatim} |
| 2537 |
% \long\def\@makefntext#1{% |
| 2538 |
% \@setpar{\@@par |
| 2539 |
% \@tempdima = \hsize |
| 2540 |
% \advance\@tempdima-10pt |
| 2541 |
% \parshape \@ne 10pt \@tempdima}% |
| 2542 |
% \par |
| 2543 |
% \parindent 1em\noindent |
| 2544 |
% \hb@xt@\z@{\hss\@makefnmark}#1} |
| 2545 |
% \end{verbatim} |
| 2546 |
% The effect of this definition is that all lines of the footnote |
| 2547 |
% are indented by 10pt, while the first line of a new paragraph is |
| 2548 |
% indented by 1em. To change these dimensions, just substitute the |
| 2549 |
% desired value for `10pt' (in both places) or `1em'. The mark is |
| 2550 |
% flushright against the footnote. |
| 2551 |
% |
| 2552 |
% In these document classes we use a simpler macro, in which the |
| 2553 |
% footnote text is set like an ordinary text paragraph, with no |
| 2554 |
% indentation except on the first line of a paragraph, and the |
| 2555 |
% first line of the footnote. Thus, all the macro must do is set |
| 2556 |
% |\parindent| to the appropriate value for succeeding paragraphs |
| 2557 |
% and put the proper indentation before the mark. |
| 2558 |
% |
| 2559 |
% \changes{v2.0q}{1997/09/08}{As we want to have different appearances |
| 2560 |
% of the footnotemarker in the text and in the footnotes, we can't |
| 2561 |
% use \cs{@makefnmark} here} |
| 2562 |
% \begin{macrocode} |
| 2563 |
\long\def\@makefntext#1{% |
| 2564 |
\noindent\hb@xt@\leftmargini{\normalfont\@thefnmark.\hfil}#1} |
| 2565 |
% \end{macrocode} |
| 2566 |
% \end{macro} |
| 2567 |
% |
| 2568 |
% \begin{macro}{\@makefnmark} |
| 2569 |
% The footnote markers that are printed in the text to point to the |
| 2570 |
% footnotes should be produced by the macro |\@makefnmark|. |
| 2571 |
% \changes{v2.0l}{1995/08/10}{No longer use hidden math} |
| 2572 |
% \changes{v2.0q}{1997/09/08}{Use the default definition for |
| 2573 |
% \cs{@makefnmark}} |
| 2574 |
% \begin{macrocode} |
| 2575 |
% \def\@makefnmark{\hb@xt@\leftmargini{\normalfont\@thefnmark.\hfil}} |
| 2576 |
% \end{macrocode} |
| 2577 |
% \end{macro} |
| 2578 |
% |
| 2579 |
% \subsection{Words} |
| 2580 |
% |
| 2581 |
% This document class supports a number of languages. All words |
| 2582 |
% that will be printed byu the class code are stored in commands |
| 2583 |
% which can be redefined if you want to use a different language. |
| 2584 |
% |
| 2585 |
% \begin{macro}{\dutchbrief} |
| 2586 |
% This stores dutch strings. |
| 2587 |
% \begin{macrocode} |
| 2588 |
\newcommand*\dutchbrief{% |
| 2589 |
\def\uwbrieftekst{Uw brief van} |
| 2590 |
\def\uwkenmerktekst{Uw kenmerk} |
| 2591 |
\def\onskenmerktekst{Ons kenmerk} |
| 2592 |
\def\datumtekst{Datum} |
| 2593 |
\def\geadresseerdetekst{Geadresseerde} |
| 2594 |
\def\bladnummertekst{Bladnummer} |
| 2595 |
\def\vandaag{\number\day~\ifcase\month\or |
| 2596 |
januari\or februari\or maart\or april\or mei\or juni\or juli\or |
| 2597 |
augustus\or september\or oktober\or november\or december\fi |
| 2598 |
\space \number\year} |
| 2599 |
\def\betrefttekst{Onderwerp:} |
| 2600 |
\def\ccname{cc} |
| 2601 |
\def\bijlagetekst{Bijlage:} |
| 2602 |
\def\bijlagentekst{Bijlagen:} |
| 2603 |
\def\telefoontekst{telefoon}} |
| 2604 |
% \end{macrocode} |
| 2605 |
% \end{macro} |
| 2606 |
% |
| 2607 |
% \begin{macro}{\englishbrief} |
| 2608 |
% This stores English strings. |
| 2609 |
% \changes{v2.0i}{1994/12/30}{Repaired typo} |
| 2610 |
% \begin{macrocode} |
| 2611 |
\newcommand*\englishbrief{% |
| 2612 |
\def\uwbrieftekst{Your letter of} |
| 2613 |
\def\uwkenmerktekst{Your reference} |
| 2614 |
\def\onskenmerktekst{Our reference} |
| 2615 |
\def\datumtekst{Date} |
| 2616 |
\def\geadresseerdetekst{To} |
| 2617 |
\def\bladnummertekst{Page} |
| 2618 |
\def\vandaag{\ifcase\day\or |
| 2619 |
1st\or 2nd\or 3rd\or 4th\or 5th\or |
| 2620 |
6th\or 7th\or 8th\or 9th\or 10th\or |
| 2621 |
11th\or 12th\or 13th\or 14th\or 15th\or |
| 2622 |
16th\or 17th\or 18th\or 19th\or 20th\or |
| 2623 |
21st\or 22nd\or 23rd\or 24th\or 25th\or |
| 2624 |
26th\or 27th\or 28th\or 29th\or 30th\or |
| 2625 |
31st\fi~\ifcase\month\or |
| 2626 |
January\or February\or March\or April\or May\or June\or |
| 2627 |
July\or August\or September\or October\or November\or December\fi |
| 2628 |
\space \number\year} |
| 2629 |
\def\betrefttekst{Re:} |
| 2630 |
\def\ccname{cc} |
| 2631 |
\def\bijlagetekst{Enclosure:} |
| 2632 |
\def\bijlagentekst{Enclosures:} |
| 2633 |
\def\telefoontekst{telephone}} |
| 2634 |
% \end{macrocode} |
| 2635 |
% \end{macro} |
| 2636 |
% |
| 2637 |
% \begin{macro}{\americanbrief} |
| 2638 |
% This stores American english strings |
| 2639 |
% \begin{macrocode} |
| 2640 |
\newcommand*\americanbrief{% |
| 2641 |
\def\uwbrieftekst{Your letter of} |
| 2642 |
\def\uwkenmerktekst{Your reference} |
| 2643 |
\def\onskenmerktekst{Our reference} |
| 2644 |
\def\datumtekst{Date} |
| 2645 |
\def\geadresseerdetekst{To} |
| 2646 |
\def\bladnummertekst{Page} |
| 2647 |
\def\vandaag{\ifcase\month\or |
| 2648 |
January\or February\or March\or April\or May\or June\or |
| 2649 |
July\or August\or September\or October\or November\or December\fi |
| 2650 |
\space\number\day, \number\year} |
| 2651 |
\def\betrefttekst{Re:} |
| 2652 |
\def\ccname{cc} |
| 2653 |
\def\bijlagetekst{Enclosure:} |
| 2654 |
\def\bijlagentekst{Enclosures:} |
| 2655 |
\def\telefoontekst{telephone}} |
| 2656 |
% \end{macrocode} |
| 2657 |
% \end{macro} |
| 2658 |
% |
| 2659 |
% \begin{macro}{\germanbrief} |
| 2660 |
% This stores the German versions of the strings. |
| 2661 |
% \begin{macrocode} |
| 2662 |
\newcommand*\germanbrief{% |
| 2663 |
\def\uwbrieftekst{Ihr Brief vom} |
| 2664 |
\def\uwkenmerktekst{Ihr Zeichen} |
| 2665 |
\def\onskenmerktekst{Unser Zeichen} |
| 2666 |
\def\datumtekst{Datum} |
| 2667 |
\def\geadresseerdetekst{An} |
| 2668 |
\def\bladnummertekst{Seite} |
| 2669 |
\def\vandaag{\number\day.~\ifcase\month\or |
| 2670 |
Januar\or Februar\or M\"arz\or April\or Mai\or Juni\or |
| 2671 |
Juli\or August\or September\or Oktober\or November\or Dezember\fi |
| 2672 |
\space\number\year} |
| 2673 |
\def\betrefttekst{Betrifft:} |
| 2674 |
\def\ccname{Kopien an} |
| 2675 |
\def\bijlagetekst{Anlage:} |
| 2676 |
\def\bijlagentekst{Anlagen:} |
| 2677 |
\def\telefoontekst{Telefon}} |
| 2678 |
% \end{macrocode} |
| 2679 |
% \end{macro} |
| 2680 |
% |
| 2681 |
% \begin{macro}{\frenchbrief} |
| 2682 |
% And finally to store the french strings |
| 2683 |
% \begin{macrocode} |
| 2684 |
\newcommand*\frenchbrief{% |
| 2685 |
\def\uwbrieftekst{Votre lettre du} |
| 2686 |
\def\uwkenmerktekst{Vos r\'ef\'erences:} |
| 2687 |
\def\onskenmerktekst{Nos r\'ef\'erences:} |
| 2688 |
\def\datumtekst{Date:} |
| 2689 |
\def\geadresseerdetekst{\`A l'attention de} |
| 2690 |
\def\bladnummertekst{Page} |
| 2691 |
\def\vandaag{\number\day\ifnum\day=1$^{er}$\fi |
| 2692 |
~\ifcase\month\or janvier\or |
| 2693 |
f\'evrier\or mars\or avril\or mai\or juin\or |
| 2694 |
juillet\or ao\^ut\or septembre\or octobre\or |
| 2695 |
novembre\or d\'ecembre\fi \space \number\year} |
| 2696 |
\def\betrefttekst{Objet:} |
| 2697 |
\def\ccname{Copie \`a} |
| 2698 |
\def\bijlagetekst{Pi\`ece jointe:} |
| 2699 |
\def\bijlagentekst{Pi\`eces jointes:} |
| 2700 |
\def\telefoontekst{T\'el\'ephone:}} |
| 2701 |
% \end{macrocode} |
| 2702 |
% \end{macro} |
| 2703 |
% |
| 2704 |
% \subsection{Two column mode} |
| 2705 |
% |
| 2706 |
% \begin{macro}{\columnsep} |
| 2707 |
% This gives the distance between two columns in two column mode. |
| 2708 |
% \begin{macrocode} |
| 2709 |
\setlength\columnsep{10\p@} |
| 2710 |
% \end{macrocode} |
| 2711 |
% \end{macro} |
| 2712 |
% |
| 2713 |
% \begin{macro}{\columnseprule} |
| 2714 |
% This gives the width of the rule between two columns in two |
| 2715 |
% column mode. We have no visible rule. |
| 2716 |
% \begin{macrocode} |
| 2717 |
\setlength\columnseprule{0\p@} |
| 2718 |
% \end{macrocode} |
| 2719 |
% \end{macro} |
| 2720 |
% |
| 2721 |
% \subsection{The page style} |
| 2722 |
% We have \pstyle{headings} pages in this document class by |
| 2723 |
% default. We use arabic pagenumbers. |
| 2724 |
% \begin{macrocode} |
| 2725 |
\pagestyle{headings} |
| 2726 |
\pagenumbering{arabic} |
| 2727 |
% \end{macrocode} |
| 2728 |
% |
| 2729 |
% \subsection{Single or double sided printing} |
| 2730 |
% |
| 2731 |
% We don't try to make each page as long as all the others. |
| 2732 |
% \begin{macrocode} |
| 2733 |
\raggedbottom |
| 2734 |
% \end{macrocode} |
| 2735 |
% |
| 2736 |
% \begin{macro}{\@texttop} |
| 2737 |
% The document class \cls{letter} sets |\@texttop| to |\vskip| 0pt |
| 2738 |
% \texttt{plus} .00006fil on the first page of a letter, which |
| 2739 |
% centers a short letter on the page. This class however doesn't |
| 2740 |
% want the letter to be centered on the page. |
| 2741 |
% \begin{macrocode} |
| 2742 |
\let\@texttop\relax |
| 2743 |
% \end{macrocode} |
| 2744 |
% \end{macro} |
| 2745 |
% |
| 2746 |
% We always start in one column mode. |
| 2747 |
% \begin{macrocode} |
| 2748 |
\onecolumn |
| 2749 |
%</brief> |
| 2750 |
% \end{macrocode} |
| 2751 |
% |
| 2752 |
% |
| 2753 |
% |
| 2754 |
% \Finale |
| 2755 |
% |
| 2756 |
\endinput |