Debian Codegraph @

texmf-dist/source/latex/hc/hc.dtx

raw
1 % \iffalse
2 %
3 % This is file `hc.dtx'.
4 %
5 %% Copyright (C) 1998--2000 Christian Siefkes <[email protected]>
6 %%
7 %% Updates are available via http://tal.cs.tu-berlin.de/error/TeX/
8 %%
9 %% This file is part of the HC Bundle for LaTeX2e.
10 %% -----------------------------------------------
11 %%
12 %% This file is free software; you can redistribute it and/or modify
13 %% it under the terms of the GNU Library General Public License as
14 %% published by the Free Software Foundation; either version 2 of the
15 %% License, or (at your option) any later version.
16 %%
17 %% This document is distributed in the hope that it will be useful, but
18 %% WITHOUT ANY WARRANTY; without even the implied warranty of
19 %% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 %% General Public License for more details.
21 %%
22 %% You should have received a copy of the GNU General Public License
23 %% along with this program; see the file COPYING. If not, write to
24 %% the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
25 %% Boston, MA 02111-1307, USA.
26 %%
27 % \CharacterTable
28 % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
29 % Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
30 % Digits \0\1\2\3\4\5\6\7\8\9
31 % Exclamation \! Double quote \" Hash (number) \#
32 % Dollar \$ Percent \% Ampersand \&
33 % Acute accent \' Left paren \( Right paren \)
34 % Asterisk \* Plus \+ Comma \,
35 % Minus \- Point \. Solidus \/
36 % Colon \: Semicolon \; Less than \<
37 % Equals \= Greater than \> Question mark \?
38 % Commercial at \@ Left bracket \[ Backslash \\
39 % Right bracket \] Circumflex \^ Underscore \_
40 % Grave accent \` Left brace \{ Vertical bar \|
41 % Right brace \} Tilde \~}
42 %
43 %<class>\NeedsTeXFormat{LaTeX2e}[1995/12/01]
44 %<*dtx>
45 \ProvidesFile{hc.dtx}%
46 %</dtx>
47 %<german>\ProvidesFile{german.hld}%
48 %<hcart>\ProvidesClass{hcart}%
49 %<hcletter>\ProvidesClass{hcletter}%
50 %<hcreport>\ProvidesClass{hcreport}%
51 %<hcslides>\ProvidesClass{hcslides}%
52 % \fi
53 % \ProvidesFile{hc.dtx}%
54 [2000/03/23 v1.07 LaTeX2e HC Bundle]
55 % \iffalse
56 %
57 %<*driver>
58 \documentclass[paper]{hcart}
59 \usepackage{doc}
60 \begin{document}
61 \DocInput{hc.dtx}
62 \end{document}
63 %</driver>
64 % \fi
65 %
66 % \newcommand{\cs}[1]{\texttt{\backslash #1}}
67 % \changes{v0.9}{1999/09/09}{First public prerelease}
68 % \changes{v1.0}{1999/11/01}{First official public version}
69 % \changes{v1.01}{1999/11/05}{better PDF support,
70 % \cs{keywords} and \cs{hyperinfo} commands added}
71 % \changes{v1.02}{1999/11/28}{author's email \& homepage made
72 % hyperlinks, \cs{phyp} and \cs{arrow} commands added}
73 % \changes{v1.02a}{1999/12/23}{bugs fixed (load \texttt{babel} after
74 % \texttt{natbib} package; correct formatting of \cs{tit(sub)info)}}
75 % \changes{v1.02b}{1999/12/26}{\cs{bibfirst} command removed}
76 % \changes{v1.02c}{2000/01/02}{\cs{addrdiv} command added}
77 % \changes{v1.02d}{2000/01/04}{\cs{enge} command added,
78 % \cs{bibmov} command modified}
79 % \changes{v1.02e}{2000/01/05}{\cs{etal} command modified}
80 % \changes{v1.02f}{2000/01/30}{bug fixed (\texttt{german} option)}
81 % \changes{v1.03}{2000/01/31}{\cs{cfcite} command added}
82 % \changes{v1.04}{2000/02/23}{\texttt{xspace} package support added}
83 % \changes{v1.04a}{2000/02/24}{\texttt{mathpple} package support added}
84 % \changes{v1.04b}{2000/02/29}{output of \cs{noyear} and \cs{noplace}
85 % commands changed}
86 % \changes{v1.05}{2000/03/04}{\texttt{dialog} environment and \cs{newspeaker}
87 % command added}
88 % \changes{v1.06}{2000/03/10}{\texttt{fnbib} option and \cs{f} command added}
89 % \changes{v1.06a}{2000/03/11}{bug fixed (\texttt{fnbib} option)}
90 % \changes{v1.06b}{2000/03/13}{implementation of (\texttt{bib} option changed)}
91 % \changes{v1.06c}{2000/03/14}{\cs{ps@headings} macro changed)}
92 % \changes{v1.07}{2000/03/23}{\cs{see} macro added)}
93 % \GetFileInfo{hc.dtx}
94 %
95 % \tit[\filedate]{The HC Bundle for \LaTeXe\\\fileversion}
96 %
97 % \MakeShortVerb{\|}
98 % \newcommand{\descOpt}[1]{\marginbox{#1}}
99 % \newcommand{\descCom}[1]{\marginbox{\tt\textbackslash #1}}
100 % \newcommand{\descEnv}[2][]
101 % {\marginbox{\texttt{\textbackslash begin{\tt\string{}#2{\tt\string}}}#1}}
102 % \newcommand{\comdiv}{\\ \tt\textbackslash}
103 % \newcommand{\m}[1]{\mbox{\it #1\/}}
104 % \renewcommand{\arg}[1]{{\tt\string{}\m{#1}{\tt\string}}}
105 % \newcommand{\oarg}[1]{{\tt[}\m{#1}{\tt]}}
106 % \newcommand{\rarg}[1]{<\m{#1}>}
107 %
108 % \section{Introduction}
109 % The HC Bundle for \LaTeXe\ provides the following four classes as
110 % replacement for the \LaTeX\ default classes:
111 % \begin{flexlist}{hcreport.cls}
112 % \item[hcart.cls] substitute for the |article| class,\\
113 % based upon the |scrartcl| class from the KoMa-Script bundle;
114 % \item[hcreport.cls] substitute for the |report| class,\\
115 % based upon the |scrreprt| class from the KoMa-Script bundle;
116 % \item[hcletter.cls] substitute for the |letter| class,\\
117 % based upon the |scrlettr| class from the KoMa-Script bundle;
118 % \item[hcslides.cls] substitute for the |slides| class,\\
119 % based upon the |seminar| class.
120 % \end{flexlist}
121 % \begin{macrocode}
122 %<*hcart>
123 \newcommand{\thisclass}{hcart}
124 \newcommand{\superclass}{scrartcl}
125 %</hcart>
126 %<*hcletter>
127 \newcommand{\thisclass}{hcletter}
128 \newcommand{\superclass}{scrlettr}
129 %</hcletter>
130 %<*hcreport>
131 \newcommand{\thisclass}{hcreport}
132 \newcommand{\superclass}{scrreprt}
133 %</hcreport>
134 %<*hcslides>
135 \newcommand{\thisclass}{hcslides}
136 \newcommand{\superclass}{seminar}
137 %</hcslides>
138 % \end{macrocode}
139 % \section{Options}
140 % \subsection{General Options}
141 % \descOpt{german\\english}
142 % Loads a language. Default is English. At the moment no other languages are
143 % supported. Requires the |babel| package.
144 % \begin{macrocode}
145 %<*class>
146 \newif\if@german
147 \@germanfalse
148 \newif\if@deflang
149 \@deflangtrue
150 \DeclareOption{german}{\@deflangfalse\@germantrue
151 \PassOptionsToPackage{ngerman}{babel}
152 \PassOptionsToPackage{german}{fancyref}
153 \AtEndOfClass{\input{german.hld}}}
154 \DeclareOption{english}{\@deflangfalse
155 \PassOptionsToPackage{\CurrentOption}{babel}}
156 % \end{macrocode}
157 % \descOpt{a4paper\\letterpaper}
158 % Use the DIN~A4 (default) or the letter paper format? At the moment no other
159 % paper formats are supported.
160 % \begin{macrocode}
161 \newif\if@defpaper
162 \@defpapertrue
163 \DeclareOption{a4paper}{
164 %<hcart|hcletter|hcreport>\PassOptionsToClass{\CurrentOption}{\superclass}
165 %<hcslides>\PassOptionsToClass{a4}{\superclass}
166 \PassOptionsToPackage{\CurrentOption}{hyperref}
167 \@defpaperfalse}
168 \DeclareOption{letterpaper}{
169 %<hcart|hcletter|hcreport>\PassOptionsToClass{\CurrentOption}{\superclass}
170 \PassOptionsToPackage{\CurrentOption}{hyperref}
171 \@defpaperfalse}
172 % \end{macrocode}
173 % \descOpt{palatino\\nopalatino}
174 % Use the Palatino or the Standard \TeX\ font? Palatino is default (requires
175 % the |palatino| and the |mathpple| packages).
176 % \begin{macrocode}
177 \newif\if@palatino
178 \@palatinotrue
179 \DeclareOption{palatino}{\@palatinotrue}
180 \DeclareOption{nopalatino}{\@palatinofalse}
181 % \end{macrocode}
182 % \descOpt{ding}
183 % Provide some fancy lists and symbols using the Dingbat symbols (requires
184 % the |pifont| style of the |psnfss| package)?
185 % \begin{macrocode}
186 \newif\if@ding
187 \@dingfalse
188 \DeclareOption{ding}{\@dingtrue}
189 % \end{macrocode}
190 % \descOpt{euro\\noeuro}
191 % Provide the Euro symbol \E\ (default, requires the |eurofont| package)?
192 % \begin{macrocode}
193 \newif\if@euro
194 \@eurotrue
195 \DeclareOption{euro}{\@eurotrue}
196 \DeclareOption{noeuro}{\@eurofalse}
197 % \end{macrocode}
198 % \descOpt{fancyref\\nofancyref}
199 % Provide fancy reference commands (default, requires the |fancyref| and the
200 % |varioref| packages)?
201 % \begin{macrocode}
202 \newif\if@fancyref
203 \@fancyreftrue
204 \DeclareOption{fancyref}{\@fancyreftrue}
205 \DeclareOption{nofancyref}{\@fancyreffalse}
206 % \end{macrocode}
207 % \descOpt{html\\nohtml}
208 % Provide HTML commands (default, requires the |html| package bundled with
209 % \LaTeX2HTML)?
210 % \begin{macrocode}
211 \newif\if@html
212 \@htmltrue
213 \DeclareOption{html}{\@htmltrue}
214 \DeclareOption{nohtml}{\@htmlfalse}
215 %</class>
216 % \end{macrocode}
217 % \subsection{Options for the hcart and hcreport classes}
218 % \descOpt{headsepline\\headnosepline}
219 % Draw a horizontal line below the header line (default)?
220 % \begin{macrocode}
221 %<*hcart|hcreport>
222 \newif\if@defhsl
223 \@defhsltrue
224 \DeclareOption{headsepline}{\PassOptionsToClass
225 {\CurrentOption}{\superclass}\@defhslfalse}
226 \DeclareOption{headnosepline}{\PassOptionsToClass
227 {\CurrentOption}{\superclass}\@defhslfalse}
228 % \end{macrocode}
229 % \descOpt{onecolumn\\twocolumn}
230 % Set the text in one or two columns (default is one)?
231 % \begin{macrocode}
232 \DeclareOption{onecolumn}{\PassOptionsToClass
233 {\CurrentOption}{\superclass}}
234 \DeclareOption{twocolumn}{\PassOptionsToClass
235 {\CurrentOption}{\superclass}}
236 % \end{macrocode}
237 % \descOpt{hcarea\\hcnoarea}
238 % Set the default area to 240mm $\times$ 150mm (default)? Otherwise,
239 % the default value from the |scrartcl| resp. |scrreprt| classes is used
240 % if you do not set the area manually (e.g. with the |\areaset| command).
241 % \begin{macrocode}
242 \newif\if@hcarea
243 \@hcareatrue
244 \DeclareOption{hcarea}{\@hcareatrue}
245 \DeclareOption{hcnoarea}{\@hcareafalse}
246 % \end{macrocode}
247 % \descOpt{hcfootnotes\\hcnofootnotes}
248 % Nicer formatting of footnotes (default)?
249 % \begin{macrocode}
250 \newif\if@hcfootnotes
251 \@hcfootnotestrue
252 \DeclareOption{hcfootnotes}{\@hcfootnotestrue}
253 \DeclareOption{hcnofootnotes}{\@hcfootnotesfalse}
254 % \end{macrocode}
255 % \descOpt{magazine}
256 % Provide commands for magazine or newspaper articles? This sets the
257 % |html| option too.
258 % \begin{macrocode}
259 \newif\if@magazine
260 \@magazinefalse
261 \DeclareOption{magazine}{\@magazinetrue\@htmltrue}
262 % \end{macrocode}
263 % \descOpt{parskip}
264 % Skip paragraphs instead of indenting them?
265 % \begin{macrocode}
266 \newif\if@parskip
267 \@parskipfalse
268 \DeclareOption{parskip}{\@parskiptrue}
269 % \end{macrocode}
270 % \descOpt{wide}
271 % Use a wide line distance (ca. 1.5)?
272 % \begin{macrocode}
273 \newif\if@wide
274 \@widefalse
275 \DeclareOption{wide}{\@widetrue}
276 %</hcart|hcreport>
277 % \end{macrocode}
278 % \subsection{Options for the hcart, hcreport and hcletter classes}
279 % \descOpt{10pt\\11pt\\12pt}
280 % Use a font size of 10, 11, or 12 (default) points?
281 % \begin{macrocode}
282 %<*hcart|hcreport|hcletter>
283 \newif\if@defsize
284 \@defsizetrue
285 \DeclareOption{10pt}{\PassOptionsToClass{\CurrentOption}{\superclass}
286 \@defsizefalse}
287 \DeclareOption{11pt}{\PassOptionsToClass{\CurrentOption}{\superclass}
288 \@defsizefalse}
289 \DeclareOption{12pt}{\PassOptionsToClass{\CurrentOption}{\superclass}
290 \@defsizefalse}
291 %</hcart|hcreport|hcletter>
292 % \end{macrocode}
293 % \subsection{Options for the hcart, hcreport and hcslides classes}
294 % \descOpt{bib\\nobib}
295 % Use \BibTeX?
296 % \begin{macrocode}
297 %<*hcart|hcreport|hcslides>
298 \newif\if@bib
299 \@bibfalse
300 \DeclareOption{bib}{\@bibtrue}
301 \DeclareOption{nobib}{\@bibfalse}
302 % \end{macrocode}
303 % \descOpt{fnbib\\autbib\\numbib}
304 % \BibTeX\ references are written in footnotes (default) or in
305 % author-year or in numerical style.
306 % These options set the |bib| option too.
307 % \begin{macrocode}
308 \newif\if@fnbib
309 \@fnbibtrue
310 \newif\if@autbib
311 \@autbibfalse
312 \newif\if@numbib
313 \@numbibfalse
314 \DeclareOption{fnbib}{\@fnbibtrue\@autbibfalse\@numbibfalse\@bibtrue}
315 \DeclareOption{autbib}{\@fnbibfalse\@autbibtrue\@numbibfalse\@bibtrue}
316 \DeclareOption{numbib}{\@fnbibfalse\@autbibfalse\@numbibtrue\@bibtrue}
317 % \end{macrocode}
318 % \descOpt{htmlbib\\nohtmlbib}
319 % Use the |html| package for online references with \BibTeX\ (default)?
320 % This loads the |html| option too.
321 % \begin{macrocode}
322 \newif\if@htmlbib
323 \@htmlbibtrue
324 \DeclareOption{htmlbib}{\@htmlbibtrue\@htmltrue}
325 \DeclareOption{nohtmlbib}{\@htmlbibfalse}
326 % \end{macrocode}
327 % \descOpt{paper}
328 % Provide formatting and commands for a scientific paper? This sets the
329 % |bib| and |html| options too.
330 % \begin{macrocode}
331 \newif\if@paper
332 \@paperfalse
333 \DeclareOption{paper}{\@papertrue\@bibtrue\@htmltrue}
334 % \end{macrocode}
335 % \descOpt{pdf\\nopdf}
336 % Prepare file for the PDF format? This loads the |hyperref| package.
337 % This option is set automagically by running |pdflatex|.
338 % \begin{macrocode}
339 \newif\if@pdf
340 \ifx\pdfoutput\undefined
341 \@pdffalse
342 \else
343 \@pdftrue
344 \fi
345 \DeclareOption{pdf}{\@pdftrue}
346 \DeclareOption{nopdf}{\@pdffalse}
347 %</hcart|hcreport|hcslides>
348 % \end{macrocode}
349 % \subsection{Options for the hcreport class}
350 % \descOpt{openany\\openright}
351 % Start new chapters always on a right page (not by default)?
352 % \begin{macrocode}
353 %<*hcreport>
354 \DeclareOption{openany}
355 {\PassOptionsToClass{\CurrentOption}{\superclass}}
356 \DeclareOption{openright}
357 {\PassOptionsToClass{\CurrentOption}{\superclass}}
358 %</hcreport>
359 % \end{macrocode}
360 % \subsection{Options for the hcslides class}
361 % \descOpt{twotoc\\onetoc}
362 % Print table of contents in two columns (requires the |multicol| package)?
363 % \begin{macrocode}
364 %<*hcslides>
365 \newif\if@twotoc
366 \@twotocfalse
367 \DeclareOption{twotoc}{\@twotoctrue}
368 \DeclareOption{onetoc}{\@twotocfalse}
369 %</hcslides>
370 % \end{macrocode}
371 % \subsection{Other Options}
372 % Other options are ignored.
373 % \begin{macrocode}
374 %<*class>
375 \DeclareOption*{\ClassWarning{\thisclass}%
376 {Unknown Option: `\CurrentOption '}%
377 }
378 % \end{macrocode}
379 % Options not implemented:
380 % \begin{widedesc}
381 % \item[scrartcl, scrlettr, scrreprt]
382 % paper sizes except a4 and letter (a5paper, b5paper, legalpaper,
383 % executivepaper ...); oneside, twoside;
384 % \item[scrartcl, scrreprt]
385 % DIV\dots, DIVcalc, DIVclassic, BCOR; headinclude, headexclude, footinclude,
386 % footexclude; footsepline, footnosepline;
387 % bigheadings, normalheadings, smallheadings;
388 % pointednumbers, pointlessnumbers; abstracton, abstractoff;
389 % titlepage, notitlepage; leqno, fleqn; openbib; portrait, landscape;
390 % draft, final; bibtotocnumbered;
391 % \item[scrlettr]
392 % orgdate; wlocfield, slocfield;
393 % \item[seminar]
394 % portrait, landscape; article, slidesonly, notes,
395 % notesonly; semlayer, semcolor.
396 % \end{widedesc}
397 % \section{Commands and Environments}
398 % \subsection{Configuration}
399 % \descCom{defaulttitle\arg{title}\comdiv
400 % defaultauthor\arg{author}\comdiv
401 % defaultaddress\arg{address}\comdiv
402 % defaultemail\arg{mail-address}\comdiv
403 % defaulthomepage\arg{website}}
404 % Used if no author information is specified.
405 % They are all empty by default. Renew them in one of the config files
406 % (see below).
407 % \descCom{autdiv}
408 % Use instead of |\\| in |\defaultauthor|.
409 % \descCom{autinfodiv}
410 % Use instead of |\\| in |\defaultaddress| etc.
411 % \begin{macrocode}
412 \newcommand{\defaulttitle}{}
413 \newcommand{\defaultauthor}{}
414 \newcommand{\defaultaddress}{}
415 \newcommand{\defaultemail}{}
416 \newcommand{\defaulthomepage}{}
417 \newcommand{\currenttitle}{\defaulttitle}
418 \newcommand{\currentauthor}{\defaultauthor}
419 \newcommand{\autdiv}{\\[-0.4ex]\normalfont\Large}
420 \newcommand{\autinfodiv}{\\[-1ex]\normalfont\normalsize}
421 \ProcessOptions\relax
422 %</class>
423 %<*hcart|hcreport>
424 \if@defhsl
425 \PassOptionsToClass{headsepline}{\superclass}
426 \fi
427 % \end{macrocode}
428 % The |twoside|, |pointlessnumbers|,
429 % |liststotoc|, |bibtotoc| and |idxtotoc|
430 % options are always used with the |hcart| and |hcreport| classes.
431 % The |hcletter| class always uses the |wlocfield| option.
432 % \begin{macrocode}
433 \PassOptionsToClass{twoside,pointlessnumbers,liststotoc,
434 bibtotoc,idxtotoc}{\superclass}
435 %</hcart|hcreport>
436 %<hcletter>\PassOptionsToClass{wlocfield}{\superclass}
437 %<*hcart|hcreport|hcletter>
438 \if@defsize
439 \PassOptionsToClass{12pt}{\superclass}
440 \fi
441 %</hcart|hcreport|hcletter>
442 %<*class>
443 \if@deflang
444 \PassOptionsToPackage{english}{babel}
445 \fi
446 \if@defpaper
447 %<hcart|hcreport> \PassOptionsToClass{a4paper}{\superclass}
448 %<hcslides> \PassOptionsToClass{a4}{\superclass}
449 \PassOptionsToPackage{a4paper}{hyperref}
450 \fi
451 \LoadClass{\superclass}
452 % \end{macrocode}
453 % The normal spacing is used after the end of a sentence.
454 % \begin{macrocode}
455 \sloppy
456 \clubpenalty9999
457 \@clubpenalty\clubpenalty
458 \widowpenalty9999
459 \displaywidowpenalty1000
460 \brokenpenalty1000
461 \frenchspacing
462 % \end{macrocode}
463 % The modern font encoding (T1) and the latin1 input encoding are used
464 % (this requires the |T1| and |latin1| packages). The |ifthen|,
465 % the |babel| and the |xspace| packages are always used.
466 % The |bib| option loads the |natbib| package.
467 % \begin{macrocode}
468 %<hcart|hcreport|hcslides>\RequirePackage{natbib}
469 \RequirePackage[T1]{fontenc}
470 \RequirePackage[latin1]{inputenc}
471 \RequirePackage{ifthen}
472 \RequirePackage{babel}
473 \RequirePackage{xspace}
474 % \end{macrocode}
475 % The config file |hc.cfg| is used by all classes. Every class also
476 % uses a config file with its own name, e.g. the hcart class uses
477 % |hcart.cfg|. The settings in |hc.cfg| may be overwritten by the
478 % class specific config files.
479 % \begin{macrocode}
480 \InputIfFileExists{hc.cfg}{%
481 \ClassInfo{\thisclass}
482 {Loading configuration file hc.cfg}}{%
483 \ClassInfo{\thisclass}
484 {Configuration file hc.cfg not found}}
485 \InputIfFileExists{\thisclass.cfg}{%
486 \ClassInfo{\thisclass}
487 {Loading configuration file \thisclass.cfg}}{%
488 \ClassInfo{\thisclass}
489 {Configuration file \thisclass.cfg not found}}
490 % \end{macrocode}
491 % \subsection{General Commands and Environments}
492 % \descCom{q\arg{quote}}
493 % \rarg{quote} is put into quotation marks. May be nested: A quote inside
494 % another quote uses inner quotation marks.
495 % \begin{macrocode}
496 \newcommand{\nextstartq}{`}
497 \newcommand{\nextendq}{'}
498 \newcommand{\otherstartq}{``}
499 \newcommand{\otherendq}{''}
500 \newcommand{\tmpq}{}
501 \newcommand{\q}[1]{\nextstartq{}%
502 \let\tmpq\nextstartq%
503 \let\nextstartq\otherstartq%
504 \let\otherstartq\tmpq%
505 \let\tmpq\nextendq%
506 \let\nextendq\otherendq%
507 \let\otherendq\tmpq%
508 #1%
509 \let\tmpq\nextstartq%
510 \let\nextstartq\otherstartq%
511 \let\otherstartq\tmpq%
512 \let\tmpq\nextendq%
513 \let\nextendq\otherendq%
514 \let\otherendq\tmpq%
515 \nextendq{}%
516 }
517 % \end{macrocode}
518 % \descCom{hq\arg{quote}}
519 % \rarg{quote} is always put into inner (\hq{half}) quotation marks.
520 % \begin{macrocode}
521 \newcommand{\hq}[1]{``#1''}
522 % \end{macrocode}
523 % \descCom{fq\arg{quote}}
524 % \rarg{quote} is always put into outer (\fq{full}) quotation marks.
525 % \begin{macrocode}
526 \newcommand{\fq}[1]{`#1'}
527 % \end{macrocode}
528 % \descCom{dash\arg{text}}
529 % \rarg{text} is put between dashes.
530 % \begin{macrocode}
531 \newcommand{\dash}[1]{---#1---}
532 % \end{macrocode}
533 % \descEnv[\oarg{separator}\arg{longest-title}]{flexlist}
534 % A list environment similar to the |description| environment.
535 % All items are indented by the width of \rarg{longest-title}.
536 % The default \rarg{separator} is \q{:}.
537 % \begin{macrocode}
538 \newenvironment{flexlist}[2][:]
539 {\begin{list}{}
540 {\settowidth{\labelwidth}{\sffamily\bfseries #2#1 }
541 \setlength{\leftmargin}{\labelwidth}
542 \addtolength{\leftmargin}{\labelsep}
543 \renewcommand{\makelabel}[1]
544 {\sffamily\bfseries ##1#1 \hfill}}}
545 {\end{list}}
546 % \end{macrocode}
547 % \descEnv[\oarg{separator}]{widedesc}
548 % A variation of the |flexlist| environment.
549 % All items are indented by the width of a date (\q{00.00.0000}).
550 % The default \rarg{separator} is \q{:}.
551 % \begin{macrocode}
552 \newenvironment{widedesc}[1][:]
553 {\begin{flexlist}[#1]{00.00.0000}}
554 {\end{flexlist}}
555 % \end{macrocode}
556 % \descCom{pcent\arg{value}}
557 % Prints \rarg{value} followed by the percent symbol \%.
558 % \begin{macrocode}
559 \newcommand{\pcent}[1]{#1\,\%}
560 % \end{macrocode}
561 % \descCom{qdots}
562 % Prints the scientific omission symbol \qdots.
563 % \begin{macrocode}
564 \newcommand{\qdots}{\mbox{[\dots]}\xspace}
565 % \end{macrocode}
566 % \descCom{phyp}
567 % Prints a (part of a) word in parenthesis, ended by a hypen, like
568 % \phyp{love}letter.
569 % \begin{macrocode}
570 \newcommand{\phyp}[1]
571 {(#1\textormath{\leavevmode\hbox{-}}{-})\hskip\z@skip}
572 % \end{macrocode}
573 % \descCom{arrow}
574 % Prints an arrow: \arrow.
575 % \begin{macrocode}
576 \newcommand{\arrow}{\ensuremath{\rightarrow}\xspace}
577 % \end{macrocode}
578 % \descCom{f\comdiv ff}
579 % Print the abbreviations for \q{the following page(s)}
580 % (\q{f} resp. \q{ff} after a small space).
581 % \begin{macrocode}
582 \newcommand{\f}{\,f}
583 \newcommand{\ff}{\,ff}
584 % \end{macrocode}
585 % \descCom{distance}
586 % Starts a new un-indented paragraph following an empty line.
587 % \begin{macrocode}
588 \newcommand{\distance}{\par\bigskip\noindent}
589 % \end{macrocode}
590 % \descCom{stardistance}
591 % Starts a new un-indented paragraph following three centered stars.
592 % \begin{macrocode}
593 \newcommand{\stardistance}
594 {\par\bigskip{\centering *~~~*~~~*\par}\bigskip\noindent}
595 % \end{macrocode}
596 % \descCom{linedistance}
597 % Starts a new un-indented paragraph following an horizontal rule.
598 % \begin{macrocode}
599 \newcommand{\linedistance}{%
600 \begin{center}
601 \begin{tabular}{p{0.33\textwidth}}
602 \hrule
603 \end{tabular}
604 \end{center}
605 \medskip\noindent%
606 }
607 % \end{macrocode}
608 % \descCom{sig\arg{name}}
609 % Prints \rarg{name} as signature (flushright in italics).
610 % \begin{macrocode}
611 \newcommand{\sig}[1]{\par{\raggedleft\emph{#1}\par}}
612 % \end{macrocode}
613 % \descCom{intro\arg{text}}
614 % \rarg{text} is centered in an extra paragraph, using a bold font.
615 % Followed by some space.
616 % \begin{macrocode}
617 \newcommand{\intro}[1]{{\par\centering\textbf{#1}\par}
618 \medskip\noindent\ignorespaces}
619 % \end{macrocode}
620 % \descCom{hint\arg{text}}
621 % \rarg{text} is centered in an extra paragraph, using a large font.
622 % \begin{macrocode}
623 \newcommand{\hint}[1]{{\par\centering\LARGE #1\par}
624 \noindent\ignorespaces}
625 % \end{macrocode}
626 % \descCom{cen\arg{text}}
627 % An alternative to the |center| environment using less space before and after.
628 % \begin{macrocode}
629 \newcommand{\cen}[1]
630 {{\par\centering #1\par}\noindent\ignorespaces}
631 % \end{macrocode}
632 % \descCom{marginbox\arg{text}}
633 % A text in a box, set out into the margin. Lines are divided by |\\|.
634 % \begin{macrocode}
635 \newcommand{\marginbox}[1]%
636 {\par\small\addvspace{4.5ex plus 1ex}%
637 \vskip -\parskip
638 %<hcart|hcletter|hcreport> \noindent\hspace{-.75\leftmargini}%
639 %<hcslides> \noindent
640 \begin{tabular}{|l|}\hline\ignorespaces
641 #1
642 \\\hline\end{tabular}\nobreak\par\nobreak
643 \vspace{2.3ex}\vskip -\parskip\noindent\ignorespaces}
644 % \end{macrocode}
645 % \descCom{rightaddress}
646 % Like the |\verse| environment, but moved to the right as far as possible.
647 % Lines are divided by |\\|.
648 % \begin{macrocode}
649 \newcommand{\rightaddress}[1]{%
650 \par\medskip
651 {\raggedleft \begin{tabular}{l}\ignorespaces
652 #1
653 \end{tabular}
654 \medskip\par}\noindent\ignorespaces%
655 }
656 % \end{macrocode}
657 % \descCom{shorttoday}
658 % Prints the short form (YY/MM/DD) of the current date (|\today|).
659 % \begin{macrocode}
660 \newcounter{shortyear}
661 \setcounter{shortyear}{\the\year}
662 \addtocounter{shortyear}{-1900}
663 \whiledo{\theshortyear>99}{\addtocounter{shortyear}{-100}}
664 \newcommand{\shorttoday}
665 {\two@digits{\theshortyear}/\the\month/\the\day\xspace}
666 % \end{macrocode}
667 % \descEnv{dialog}
668 % An environment for dialogues and screenplay-like scenes.
669 % Use the |\newspeaker| command to make the persons you want to
670 % use in the dialogues.
671 % \begin{macrocode}
672 \newenvironment{dialog}
673 {\begin{flexlist}[\normalfont\emph{:}]{i}
674 \setlength{\itemsep}{0ex}}
675 {\end{flexlist}}
676 \makeatletter
677 % \end{macrocode}
678 % \descCom{newspeaker\arg{command-name}\arg{speaker's-name}}
679 % Produces the command \rarg{command-name} to mark the speeches of
680 % \rarg{speaker's-name} in a dialogue. \rarg{command-name} must begin
681 % with a backslash, like all commands.\\
682 % Then the command \rarg{command-name} may be called in a |dialog|
683 % environment as follows:\\
684 % |command-name\oarg{optional-explanation}\arg{speech-contribution}|
685 % \begin{macrocode}
686 \newcommand{\newspeaker}[2]{\newcommand{#1}[2][]
687 {\item[\normalfont\emph{#2\ifthenelse{\equal{##1}{}}
688 {}{ (##1)}}] ##2}}
689 % \end{macrocode}
690 % \descCom{enge\arg{English text}\arg{German text}}
691 % Prints \arg{English text}. With the |german| option, \rarg{German text}
692 % is printed instead.
693 % \begin{macrocode}
694 \newcommand{\enge}[2]{#1}
695 % \end{macrocode}
696 % Some language specific texts.
697 % \begin{macrocode}
698 \newcommand{\versiontext}{Version date:}
699 \newcommand{\onlinetext}{Online:}
700 \newcommand{\accesstext}{Access date:}
701 \newcommand{\cftext}{cf.}
702 \newcommand{\bibvoltext}{of}
703 \newcommand{\bvtext}{vol.}
704 \newcommand{\bibdir}{Director }
705 \newcommand{\bibmovtext}{Movie}
706 \newcommand{\bibactorsbefore}{With}
707 \newcommand{\bibactorsafter}{et~al}
708 \newcommand{\noyear}{n.d.}
709 \newcommand{\noaddress}{n.p.}
710 \newcommand{\otherabstractname}{Zusammenfassung}
711 \newcommand{\keywordsname}{Keywords}
712 % \end{macrocode}
713 % \subsubsection{The palatino option}
714 % \begin{macrocode}
715 \if@palatino
716 \RequirePackage{palatino}
717 \RequirePackage{mathpple}
718 \fi
719 % \end{macrocode}
720 % \subsubsection{The ding option}
721 % \begin{macrocode}
722 \if@ding
723 \RequirePackage{pifont}
724 % \end{macrocode}
725 % \descCom{tick}
726 % Prints a tick.
727 % \begin{macrocode}
728 \newcommand{\tick}{\ding{52}}
729 % \end{macrocode}
730 % \descCom{cross}
731 % Prints a cross.
732 % \begin{macrocode}
733 \newcommand{\cross}{\ding{56}}
734 % \end{macrocode}
735 % \descCom{checkbox}
736 % Prints a checkbox.
737 % \begin{macrocode}
738 \newcommand{\checkbox}{\ding{114}}
739 % \end{macrocode}
740 % \descEnv{ticklist}
741 % A item environment which uses a tick as label
742 % (e.g. for lists of do's).
743 % \begin{macrocode}
744 \newenvironment{ticklist}
745 {\begin{dinglist}{52}}{\end{dinglist}}
746 % \end{macrocode}
747 % \descEnv{crosslist}
748 % A item environment which uses a cross as label
749 % (e.g. for lists of don't).
750 % \begin{macrocode}
751 \newenvironment{crosslist}
752 {\begin{dinglist}{56}}{\end{dinglist}}
753 % \end{macrocode}
754 % \descEnv{checklist}
755 % A item environment which uses a checkbox as label
756 % (e.g. for check lists).
757 % \begin{macrocode}
758 \newenvironment{checklist}
759 {\begin{dinglist}{114}}{\end{dinglist}}
760 \fi
761 % \end{macrocode}
762 % \subsubsection{The euro option}
763 % \descCom{E}
764 % Prints the Euro symbol \E.
765 % \descCom{Es\arg{value}}
766 % Prints the Euro symbol followed by \rarg{value}.
767 % \begin{macrocode}
768 \if@euro
769 \RequirePackage[right,notextcomp]{eurofont}
770 \newcommand{\E}{\textsf{\makefakelighteuro}\xspace}
771 \newcommand{\Es}[1]{\E\nobreak\,#1}
772 \fi
773 % \end{macrocode}
774 % \subsubsection{The fancyref option}
775 % Loads the |fancyref| package which provides the command
776 % |\fref|\arg{prefix:labelname}. This prints not only the number, but also
777 % the type of a reference. The following prefixes (types) are recognized:
778 % |chap| (Chapter),
779 % |sec| (Section),
780 % |eq| (Equation),
781 % |fig| (Figure),
782 % |tab| (Table),
783 % |enum| (Enumeration),
784 % |fn| (Footnote).
785 % At the beginning of a sentence use |\Fref| instead, which gives upper-case
786 % output (in German documents there is no difference).
787 % \begin{macrocode}
788 \if@fancyref
789 \RequirePackage{fancyref}
790 \fi
791 % \end{macrocode}
792 % \descCom{see\arg{reference}}
793 % Prints \q{see \rarg{reference}} in a footnote, using the |\fref| command
794 % to print \rarg{reference}.
795 % \begin{macrocode}
796 \newcommand{\seetext}{see}
797 \newcommand{\see}[1]{\footnote{\seetext\ \fref{#1}}}
798 % \end{macrocode}
799 % \subsubsection{The html option}
800 % \descCom{htlink\arg{linked text}\arg{url}}
801 % Prints \rarg{linked text} followed by the \rarg{url}. With the |paper|
802 % option, a footnote is used. In the HTML version
803 % \rarg{linked text} becomes an active link to \rarg{url}.
804 % \descCom{hturl\arg{url}}
805 % Prints \rarg{url} nice and makes it an active link in the
806 % HTML version.
807 % \descCom{htmail\arg{mail-adress}}
808 % Prints \rarg{mail-adress} nice and makes it an active email link in the
809 % HTML version.
810 % \begin{macrocode}
811 \if@html
812 %</class>
813 %<*hcletter>
814 \newcounter{part}
815 \newcounter{section}
816 \newcounter{subsection}
817 \newcounter{subsubsection}
818 \newcounter{paragraph}
819 \newcommand{\part}{}
820 \newcommand{\section}{}
821 \newcommand{\subsection}{}
822 \newcommand{\subsubsection}{}
823 \newcommand{\paragraph}{}
824 \newcommand{\subparagraph}{}
825 \RequirePackage{html}
826 \newcommand{\htlink}[2]
827 {{\htmladdnormallink{#1 \texttt{<#2>}}{#2}}}
828 %</hcletter>
829 %<*hcart|hcreport|hcslides>
830 \RequirePackage{html}
831 \if@paper
832 \newcommand{\htlink}[2]
833 {\htmladdnormallink{#1}{#2}%
834 \footnote{\htmladdnormallink{\texttt{#2}}{#2}}}
835 \else
836 \newcommand{\htlink}[2]
837 {{\htmladdnormallink{#1 \texttt{<#2>}}{#2}}}
838 \fi
839 %</hcart|hcreport|hcslides>
840 %<*class>
841 \newcommand{\hturl}[1]
842 {{\htmladdnormallink{\texttt{#1}}{#1}}}
843 \newcommand{\htmail}[1]
844 {{\htmladdnormallink{\texttt{#1}}{mailto:#1}}}
845 \fi
846 %</class>
847 % \end{macrocode}
848 % \subsection{Commands and Environments for the hcart and hcreport classes}
849 % The default depth of section numbering and table of contents is three.
850 % |headings| is the default page style. The page number is printed in the
851 % header line, the footer line is empty.
852 % \begin{macrocode}
853 %<*hcart|hcreport>
854 \setcounter{secnumdepth}{3}
855 \setcounter{tocdepth}{3}
856 \RequirePackage[breakwords]{truncate}
857 \newlength{\rightmarklength}
858 \def\ps@headings{\let\@mkboth\markboth
859 \def\@evenhead{\vbox{\hsize=\textwidth
860 \hb@xt@ \textwidth{%
861 {\pnumfont\thepage\hfil\headfont\truncate{0.92\textwidth}%
862 {\raggedleft\strut\leftmark}}}%
863 \if@hsl \vskip 1.5\p@ \hrule \fi}}
864 \def\@oddhead{\settowidth{\rightmarklength}{\rightmark}%
865 \vbox{\hsize=\textwidth
866 \hb@xt@ \textwidth{{\headfont\truncate{0.92\textwidth}%
867 {\strut\ifthenelse{\lengthtest{\rightmarklength=0em}}%
868 {\leftmark{}}{\rightmark{}}%
869 \hfil}\hfil\pnumfont\thepage}}%
870 \if@hsl \vskip 1.5\p@ \hrule \fi}}
871 \def\@evenfoot{\vbox{\hsize=\textwidth
872 \if@fsl \hrule \vskip 3\p@ \fi
873 \hb@xt@ \textwidth{{\pnumfont\hfil}}}}%
874 \def\@oddfoot{\vbox{\hsize=\textwidth
875 \if@fsl \hrule \vskip 3\p@ \fi
876 \hb@xt@ \textwidth{{\pnumfont\hfil}}}}%
877 %<hcreport> \def\chaptermark##1{%
878 %<hcreport> \markboth {\ifnum \c@secnumdepth >\m@ne
879 %<hcreport> \chaptermarkformat\fi
880 %<hcreport> ##1}{}}%
881 %<hcreport> \def\sectionmark##1{%
882 %<hcreport> \markright {\ifnum \c@secnumdepth >\z@
883 %<hcreport> \sectionmarkformat\fi
884 %<hcreport> ##1}}}
885 %<hcart> \def\sectionmark##1{%
886 %<hcart> \markboth {\ifnum \c@secnumdepth >\z@%
887 %<hcart> \sectionmarkformat\fi ##1}{}}
888 %<hcart> \def\subsectionmark##1{%
889 %<hcart> \markright {\ifnum \c@secnumdepth >\@ne%
890 %<hcart> \subsectionmarkformat\fi ##1}}}
891 \pagestyle{headings}
892 % \end{macrocode}
893 % \subsubsection{The hcarea option}
894 % \begin{macrocode}
895 \if@hcarea
896 \RequirePackage{typearea}
897 \areaset[15mm]{150mm}{240mm}
898 \fi
899 % \end{macrocode}
900 % \subsubsection{The hcfootnotes option}
901 % \begin{macrocode}
902 \if@hcfootnotes
903 \deffootnote{1em}{0.5em}
904 {\textsuperscript{\normalfont\thefootnotemark}\,}
905 \fi
906 % \end{macrocode}
907 % \subsubsection{The magazine option}
908 % \descCom{articletitle\arg{title}}
909 % Prints the article \rarg{title}.
910 % \descCom{subjecttitle\arg{subject}\arg{title}}
911 % Prints before the article \rarg{title} the \rarg{subject} in a smaller font.
912 % \descCom{titlesubject\arg{title}\arg{subject}}
913 % Prints after the article \rarg{title} the \rarg{subject} in a smaller font.
914 % \descCom{articlesection\arg{heading}}
915 % Prints a heading within an article (actually, a |\subsection*|).
916 % \descEnv[\oarg{signature}\arg{title}]{art}
917 % A magazine article set in two columns with a \rarg{title} (using
918 % |\articletitle|) and an optional \rarg{signature} (using |\sig|).
919 % Requires the |multicol| package.
920 % \descEnv[\oarg{signature}\arg{subject}\arg{title}]{artsubtit}
921 % Like the |art| environment, but uses |\subjecttitle| instead of
922 % |\articletitle|.
923 % \descEnv[\oarg{signature}\arg{title}\arg{subject}]{arttitsub}
924 % Like the |art| environment, but uses |\titlesubject| instead of
925 % |\articletitle|.
926 % \begin{macrocode}
927 \if@magazine
928 \RequirePackage{multicol}
929 \newcommand{\articletitle}[1]
930 {\addsec[#1]{\LARGE #1}}
931 \newcommand{\subjecttitle}[2]
932 {\addsec[#2]{{\large #1}\\{\LARGE #2}}}
933 \newcommand{\titlesubject}[2]
934 {\addsec[#1]{{\LARGE #1}\\{\large #2}}}
935 \newcommand{\articlesection}[1]{\subsection*{#1}}
936 \newcommand{\currentsig}{}
937 \newenvironment{@art}[2][]{%
938 \begin{multicols}{2}[#2]
939 \renewcommand{\currentsig}{#1}%
940 }{%
941 \ifthenelse{\equal{\currentsig}{}}
942 {}
943 {\sig{\currentsig}}
944 \end{multicols}%
945 }
946 \newenvironment{art}[2][]
947 {\begin{@art}[#1]{\articletitle{#2}}}{\end{@art}}
948 \newenvironment{artsubtit}[3][]
949 {\begin{@art}[#1]{\subjecttitle{#2}{#3}}}{\end{@art}}
950 \newenvironment{arttitsub}[3][]
951 {\begin{@art}[#1]{\titlesubject{#2}{#3}}}{\end{@art}}
952 \fi
953 % \end{macrocode}
954 % \subsubsection{The parskip option}
955 % \begin{macrocode}
956 \if@parskip
957 \setlength\parskip{\medskipamount}
958 \setlength\parindent{0pt}
959 \fi
960 % \end{macrocode}
961 % \subsubsection{The wide option}
962 % \begin{macrocode}
963 \if@wide
964 \linespread{1.3}
965 \fi
966 %</hcart|hcreport>
967 % \end{macrocode}
968 % \subsection{Commands and Environments for the hcart, hcreport and
969 % hcslides classes}
970 % \subsubsection{The bib option}
971 % With the |fnbib| option (default), the |\cite| and |\citet| and |\cite|
972 % commands all work the same.
973 %
974 % With the |autbib| option, |\cite| always works like |\citep|,
975 % i.\,e. puts the citation in brackets.
976 % Use |\citet| if you do not want this.
977 %
978 % Commands like |\cite| should always be used \emph{without} a space between
979 % them and the preceeding text.
980 % \begin{macrocode}
981 %<class>\newcommand{\bibliostyle}{hc-en}
982 %<*hcart|hcreport|hcslides>
983 \if@bib
984 \if@fnbib
985 \bibpunct[, ]{}{}{;}{a}{}{,}
986 \renewcommand\NAT@cite%
987 [3]{\footnote{\ifNAT@swa\NAT@@open\if*#2*\else#2\ \fi
988 #1\if*#3*\else\NAT@cmt#3\fi\NAT@@close\else#1\fi}\endgroup}
989 \let\@cite\NAT@cite
990 \fi
991 \if@autbib
992 \bibpunct[, ]{ [}{]}{;}{a}{}{,}
993 \let\cite\citep
994 \fi
995 \if@numbib
996 \bibpunct[, ]{ [}{]}{;}{n}{}{,}
997 \fi
998 % \end{macrocode}
999 % \descCom{cfcite\oarg{pages}\arg{source}}
1000 % Shortcut for |\cite|\oarg{\cftext}\oarg{pages}\arg{source}.
1001 % \begin{macrocode}
1002 \newcommand{\cfcite}[2][]{\cite[\cftext][#1]{#2}}
1003 % \end{macrocode}
1004 % \descCom{biblio\oarg{style}\arg{bib files}}
1005 % Writes the bibliography. \rarg{bib files} is a comma-separated list
1006 % of bib files, \rarg{style} the \BibTeX\ style file (by default
1007 % |hc-en| for English documents).
1008 % \begin{macrocode}
1009 %<hcart|hcslides>\if@paper
1010 %<hcart|hcslides> \newcommand{\beforebiblio}{\newpage}
1011 %<hcart|hcslides>\else
1012 %<hcart|hcslides> \newcommand{\beforebiblio}{\vfill}
1013 %<hcart|hcslides>\fi
1014 \newcommand{\biblio}[2][\bibliostyle]{%
1015 %<hcart|hcslides> \beforebiblio
1016 \bibliographystyle{#1}
1017 \bibliography{#2}%
1018 }
1019 % \end{macrocode}
1020 % \descCom{qu\oarg{pages}\arg{source}\arg{quotation}}
1021 % A \rarg{quotation} in quotes followed by the reference {[}\rarg{source},
1022 % \rarg{pages}{]}.
1023 % \begin{macrocode}
1024 \newcommand{\qu}[3][]{\q{#3}\cite[#1]{#2}}
1025 % \end{macrocode}
1026 % \descCom{qul\oarg{pages}\arg{source}\arg{quotation}}
1027 % Like |\qu| but inside a |quote| environment (for longer quotions).
1028 % \begin{macrocode}
1029 \newcommand{\qul}[3][]{\begin{quote}
1030 \qu[#1]{#2}{#3}
1031 \end{quote}}
1032 % \end{macrocode}
1033 % \descCom{biburl\arg{url}\arg{access date}}
1034 % \rarg{url} and \rarg{access date} of online documents.
1035 % For online-only documents use a \textsc{manual} entry with |\biburl|
1036 % in the \textsc{organization} field.
1037 % For other documents put it in the \textsc{note} field.
1038 % \begin{macrocode}
1039 \if@htmlbib
1040 \newcommand{\biburl}[2]{\onlinetext\\
1041 {\small\hturl{#1}}\\\accesstext\ #2}
1042 \else
1043 \newcommand{\biburl}[2]{\onlinetext\\
1044 {\small\texttt{#1}}\\\accesstext\ #2}
1045 \fi
1046 % \end{macrocode}
1047 % \descCom{bibdiv}
1048 % Separator between the title and subtitle of a document.
1049 % \begin{macrocode}
1050 \newcommand{\bibdiv}{. }
1051 % \end{macrocode}
1052 % \descCom{bibvol\oarg{separating word}\arg{volume number}\arg{serial title}}
1053 % Use at the end of the \textsc{title} field (without space before)
1054 % if the output of the \textsc{volume} and \textsc{series} fields
1055 % is not convincing. Interesting
1056 % especially for German documents where \q{der} instead of \q{von}
1057 % is used as \rarg{separating word} (English: \q{of}).
1058 % \begin{macrocode}
1059 \newcommand{\bibvol}[3][\bibvoltext]
1060 {\emph{, \bvtext~#2 #1} #3}
1061 % \end{macrocode}
1062 % \descCom{addrdiv}
1063 % Separator between different places in a \BibTeX\ entry's
1064 % \textsc{address} field.
1065 % \begin{macrocode}
1066 \newcommand{\addrdiv}{ -- }
1067 % \end{macrocode}
1068 % \descCom{etal\oarg{year}}
1069 % Ends a list (e.\,g. of places in a \BibTeX\ entry's \textsc{address} field)
1070 % which is not complete \mbox{(\q{\etal})}. A \rarg{year} can be given which
1071 % is printed afterwards.
1072 % \begin{macrocode}
1073 \newcommand{\etal}[1][]{ et~al%
1074 \ifthenelse{\equal{#1}{}}{}{. #1}%
1075 }
1076 % \end{macrocode}
1077 % \descCom{noyear\comdiv noaddress}
1078 % Use in the \textsc{year} resp. \textsc{address} field of a \BibTeX\ entry
1079 % when no year resp. address is known.
1080 % \minisec{The following commands are for movie databases
1081 % (use \textsc{manual} entry):}
1082 % \descCom{bibdir}
1083 % Give the director in the \textsc{author} field in the following way:\\
1084 % |Surname, \bibdir, Christian Name|
1085 % \descCom{bibmov\arg{country}\arg{studio}\arg{main actors}}
1086 % Put in the \textsc{organization} field.
1087 % \begin{macrocode}
1088 \newcommand{\bibmov}[3]{\bibmovtext\bibdiv\ #2, #1\bibdiv\
1089 \bibactorsbefore\ #3 \bibactorsafter}
1090 \fi
1091 % \end{macrocode}
1092 % \subsubsection{The pdf option}
1093 % \begin{macrocode}
1094 \newcommand{\hypertitle}{}
1095 \newcommand{\hyperauthor}{}
1096 \newcommand{\hyperabstract}{}
1097 \newcommand{\hyperkeywords}{}
1098 \if@pdf
1099 \AtEndOfClass{\RequirePackage[hyperindex,colorlinks=true,
1100 pdftex,latex2html,extension=pdf]{hyperref}}
1101 \AtBeginDocument{%
1102 \let\oldautdiv\autdiv
1103 \renewcommand{\autdiv}{, }
1104 \ifthenelse{\equal{\hypertitle}{}}
1105 {\renewcommand{\hypertitle}{\currenttitle}}{}
1106 \ifthenelse{\equal{\hyperauthor}{}}
1107 {\renewcommand{\hyperauthor}{\currentauthor}}{}
1108 \ifthenelse{\equal{\hyperabstract}{}}
1109 {\renewcommand{\hyperabstract}{\abstext}}{}
1110 \ifthenelse{\equal{\hyperkeywords}{}}
1111 {\renewcommand{\hyperkeywords}{\keywordstext}}{}
1112 \pdfinfo{
1113 /Title (\hypertitle)
1114 /Author (\hyperauthor)
1115 /Subject (\hyperabstract)
1116 /Keywords (\hyperkeywords)
1117 }
1118 \let\autdiv\oldautdiv
1119 }
1120 \fi
1121 %</hcart|hcreport|hcslides>
1122 % \end{macrocode}
1123 % \subsubsection{Title commands}
1124 % \descCom{toc}
1125 % Puts the table of contents at the end of the current page (i.e. after
1126 % a vertical fill and before a pagebreak).
1127 % With the |paper| option the table of contents is generated automatically,
1128 % so |\toc| does nothing at all.
1129 % \begin{macrocode}
1130 %<*hcart|hcslides>
1131 \if@paper
1132 \newcommand{\@toc}{%
1133 \newpage
1134 %<hcart> \thispagestyle{empty}
1135 %<hcslides> \slidepagestyle{HC}
1136 %<hcart> \if@wide \linespread{1} \fi
1137 \tableofcontents
1138 %<hcart> \if@wide \linespread{1.3} \fi
1139 \newpage%
1140 }
1141 \newcommand{\toc}{}
1142 \else
1143 \newcommand{\@toc}{%
1144 \vfill
1145 %<hcart> \thispagestyle{empty}
1146 %<hcslides> \slidepagestyle{HC}
1147 %<hcart> \if@wide \linespread{1} \fi
1148 \tableofcontents
1149 %<hcart> \if@wide \linespread{1.3} \fi
1150 \newpage%
1151 }
1152 \newcommand{\toc}{\@toc}
1153 \fi
1154 %</hcart|hcslides>
1155 %<*hcreport>
1156 \newcommand{\@toc}{
1157 \if@wide \linespread{1} \fi
1158 \tableofcontents
1159 \if@wide \linespread{1.3} \fi
1160 \thispagestyle{empty}
1161 }
1162 \if@paper
1163 \newcommand{\toc}{}
1164 \else
1165 \newcommand{\toc}{\@toc}
1166 \fi
1167 %</hcreport>
1168 % \end{macrocode}
1169 % \descCom{titsubinfo\arg{main title}\arg{sub title}\arg{more info}\comdiv
1170 % titsub\arg{main title}\arg{sub title}\comdiv
1171 % titinfo\arg{main title}\arg{more info}
1172 % }
1173 % They should be used in the premable --
1174 % call |\tit[ver]| or |\titaut[ver]| in the document body.
1175 % Use if your document has a main title and a sub title and/or you want to
1176 % give additional information. Leave
1177 % the \rarg{title} parameter of |\tit|\texttt{\qdots} empty.
1178 % \rarg{more info} is printed below the \rarg{(sub) title}
1179 % in a small font.
1180 % \begin{macrocode}
1181 %<*hcart|hcreport|hcslides>
1182 \if@paper
1183 \newcommand{\titsubinfo}[3]{
1184 \renewcommand{\defaulttitle}{%
1185 #1\vfill
1186 {\Large #2\vfill}
1187 \vfill {\normalsize #3\vfill}%
1188 }
1189 \renewcommand{\currenttitle}{#1}%
1190 }
1191 \newcommand{\titsub}[2]{
1192 \renewcommand{\defaulttitle}{%
1193 #1\vfill
1194 {\Large #2\vfill\vfill}%
1195 }
1196 \renewcommand{\currenttitle}{#1}%
1197 }
1198 \newcommand{\titinfo}[2]{
1199 \renewcommand{\defaulttitle}{%
1200 #1\vfill
1201 \vfill {\normalsize #2\vfill}%
1202 }
1203 \renewcommand{\currenttitle}{#1}%
1204 }
1205 \else
1206 \newcommand{\titsubinfo}[3]{
1207 \renewcommand{\defaulttitle}{#1\\[0.8ex]
1208 {\Large #2\\[0.8ex]}
1209 {\normalsize #3\\}%
1210 }
1211 \renewcommand{\currenttitle}{#1}%
1212 }
1213 \newcommand{\titsub}[2]{
1214 \renewcommand{\defaulttitle}{#1\\[0.8ex]
1215 {\Large #2\\[0.8ex]}%
1216 }
1217 \renewcommand{\currenttitle}{#1}%
1218 }
1219 \newcommand{\titinfo}[2]{
1220 \renewcommand{\defaulttitle}{#1\\[0.8ex]
1221 {\normalsize #2\\}%
1222 }
1223 \renewcommand{\currenttitle}{#1}%
1224 }
1225 \fi
1226 % \end{macrocode}
1227 % \descCom{autinfo\arg{author}\arg{address}\arg{email}\arg{homepage}}
1228 % Should be used in the premable --
1229 % call |\tit|, |\titaut| or |\titautver| in the document body.
1230 % Specifies information about the author (name, address, mail-address and
1231 % homepage). Use |\autdiv| resp. |\autinfodiv| instead of |\\|.
1232 % \begin{macrocode}
1233 \newcommand{\autinfo}[4]{%
1234 \renewcommand{\defaultauthor}{#1}
1235 \renewcommand{\defaultaddress}{#2}
1236 \renewcommand{\defaultemail}{#3}
1237 \renewcommand{\defaulthomepage}{#4}
1238 \renewcommand{\currentauthor}{#1}
1239 }
1240 % \end{macrocode}
1241 % \descCom{abs\oarg{other-language abstract}\arg{abstract}}
1242 % Should be used in the premable --
1243 % call |\tit|, |\titaut| or |\titautver| in the document body.
1244 % Prints an abstract text. Optionally an additional abstract in another
1245 % language is printed below. The title of the other-language abstract
1246 % may be changed by redefining |\otherabstractname|. By default
1247 % \q{\otherabstractname} is used (German).
1248 % \begin{macrocode}
1249 \newcommand{\abstext}{}
1250 \newcommand{\otherabstext}{}
1251 \newcommand{\abs}[2][]{%
1252 \renewcommand{\otherabstext}{#1}
1253 \renewcommand{\abstext}{#2}
1254 }
1255 % \end{macrocode}
1256 % \descCom{keywords\arg{keywords}}
1257 % Should be used in the premable --
1258 % call |\tit|, |\titaut| or |\titautver| in the document body.
1259 % Prints a list of keywords.
1260 % \begin{macrocode}
1261 \newcommand{\keywordstext}{}
1262 \newcommand{\keywords}[1]{%
1263 \renewcommand{\keywordstext}{#1}
1264 }
1265 % \end{macrocode}
1266 % \descCom{hyperinfo\arg{title}\arg{author}\arg{abstract}\arg{keywords}}
1267 % An alternative way to specify document information for the PDF version.
1268 % Use when the default document information extracted from
1269 % |\tit[sub][info]|, |\autinfo|,
1270 % |\abs| and |\keywords| does not work as it should.
1271 % If one of the parameters is left empty the default information
1272 % is used instead.
1273 % Do not use any formatting or special commands.
1274 % Must be used in the premable. Without the |pdf| option this command
1275 % is ignored.
1276 % \begin{macrocode}
1277 \if@pdf
1278 \newcommand{\hyperinfo}[4]{
1279 \renewcommand{\hypertitle}{#1}
1280 \renewcommand{\hyperauthor}{#2}
1281 \renewcommand{\hyperabstract}{#3}
1282 \renewcommand{\hyperkeywords}{#4}
1283 }
1284 \else
1285 \newcommand{\hyperinfo}[4]{}
1286 \fi
1287 % \end{macrocode}
1288 % \descCom{titaut\oarg{date}\arg{title}\arg{author}}
1289 % Replacement for:
1290 % |\title|\arg{title}
1291 % |\author|\arg{author}
1292 % |\date|\arg{date}
1293 % |\maketitle|\\
1294 % Default date is |\today|. With the |paper| option, a titlepage and
1295 % a table of contents are generated.
1296 % \begin{macrocode}
1297 \if@paper
1298 \newcommand{\titaut}[3][\today]{%
1299 %<hcart|hcreport> \if@wide \linespread{1} \fi
1300 %<hcslides> \slidepagestyle{empty}\setcounter{slide}{0}
1301 \ifthenelse{\equal{#2}{}}
1302 {}
1303 {\renewcommand{\defaulttitle}{#2}
1304 \renewcommand{\currenttitle}{#2}}
1305 \title{\normalfont\huge \defaulttitle \vfill}
1306 \ifthenelse{\equal{#3}{}}
1307 {}
1308 {\renewcommand{\defaultauthor}{#3}
1309 \renewcommand{\currentauthor}{#3}}
1310 \author{\normalfont\Large \defaultauthor\\[0.8ex]
1311 \normalfont\normalsize \defaultaddress\\[0.4ex]
1312 \normalfont\normalsize
1313 \htmladdnormallink{\defaultemail}{mailto:\defaultemail}\\[-1ex]
1314 \normalfont\normalsize
1315 \htmladdnormallink{\defaulthomepage}{\defaulthomepage}
1316 }
1317 \date{\vfill\vfill \normalfont\normalsize #1}
1318 %<hcreport> \lowertitleback{%
1319 %<hcreport> \ifthenelse{\equal{\otherabstext}{}}{}%
1320 %<hcreport> {\minisec{\centering\abstractname}
1321 %<hcreport> \abstext}%
1322 %<hcreport> \ifthenelse{\equal{\otherabstext}{}}{}%
1323 %<hcreport> {\minisec{\centering\otherabstractname}
1324 %<hcreport> \otherabstext}%
1325 %<hcreport> \ifthenelse{\equal{\keywordstext}{}}{}%
1326 %<hcreport> {\minisec{\centering\keywordsname}
1327 %<hcreport> \cen{\keywordstext}}%
1328 %<hcreport> }
1329 \maketitle
1330 \ifthenelse{\isundefined{\currentdate}}
1331 {\newcommand{\currentdate}{#1}}{}
1332 %<hcart|hcslides> \setcounter{page}{0}
1333 %<hcart|hcslides> \thispagestyle{empty}
1334 %<hcart|hcslides> \ifthenelse{\equal{\abstext}{}}{%
1335 %<hcart|hcslides> \ifthenelse{\equal{\keywordstext}{}}{}{
1336 %<hcart|hcslides> \vfill\vfill
1337 %<hcart|hcslides> \minisec{\centering\keywordsname}
1338 %<hcart|hcslides> \cen{\keywordstext}}
1339 %<hcart|hcslides> }{%
1340 %<hcart|hcslides> \vfill\vfill
1341 %<hcart|hcslides> \minisec{\centering\abstractname}
1342 %<hcart|hcslides> \abstext
1343 %<hcart|hcslides> \ifthenelse{\equal{\otherabstext}{}}{}
1344 %<hcart|hcslides> {\minisec{\centering\otherabstractname}
1345 %<hcart|hcslides> \otherabstext}
1346 %<hcart|hcslides> \ifthenelse{\equal{\keywordstext}{}}{}
1347 %<hcart|hcslides> {\minisec{\centering\keywordsname}
1348 %<hcart|hcslides> \cen{\keywordstext}}
1349 %<hcart|hcslides> }
1350 \setcounter{page}{0}
1351 \thispagestyle{empty}
1352 \@toc%
1353 %<hcart|hcreport> \if@wide \linespread{1.3} \fi
1354 %<hcslides> \slidepagestyle{HC}%
1355 }
1356 \else
1357 \newcommand{\titaut}[3][\today]{%
1358 %<hcart|hcreport> \if@wide \linespread{1} \fi
1359 %<hcslides> \slidepagestyle{empty}\setcounter{slide}{0}
1360 \ifthenelse{\equal{#2}{}}
1361 {}
1362 {\renewcommand{\defaulttitle}{#2}
1363 \renewcommand{\currenttitle}{#2}}
1364 \title{\normalfont\huge \defaulttitle}
1365 \ifthenelse{\equal{#3}{}}
1366 {}
1367 {\renewcommand{\defaultauthor}{#3}
1368 \renewcommand{\currentauthor}{#3}}
1369 \author{\normalfont\Large \defaultauthor}
1370 \date{\normalfont\normalsize #1}
1371 %<hcreport> \lowertitleback{%
1372 %<hcreport> \ifthenelse{\equal{\otherabstext}{}}{}%
1373 %<hcreport> {\minisec{\centering\abstractname}
1374 %<hcreport> \abstext}%
1375 %<hcreport> \ifthenelse{\equal{\otherabstext}{}}{}%
1376 %<hcreport> {\minisec{\centering\otherabstractname}
1377 %<hcreport> \otherabstext}%
1378 %<hcreport> \ifthenelse{\equal{\keywordstext}{}}{}%
1379 %<hcreport> {\minisec{\centering\keywordsname}
1380 %<hcreport> \cen{\keywordstext}}%
1381 %<hcreport> }
1382 \maketitle
1383 \ifthenelse{\isundefined{\currentdate}}
1384 {\newcommand{\currentdate}{#1}}{}
1385 %<hcart|hcslides> \setcounter{page}{0}
1386 %<hcart|hcslides> \thispagestyle{empty}
1387 %<hcart|hcslides> \ifthenelse{\equal{\abstext}{}}{}{
1388 %<hcart|hcslides> \minisec{\centering\abstractname}
1389 %<hcart|hcslides> \abstext
1390 %<hcart|hcslides> \ifthenelse{\equal{\otherabstext}{}}{}
1391 %<hcart|hcslides> {\minisec{\centering\otherabstractname}
1392 %<hcart|hcslides> \otherabstext}
1393 %<hcart|hcslides> }
1394 %<hcart|hcslides> \ifthenelse{\equal{\keywordstext}{}}{}
1395 %<hcart|hcslides> {\minisec{\centering\keywordsname}
1396 %<hcart|hcslides> \cen{\keywordstext}}
1397 \setcounter{page}{0}
1398 \thispagestyle{empty}%
1399 %<hcart|hcreport> \if@wide \linespread{1.3} \fi
1400 %<hcslides> \newpage\slidepagestyle{HC}%
1401 }
1402 \fi
1403 % \end{macrocode}
1404 % \descCom{tit\oarg{date}\arg{title}}
1405 % Calls |\titaut| with the default author information.
1406 % \begin{macrocode}
1407 \newcommand{\tit}[2][\today]{\titaut[#1]{#2}{}}
1408 % \end{macrocode}
1409 % \descCom{titautver\oarg{version
1410 % date}\arg{title}\arg{author}\arg{general date}}
1411 % Prints a general date (e.g. of first release) and a version date
1412 % (default: |\today|).
1413 % \begin{macrocode}
1414 \newcommand{\titautver}[4][\today]{
1415 \newcommand{\currentdate}{#1}%
1416 \titaut[#4\\\versiontext\ #1]{#2}{#3}
1417 }
1418 % \end{macrocode}
1419 % \descCom{titver\oarg{version date}\arg{title}\arg{general date}}
1420 % Calls |\titautver| with the default author information.
1421 % \begin{macrocode}
1422 \newcommand{\titver}[3][\today]{\titautver[#1]{#2}{}{#3}}
1423 % \end{macrocode}
1424 % \subsubsection{Sectioning Commands}
1425 % \descCom{fictionsec}
1426 % A sectioning command producing just a number, no text -- useful e.g.
1427 % for fiction without section headings.
1428 % When a new |\section| starts the counter is reset.
1429 % \begin{macrocode}
1430 \newcounter{fictionsec}[section]
1431 \newcommand{\fictionsec}{\addtocounter{fictionsec}{1}%
1432 \subsection*{\centering\thefictionsec}}
1433 %</hcart|hcreport|hcslides>
1434 % \end{macrocode}
1435 % \subsection{Commands and Environments for the hcart class}
1436 % A |\part| command starts a new page.
1437 % \begin{macrocode}
1438 %<*hcart>
1439 \renewcommand\part{\clearpage
1440 \@afterindentfalse
1441 \secdef\@part\@spart}
1442 %</hcart>
1443 % \end{macrocode}
1444 % \subsection{Settings for the hcletter class}
1445 % No fold marks are printed.
1446 % \begin{macrocode}
1447 %<*hcletter>
1448 \foldmarksoff
1449 %</hcletter>
1450 % \end{macrocode}
1451 % \subsection{Commands and Environments for the hcreport class}
1452 % The first page of a chapter and the title page of a part do not
1453 % have a page number.
1454 % \begin{macrocode}
1455 %<*hcreport>
1456 \renewcommand\chapter
1457 {\if@openright\cleardoublepage\else\clearpage\fi
1458 \thispagestyle{empty}%
1459 \global\@topnum\z@
1460 \@afterindentfalse
1461 \secdef\@chapter\@schapter}
1462 \renewcommand\addchap
1463 {\if@openright\cleardoublepage\else\clearpage\fi
1464 \thispagestyle{empty}%
1465 \global\@topnum\z@
1466 \@afterindentfalse
1467 \secdef\@addchap\@saddchap}
1468 \renewcommand\part
1469 {\if@openright\cleardoublepage\else\clearpage\fi
1470 \thispagestyle{empty}%
1471 \if@twocolumn
1472 \onecolumn
1473 \@tempswatrue
1474 \else
1475 \@tempswafalse
1476 \fi
1477 \null\vfil
1478 \secdef\@part\@spart}
1479 %</hcreport>
1480 % \end{macrocode}
1481 % \subsection{Commands and Environments for the hcslides class}
1482 % A new page is started by a section or manually with the |\newslide|
1483 % command.
1484 %
1485 % Everything is printed sans serif.
1486 % The |HC| pagestyle is always used.
1487 % The |fancybox| package is required for drawing an shadowed box around
1488 % sections.
1489 % \descCom{addsec\oarg{toc-entry}\arg{heading}}
1490 % For compatibily with the |hcart| and |hcreport| classes.
1491 % Should always be used instead of the |\section*| command.
1492 % \descCom{minisec\arg{heading}}
1493 % For compatibily with the |hcart| and |hcreport| classes.
1494 % Sectioning level between |\subsubsection| and |\paragraph|.
1495 % \begin{macrocode}
1496 %<*hcslides>
1497 \AtBeginDocument{\begin{slide}}
1498 \AtEndDocument{\end{slide}}
1499 \renewcommand{\rmdefault}{\sfdefault}
1500 \raggedslides[5em]
1501 \newcommand{\addsec}[2][]{%
1502 \section*{#2}
1503 \ifthenelse{\equal{#1}{}}
1504 {\addcontentsline{toc}{section}{#2}}
1505 {\addcontentsline{toc}{section}{#1}}%
1506 }
1507 \newcommand\minisec[1]{\@afterindentfalse \vskip 1.5ex
1508 {\parindent \z@ \raggedright\sffamily\bfseries #1\par\nobreak}%
1509 \@afterheading}
1510 \setlength{\slideheight}{0.74\paperwidth}
1511 \setlength{\slidewidth}{0.84\paperheight}
1512 \renewcommand{\slidetopmargin}{0.12\paperwidth}
1513 \renewcommand{\slidebottommargin}{0.12\paperwidth}
1514 \renewcommand{\slideleftmargin}{0.08\paperheight}
1515 \renewcommand{\sliderightmargin}{0.08\paperheight}
1516 \slideframe{none}
1517 \AtBeginDocument{
1518 \ifthenelse{\equal{\defaultemail}{}}
1519 {\newcommand{\@email}{}}
1520 {\newcommand{\@email}
1521 { \texttt{<}\htmail{\defaultemail}\texttt{>}}}
1522 \newpagestyle{HC}%
1523 {\parbox[b]{\textwidth}%
1524 {\currenttitle\hfill\currentdate\\[-.6ex]%
1525 \rule{\textwidth}{0.6pt}}}
1526 {\parbox[t]{\textwidth}{\rule{\textwidth}{0.6pt}\\[.6ex]%
1527 \renewcommand{\autdiv}{, }%
1528 \currentauthor\@email\hfill\thepage}}
1529 \pagestyle{HC}
1530 }
1531 \RequirePackage{fancybox}
1532 \setcounter{tocdepth}{3}
1533 \renewcommand\section{\@startsection {section}{1}{\z@}%
1534 {-3.5ex \@plus -1ex \@minus -.2ex}%
1535 {2.3ex \@plus.2ex}%
1536 {\newslide\normalfont\Large\bfseries\shadowbox}}
1537 \renewcommand\part{\clearpage
1538 \if@twocolumn
1539 \onecolumn
1540 \@tempswatrue
1541 \else
1542 \@tempswafalse
1543 \fi
1544 \secdef\@part\@spart}
1545 % \end{macrocode}
1546 % \subsubsection{The twotoc option}
1547 % \begin{macrocode}
1548 \if@twotoc
1549 \RequirePackage{multicol}
1550 \renewcommand*\tableofcontents{%
1551 \newlength{\old@columnseprule}
1552 \setlength{\old@columnseprule}{\columnseprule}
1553 \setlength{\columnseprule}{0.4pt}
1554 \begin{multicols}{2}[\section*{\contentsname}]
1555 \@starttoc{toc}%
1556 \end{multicols}
1557 \setlength{\columnseprule}{\old@columnseprule}
1558 }
1559 \fi
1560 %</hcslides>
1561 % \end{macrocode}
1562 % \section{German Language Definitions}
1563 % The |babel| package is loaded with the new German orthograpy (option
1564 % |ngerman|: this requires a rather new version of |babel|). The commands
1565 % |\q|, |\hq|, |\dash|, |\Es| and |\shorttoday|
1566 % are adapted to the German typography. The |\enge| command is redefined.
1567 % The German \BibTeX\ style |hc-de| is used by default.
1568 % The language specific texts are redefined. The German redefinitions of the
1569 % |varioref| package do not seem to work, so the are repeated.
1570 % \begin{macrocode}
1571 %<*german>
1572 \addto{\captionsngerman}{%
1573 \renewcommand{\nextstartq}{\guillemotright}
1574 \renewcommand{\nextendq}{\guillemotleft}
1575 \renewcommand{\otherstartq}{\guilsinglright}
1576 \renewcommand{\otherendq}{\guilsinglleft}
1577 \renewcommand{\hq}[1]{\guilsinglright{}#1\guilsinglleft{}}
1578 \renewcommand{\fq}[1]{\guillemotright{}#1\guillemotleft{}}
1579 \renewcommand{\dash}[1]{--~#1~--}
1580 \renewcommand{\shorttoday}
1581 {\the\day.\the\month.\two@digits{\theshortyear}\xspace}
1582 \renewcommand{\enge}[2]{#2}
1583 \renewcommand{\bibliostyle}{hc-de}
1584 \renewcommand{\contentsname}{Inhalt}
1585 \renewcommand{\versiontext}{Version vom}
1586 \renewcommand{\accesstext}{Zugriff am}
1587 \renewcommand{\cftext}{vgl.}
1588 \renewcommand{\bibvoltext}{der}
1589 \renewcommand{\bvtext}{Bd.}
1590 \renewcommand{\bibdir}{Regie }
1591 \renewcommand{\bibmovtext}{Spielfilm}
1592 \renewcommand{\bibactorsbefore}{Mit}
1593 \renewcommand{\bibactorsafter}{u.a}
1594 \renewcommand{\noyear}{o.J.}
1595 \renewcommand{\noaddress}{o.O.}
1596 \renewcommand{\otherabstractname}{Abstract}
1597 \renewcommand{\keywordsname}{Schl\"usselw\"orter}
1598 \renewcommand{\seetext}{siehe}
1599 }
1600 \if@euro
1601 \addto{\captionsngerman}{%
1602 \renewcommand{\Es}[1]{#1\nobreak\,\E}
1603 }
1604 \fi
1605 \if@fancyref
1606 \def\reftextfaceafter {auf der n\"achsten Seite}%
1607 \def\reftextfacebefore{auf der vorherigen Seite}%
1608 \let\reftextafter \reftextfaceafter
1609 \let\reftextbefore \reftextfacebefore
1610 \def\reftextcurrent {auf dieser Seite}%
1611 \def\reftextfaraway#1{auf Seite~\pageref{#1}}%
1612 \def\reftextpagerange#1#2{auf
1613 Seiten~\pageref{#1}--\pageref{#2}}%
1614 \def\reftextlabelrange#1#2{\ref{#1} bis~\ref{#2}}%
1615 \fi
1616 %</german>
1617 % \end{macrocode}
1618 %
1619 % \StopEventually
1620 % \Finale
1621 %
1622 \endinput
1623 %
1624 % End of File `hc.dtx'