summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bgteubner
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-04-09 17:06:36 +0000
committerKarl Berry <karl@freefriends.org>2012-04-09 17:06:36 +0000
commitd07c8d47209341d677012804bf39382e7201943f (patch)
tree0ed21174f68333bd643c464ab609546510e938fb /Master/texmf-dist/tex/latex/bgteubner
parentb2d9bdf22108173c04fbf491122cb81daa8750af (diff)
bgteubner (8apr12)
git-svn-id: svn://tug.org/texlive/trunk@25892 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bgteubner')
-rw-r--r--Master/texmf-dist/tex/latex/bgteubner/bgteubner.cls2325
-rw-r--r--Master/texmf-dist/tex/latex/bgteubner/hhfixme.sty491
-rw-r--r--Master/texmf-dist/tex/latex/bgteubner/hhsubfigure.sty406
-rw-r--r--Master/texmf-dist/tex/latex/bgteubner/ptmxcomp.sty300
4 files changed, 3522 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/bgteubner/bgteubner.cls b/Master/texmf-dist/tex/latex/bgteubner/bgteubner.cls
new file mode 100644
index 00000000000..db5368b4c83
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/bgteubner/bgteubner.cls
@@ -0,0 +1,2325 @@
+%%
+%% This is file `bgteubner.cls',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% bgteucls.dtx (with options: `class')
+%%
+%% bgteubner class bundle
+%%
+%% Copyright 2003--2012 Harald Harders
+%%
+%% This program may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your opinion) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 1999/12/01 or later.
+%%
+%% Additional conditions to the license:
+%%
+%% If you modify a renamed copy of the files `bgteubner.cls' or
+%% `bgteucls.dtx', you have to preserve some information in the
+%% PDF /Creator entry. The following data have to remain:
+%% - The name `bgteubner.cls',
+%% - a hint that this class has been developed for the `Teubner
+%% Verlag, Wiesbaden, Germany'.
+%%
+%% This program consists of all files listed in manifest.txt.
+%%
+%% harald.harders@gmx.de
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{bgteubner}
+ [2012/04/07 v2.02 Springer Vieweg Verlag]
+\typeout{^^J^^JDokumentklasse zum Erstellen von Buechern fuer den
+ Springer Vieweg Verlag, Wiesbaden}%
+\typeout{(vormals Vieweg+Teubner Verlag, B. G. Teubner Verlag).}%
+\typeout{Erstellt im Auftrag des B. G. Teubner Verlags von}%
+\typeout{Harald Harders (harald.harders@gmx.de).^^J}%
+\typeout{Beachten Sie die Dokumentation in den unterschiedlichen
+ Versionen:}%
+\typeout{\space\space bgteubner-17x24-times.pdf\space\space Times,
+ 17cm x 24cm,}%
+\typeout{\space\space
+ bgteubner-17x24-cm.pdf\space\space\space\space\space European
+ Computer Modern, 17cm x 24cm,}%
+\typeout{\space\space
+ bgteubner-a5-times.pdf\space\space\space\space\space Times, DIN-A 5,}%
+\typeout{\space\space
+ bgteubner-a5-cm.pdf\space\space\space\space\space \space\space\space
+ European Computer Modern, DIN-A 5.}%
+\typeout{^^JDocument class to produce books for the Springer Vieweg
+ Verlag, Wiesbaden, Germany}%
+\typeout{(formerly Vieweg+Teubner Verlag, B. G. Teubner Verlag).}%
+\typeout{Made by Harald Harders (harald.harders@gmx.de).}%
+\typeout{Documentation is available in German only.^^J^^J}%
+\newcommand\hhcls@onefilewithoptions{}
+\let\hhcls@onefilewithoptions\@onefilewithoptions
+\AtEndOfClass{\let\@onefilewithoptions\hhcls@onefilewithoptions}
+\def\@onefilewithoptions#1[#2][#3]#4{%
+ \@pushfilename
+ \xdef\@currname{#1}%
+ \global\let\@currext#4%
+ \expandafter\let\csname\@currname.\@currext-h@@k\endcsname\@empty
+ \let\CurrentOption\@empty
+ \@reset@ptions
+ \makeatletter
+ \def\reserved@a{%
+ \@ifl@aded\@currext{#1}%
+ {\@if@ptions\@currext{#1}{#2}{}%
+ {\@latex@error
+ {Option clash for \@cls@pkg\space #1}%
+ {The package #1 has already been loaded
+ with options:\MessageBreak
+ \space\space[\@ptionlist{#1.\@currext}]\MessageBreak
+ There has now been an attempt to load it
+ with options\MessageBreak
+ \space\space[#2]\MessageBreak
+ Adding the global options:\MessageBreak
+ \space\space
+ \@ptionlist{#1.\@currext},#2\MessageBreak
+ to your \noexpand\documentclass declaration may fix this.%
+ \MessageBreak
+ Try typing \space <return> \space to proceed.}}}%
+ {\@pass@ptions\@currext{#2}{#1}%
+ \global\expandafter
+ \let\csname ver@\@currname.\@currext\endcsname\@empty
+ \InputIfFileExists
+ {\@currname.\@currext}%
+ {}%
+ {\@missingfileerror\@currname\@currext}%
+ \let\@unprocessedoptions\@@unprocessedoptions
+ \csname\@currname.\@currext-h@@k\endcsname
+ \expandafter\let\csname\@currname.\@currext-h@@k\endcsname
+ \@undefined
+ \@unprocessedoptions}
+ \@ifl@ter\@currext{#1}{#3}{}%
+ {\@latex@error
+ {You have requested,\on@line,
+ version\MessageBreak
+ `#3' of \@cls@pkg\space #1,\MessageBreak
+ but only version\MessageBreak
+ `\csname ver@#1.\@currext\endcsname'\MessageBreak
+ is available}{%
+ The bgteubner class is more restrictive with old packages than^^J%
+ standard LaTeX. Please update the specified package. New^^J%
+ packages may be downloaded from CTAN, e.g., ftp://ftp.dante.de.}}%
+ \ifx\@currext\@clsextension\let\LoadClass\@twoloadclasserror\fi
+ \@popfilename
+ \@reset@ptions}%
+ \reserved@a}
+\PassOptionsToClass{smallheadings}{scrbook}
+\PassOptionsToClass{bibtotoc,idxtotoc,liststotoc}{scrbook}
+\PassOptionsToClass{fleqn}{scrbook}
+\PassOptionsToPackage{fleqn}{amsmath}
+\PassOptionsToPackage{intlimits}{amsmath}
+\PassOptionsToClass{pointlessnumbers}{scrbook}
+\PassOptionsToClass{cleardoubleempty}{scrbook}
+\PassOptionsToClass{headnosepline}{scrbook}
+\PassOptionsToClass{noappendixprefix}{scrbook}
+\PassOptionsToClass{tablecaptionabove}{scrbook}
+\PassOptionsToPackage{pagesize,headinclude}{typearea}
+\newif\ifhhcls@dinafuenf
+\DeclareOption{a5paper}{\hhcls@dinafuenftrue}
+\DeclareOption{a5}{\hhcls@dinafuenftrue}
+\DeclareOption{17x24paper}{\hhcls@dinafuenffalse}
+\DeclareOption{17x24}{\hhcls@dinafuenffalse}
+\newif\ifhhcls@times
+\newif\ifhhcls@mathtime
+\DeclareOption{times}{\hhcls@timestrue}
+\DeclareOption{mathtime}{\hhcls@timestrue\hhcls@mathtimetrue}
+\DeclareOption{cm}{\hhcls@timesfalse}
+\newif\ifhhcls@headingoutside
+\DeclareOption{headingoutside}{\hhcls@headingoutsidetrue}
+\DeclareOption{headinginside}{\hhcls@headingoutsidefalse}
+\newif\ifhhcls@tocindent
+\DeclareOption{tocindent}{\hhcls@tocindenttrue}
+\DeclareOption{tocleft}{\hhcls@tocindentfalse}
+\DeclareOption{arrowvec}{\PassOptionsToPackage{arrow}{hhtensor}}
+\DeclareOption{boldvec}{\PassOptionsToPackage{bold}{hhtensor}}
+\DeclareOption{ulinevec}{\PassOptionsToPackage{uline}{hhtensor}}
+\newif\ifhhcls@greybox
+\DeclareOption{greybox}{\hhcls@greyboxtrue}
+\DeclareOption{graybox}{\hhcls@greyboxtrue}
+\newif\ifhhcls@theoremsmall
+\DeclareOption{smalltheorem}{\hhcls@theoremsmalltrue}
+\DeclareOption{normaltheorem}{\hhcls@theoremsmallfalse}
+\newif\ifhhcls@entwurf
+\newif\ifhhcls@titlepage
+\DeclareOption{draft}{\hhcls@entwurftrue\hhcls@titlepagetrue}
+\DeclareOption{titlepage}{\hhcls@titlepagetrue}
+\DeclareOption{epsfigures}{%
+ \ifpdf
+ \ClassWarning{bgteubner}{Class option `epsfigures' ignored
+ for pdf output}%
+ \else
+ \ClassWarning{bgteubner}{Class option `epsfigures' ignored for dvi
+ output. eps figures are now included without this option}%
+ \fi
+}
+\newif\if@exercisetotoc
+\DeclareOption{exercisetotoc}{\@exercisetotoctrue}
+\newif\if@answertotoc
+\DeclareOption{answertotoc}{\@exercisetotoctrue\@answertotoctrue}
+\newcommand\hhcls@publisher{}
+\DeclareOption{springervieweg}{\def\hhcls@publisher{%
+ Springer Vieweg Verlag\quad Wiesbaden%
+}}
+\DeclareOption{viewegteubner}{\def\hhcls@publisher{%
+ Vieweg+Teubner\quad Stuttgart $\cdot$ Leipzig $\cdot$ Wiesbaden%
+}}
+\DeclareOption{bgteubner}{\def\hhcls@publisher{%
+ B.~G.\ Teubner\quad Stuttgart $\cdot$ Leipzig $\cdot$ Wiesbaden%
+}}
+\ExecuteOptions{times,headingoutside,17x24,tocindent,%
+ normaltheorem,springervieweg}
+\ProcessOptions\relax
+\PassOptionsToClass{10pt}{scrbook}
+\LoadClass{scrbook}[2003/04/22]
+\let\scr@fnt@wrn@pagehead=\@undefined
+\let\scr@fnt@wrn@pagefoot=\@undefined
+\RequirePackage{fixltx2e}[2000/09/24]
+\RequirePackage{wasysym}[2003/05/31]
+\let\iint=\@undefined
+\let\iiint=\@undefined
+\let\iiiint=\@undefined
+\RequirePackage{amsmath}[2000/07/18]
+\RequirePackage{amsfonts}[2001/10/25]
+\RequirePackage{amssymb}[2002/01/22]
+\RequirePackage{booktabs}[2003/03/28]
+\RequirePackage{array}[1998/05/13]
+\RequirePackage{longtable}[2000/10/22]
+\RequirePackage[T1]{fontenc}[2001/06/05]
+\ifhhcls@times
+ \ifhhcls@mathtime
+ \RequirePackage[slantedgreek,mtbold]{mathtime}[1999/03/29]
+ \else
+ \RequirePackage[slantedGreek]{mathptmx}[2003/03/02]
+ \fi
+ \RequirePackage[scaled=0.92]{helvet}[2003/03/02]
+ \RequirePackage{courier}[2003/03/02]
+ \renewcommand\bfdefault{b}
+ \newcommand\newstylenums{}
+ \thinmuskip=3mu
+\else
+ \RequirePackage[origtt]{hfoldsty}[2003/10/12]
+\fi
+\renewcommand*\oldstylenums{%
+ \ClassWarning{bgteubner}{\string\oldstylenums\space is ignored}%
+}
+\RequirePackage{textcomp}[2001/06/05]
+\RequirePackage[rmdefault]{mathcomp}[2001/01/07]
+\ifhhcls@times
+ \RequirePackage{ptmxcomp}[2004/03/07]
+ \ifhhcls@mathtime
+ \else
+ \renewcommand*\boldmath{%
+ \ClassError{bgteubner}{With the base font Times, bold math is
+ undefined\MessageBreak
+ (when not using MathTime math extensions)}{%
+ Avoid using bold math or buy the MathTime and MathTimePlus
+ fonts by Y\&Y.}%
+ }
+ \fi
+\fi
+\RequirePackage[hang,RaggedRight]{hhsubfigure}[2003/09/14]
+\RequirePackage{ragged2e}[2003/01/26]
+\ifhhcls@times
+\else
+ \RequirePackage{exscale}[1997/06/16]
+\fi
+\RequirePackage{graphicx}[1999/02/16]
+\RequirePackage{color}[1999/02/16]
+\RequirePackage{framed}[2003/07/19]
+\RequirePackage{hhtensor}[2003/10/09]
+\RequirePackage{makeidx}[2000/03/29]
+\RequirePackage{mdwlist}[1996/05/02]
+\RequirePackage{paralist}[2002/03/18]
+\RequirePackage{ifthen}[2001/05/26]
+\RequirePackage{ifpdf}[2001/06/14]
+\ifhhcls@times
+ \ifhhcls@mathtime
+ \DeclareMathSymbol\Gamma {\mathalpha}{letters}{0}
+ \DeclareMathSymbol\Delta {\mathalpha}{letters}{1}
+ \DeclareMathSymbol\Theta {\mathalpha}{letters}{2}
+ \DeclareMathSymbol\Lambda {\mathalpha}{letters}{3}
+ \DeclareMathSymbol\Xi {\mathalpha}{letters}{4}
+ \DeclareMathSymbol\Pi {\mathalpha}{letters}{5}
+ \DeclareMathSymbol\Sigma {\mathalpha}{letters}{6}
+ \DeclareMathSymbol\Upsilon {\mathalpha}{letters}{7}
+ \DeclareMathSymbol\Phi {\mathalpha}{letters}{8}
+ \DeclareMathSymbol\Psi {\mathalpha}{letters}{9}
+ \DeclareMathSymbol\Omega {\mathalpha}{letters}{10}
+ \DeclareMathSymbol\upGamma {\mathord}{letters}{48}
+ \DeclareMathSymbol\upDelta {\mathord}{letters}{49}
+ \DeclareMathSymbol\upTheta {\mathord}{letters}{50}
+ \DeclareMathSymbol\upLambda {\mathord}{letters}{51}
+ \DeclareMathSymbol\upXi {\mathord}{letters}{52}
+ \DeclareMathSymbol\upPi {\mathord}{letters}{53}
+ \DeclareMathSymbol\upSigma {\mathord}{letters}{54}
+ \DeclareMathSymbol\upUpsilon{\mathord}{letters}{55}
+ \DeclareMathSymbol\upPhi {\mathord}{letters}{56}
+ \DeclareMathSymbol\upPsi {\mathord}{letters}{57}
+ \DeclareMathSymbol\upOmega {\mathord}{letters}{127}
+ \fi
+\else
+ \RequirePackage{fixmath}[2000/04/11]
+\fi
+\RequirePackage{babel}[2001/03/01]
+\RequirePackage{setspace}[2000/12/01]
+\RequirePackage{relsize}[1999/11/01]
+\ifhhcls@times
+ \DeclareRobustCommand\noscshape{%
+ \not@math@alphabet\noscshape\relax
+ \ifthenelse{\equal{\f@shape}{\scdefault}}{%
+ \fontshape\updefault
+ }{%
+ }%
+ \selectfont
+ }
+\else
+ \RequirePackage{slantsc}[2003/09/17]
+\fi
+\RequirePackage{ginpenc}[2003/09/29]
+\RequirePackage{warning}[2001/08/17]
+\RequirePackage[all]{onlyamsmath}[2001/10/04]
+\RequirePackage[sepfour,autolanguage]{numprint}[2003/11/09]
+\RequirePackage{scrpage2}[2002/11/01]
+\RequirePackage[fixlanguage]{babelbib}[2003/07/28]
+\RequirePackage{fnbreak}[2003/04/03]
+\RequirePackage[countmax]{subfloat}[2002/12/16]
+\RequirePackage{multicol}[2000/07/10]
+\RequirePackage[activate]{pdfcprot}[2002/02/27]
+\ifpdftex{}{%
+ \ClassError{bgteubner}{Ordinary latex used to compile this
+ document.\MessageBreak
+ Please use pdflatex. If you need dvi output\MessageBreak
+ use pdflatex and include `\string\pdfoutput=0' as first
+ line\MessageBreak
+ of your document}{The execution of latex is stopped immediately.}%
+ \stop
+}
+\ifpdf
+\else
+ \addglobalwarning{%
+ \ClassWarningNoLine{bgteubner}{%
+ Output format is DVI, not PDF.\MessageBreak
+ If possible, use PDF output}%
+ }%
+\fi
+\newcommand\iftimes[2]{\ifhhcls@times #1\else #2\fi}
+\newcommand\ifmathtime[2]{%
+ \ifhhcls@times
+ \ifhhcls@mathtime
+ #1%
+ \else%
+ #2%
+ \fi
+ \else
+ #2%
+ \fi
+}
+\BeforePackage{float}{%
+ \newcommand*\hhcls@float@addtolists{}%
+ \let\hhcls@float@addtolists=\float@addtolists
+ \let\float@addtolists=\undefined}
+\AfterPackage{float}{%
+ \let\hhclsflt@float@addtolists=\float@addtolists
+ \renewcommand\float@addtolists[1]{%
+ \hhclsflt@float@addtolists{#1}%
+ \hhcls@float@addtolists{#1}%
+ }%
+ \renewcommand*\listof[2]{%
+ \begingroup%
+ \@ifundefined{ext@#1}{%
+ \float@error{#1}%
+ }{%
+ \@namedef{l@#1}{\@dottedtocline{1}{0em}{2.9em}}%
+ \if@twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse
+ \fi
+ \float@listhead{#2}%
+ \small
+ \setlength{\parskip}{\z@}%
+ \@starttoc{\@nameuse{ext@#1}}%
+ \if@restonecol\twocolumn\fi
+ }%
+ \endgroup
+ }%
+ \floatstyle{komabelow}
+}
+\ifhhcls@dinafuenf
+ \setlength{\paperwidth}{148mm}
+ \setlength{\paperheight}{210mm}
+ \areaset[7mm]{115mm}{174mm}
+\else
+ \setlength{\paperwidth}{170mm}
+ \setlength{\paperheight}{240mm}
+ \areaset[7mm]{135mm}{200mm}
+\fi
+\newcommand\ifafive[2]{\ifhhcls@dinafuenf #1\else #2\fi}
+\begingroup
+\newdimen\gammel
+\gammel=\textheight
+\advance\gammel by -0.6\baselineskip
+\textheight0mm
+\@whiledim\textheight<\gammel
+ \do{\global\advance\textheight by \baselineskip}
+\endgroup
+\ClassInfo{bgteubner}{%
+ These are the values describing the layout:\MessageBreak
+ BCOR\space=\space\the\ta@bcor\MessageBreak
+ \string\paperwidth\space\space\space\space\space\space=%
+ \space\the\paperwidth\MessageBreak
+ \space\string\textwidth\space\space\space\space\space\space=%
+ \space\the\textwidth\MessageBreak
+ \space\string\evensidemargin\space=%
+ \space\the\evensidemargin\MessageBreak
+ \space\string\oddsidemargin\space\space=%
+ \space\the\oddsidemargin\MessageBreak
+ \string\paperheight\space\space\space\space\space=%
+ \space\the\paperheight\MessageBreak
+ \space\string\textheight\space\space\space\space\space=%
+ \space\the\textheight\MessageBreak
+ \space\string\topmargin\space\space\space\space\space\space=%
+ \space\the\topmargin\MessageBreak
+ \space\string\headheight\space\space\space\space\space=%
+ \space\the\headheight\MessageBreak
+ \space\string\headsep\space\space\space\space\space\space\space\space=%
+ \space\the\headsep\MessageBreak
+ \space\string\topskip\space\space\space\space\space\space\space\space=%
+ \space\the\topskip\MessageBreak
+ \space\string\footskip\space\space\space\space\space\space\space=%
+ \space\the\footskip\MessageBreak
+ \space\string\baselineskip\space\space\space=%
+ \space\the\baselineskip\MessageBreak
+ }
+\clubpenalty=100
+\widowpenalty=400
+\displaywidowpenalty=50
+\brokenpenalty=400
+\relpenalty=700
+\binoppenalty=2000
+\setlength{\parindent}{\baselineskip}
+\addto\extrasamerican{\frenchspacing}%
+\addto\noextrasamerican{\nonfrenchspacing}%
+\addto\extrasbritish{\frenchspacing}%
+\addto\noextrasbritish{\nonfrenchspacing}%
+\addto\extrasbritish{\frenchspacing}%
+\addto\noextrasbritish{\nonfrenchspacing}%
+\addto\extrascanadian{\frenchspacing}%
+\addto\noextrascanadian{\nonfrenchspacing}%
+\addto\extrasUKenglish{\frenchspacing}%
+\addto\noextrasUKenglish{\nonfrenchspacing}%
+\addto\extrasUSenglish{\frenchspacing}%
+\addto\noextrasUSenglish{\nonfrenchspacing}%
+\newlength{\hhcls@chapterindent}%
+\newlength{\hhcls@sectionindent}%
+\newlength{\hhcls@subsectionindent}%
+\newlength{\hhcls@subsubsectionindent}%
+\newlength{\hhcls@paragraphindent}%
+\newlength{\hhcls@subparagraphindent}%
+\setlength{\hhcls@chapterindent}{3.9199em}%
+\AtBeginDocument{%
+ \setlength{\hhcls@sectionindent}{\hhcls@chapterindent}%
+ \setlength{\hhcls@subsectionindent}{\hhcls@chapterindent}%
+ \setlength{\hhcls@subsubsectionindent}{\hhcls@chapterindent}%
+ \setlength{\hhcls@paragraphindent}{\hhcls@chapterindent}%
+ \setlength{\hhcls@subparagraphindent}{\hhcls@chapterindent}%
+}
+\setkomafont{sectioning}{\normalcolor\normalfont\bfseries
+ \iftensor@bold\else\mathversion{bold}\fi}
+\renewcommand*\chapterformat{%
+ \makebox[\hhcls@chapterindent][l]{%
+ \chapappifchapterprefix{\ }\thechapter\autodot}}
+\DeclareRobustCommand*\othersectionlevelsformat[1]{%
+ \makebox[\csname hhcls@#1indent\endcsname][l]{%
+ \csname prefix#1\endcsname\csname the#1\endcsname\autodot
+ \csname postfix#1\endcsname}}
+\def\prefixsection{}%
+\def\prefixsubsection{}%
+\def\prefixsubsubsection{}%
+\def\prefixparagraph{}%
+\def\prefixsubparagraph{}%
+\ifhhcls@tocindent
+ \newlength{\hhcls@tocindentlength}
+ \settowidth{\hhcls@tocindentlength}{0.}
+ \renewcommand*\l@section{%
+ \@dottedtocline{1}{1\hhcls@tocindentlength}{2.3em}}
+ \renewcommand*\l@subsection{%
+ \@dottedtocline{2}{2\hhcls@tocindentlength}{3.2em}}
+ \renewcommand*\l@subsubsection{%
+ \@dottedtocline{3}{3\hhcls@tocindentlength}{4.1em}}
+ \renewcommand*\l@paragraph{%
+ \@dottedtocline{4}{4\hhcls@tocindentlength}{5.0em}}
+ \renewcommand*\l@subparagraph{%
+ \@dottedtocline{5}{5\hhcls@tocindentlength}{5.9em}}
+\else
+ \renewcommand*\l@section{\@dottedtocline{1}{0em}{2.3em}}
+ \renewcommand*\l@subsection{\@dottedtocline{2}{0em}{3.2em}}
+ \renewcommand*\l@subsubsection{\@dottedtocline{3}{0em}{4.1em}}
+ \renewcommand*\l@paragraph{\@dottedtocline{4}{0em}{5.0em}}
+ \renewcommand*\l@subparagraph{\@dottedtocline{5}{0em}{5.9em}}
+\fi
+\ifhhcls@times
+ \def\appendixmore{%
+ \addpart{\appendixname}%
+ }
+\else
+ \def\appendixmore{%
+ \renewcommand*\thechapter{\textsc{\@alph\c@chapter}}%
+ \addpart{\appendixname}%
+ }
+\fi
+\setkomafont{descriptionlabel}{\normalcolor\normalfont\rmfamily\bfseries
+ \iftensor@bold\else\mathversion{bold}\fi}
+\setkomafont{pagehead}{\normalfont\normalcolor\small}
+\pagestyle{scrheadings}
+\renewcommand*\partpagestyle{empty}
+\renewcommand*\chapterpagestyle{empty}
+\renewcommand*\indexpagestyle{empty}
+\clearscrheadfoot
+\ifhhcls@headingoutside
+ \rohead[\pagemark]{\headmark\makebox[\hhcls@chapterindent][r]{\pagemark}}
+ \lehead[\pagemark]{\makebox[\hhcls@chapterindent][l]{\pagemark}\headmark}
+\else
+ \ohead[\pagemark]{\pagemark}
+ \ihead{\headmark}
+\fi
+\ProvideTextCommand{\flqq}{T1}{%
+ \textormath{\guillemotleft}{\mbox{\guillemotleft}}}
+\ProvideTextCommand{\flqq}{OT1}{%
+ \textormath{\guillemotleft}{\mbox{\guillemotleft}}}
+\ProvideTextCommandDefault{\flqq}{\UseTextSymbol{OT1}\flqq}
+\ProvideTextCommand{\frqq}{T1}{%
+ \textormath{\guillemotright}{\mbox{\guillemotright}}}
+\ProvideTextCommand{\frqq}{OT1}{%
+ \textormath{\guillemotright}{\mbox{\guillemotright}}}
+\ProvideTextCommandDefault{\frqq}{\UseTextSymbol{OT1}\frqq}
+\ProvideTextCommand{\flq}{T1}{%
+ \textormath{\guilsinglleft}{\mbox{\guilsinglleft}}}
+\ProvideTextCommand{\flq}{OT1}{%
+ \textormath{\guilsinglleft}{\mbox{\guilsinglleft}}}
+\ProvideTextCommandDefault{\flq}{\UseTextSymbol{OT1}\flq}
+\ProvideTextCommand{\frq}{T1}{%
+ \textormath{\guilsinglright}{\mbox{\guilsinglright}}}
+\ProvideTextCommand{\frq}{OT1}{%
+ \textormath{\guilsinglright}{\mbox{\guilsinglright}}}
+\ProvideTextCommandDefault{\frq}{\UseTextSymbol{OT1}\frq}
+ \let\glqq=\frqq
+ \let\grqq=\flqq
+ \let\glq=\frq
+ \let\grq=\flq
+\renewenvironment{thebibliography}[1]{%
+ \setchapterpreamble{\bibpreamble}%
+ \bib@heading%
+ \list{\@biblabel{\@arabic\c@enumiv}}{%
+ \settowidth\labelwidth{\@biblabel{#1}}%
+ \leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+ \@openbib@code
+ \usecounter{enumiv}%
+ \let\p@enumiv\@empty
+ \renewcommand*\theenumiv{\@arabic\c@enumiv}%
+ }%
+ \sloppy\clubpenalty4000\widowpenalty4000%
+ \setlength\RaggedRightRightskip{\z@\@plus 6em}%
+ \small\RaggedRight
+ \sfcode`\.=\@m
+}{
+ \def\@noitemerr
+ {\@latex@warning{Empty `thebibliography' environment}}%
+ \endlist
+}
+\renewcommand*\newblock{\ }
+\def\@bibitem#1{\stepcounter{\@listctr}%
+\item[{[\newstylenums{\the\value{\@listctr}}]}]\if@filesw
+ \immediate\write\@auxout
+ {\string\bibcite{#1}{%
+ \string\newstylenums{\the\value{\@listctr}}}}\fi\ignorespaces}
+\def\@lbibitem[#1]#2{\item[\@biblabel{\newstylenums{#1}}\hfill]\if@filesw
+ {\let\protect\noexpand
+ \immediate\write\@auxout{%
+ \string\bibcite{#2}{\protect\newstylenums{#1}}}}\fi\ignorespaces}
+\def\@citex[#1]#2{%
+ \let\@citea\@empty
+ \@cite{\@for\@citeb:=#2\do
+ {\@citea\def\@citea{,\,}%
+ \edef\@citeb{\expandafter\@firstofone\@citeb\@empty}%
+ \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
+ \@ifundefined{b@\@citeb}{\mbox{\reset@font\bfseries ?}%
+ \G@refundefinedtrue
+ \@latex@warning
+ {Citation `\@citeb' on page \thepage \space undefined}}%
+ {\hbox{\csname b@\@citeb\endcsname}}}}{#1}%
+}
+\renewcommand\btxISBN{\acro{ISBN}}
+\renewcommand\btxISSN{\acro{ISSN}}
+\ifhhcls@times
+ \newcommand\printISBN[1]{\mbox{#1}}
+\else
+ \newcommand\printISBN[1]{%
+ \mbox{\expandafter\hhcls@printISBN#1\@empty\@empty}%
+ }
+ \newcommand\hhcls@printISBNx[1]{\acro{#1}}
+ \def\hhcls@printISBN#1#2\@empty{%
+ \begingroup
+ \edef\hhcls@argeins{#1}%
+ \edef\hhcls@argzwei{#2}%
+ \def\hhcls@argX{X}%
+ \def\hhcls@argx{x}%
+ \ifx\hhcls@argeins\hhcls@argX
+ \hhcls@printISBNx{#1}%
+ \else
+ \ifx\hhcls@argeins\hhcls@argx
+ \hhcls@printISBNx{#1}%
+ \else
+ #1%
+ \fi
+ \fi
+ \ifx\hhcls@argzwei\@empty
+ \else
+ \hhcls@printISBN#2\@empty
+ \fi
+ \endgroup
+ }
+\fi
+\setbibliographyfont{ISBN}{\printISBN}
+\setbibliographyfont{ISSN}{\printISBN}
+\newcolumntype{d}[1]{D{.}{,}{#1}}
+\renewcommand\fps@figure{tp}
+\renewcommand\fps@table{tp}
+\renewcommand{\floatpagefraction}{0.75} % Default: 0.5
+\renewcommand{\topfraction}{0.75} % Default: 0.7
+\renewcommand{\bottomfraction}{0.35} % Default: 0.3
+\renewcommand{\textfraction}{0.2} % Default: 0.2
+\setcounter{topnumber}{2} % Default: 2
+\setcounter{bottomnumber}{1} % Default: 1
+\setcounter{totalnumber}{3} % Default: 3
+\g@addto@macro\end@float{%
+ \ifnum\@floatpenalty<\z@
+ \ifnum\@floatpenalty<-\@Mii
+ \else
+ \ifhmode
+ \if@ignore
+ \penalty\@M
+ \hskip\z@skip
+ \fi
+ \fi
+ \fi
+ \fi
+}
+\setlength\floatsep{18\p@ \@plus 10\p@ \@minus 2\p@}
+\setlength\textfloatsep{14\p@ \@plus 20\p@ \@minus 4\p@}
+\setlength\@fptop{0\p@ \@plus 1fil}
+\setlength\@fpsep{18\p@ \@plus 1fil}
+\setlength\@fpbot{0\p@ \@plus 2fil}
+\setcaphanging
+\setkomafont{caption}{\normalfont\normalcolor\small\RaggedRight}
+\newcommand*\germanfigurename[1]{\gdef\hhcls@germanfigurename{#1}}
+\germanfigurename{Bild}
+\addto\captionsgerman{\renewcommand*\figurename{\hhcls@germanfigurename}}%
+\addto\captionsngerman{\renewcommand*\figurename{\hhcls@germanfigurename}}%
+\addto\captionsaustrian{\renewcommand*\figurename{\hhcls@germanfigurename}}%
+\addto\captionsnaustrian{\renewcommand*\figurename{\hhcls@germanfigurename}}%
+\newcommand*\@floatfont{\normalfont\normalcolor\normalsize}
+\newcommand*\scr@fnt@float{\@floatfont}
+\@ifpackageloaded{setspace}{%
+ \def\@xfloat #1[#2]{%
+ \latex@xfloat #1[#2]%
+ \def\baselinestretch{\setspace@singlespace}%
+ \scr@fnt@float
+ }%
+}{%
+ \def\@floatboxreset{%
+ \reset@font
+ \scr@fnt@float
+ \@setminipage
+ }%
+}%
+\setkomafont{float}{\normalfont\normalcolor\small}%
+\newcommand\hhcls@longtable{}
+\let\hhcls@longtable\longtable
+\renewcommand\longtable{\small\hhcls@longtable}
+\renewcommand*\l@figure{\@dottedtocline{1}{0em}{2.9em}}
+\let\l@table\l@figure
+\renewcommand{\subfigtopskip}{0pt}
+\renewcommand{\subfigbottomskip}{0pt}
+\renewcommand{\subfigcapmargin}{0pt}
+\renewcommand{\subcapsize}{\small}
+\setlength{\subfigcapskip}{8pt}
+\renewcommand{\subcapfont}{\rmfamily\RaggedRight}
+\renewcommand{\subcaplabelfont}{\rmfamily}
+\renewcommand*{\thesubfigure}{\,\alph{subfigure}}
+\renewcommand*{\@@thesubfigure}{\alph{subfigure}}
+\renewcommand{\@thesubfigure}{%
+ {\subcapsize\subcaplabelfont\alph{subfigure}:}\space}
+\renewcommand*\thesubfloatfigure{%
+ \themainfigure\,(\arabic{subfloatfigure}/\arabic{subfloatfiguremax})}
+\renewcommand*\thesubfloattable{%
+ \themaintable\,(\arabic{subfloattable}/\arabic{subfloattablemax})}
+\newcounter{bilderzahl}%
+\g@addto@macro\endfigure{%
+ \stepcounter{bilderzahl}%
+}%
+\newcounter{tabellenzahl}%
+\g@addto@macro\endtable{%
+ \stepcounter{tabellenzahl}%
+}%
+\AtEndDocument{%
+ \immediate\write\@auxout{%
+ \string\gdef\string\hhclsbilderzahl{\thebilderzahl}^^J%
+ \string\gdef\string\hhclstabellenzahl{\thetabellenzahl}^^J%
+ \string\gdef\string\hhclsaufgabenzahl{\theaufgabenzahl}}%
+}
+\addglobalwarning{%
+ \typeout{^^JNumber of figures: \thebilderzahl}%
+ \typeout{Number of tables: \thetabellenzahl}%
+ \typeout{Number of exercises: \theaufgabenzahl^^J}%
+}%
+\renewcommand*\listoffigures{%
+ \begingroup%
+ \if@twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse
+ \fi
+ \lof@heading%
+ \small
+ \@parskipfalse\@parskip@indent%
+ \@starttoc{lof}%
+ \if@restonecol\twocolumn\fi
+ \endgroup
+}
+\renewcommand*\listoftables{%
+ \begingroup
+ \if@twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse
+ \fi
+ \lot@heading%
+ \small
+ \@parskipfalse\@parskip@indent%
+ \@starttoc{lot}%
+ \if@restonecol\twocolumn\fi
+ \endgroup
+}
+\newcommand\hhcls@makeindex{}
+\let\hhcls@makeindex=\makeindex
+\renewcommand\makeindex{%
+ \hhcls@makeindex
+ \addglobalwarning{%
+ \typeout{^^JGenerate index by using^^J%
+ \space\space`makeindex -c -g -s bgteubner.ist \jobname'.^^J%
+ Have a look to the log file `\jobname.ilg'.^^J}%
+ }%
+}
+\newcommand*\hhcls@germanindexname{Stichwortverzeichnis}
+\addto\captionsgerman{\renewcommand*\indexname{\hhcls@germanindexname}}%
+\addto\captionsngerman{\renewcommand*\indexname{\hhcls@germanindexname}}%
+\addto\captionsaustrian{\renewcommand*\indexname{\hhcls@germanindexname}}%
+\addto\captionsnaustrian{\renewcommand*\indexname{\hhcls@germanindexname}}%
+\AtEndDocument{\printindex}
+\newcommand\listsfont{\footnotesize}
+\renewenvironment{theindex}
+ {\if@twocolumn
+ \@restonecolfalse
+ \else
+ \@restonecoltrue
+ \fi
+ \columnseprule \z@
+ \columnsep 20\p@
+ \setchapterpreamble{\index@preamble}%
+ \idx@heading%
+ \thispagestyle{\indexpagestyle}%
+ \par
+ \parindent\z@
+ \setlength{\parskip}{\z@ \@plus .3\p@}%
+ \setlength{\parfillskip}{\z@ \@plus 1fil}%
+ \let\item\@idxitem
+ \setlength\RaggedRightRightskip{\z@\@plus 4em}%
+ \newif\ifhhclsiscorrectindex
+ \RaggedRight\listsfont}
+ {\ifhhclsiscorrectindex
+ \else
+ \ClassError{bgteubner}{You have not used the correct index
+ style\MessageBreak
+ `bgteubner.ist' for the class `bgteubner.cls'}{%
+ You have to use the style bgteubner.ist:^^J%
+ Generate index by using^^J%
+ \space\space`makeindex -c -g -s bgteubner.ist \jobname'.^^J%
+ Have a look to the log file `\jobname.ilg'.}%
+ \fi
+ \if@restonecol\onecolumn\else\clearpage\fi}
+\renewcommand*\@idxitem{\par\hangindent 24\p@}
+\renewcommand*\subitem{\@idxitem \quad --\;}
+\renewcommand*\subsubitem{\@idxitem \quad --\;--\;}
+\newcommand*\f[1]{#1\,f}%
+\newcommand*\ff[1]{#1\,ff}%
+\newcommand*\textbff[1]{\textbf{#1\,f}}%
+\newcommand*\textbfff[1]{\textbf{#1\,ff}}%
+\newcommand\subind{\,--\,\hskip\z@skip}%
+\newcommand*\emphindex[1]{\textbf{#1}}%
+\deffootnote{1.5em}{1.5em}{\normalfont\newstylenums{\thefootnotemark}\enspace}
+\addtokomafont{footnote}{\normalfont\RaggedRight}
+\deffootnotemark{\textsuperscript{\newstylenums{\thefootnotemark}}}
+\setlength{\skip\footins}{10\p@ \@plus 4\p@ \@minus 2\p@}
+\ifhhcls@times
+ \DeclareRobustCommand\acro[1]{\textsmaller{\MakeUppercase{#1}}}
+\else
+ \DeclareRobustCommand\acro[1]{%
+ \ifthenelse{\equal{\f@family}{hfor}\or\equal{\f@family}{cmr}}{%
+ \textsc{\MakeLowercase{#1}}%
+ }{%
+ \ifthenelse{\(\equal{\f@family}{hfott}\or\equal{\f@family}{cmtt}\)%
+ \and\equal{\f@shape}{n}}{%
+ \textsc{\MakeLowercase{#1}}%
+ }{%
+ \textsmaller{\MakeUppercase{#1}}%
+ }%
+ }%
+ }
+\fi
+\newcommand\person{}%
+\let\person=\emph
+\newcommand\new{}%
+\let\new=\emph
+\newcommand\engl{}%
+\let\engl=\emph
+\newcommand*\qed{%
+ \hskip 1em plus 1fill\rule{0pt}{1ex}\hskip\z@skip
+ \hglue 0pt plus 1fill\mbox{\qedname}}
+\newcommand*\qedname{\rule{1ex}{1ex}}
+\newcommand*\tr{\mathop{\operator@font tr}\nolimits}
+\newcommand*\e{\mathop{\operator@font e}\nolimits}
+\let\origd=\d
+\AtBeginDocument{
+ \renewcommand*\d{%
+ \relax\ifmmode
+ \mathrm{d}%
+ \else
+ \expandafter\origd
+ \fi
+ }%
+}%
+\newcommand*\D{\ensuremath{\upDelta}}
+\newcommand*\grad{\mathop{\operator@font grad}\nolimits}
+\newenvironment{cases*}{%
+ \matrix@check\cases\env@cases
+}{%
+ \endarray\right\rbrace%
+}
+\newcommand*\equivalent{\ensuremath{\mathrel{\widehat{=}}}}
+\newenvironment{nomathindent}[1][1.0]{%
+ \addtolength{\mathindent}{-#1\mathindent}%
+ \ignorespaces
+}{\ignorespacesafterend}
+\iftensor@bold
+ \ifhhcls@times
+ \ifhhcls@mathtime
+ \else
+ \addglobalwarning{%
+ \ClassWarningNoLine{bgteubner}{The combination of the main font
+ Times\MessageBreak
+ with bold vectors (option <boldvec>)\MessageBreak
+ leads to ugly results in some cases}}%
+ \renewcommand*\vec[1]{\ensuremath{\pmb{#1}}}
+ \renewcommand*\matr[1]{\ensuremath{\pmb{#1}}}
+ \renewcommand*\tens[2]{\ensuremath{\pmb{#1}}}
+ \fi
+ \fi
+\fi
+\AtBeginDocument{%
+ \providecommand*\tensor{%
+ \ClassError{bgteubner}{\string\tensor\space command used instead
+ of \string\tens\space command (see help by pressing h)}{%
+ Because of some name clashes, the \string\tensor\space command
+ had to be renamed to \string\tens. Please change all calls
+ inside your document.}%
+ \tens
+ }%
+}
+\allowdisplaybreaks
+\def\maketag@@@#1{\hbox{\m@th#1}}
+\mathchardef\mathcomma\mathcode`\,
+\mathcode`\,=32768 % "8000
+\begingroup
+\catcode`\_=12
+\catcode`\,=\active
+\@firstofone{%
+\endgroup
+ \edef\DC@char{\meaning_}
+ \def\DC@parse#1 _{\def\DC@parse##1#1 ##2##3\delimiter{##2}}
+ \expandafter\DC@parse\DC@char
+ \toks@={\expandafter\DC@parse\meaning\DC@char}
+ \edef\DC@test{9<2\the\toks@ \DC@char.\delimiter}
+ \DeclareRobustCommand\ActiveComma{\futurelet\DC@char\DC@docomma}
+ \def\DC@docomma{%
+ \ifnum\DC@test \mathord \fi
+ \mathcomma
+ }
+ \let,\ActiveComma
+}
+\makeatother
+\newcommand*\ifhasat[1]{%
+ \expandafter\csname @ifhasat\expandafter\endcsname#1@\end
+}
+\expandafter\def\csname @ifhasat\endcsname#1@#2\end{%
+ \ifx\relax#2\relax
+ \expandafter\csname @secondoftwo\expandafter\endcsname
+ \else
+ \expandafter\csname @firstoftwo\expandafter\endcsname
+ \fi
+}
+\newcommand*\beforeat[1]{%
+ \expandafter\csname @beforeat\expandafter\endcsname#1@\end
+}
+\expandafter\def\csname @beforeat\endcsname#1@#2\end{#1}
+\newcommand*\afterat[1]{%
+ \ifhasat{#1}{\expandafter\csname hh@afterat\expandafter\endcsname#1\end}{}%
+}
+\expandafter\def\csname hh@afterat\endcsname#1@#2\end{#2}
+\makeatletter
+\def\hhcls@gloprefix{}
+\let\glossary=\@undefined
+\let\makeglossary=\@undefined
+\newcommand*\makeglossary[1][\@empty]{%
+ \edef\hhcls@gloname{glo#1}%
+ \expandafter\edef\csname hhcls@#1glsname\endcsname{gls#1}%
+ \typeout{^^JNew glossary type \string\glossary#1 with file
+ extensions `\hhcls@gloname' and `\csname hhcls@#1glsname\endcsname'.}%
+ \typeout{Writing glossary file `\jobname.\hhcls@gloname'.^^J}%
+ \addglobalwarning{%
+ \typeout{^^JGenerate glossary type \string\glossary#1 by using^^J%
+ \space\space`makeindex -c -g -s bgteuglo.ist -o
+ \jobname.\csname hhcls@#1glsname\endcsname\space
+ -t \jobname.\hhcls@gloname lg \jobname.\hhcls@gloname'^^J%
+ or^^J%
+ \space\space`makeindex -c -g -s bgteuglochar.ist -o
+ \jobname.\csname hhcls@#1glsname\endcsname\space
+ -t \jobname.\hhcls@gloname lg \jobname.\hhcls@gloname'.^^J%
+ Have a look to the log file `\jobname.\hhcls@gloname lg'^^J.}%
+ }%
+ \@ifundefined{glossary#1}{%
+ \expandafter\def\csname glossary#1\endcsname{%
+ \def\hhcls@tmpoutputfile{\csname hhcls@glossaryfile#1\endcsname}%
+ \protect\@hhcls@glossary
+ }%
+ \expandafter\newwrite\csname hhcls@glossaryfile#1\endcsname
+ \immediate\openout\csname hhcls@glossaryfile#1\endcsname=%
+ \jobname.\hhcls@gloname%
+ \expandafter\def\csname glossary#1preamble\endcsname{%
+ \@ifundefined{glossary#1name}{%
+ \ClassError{bgteubner}{No title for glossary type `#1'
+ defined}{You have to define a title for the glossary type by
+ doing^^J%
+ \space\space\space\space%
+ \string\newcommand\string\glossary #1name{<Name>}.}%
+ \addchap{\itshape ????}%
+ }{%
+ \addchap{\csname glossary#1name\endcsname}}%
+ }%
+ \expandafter\def\csname printglossary#1\endcsname{%
+ \@ifnextchar[%
+ {\csname @printglossary#1\endcsname}%
+ {\csname @printglossary#1\endcsname[\glossarylabelwidth]}%
+ }%
+ \expandafter\def\csname @printglossary#1\endcsname[##1]{%
+ \begingroup
+ \setlength{\glossarylabelwidth}{##1}%
+ \def\hhcls@glossarypreamble{\csname glossary#1preamble\endcsname}%
+ \@input@{\jobname.\csname hhcls@#1glsname\endcsname}%
+ \endgroup
+ }%
+ }{%
+ \ClassError{bgteubner}{Glossary type `#1' already defined}{You
+ have tried to define the glossary type `#1' twice}}%
+}
+\@onlypreamble\makeglossary
+\def\hhcls@glossarypreamble{\addchap{\glossaryname}}%
+\def\hhcls@glo@verb{\expandafter\strip@prefix\meaning}
+\def\@hhcls@glossary{%
+ \@bsphack
+ \begingroup
+ \@sanitize
+ \@ifnextchar[%
+ {\@@@hhcls@glossary}{\@@@hhcls@glossary[\hhcls@gloprefix]}%
+}%
+\def\@@@hhcls@glossary[#1]#2#3{%
+ \def\@tempa{#2}\def\@tempb{#3}%
+ \ifhasat{#2}{%
+ \protected@write\hhcls@tmpoutputfile{}%
+ {\string\glossaryentry{#1\beforeat{#2}@{\afterat{#2}}]
+ \@tempb
+ |glossarypage}{\thepage}%
+ }%
+ }{%
+ \protected@write\hhcls@tmpoutputfile{}%
+ {\string\glossaryentry{%
+ #1\@tempa @{\@tempa}]
+ \@tempb
+ |glossarypage}{\thepage}%
+ }%
+ }%
+ \endgroup
+ \@esphack}
+\newlength{\glossarylabelwidth}
+\setlength{\glossarylabelwidth}{3em}
+\def\glossarylabel#1{#1\hfil}
+\newenvironment{theglossary}[1][\@empty]{%
+ \def\tuetel{#1}%
+ \def\tueteluet{\@empty}%
+ \begin{multicols}{2}[%
+ \let\size@section\normalsize
+ \let\size@subsection\small
+ \let\size@subsubsection\small
+ \small
+ \ifx\tuetel\tueteluet
+ \hhcls@glossarypreamble
+ \else
+ #1%
+ \fi
+ ]%
+ \setlength{\columnsep}{20pt}%
+ \listsfont
+ \begin{list}{\ClassError{bgteubner}{No symbol given for
+ \string\item}{In the `theglossary' environment, you have to
+ specify a symbol^^J%
+ for each \string\item\space using \string\item[<symbol>], e.g.^^J%
+ \space\space\space\space
+ \string\item[{$\string\sigma_{\string\mathrm{max}}$}] Maximal
+ stress^^J%
+ \space\space\space\space
+ \string\item[DIN] Deutsches Institut f"ur Normung}}{%
+ \setlength{\labelwidth}{\glossarylabelwidth}%
+ \leftmargin\labelwidth
+ \advance\leftmargin by \labelsep
+ \let\makelabel\glossarylabel%
+ \parsep\z@%
+ \parskip\z@%
+ \setlength{\itemsep}{0pt}%
+ \newif\ifhhclsiscorrectglossary
+ \RaggedRight
+ }%
+ }{%
+ \end{list}%
+ \end{multicols}%
+ \ignorespacesafterend
+ \noindentnextpar\par
+}
+\def\glossarypage#1{}
+\def\glossarypagedelim{}
+\def\glossarypagerange{}
+\newcommand\glossarynewchar[1]{%
+ \indexspace
+ \item [\textbf{#1}]\strut
+ \@nobreaktrue\nopagebreak
+}
+\if@twoside
+\else
+ \ClassError{bgteubner}{One-side format chosen}{You may not print a
+ book with one-side format.}
+\fi
+\providecommand*\GetFileInfo[1]{%
+ \def\filename{#1}%
+ \def\@tempb##1 ##2 ##3\relax##4\relax{%
+ \def\filedate{##1}%
+ \def\fileversion{##2}%
+ \def\fileinfo{##3}}%
+ \edef\@tempa{\csname ver@#1\endcsname}%
+ \expandafter\@tempb\@tempa\relax? ? \relax\relax}
+\newcommand*\version[1]{%
+ \begingroup
+ \GetFileInfo{bgteubner.cls}%
+ \ifx\hhcls@tmp\fileversion
+ \typeout{^^JVersion of the class `bgteubner.cls'
+ (\fileversion) is identical^^J%
+ with the wanted version.^^J}%
+ \else
+ \typeout{^^JVersion of the class `bgteubner.cls'
+ (\fileversion) differs from wanted version (#1).^^J}%
+ \addglobalwarning{\ClassWarningNoLine{bgteubner}{The version, wanted in
+ the document (#1),\MessageBreak
+ differs from the used version of the
+ `bgteubner.cls'\MessageBreak
+ class (\fileversion)}}%
+ \fi
+ \endgroup
+}
+\newcommand\hhcls@frontmatter{}
+\let\hhcls@frontmatter=\frontmatter
+\renewcommand\frontmatter[1][5]{%
+ \hhcls@frontmatter
+ \ifhhcls@times
+ \pagenumbering{Roman}%
+ \else
+ \renewcommand\thepage{\textsc{\roman{page}}}%
+ \fi
+ \setcounter{page}{5}%
+}
+\renewcommand*\backmatter{\ClassWarning{bgteubner}{The
+ \string\backmatter\space command is ignored}}
+\ifhhcls@entwurf
+ \addglobalwarning{%
+ \ClassWarningNoLine{bgteubner}{Leave out the class option
+ <draft>\MessageBreak
+ for the final version}%
+ }
+ \newcommand*\now{{%
+ \def\Time{3}%
+ \def\Hour{4}%
+ \def\Minute{5}%
+ \count\Time=\time\relax
+ \count\Hour=\count\Time\relax
+ \divide\count\Hour by 60\relax%%hours past midnight
+ \count\Minute=\count\Hour\relax
+ \multiply\count\Minute by -60\relax
+ \advance\count\Minute by \count\Time\relax %%minutes past hour
+ \the\count\Hour\relax:%
+ \ifnum\count\Minute<10
+ 0%
+ \fi
+ \the\count\Minute\relax
+ }}
+ \ifoot[{\rmfamily \"Ubersetzt: \today, \now}]{%
+ {\rmfamily \"Ubersetzt: \today, \now}}
+ \overfullrule5mm
+\fi
+\newcommand*\noindentnextpar{%
+ \global\everypar{%
+ \setbox0\lastbox
+ \global\everypar{}%
+ }%
+}
+\newcommand\hhcls@bigskip{}
+\let\hhcls@bigskip=\bigskip
+\renewcommand\bigskip{\par\hhcls@bigskip\noindentnextpar}
+\setlength{\bigskipamount}{18.0pt plus 6.0pt minus 6.0pt}
+\newcommand*\hhcls@medskip{}
+\let\hhcls@medskip\medskip
+\renewcommand{\medskip}{\par\hhcls@medskip\noindentnextpar}
+\setlength{\medskipamount}{9.0pt plus 3.0pt minus 3.0pt}
+\newcommand*\hhcls@smallskip{}
+\let\hhcls@smallskip\smallskip
+\renewcommand{\smallskip}{\par\hhcls@smallskip\noindentnextpar}
+\setlength{\smallskipamount}{4.5pt plus 1.5pt minus 1.5pt}
+\newcommand*\gliederungsfehler[1]{%
+ \renewcommand{\part}{\ClassError{bgteubner}{\string\part\space
+ used inside #1 environment}{%
+ Inside the #1 environment,^^J\string\part,
+ \string\addpart, \string\chapter, \string\addchap,
+ \string\section\space, and \string\subsection\space
+ ^^Jmay not be used.
+ ^^J\string\subsubsection\space and \string\paragraph\space
+ are allowed.}}%
+ \renewcommand{\addpart}{\ClassError{bgteubner}{\string\addpart\space
+ used inside #1 environment}{%
+ Inside the #1 environment,^^J\string\part,
+ \string\addpart, \string\chapter, \string\addchap,
+ \string\section\space, and \string\subsection\space
+ ^^Jmay not be used.
+ ^^J\string\subsubsection\space and \string\paragraph\space
+ are allowed.}}%
+ \renewcommand{\chapter}{\ClassError{bgteubner}{\string\chapter\space
+ used inside #1 environment}{%
+ Inside the #1 environment,^^J\string\part,
+ \string\addpart, \string\chapter, \string\addchap,
+ \string\section\space, and \string\subsection\space
+ ^^Jmay not be used.
+ ^^J\string\subsubsection\space and \string\paragraph\space
+ are allowed.}}%
+ \renewcommand{\addchap}{\ClassError{bgteubner}{\string\addchap\space
+ used inside #1 environment}{%
+ Inside the #1 environment,^^J\string\part,
+ \string\addpart, \string\chapter, \string\addchap,
+ \string\section\space, and \string\subsection\space
+ ^^Jmay not be used.
+ ^^J\string\subsubsection\space and \string\paragraph\space
+ are allowed.}}%
+ \renewcommand{\section}{\ClassError{bgteubner}{\string\section\space
+ used inside #1 environment}{%
+ Inside the #1 environment,^^J\string\part,
+ \string\addpart, \string\chapter, \string\addchap,
+ \string\section\space, and \string\subsection\space
+ ^^Jmay not be used.
+ ^^J\string\subsubsection\space and \string\paragraph\space
+ are allowed.}}%
+ \renewcommand{\subsection}{\ClassError{bgteubner}{\string\subsection\space
+ used inside #1 environment}{%
+ Inside the #1 environment,^^J\string\part,
+ \string\addpart, \string\chapter, \string\addchap,
+ \string\section\space, and \string\subsection\space
+ ^^Jmay not be used.
+ ^^J\string\subsubsection\space and \string\paragraph\space
+ are allowed.}}%
+}
+\newlength{\hhcls@leftmargin}%
+\newlength{\hhcls@rightmargin}%
+\newenvironment{hhcls@quotation}[3][\@empty]{%
+ \edef\hhcls@tmpa{#1}%
+ \ifx\hhcls@tmpa\@empty
+ \setlength{\hhcls@rightmargin}{#2}%
+ \else
+ \setlength{\hhcls@rightmargin}{#1}%
+ \fi
+ \setlength{\hhcls@leftmargin}{#2}%
+ \begin{list}{}{%
+ \listparindent\parindent%
+ \itemindent0em%
+ \leftmargin\hhcls@leftmargin%
+ \rightmargin\hhcls@rightmargin
+ \parsep\z@ \@plus\p@}%
+ \begin{spacing}{#3}%
+ \item\relax
+ }{%
+ \end{spacing}%
+ \removelastskip
+ \end{list}%
+ }%
+\renewenvironment{quotation}{%
+ \list{}{%
+ \listparindent \parindent
+ \itemindent \z@
+ \leftmargin \hhcls@leftmargin
+ \rightmargin \hhcls@rightmargin
+ \parsep \z@ \@plus\p@}%
+ \item\relax
+}{%
+ \endlist
+}
+\renewenvironment{quote}{%
+ \list{}{%
+ \leftmargin \hhcls@leftmargin
+ \rightmargin \hhcls@rightmargin
+ }%
+ \item\relax
+}{%
+ \endlist
+}
+\newcommand*\setmargin[1]{%
+ \edef\@setmarginname{#1}%
+ \@setmargin}
+\newcommand*\@setmargin[2][\@empty]{%
+ \edef\hhcls@tmp{#1}%
+ \ifx\hhcls@tmp\@empty
+ \setlength{%
+ \expandafter\csname\@setmarginname @lmargin\endcsname}{#2}%
+ \else
+ \setlength{%
+ \expandafter\csname\@setmarginname @lmargin\endcsname}{#1}%
+ \fi
+ \setlength{%
+ \expandafter\csname\@setmarginname @rmargin\endcsname}{#2}%
+}
+\setlength{\leftmargini}{1.75\parindent}
+\setlength{\leftmargin}{\leftmargini}
+\setlength{\hhcls@leftmargin}{\leftmargini}
+\setlength{\labelwidth}{\leftmargini}
+\newlength{\advanced@lmargin}
+\newlength{\advanced@rmargin}
+\setmargin{advanced}{\leftmargini}
+\newcommand\advancedfont{\footnotesize}
+\ifhhcls@times
+ \newcommand\advancedspacing{1.18}
+\else
+ \newcommand\advancedspacing{1.12}
+\fi
+\newcommand*\advancednamefont{\bfseries%
+ \iftensor@bold\else\mathversion{bold}\fi}
+\newcommand*\noadvancedname{\gdef\advancedname{}}
+\noadvancedname
+\newenvironment{advanced}{%
+ \gliederungsfehler{advanced}%
+ \let\size@subsubsection\advancedfont
+ \let\size@paragraph\advancedfont
+ \let\size@subparagraph\advancedfont
+ \begin{hhcls@quotation}[\advanced@rmargin]{\advanced@lmargin}{%
+ \advancedspacing}%
+ \advancedfont
+ \ifx\advancedname\empty
+ \else
+ {\advancednamefont\advancedname}~%
+ \fi
+ \ignorespaces
+ }{%
+ \end{hhcls@quotation}%
+ \ignorespacesafterend
+ \noindentnextpar\par
+}
+\ifhhcls@theoremsmall
+ \def\theoremfont{\small}
+ \ifhhcls@times
+ \newcommand\theoremspacing{1.12}
+ \else
+ \newcommand\theoremspacing{1.06}
+ \fi
+\else
+ \def\theoremfont{\normalsize}
+ \newcommand\theoremspacing{1.0}
+\fi
+\newlength{\theorem@lmargin}
+\newlength{\theorem@rmargin}
+\newlength{\theorem@indent@min}
+\setlength{\theorem@indent@min}{7.8398em}
+\newlength{\theorem@indent}
+\setlength{\theorem@indent}{\theorem@indent@min}
+\newlength{\theorem@indent@max}
+\AtEndDocument{%
+ \ifdim\theorem@indent@max>\theorem@indent@min
+ \immediate\write\@auxout{%
+ \string\global\string\theorem@indent=\the\theorem@indent@max}%
+ \ifdim\theorem@indent@max>\theorem@indent
+ \addglobalwarning{%
+ \ClassWarningNoLine{bgteubner}{Indentation for theorem
+ titles has been increased.\MessageBreak
+ Rerun to adjust the indentation}%
+ }%
+ \else
+ \ifdim\theorem@indent@max<\theorem@indent
+ \addglobalwarning{%
+ \ClassWarningNoLine{bgteubner}{Indentation for theorem
+ titles has been decreased.\MessageBreak
+ Rerun to adjust the indentation}%
+ }%
+ \fi
+ \fi
+ \else
+ \ifdim\theorem@indent>\theorem@indent@min
+ \addglobalwarning{%
+ \ClassWarningNoLine{bgteubner}{Indentation for theorem
+ titles has been decreased.\MessageBreak
+ Rerun to adjust the indentation}%
+ }%
+ \fi
+ \fi
+}
+\newcommand\float@addtolists[1]{%
+ \def\hhcls@theoremskip{#1}%
+ \hhcls@theoremlist}
+\newcommand\hhcls@theoremlist{}
+\newcommand\hhcls@theoremanzahl{}
+\newsavebox{\hhcls@@@theoremtitlewidth}
+\newif\iftheorem@starvariant
+\def\newtheorem#1#2{%
+ \expandafter\def\csname theorem@#1name\endcsname{#2}%
+ \expandafter\def\csname theorem@#1postfix\endcsname{:}%
+ \expandafter\newlength\expandafter{\csname theorem@#1@lmargin\endcsname}%
+ \expandafter\newlength\expandafter{\csname theorem@#1@rmargin\endcsname}%
+ \setmargin{theorem@#1}{\leftmargini}%
+ \newcounter{theorem@#1}[chapter]%
+ \newcounter{theorem@#1zahl}%
+ \g@addto@macro\hhcls@theoremanzahl{%
+ ; #2: \csname thetheorem@#1zahl\endcsname}%
+ \expandafter\def\csname thetheorem@#1\endcsname{%
+ \thechapter.\@arabic\csname c@theorem@#1\endcsname}%
+ \expandafter\def\csname theorem@#1title\endcsname##1{%
+ \iftheorem@starvariant
+ \else
+ \refstepcounter{theorem@#1}%
+ \fi
+ {%
+ \raggedsection\normalfont\normalsize\sectfont\nobreak
+ \savebox{\hhcls@@@theoremtitlewidth}{%
+ \csname theorem@#1name\endcsname%
+ \iftheorem@starvariant
+ \else
+ ~\csname thetheorem@#1\endcsname
+ \fi
+ \csname theorem@#1postfix\endcsname~}%
+ \settowidth{\@tempdima}{\usebox{\hhcls@@@theoremtitlewidth}}%
+ \ifdim\@tempdima>\theorem@indent@max
+ \global\theorem@indent@max=\@tempdima
+ \fi
+ \normalfont\normalsize\sectfont
+ \makebox[\theorem@indent][l]{\usebox{\hhcls@@@theoremtitlewidth}}%
+ \setlength\@tempdima{1pt}%
+ \settoheight\@tempdimb{D}%
+ \addtolength\@tempdima{\@tempdimb}%
+ \settoheight\@tempdimb{\theoremfont D}%
+ \addtolength\@tempdima{-\@tempdimb}%
+ ##1\nobreak\par\nobreak\vspace{\@tempdima}\nobreak}\nobreak
+ \@afterheading}%
+ \g@addto@macro\hhcls@theoremlist{%
+ \addtocontents{#1}{\hhcls@theoremskip}%
+ }%
+ \expandafter\def\csname #1*\endcsname{%
+ \theorem@starvarianttrue
+ \csname #1\endcsname
+ }%
+ \expandafter\def\csname end#1*\endcsname{\csname end#1\endcsname}%
+ \expandafter\def\csname #1\endcsname{%
+ \@ifnextchar[{%
+ \csname hhcls@@#1\endcsname
+ }{%
+ \csname hhcls@@#1\endcsname[\empty]%
+ }}%
+ \expandafter\def\csname hhcls@@#1\endcsname[##1]{%
+ \setlength{\theorem@lmargin}{\csname theorem@#1@lmargin\endcsname}%
+ \setlength{\theorem@rmargin}{\csname theorem@#1@rmargin\endcsname}%
+ \ifhhcls@inimportant
+ \addtolengthminzero{\theorem@lmargin}{-\fboxsep}%
+ \addtolengthminzero{\theorem@rmargin}{-\fboxsep}%
+ \addtolengthminzero{\theorem@indent}{-\fboxsep}%
+ \fi
+ \par
+ \begin{list}{}{%
+ \topsep 8\p@ \@plus2\p@ \@minus4\p@
+ \itemindent-\theorem@lmargin
+ \listparindent\parindent
+ \leftmargin\theorem@lmargin
+ \rightmargin\theorem@rmargin
+ \parsep\z@ \@plus\p@
+ \stepcounter{theorem@#1zahl}%
+ \gliederungsfehler{#1}%
+ \let\size@subsubsection\theoremfont
+ \let\size@paragraph\theoremfont
+ \let\size@subparagraph\theoremfont
+ \theoremfont
+ }%
+ \begin{spacing}{\theoremspacing}%
+ \item\relax
+ \csname theorem@#1title\endcsname{##1}\nobreak%
+ \edef\hhtmp{##1}%
+ \ifx\hhtmp\empty
+ \else
+ \iftheorem@starvariant
+ \addcontentsline{#1}{#1}{##1}%
+ \else
+ \addcontentsline{#1}{#1}{%
+ \numberline {\csname thetheorem@#1\endcsname}##1}%
+ \fi
+ \fi
+ \nobreak\ignorespaces
+ }%
+ \expandafter\def\csname end#1\endcsname{%
+ \end{spacing}%
+ \removelastskip
+ \end{list}%
+ \ignorespacesafterend
+ \noindentnextpar
+ \par
+ }%
+ \expandafter\def\csname l@#1\endcsname{\@dottedtocline{1}{0em}{2.9em}}%
+ \addglobalwarning{%
+ \typeout{#2: \csname thetheorem@#1zahl\endcsname\space times used}%
+ }
+}
+\newcommand*\listoftheorems[2]{%
+ \begingroup%
+ \if@twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse
+ \fi
+ \float@listhead{#2}%
+ \small
+ \setlength{\parskip}{\z@}%
+ \@starttoc{#1}%
+ \if@restonecol\twocolumn\fi
+ \endgroup
+}
+\newenvironment{theoremdelimiter}[2]{%
+ \expandafter\def\csname theorem@#1postfix\endcsname{#2}%
+ \ignorespaces
+}{%
+ \ignorespacesafterend
+}%
+\newcommand*\settheoremmargin[1]{%
+ \edef\@setmarginname{#1}%
+ \@settheoremmargin}
+\newcommand*\@settheoremmargin[2][\@empty]{%
+ \edef\hhcls@tmp{#1}%
+ \ifx\hhcls@tmp\@empty
+ \setlength{%
+ \expandafter\csname theorem@\@setmarginname @lmargin\endcsname}{#2}%
+ \else
+ \setlength{%
+ \expandafter\csname theorem@\@setmarginname @lmargin\endcsname}{#1}%
+ \fi
+ \setlength{%
+ \expandafter\csname theorem@\@setmarginname @rmargin\endcsname}{#2}%
+}
+\newtheorem{example}{\examplename}
+\newcommand*\listofexamples{\listoftheorems{example}{\listexamplename}}
+\newcommand*\examplename{}
+\newcommand*\listexamplename{}
+\addto\captionsgerman{%
+ \renewcommand*\examplename{Beispiel}%
+ \renewcommand*\listexamplename{Verzeichnis der Beispiele}%
+}
+\addto\captionsngerman{%
+ \renewcommand*\examplename{Beispiel}%
+ \renewcommand*\listexamplename{Verzeichnis der Beispiele}%
+}
+\addto\captionsaustrian{%
+ \renewcommand*\examplename{Beispiel}%
+ \renewcommand*\listexamplename{Verzeichnis der Beispiele}%
+}
+\addto\captionsnaustrian{%
+ \renewcommand*\examplename{Beispiel}%
+ \renewcommand*\listexamplename{Verzeichnis der Beispiele}%
+}
+\addto\captionsenglish{%
+ \renewcommand*\examplename{Example}%
+ \renewcommand*\listexamplename{List of Examples}%
+}
+\addto\captionsamerican{%
+ \renewcommand*\examplename{Example}%
+ \renewcommand*\listexamplename{List of Examples}%
+}
+\newtheorem{definition}{\definitionname}
+\newcommand*\listofdefinitions{%
+ \listoftheorems{definition}{\listdefinitionname}}
+\newcommand*\definitionname{}
+\newcommand*\listdefinitionname{}
+\addto\captionsgerman{%
+ \renewcommand*\definitionname{Definition}%
+ \renewcommand*\listdefinitionname{Verzeichnis der Definitionen}%
+}
+\addto\captionsngerman{%
+ \renewcommand*\definitionname{Definition}%
+ \renewcommand*\listdefinitionname{Verzeichnis der Definitionen}%
+}
+\addto\captionsaustrian{%
+ \renewcommand*\definitionname{Definition}%
+ \renewcommand*\listdefinitionname{Verzeichnis der Definitionen}%
+}
+\addto\captionsnaustrian{%
+ \renewcommand*\definitionname{Definition}%
+ \renewcommand*\listdefinitionname{Verzeichnis der Definitionen}%
+}
+\addto\captionsenglish{%
+ \renewcommand*\definitionname{Definition}%
+ \renewcommand*\listdefinitionname{List of Definitions}%
+}
+\addto\captionsamerican{%
+ \renewcommand*\definitionname{Definition}%
+ \renewcommand*\listdefinitionname{List of Definitions}%
+}
+\newtheorem{proof}{\proofname}
+\newcommand*\listofproofs{\listoftheorems{proof}{\listproofname}}
+\newcommand*\proofname{}
+\newcommand*\listproofname{}
+\addto\captionsgerman{%
+ \renewcommand*\proofname{Beweis}%
+ \renewcommand*\listproofname{Verzeichnis der Beweise}%
+}
+\addto\captionsngerman{%
+ \renewcommand*\proofname{Beweis}%
+ \renewcommand*\listproofname{Verzeichnis der Beweise}%
+}
+\addto\captionsaustrian{%
+ \renewcommand*\proofname{Beweis}%
+ \renewcommand*\listproofname{Verzeichnis der Beweise}%
+}
+\addto\captionsnaustrian{%
+ \renewcommand*\proofname{Beweis}%
+ \renewcommand*\listproofname{Verzeichnis der Beweise}%
+}
+\addto\captionsenglish{%
+ \renewcommand*\proofname{Proof}%
+ \renewcommand*\listproofname{List of Proofs}%
+}
+\addto\captionsamerican{%
+ \renewcommand*\proofname{Proof}%
+ \renewcommand*\listproofname{List of Proofs}%
+}
+\newcommand*\addtolengthminzero[2]{%
+ \addtolength{#1}{#2}%
+ \ifdim#1<0pt
+ \setlength{#1}{0pt}%
+ \fi
+}
+\newif\ifhhcls@importantmath
+\newif\ifhhcls@inimportant
+\ifhhcls@greybox
+ \newsavebox{\hhcls@@@important}
+ \newlength{\hhcls@important@parindent}
+ \definecolor{importantcolor}{gray}{0.9}
+ \newcounter{hhcls@savefootnote}
+ \newcommand\addfnmark[2][\@empty]{%
+ \begingroup
+ \edef\hhcls@temp{#1}%
+ \ifx\hhcls@temp\@empty
+ \g@addto@macro\hhcls@fnlist{%
+ \stepcounter{hhcls@savefootnote}%
+ \footnotetext[\thehhcls@savefootnote]{#2}%
+ }%
+ \else
+ \g@addto@macro\hhcls@fnlist{\footnotetext[#1]{#2}}%
+ \fi
+ \endgroup
+ }
+ \newcommand\hhcls@important@footnote[2][\@empty]{%
+ \begingroup
+ \edef\hhcls@temp{#1}%
+ \ifx\hhcls@temp\@empty
+ \footnotemark
+ \else
+ \footnotemark[#1]%
+ \fi
+ \addfnmark[#1]{#2}%
+ \endgroup
+ }%
+ \newenvironment{important}{%
+ \hhcls@inimportanttrue
+ \setlength{\fboxsep}{0.5\parindent}%
+ \addtolengthminzero{\mathindent}{-\fboxsep}%
+ \addtolengthminzero{\theorem@lmargin}{-\fboxsep}%
+ \addtolengthminzero{\theorem@rmargin}{-\fboxsep}%
+ \addtolengthminzero{\advanced@lmargin}{-\fboxsep}%
+ \addtolengthminzero{\advanced@rmargin}{-\fboxsep}%
+ \addtolengthminzero{\subexercise@lmargin}{-\fboxsep}%
+ \addtolengthminzero{\subexercise@rmargin}{-\fboxsep}%
+ \addtolengthminzero{\hhcls@@subexerciseindent}{-\fboxsep}%
+ \addtolengthminzero{\answer@lmargin}{-\fboxsep}%
+ \addtolengthminzero{\answer@rmargin}{-\fboxsep}%
+ \addtolengthminzero{\hhcls@@answerindent}{-\fboxsep}%
+ \addtolengthminzero{\subanswer@lmargin}{-\fboxsep}%
+ \addtolengthminzero{\subanswer@rmargin}{-\fboxsep}%
+ \addtolengthminzero{\hhcls@@subanswerindent}{-\fboxsep}%
+ \addtolengthminzero{\leftmargin}{-\fboxsep}%
+ \addtolengthminzero{\hhcls@leftmargin}{-\fboxsep}%
+ \setlength{\hhcls@important@parindent}{\parindent}%
+ \removelastskip
+ \par
+ \vskip\topsep
+ \gdef\hhcls@fnlist{}%
+ \setcounter{hhcls@savefootnote}{\value{footnote}}%
+ \let\mpfootnote=\footnote
+ \let\footnote\hhcls@important@footnote%
+ \let\hhcls@important@figure=\figure
+ \renewcommand\figure{%
+ \ClassError{bgteubner}{%
+ figure environment used inside
+ important\ifhhcls@importantmath *\fi\space environment}{%
+ Inside the important\ifhhcls@importantmath *\fi\space
+ environment, floats cannot be used.}%
+ \hhcls@important@figure}%
+ \let\hhcls@important@table=\table
+ \renewcommand\table{%
+ \ClassError{bgteubner}{%
+ table environment used inside
+ important\ifhhcls@importantmath *\fi\space environment}{%
+ Inside the important\ifhhcls@importantmath *\fi\space
+ environment, floats cannot be used.}%
+ \hhcls@important@table}%
+ \let\hhcls@important@marginpar=\marginpar
+ \renewcommand\marginpar{%
+ \ClassError{bgteubner}{%
+ \string\marginpar\space used inside
+ important\ifhhcls@importantmath *\fi\space environment}{%
+ Inside the important\ifhhcls@importantmath *\fi\space
+ environment, floats cannot be used.}%
+ \hhcls@important@marginpar}%
+ \begin{lrbox}{\hhcls@@@important}%
+ \setlength\@tempdima{\linewidth}%
+ \addtolength\@tempdima{-2\fboxsep}%
+ \begin{minipage}{\@tempdima}%
+ \ifhhcls@importantmath
+ \vspace{-\abovedisplayskip}%
+ \fi
+ \setlength{\parindent}{\hhcls@important@parindent}%
+ \noindent
+ \@setminipage
+ \ignorespaces
+ }{%
+ \par\unskip
+ \end{minipage}%
+ \end{lrbox}%
+ \noindent
+ \colorbox{importantcolor}{%
+ \setlength\@tempdima{\linewidth}%
+ \addtolength\@tempdima{-2\fboxsep}%
+ \begin{minipage}{\@tempdima}%
+ \usebox{\hhcls@@@important}%
+ \end{minipage}%
+ }%
+ \hhcls@fnlist
+ \vskip\topsep
+ \noindentnextpar
+ \par
+ \ignorespacesafterend
+ }
+ \newenvironment{important*}{%
+ \hhcls@importantmathtrue
+ \begin{important}%
+ }{%
+ \end{important}%
+ \ignorespacesafterend}
+ \newenvironment{longimportant}{%
+ \hhcls@inimportanttrue
+ \setlength{\fboxsep}{0.5\parindent}%
+ \addtolengthminzero{\mathindent}{-\fboxsep}%
+ \addtolengthminzero{\theorem@lmargin}{-\fboxsep}%
+ \addtolengthminzero{\theorem@rmargin}{-\fboxsep}%
+ \addtolengthminzero{\advanced@lmargin}{-\fboxsep}%
+ \addtolengthminzero{\advanced@rmargin}{-\fboxsep}%
+ \addtolengthminzero{\subexercise@lmargin}{-\fboxsep}%
+ \addtolengthminzero{\subexercise@rmargin}{-\fboxsep}%
+ \addtolengthminzero{\hhcls@@subexerciseindent}{-\fboxsep}%
+ \addtolengthminzero{\answer@lmargin}{-\fboxsep}%
+ \addtolengthminzero{\answer@rmargin}{-\fboxsep}%
+ \addtolengthminzero{\hhcls@@answerindent}{-\fboxsep}%
+ \addtolengthminzero{\subanswer@lmargin}{-\fboxsep}%
+ \addtolengthminzero{\subanswer@rmargin}{-\fboxsep}%
+ \addtolengthminzero{\hhcls@@subanswerindent}{-\fboxsep}%
+ \addtolengthminzero{\leftmargin}{-\fboxsep}%
+ \addtolengthminzero{\hhcls@leftmargin}{-\fboxsep}%
+ \def\FrameCommand{\colorbox{importantcolor}}%
+ \renewcommand\footnote[2][]{%
+ \ClassError{bgteubner}{%
+ \footnote\space used inside longimportant environment}{%
+ Inside the longimportant environment, footnotes cannot be
+ used.\MessageBreak
+ You may use the short version, the important or important*
+ environment if you\MessageBreak
+ really need a footnote. Be aware that these environments
+ don't\MessageBreak
+ break across pages.}%
+ }%
+ \let\hhcls@important@figure=\figure
+ \renewcommand\figure{%
+ \ClassError{bgteubner}{%
+ figure environment used inside longimportant environment}{%
+ Inside the longimportant environment, floats cannot be used.}%
+ \hhcls@important@figure}%
+ \let\hhcls@important@table=\table
+ \renewcommand\table{%
+ \ClassError{bgteubner}{%
+ table environment used inside longimportant environment}{%
+ Inside the longimportant environment, floats cannot be used.}%
+ \hhcls@important@table}%
+ \let\hhcls@important@marginpar=\marginpar
+ \renewcommand\marginpar{%
+ \ClassError{bgteubner}{%
+ \string\marginpar\space used inside longimportant environment}{%
+ Inside the longimportant environment, floats cannot be used.}%
+ \hhcls@important@marginpar}%
+ \MakeFramed {\advance\hsize-\width \FrameRestore
+ \noindent\@setminipage}%
+ \hhcls@important@workaround
+ \ignorespaces
+ }{%
+ \par\unskip
+ \endMakeFramed
+ \noindentnextpar
+ \par
+ \ignorespacesafterend
+ }
+ \newenvironment{longimportant*}[1][\abovedisplayskip]{%
+ \begin{longimportant}\vspace{-#1}\ignorespaces
+ }{%
+ \end{longimportant}%
+ }
+ \@ifpackagelater{framed}{2004/03/07}{%
+ \newcommand*\hhcls@important@workaround{}
+ }{%
+ \newcommand*\hhcls@important@workaround{\vspace{0mm}}
+ \ClassWarningNoLine{bgteubner}{Outdated version of framed.sty
+ used. A workaround\MessageBreak
+ for a bug has been installed. Future versions of\MessageBreak
+ bgteubner.cls will need a version of framed.sty\MessageBreak
+ that is dated 2004/03/07 or newer}
+ }
+\else
+ \newenvironment{important}{\par}{\par}
+ \newenvironment{important*}{\par}{\par}
+ \newenvironment{longimportant}{\par}{\par}
+ \newenvironment{longimportant*}[1][]{\par}{\par}
+\fi
+\newcounter{aufgabenzahl}%
+\newlength{\hhcls@@exerciseindent}%
+\setlength{\hhcls@@exerciseindent}{7.8398em}%
+\newcounter{@exercise}
+\renewcommand*\the@exercise{\@arabic\c@@exercise}
+\newcommand\@exercise{\@startsection{@exercise}{1}{\z@}%
+ {-3.5ex \@plus -1ex \@minus -.2ex}%
+ {2.3ex \@plus.2ex}%
+ {\raggedsection\normalfont\sectfont\nobreak\size@section\nobreak}}
+\if@exercisetotoc
+ \newcommand*\l@@exercise[2]{\@dottedtocline{1}{1.5em}{2.3em}{%
+ \def\numberline##1{%
+ \hb@xt@\@tempdima{\lprefix@exercise##1\hfil}}#1}{#2}}
+\else
+ \newcommand*\l@@exercise[2]{}
+\fi
+\newcommand*\exercisename{Aufgabe}
+\def\prefix@exercise{\exercisename~}%
+\def\postfix@exercise{:}%
+\def\prefix@exercisestar{\exercisename}%
+\def\postfix@exercisestar{:}%
+\def\lprefix@exercise{}%
+ \g@addto@macro\hhcls@theoremlist{%
+ \addtocontents{exercise}{\hhcls@theoremskip}%
+ }%
+\let\@exercisemark\@gobble
+\newcommand*\exercisefont{\normalsize}
+\newenvironment{exercise}[1]{%
+ \setcounter{subtaskoffset}{0}%
+ \stepcounter{aufgabenzahl}%
+ \@exercise{#1}%
+ \addcontentsline{exercise}{exercise}{\numberline {\the@exercise}#1}%
+ \gliederungsfehler{exercise}%
+ \exercisefont
+}{%
+ \ignorespacesafterend
+ \noindentnextpar
+ \par
+}
+\newenvironment{exercise*}[1]{%
+ \setcounter{subtaskoffset}{0}%
+ \stepcounter{aufgabenzahl}%
+ \@exercise*{\makebox[\hhcls@@exerciseindent][l]{%
+ \prefix@exercisestar\postfix@exercisestar}#1}%
+ \addcontentsline{exercise}{exercise}{#1}%
+ \gliederungsfehler{exercise}%
+ \exercisefont
+}{%
+ \ignorespacesafterend
+ \noindentnextpar
+ \par
+}
+\newlength{\hhcls@@answerindent}%
+\AtBeginDocument{%
+ \setlength{\hhcls@@answerindent}{\hhcls@@exerciseindent}%
+}
+\newcounter{@answer}
+\renewcommand*\the@answer{}
+\newcommand\@answer{\@startsection{@answer}{2}{\z@}%
+ {-3.25ex \@plus -1ex \@minus -.2ex}%
+ {1.5ex \@plus .2ex}%
+ {\raggedsection\normalfont\sectfont\nobreak\size@subsection\nobreak}}
+\if@answertotoc
+ \newcommand*\l@@answer[2]{\@dottedtocline{1}{0em}{6.2em}{%
+ \def\numberline##1{%
+ \hb@xt@\@tempdima{\lprefix@answer##1\hfil}}#1}{#2}}
+\else
+ \newcommand*\l@@answer[2]{}
+\fi
+\ifhhcls@times
+ \newcommand\answerspacing{1.12}
+\else
+ \newcommand\answerspacing{1.06}
+\fi
+\newcommand*\answername{L\"osung}
+\def\prefix@answer{\answername~}%
+\def\postfix@answer{:}%
+\def\prefix@answerstar{\answername}%
+\def\postfix@answerstar{:}%
+\def\lprefix@answer{\answername~}%
+\let\@answermark\@gobble
+\newcommand\answerfont{\footnotesize}
+\newlength{\answer@lmargin}
+\newlength{\answer@rmargin}
+\setmargin{answer}{0em}
+\newcommand\answer[2][\@empty]{%
+ \def\the@answer{\ref{#2}}%
+ \@@answer{#1}%
+}
+\expandafter\newcommand\csname answer*\endcsname[1][\@empty]{%
+ \def\the@answer{}%
+ \def\prefix@answer{\prefix@answerstar}%
+ \def\postfix@answer{\postfix@answerstar}%
+ \@@answer{#1}%
+}
+\def\@@answer#1{%
+ \@answer{#1}%
+ \setcounter{subtaskoffset}{0}%
+ \gliederungsfehler{answer}%
+ \answerfont
+ \let\size@subsubsection\answerfont
+ \let\size@paragraph\answerfont
+ \let\size@subparagraph\answerfont
+ \setlength{\mathindent}{0.5\leftmargini}%
+ \setlength{\abovecaptionskip}{0.89\abovecaptionskip}%
+ \setkomafont{caption}{\normalfont\rmfamily\footnotesize\RaggedRight}%
+ \setkomafont{float}{\normalfont\normalcolor\footnotesize}%
+ \renewcommand{\subcapsize}{\footnotesize}%
+ \setstretch{\answerspacing}%
+}
+\def\endanswer{%
+ \par
+ \ignorespacesafterend
+ \noindentnextpar
+}
+\expandafter\def\csname endanswer*\endcsname{\endanswer}
+\newlength{\hhcls@@subexerciseindent}%
+\AtBeginDocument{%
+ \setlength{\hhcls@@subexerciseindent}{\hhcls@@exerciseindent}%
+}
+\newcounter{@subexercise}[chapter]
+\renewcommand*\the@subexercise{\thechapter.\@arabic\c@@subexercise}
+\newcommand\subexercise@title[1]{%
+ \iftheorem@starvariant
+ \else
+ \refstepcounter{@subexercise}%
+ \fi
+ {%
+ \raggedsection\normalfont\normalsize\sectfont\nobreak
+ \makebox[\hhcls@@subexerciseindent][l]{\exercisename
+ \iftheorem@starvariant
+ \else
+ ~\the@subexercise
+ \fi
+ \postfix@exercise}%
+ \setlength\@tempdima{1pt}%
+ \settoheight\@tempdimb{D}%
+ \addtolength\@tempdima{\@tempdimb}%
+ \settoheight\@tempdimb{\subexercisefont D}%
+ \addtolength\@tempdima{-\@tempdimb}%
+ #1\nobreak\par\nobreak\vspace{\@tempdima}\nobreak}\nobreak
+ \@afterheading}
+\newcommand\subexercisefont{\normalfont\small}
+\ifhhcls@times
+ \newcommand\subexercisespacing{1.12}
+\else
+ \newcommand\subexercisespacing{1.06}
+\fi
+\newlength{\subexercise@lmargin}
+\newlength{\subexercise@rmargin}
+\setmargin{subexercise}{\leftmargini}
+\expandafter\def\csname subexercise*\endcsname{%
+ \theorem@starvarianttrue
+ \subexercise
+}%
+\expandafter\def\csname endsubexercise*\endcsname{\endsubexercise}
+\newenvironment{subexercise}[1]{%
+ \par
+ \begin{list}{}{%
+ \itemindent-\subexercise@lmargin
+ \listparindent\parindent
+ \leftmargin\subexercise@lmargin
+ \rightmargin\subexercise@rmargin
+ \parsep\z@ \@plus\p@
+ \stepcounter{aufgabenzahl}%
+ \gliederungsfehler{subexercise}%
+ \setcounter{subtaskoffset}{0}%
+ }%
+ \begin{spacing}{\subexercisespacing}%
+ \item\relax
+ \subexercise@title{#1}%
+ \edef\hhtmp{#1}%
+ \ifx\hhtmp\empty
+ \else
+ \iftheorem@starvariant
+ \addcontentsline{exercise}{exercise}{#1}%
+ \else
+ \addcontentsline{exercise}{exercise}{%
+ \numberline{\the@subexercise}#1}%
+ \fi
+ \fi
+ \subexercisefont
+ \let\size@subsubsection\subexercisefont
+ \let\size@paragraph\subexercisefont
+ \let\size@subparagraph\subexercisefont
+ \ignorespaces
+ }{%
+ \end{spacing}%
+ \removelastskip
+ \end{list}%
+ \ignorespacesafterend
+ \noindentnextpar
+ \par
+}
+\newlength{\hhcls@@subanswerindent}%
+\AtBeginDocument{%
+ \setlength{\hhcls@@subanswerindent}{\hhcls@@answerindent}%
+}
+\newcounter{@subanswer}
+\renewcommand*\the@subanswer{}
+\newcommand\subanswer@title[2]{%
+ {%
+ \raggedsection\normalfont\normalsize\sectfont\nobreak
+ \makebox[\hhcls@@subanswerindent][l]{\answername
+ \iftheorem@starvariant
+ \else
+ ~\ref{#1}%
+ \fi
+ \postfix@answer}%
+ \setlength\@tempdima{1pt}%
+ \settoheight\@tempdimb{D}%
+ \addtolength\@tempdima{\@tempdimb}%
+ \settoheight\@tempdimb{\subanswerfont D}%
+ \addtolength\@tempdima{-\@tempdimb}%
+ #2\nobreak\par\nobreak\vspace{\@tempdima}\nobreak}\nobreak
+ \@afterheading}
+\newcommand\subanswerfont{\footnotesize}
+\ifhhcls@times
+ \newcommand\subanswerspacing{1.12}
+\else
+ \newcommand\subanswerspacing{1.06}
+\fi
+\newlength{\subanswer@lmargin}
+\newlength{\subanswer@rmargin}
+\setmargin{subanswer}{\leftmargini}
+\expandafter\newcommand\csname subanswer*\endcsname[1][\@empty]{%
+ \theorem@starvarianttrue
+ \subanswer[#1]{}%
+}%
+\expandafter\def\csname endsubanswer*\endcsname{\endsubanswer}
+\newenvironment{subanswer}[2][\@empty]{%
+ \par
+ \begin{list}{}{%
+ \itemindent-\subanswer@lmargin
+ \listparindent\parindent
+ \leftmargin\subanswer@lmargin
+ \rightmargin\subanswer@rmargin
+ \parsep\z@ \@plus\p@
+ \gliederungsfehler{subanswer}%
+ \setcounter{subtaskoffset}{0}%
+ }%
+ \begin{spacing}{\subanswerspacing}%
+ \item\relax
+ \subanswer@title{#2}{#1}%
+ \let\size@subsubsection\subanswerfont
+ \let\size@paragraph\subanswerfont
+ \let\size@subparagraph\subanswerfont
+ \subanswerfont
+ \ignorespaces
+ }{%
+ \end{spacing}%
+ \removelastskip
+ \end{list}%
+ \ignorespacesafterend
+ \noindentnextpar
+ \par
+}
+\newcommand*\exercise@heading{\float@listhead{\listexercisename}}
+\newcommand*\listofexercises{%
+ \begingroup%
+ \if@twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse
+ \fi
+ \exercise@heading
+ \small
+ \setlength{\parskip}{\z@}%
+ \@starttoc{exercise}%
+ \if@restonecol\twocolumn\fi
+ \endgroup
+}
+\newcommand*\listexercisename{List of Exercises}
+\newcommand*\hhcls@germanlistexercisename{Aufgabenverzeichnis}
+\addto\captionsgerman{%
+ \renewcommand{\listexercisename}{\hhcls@germanlistexercisename}}%
+\addto\captionsngerman{%
+ \renewcommand{\listexercisename}{\hhcls@germanlistexercisename}}%
+\addto\captionsaustrian{%
+ \renewcommand{\listexercisename}{\hhcls@germanlistexercisename}}%
+\addto\captionsnaustrian{%
+ \renewcommand{\listexercisename}{\hhcls@germanlistexercisename}}%
+\newcommand*\l@exercise{\@dottedtocline{1}{0em}{2.9em}}
+\newenvironment{exercisedelimiter}[1]{%
+ \def\postfix@exercise{#1}%
+ \def\postfix@exercisestar{#1}%
+ \def\postfix@answer{#1}%
+ \def\postfix@answerstar{#1}%
+ \ignorespaces
+}{%
+ \ignorespacesafterend
+}%
+\newcounter{subtask}
+\newcounter{subtaskoffset}[@exercise]%
+\renewcommand\thesubtask{\alph{subtask}}%
+\newenvironment{subtask}{%
+ \begin{list}{\thesubtask)}{\usecounter{subtask}%
+ \parskip\z@%
+ \itemsep\z@%
+ \parsep\z@
+ \listparindent\parindent
+ \setcounter{subtask}{\value{subtaskoffset}}}}{%
+ \setcounter{subtaskoffset}{\value{subtask}}%
+ \end{list}%
+ \ignorespacesafterend
+ \noindentnextpar\par}
+\newcommand\subtaskref[1]{\ref{#1})}
+\renewcommand*\labelenumii{\theenumii.}
+\newcommand*\preface[1]{%
+ \begingroup
+ \@openrightfalse
+ \chapter*{#1}%
+ \markboth{}{}%
+ \endgroup
+ \noindentnextpar\par
+}
+\newcommand*\signature[3]{%
+ \par\bigskip
+ \begin{minipage}[t]{0.45\linewidth}%
+ #1,\\
+ #2%
+ \end{minipage}%
+ \hfill
+ \begin{minipage}[t]{0.5\linewidth}%
+ \itshape\raggedleft
+ #3%
+ \end{minipage}%
+}
+\let\@author=\@empty
+\let\@title\@empty
+\let\@subtitle\@empty
+\@ifundefined{subtitle}{%
+ \newcommand\subtitle[1]{\gdef\@subtitle{#1}}%
+}{}
+\let\@edition\@empty
+\newcommand*\edition[1]{\gdef\@edition{#1}}
+\edition{1}
+\newwrite\hhcls@fileinfo
+\immediate\openout\hhcls@fileinfo\jobname.info
+\AtEndDocument{%
+ \ifpdf
+ \if\@title\@empty\else\pdfinfo{/Title (\@title)}\fi
+ \if\@subtitle\@empty
+ \pdfinfo{/Subject (\@edition. Auflage)}%
+ \else
+ \pdfinfo{/Subject (\@subtitle\space (\@edition. Auflage))}%
+ \fi
+ \ifx\@author\@empty
+ \else
+ \pdfinfo{/Author (\@author)}%
+ \fi
+ % If you modify a renamed copy of the files `bgteubner.cls' or
+ % `bgteucls.dtx', you have to preserve some information in the
+ % PDF /Creator entry. The following data have to remain:
+ % - The name `bgteubner.cls',
+ % - a hint that this class has been developed for the `Teubner
+ % Verlag, Wiesbaden, Germany'.
+ \begingroup
+ \GetFileInfo{bgteubner.cls}%
+ \pdfinfo{/Creator (document class bgteubner.cls for the
+ Springer Vieweg Verlag, Wiesbaden, Germany, by Harald Harders
+ \fileversion)}%
+ \endgroup
+ \pdfinfo{/Keywords (Bild: \thebilderzahl; Tabelle: \thetabellenzahl;
+ Aufgabe: \theaufgabenzahl\hhcls@theoremanzahl)}%
+ \fi
+ \if\@title\@empty
+ \else
+ \immediate\write\hhcls@fileinfo{Titel: \@title}%
+ \fi
+ \if\@subtitle\@empty
+ \else
+ \immediate\write\hhcls@fileinfo{Untertitel: \@subtitle}%
+ \fi
+ \if\@subtitle\@empty
+ \fi
+ \immediate\write\hhcls@fileinfo{\@edition. Auflage}%
+ \ifx\@author\@empty
+ \else
+ \immediate\write\hhcls@fileinfo{Autor(en): \@author}%
+ \fi
+ \immediate\write\hhcls@fileinfo{Bild: \thebilderzahl; Tabelle:
+ \thetabellenzahl; Aufgabe: \theaufgabenzahl\hhcls@theoremanzahl}%
+}
+\ifhhcls@titlepage
+\renewcommand*\maketitle{%
+ \edef\hhcls@tmppage{\arabic{page}}%
+ \begin{titlepage}%
+ \renewcommand{\sfdefault}{phv}%
+ \ifx\@title\@empty
+ \ClassError{bgteubner}{No title given}{Define a title using
+ \string\title{Titel}}
+ \fi
+ \ifx\@author\@empty
+ \ClassError{bgteubner}{No author given}{Define
+ an author using \string\author{Name}.}
+ \fi
+ \newlength{\hhcls@parindent}%
+ \setlength{\hhcls@parindent}{2.5\parindent}%
+ \setlength{\parindent}{0mm}%
+ \let\footnotesize\small
+ \let\footnoterule\relax
+ \renewcommand*\thefootnote{\@fnsymbol\c@footnote}%
+ \let\@oldmakefnmark\@makefnmark
+ \def\@makefnmark{\rlap\@oldmakefnmark}
+ \begin{center}
+ \sffamily\Large
+ {\bfseries\LARGE \@author}%
+ \vskip 2.5em
+ \par
+ {\bfseries\iftensor@bold\else\mathversion{bold}\fi\Huge\@title\par}
+ \ifx\@subtitle\@empty
+ \else
+ \vskip 2.5em
+ {\bfseries\iftensor@bold\else\mathversion{bold}\fi
+ \LARGE\@subtitle\par}
+ \fi
+ \vskip 2.5em
+ \par
+ \@ifundefined{hhclsbilderzahl}{%
+ Mit
+ \textbf{??}~Abbildungen,
+ \textbf{???}~Tabellen
+ und
+ \textbf{???}~Aufgaben
+ }{%
+ \ifnum\hhclsbilderzahl=0\relax
+ \ifnum\hhclstabellenzahl=0\relax
+ \ifnum\hhclsaufgabenzahl=0\relax
+ \else
+ Mit \hhclsaufgabenzahl~Aufgaben
+ \fi
+ \else
+ Mit \hhclstabellenzahl~Tabellen
+ \ifnum\hhclsaufgabenzahl=0\relax
+ \else
+ und \hhclsaufgabenzahl~Aufgaben
+ \fi
+ \fi
+ \else
+ Mit \hhclsbilderzahl~Abbildungen%
+ \ifnum\hhclstabellenzahl=0\relax
+ \ifnum\hhclsaufgabenzahl=0\relax
+ \else
+ \space und \hhclsaufgabenzahl~Aufgaben
+ \fi
+ \else
+ \ifnum\hhclsaufgabenzahl=0\relax
+ \space und \hhclstabellenzahl~Tabellen
+ \else
+ , \hhclstabellenzahl~Tabellen
+ und \hhclsaufgabenzahl~Aufgaben
+ \fi
+ \fi
+ \fi
+ }%
+ \ifhhcls@entwurf
+ \vskip 2.5em
+ \par
+ \strut\"Ubersetzt: \today, \now
+ \fi
+ \vfill
+ \par
+ \ifx\@edition\@empty
+ \else
+ \ifnum1<1\@edition
+ \ifnum1<0\@edition\relax
+ \@edition.~Auf\/lage%
+ \vskip 4em
+ \fi
+ \else
+ \@edition
+ \vskip 4em
+ \fi
+ \fi
+ \par
+ {\Large \hhcls@publisher\par}
+ \end{center}
+ \end{titlepage}
+ \next@tpage\cleardoubleemptypage
+ \setcounter{page}{\hhcls@tmppage}%
+ \ifx\@dedication\@empty \else
+ \next@tpage\null\vfill
+ {\centering \Large \@dedication \par}
+ \vskip \z@ \@plus3fill
+ \if@twoside \next@tpage\cleardoublepage \fi
+ \fi
+ \global\let\maketitle\relax
+}
+\else
+ \renewcommand\maketitle{%
+ \ClassWarningNoLine{bgteubner}{Titlepage switched off for final print}%
+ \ifx\@dedication\@empty \else
+ \begin{titlepage}
+ \next@tpage\null\vfill
+ {\centering \Large \@dedication \par}
+ \vskip \z@ \@plus3fill
+ \if@twoside \next@tpage\cleardoublepage \fi
+ \end{titlepage}
+ \fi
+ \global\let\maketitle\relax
+ }
+\fi
+\ifhhcls@entwurf
+ \newlength{\hhtmplen}%
+ \setlength{\hhtmplen}{0.35145980351\textwidth}%
+ \typeout{^^JText width: \strip@pt\hhtmplen mm}%
+ \setlength{\hhtmplen}{0.35145980351\textheight}%
+ \typeout{Text block: \strip@pt\hhtmplen}%
+ \setlength{\hhtmplen}{\headheight}%
+ \addtolength{\hhtmplen}{\headsep}%
+ \addtolength{\hhtmplen}{\textheight}%
+ \setlength{\hhtmplen}{0.35145980351\hhtmplen}%
+ \typeout{Total height: \strip@pt\hhtmplen mm}%
+ \setlength{\hhtmplen}{0.35145980351\baselineskip}%
+ \typeout{Baseline skip: \strip@pt\hhtmplen mm^^J}%
+\fi
+\newcommand\verboten[1]{%
+ \BeforePackage{#1}{%
+ \ClassError{bgteubner}{Forbidden package `#1' loaded}{%
+ You are not allowed to load the package `#1' because it^^J%
+ changes the layout. This error message occurs one line below^^J%
+ the line.}}%
+}
+\verboten{a4wide}
+\verboten{a4}
+\verboten{a5comb}
+\verboten{a5}
+\verboten{aeguill}
+\verboten{ae}
+\verboten{appendix}
+\verboten{avantgar}
+\verboten{avant}
+\verboten{bibgerm}
+\verboten{bookman}
+\verboten{caption2}
+\verboten{caption}
+\verboten{chancery}
+\verboten{chappg}
+\verboten{charter}
+\verboten{cmbright}
+\verboten{concmath}
+\verboten{doublespace}
+\verboten{dropcaps}
+\verboten{eco}
+\verboten{endfloat}
+\verboten{epsfig}
+\verboten{eulervm}
+\verboten{extsizes}
+\verboten{fandyhdr}
+\verboten{figcaps}
+\verboten{floatfig}
+\verboten{floatflt}
+\verboten{fltpage}
+\verboten{french}
+\verboten{geometry}
+\verboten{geomsty}
+\verboten{german}
+\verboten{graphics}
+\verboten{hangcaption}
+\verboten{hangftn}
+\verboten{hanging}
+\verboten{helvetic}
+\verboten{here}
+\verboten{hvmath}
+\verboten{indentfirst}
+\verboten{initials}
+\verboten{landscape}
+\verboten{lmodern}
+\verboten{lucidabr}
+\verboten{lucidaso}
+\verboten{mathptm}
+\verboten{mathsans}
+\verboten{mathtime}
+\verboten{ncntrsbk}
+\verboten{newcent}
+\verboten{ngerman}
+\verboten{palatcm}
+\verboten{palatino}
+\verboten{sansmath}
+\verboten{sectsty}
+\verboten{times}
+\verboten{titlesec}
+\verboten{utopia}
+\verboten{zapfchan}
+\verboten{zefonts}
+\endinput
+%%
+%% End of file `bgteubner.cls'.
diff --git a/Master/texmf-dist/tex/latex/bgteubner/hhfixme.sty b/Master/texmf-dist/tex/latex/bgteubner/hhfixme.sty
new file mode 100644
index 00000000000..9da86195365
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/bgteubner/hhfixme.sty
@@ -0,0 +1,491 @@
+%%
+%% This is file `fixme.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% fixme.dtx
+%%
+
+%% Renamed to hhfixme because the new version of fixme ist completely
+%% incompatible to the old one.
+
+%% Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006 Didier Verna
+
+%% This file is part of FiXme.
+
+%% FiXme may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.1
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.1 or later is part of all distributions of LaTeX
+%% version 1999/06/01 or later.
+
+%% FiXme consists of the files listed in the file `README'.
+
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+\NeedsTeXFormat{LaTeX2e}
+
+\ProvidesPackage{hhfixme}[2006/04/12 v3.2
+ Insert fixme notes in your documents]
+
+\RequirePackage{ifthen}
+\RequirePackage{verbatim}
+
+\newcommand*\fixmelogo{\textsf{FiXme}}
+
+\let\l@fixme\l@figure
+\newcommand\listoffixmes{}
+\def\listoffixmes@final{}
+\def\listoffixmes@draft{%
+ \IfFileExists{\jobname .lox}{\@listoffixmes@pretoc}{}%
+ \@starttoc{lox}%
+ \IfFileExists{\jobname .lox}{\@listoffixmes@posttoc}{}%
+ }
+
+\def\listoffixmes@draft@amsbook{\@starttoc{lox}\listfixmename}
+
+\newcommand*\listfixmename{}
+
+\def\@listoffixmes@pretoc@article{%
+ \section*{\listfixmename%
+ \@mkboth{\MakeUppercase\listfixmename}{\MakeUppercase\listfixmename}}%
+ }
+\def\@listoffixmes@posttoc@article{}
+
+\def\@listoffixmes@pretoc@report{%
+ \if@twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse
+ \fi
+ \chapter*{\listfixmename%
+ \@mkboth{\MakeUppercase\listfixmename}{\MakeUppercase\listfixmename}}%
+ }
+\def\@listoffixmes@posttoc@report{\if@restonecol\twocolumn\fi}
+
+\def\@listoffixmes@pretoc@book{%
+ \if@twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse
+ \fi
+ \chapter*{\listfixmename%
+ \@mkboth{\MakeUppercase\listfixmename}{\MakeUppercase\listfixmename}}%
+ }
+\def\@listoffixmes@posttoc@book{\if@restonecol\twocolumn\fi}
+
+\def\@listoffixmes@pretoc@scrartcl{%
+ \section*{\listfixmename%
+ \@mkboth{\listfixmename}{\listfixmename}}%
+ }
+\def\@listoffixmes@posttoc@scrartcl{}
+
+\def\@listoffixmes@pretoc@scrreprt{%
+ \if@twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse
+ \fi
+ \chapter*{\listfixmename%
+ \@mkboth{\listfixmename}{\listfixmename}}%
+ }
+\def\@listoffixmes@posttoc@scrreprt{\if@restonecol\twocolumn\fi}
+
+\def\@listoffixmes@pretoc@scrbook{%
+ \if@twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse
+ \fi
+ \chapter*{\listfixmename%
+ \@mkboth{\listfixmename}{\listfixmename}}%
+ }
+\def\@listoffixmes@posttoc@scrbook{\if@restonecol\twocolumn\fi}
+
+\newcommand\FXInline[2]{%
+ \textbf{#1}: \emph{#2}}
+\newcommand\FXMargin[2]{%
+ \marginpar{\footnotesize\raggedleft\textbf{#1}: \emph{#2}}}
+\newcommand\FXMarginClue[1]{%
+ \marginpar{\footnotesize\raggedleft\textbf{#1}~!}}
+\newcommand\FXFootnote[2]{%
+ \footnote{\textbf{#1}: \emph{#2}}}
+
+\newcommand*\fixmeindexname{}
+\newcommand\FXIndex[1]{%
+ \index{***@\fixmeindexname:!#1}}
+
+\newcommand*\fixmefatalprefix{}
+\newcommand\FiXmeInline[1]{\FXInline{\fixmefatalprefix}{#1}}
+\newcommand\FiXmeMargin[1]{\FXMargin{\fixmefatalprefix}{#1}}
+\newcommand\FiXmeFootnote[1]{\FXFootnote{\fixmefatalprefix}{#1}}
+\newcommand\FiXmeUser[1]{}
+\let\FiXmeUser\empty
+
+\newcommand\FiXmeIndex[1]{\FXIndex{#1}}
+\newcommand\FiXmeInfo[1]{}
+\newcommand\FiXmeWarning[1]{}
+
+\newif\iffixme@inline
+\newif\iffixme@margin
+\newif\iffixme@marginclue
+\newif\iffixme@footnote
+\newif\iffixme@user
+\newif\iffixme@index
+
+\let\fixme@setinline\fixme@inlinetrue
+\def\fixme@setmargin{%
+ \iffixme@marginclue%
+ \PackageWarning{FiXme}{%
+ Marginal notes requested; tunrning marginal clues off}%
+ \fixme@margincluefalse%
+ \fi%
+ \fixme@margintrue}
+\def\fixme@setmarginclue{%
+ \iffixme@margin%
+ \PackageWarning{FiXme}{%
+ Marginal clues requested; tunrning marginal notes off}%
+ \fixme@marginfalse%
+ \fi%
+ \fixme@margincluetrue}
+\let\fixme@setfootnote\fixme@fottnotetrue
+\let\fixme@setuser\fixme@usertrue
+\let\fixme@setindex\fixme@indextrue
+
+\def\fixme@text#1#2{%
+ \iffixme@inline\FXInline{#1}{#2}\fi%
+ \iffixme@margin\FXMargin{#1}{#2}\fi%
+ \iffixme@marginclue\FXMarginClue{#1}\fi%
+ \iffixme@footnote\FXFootnote{#1}{#2}\fi%
+ \iffixme@user\FXUser{#1}{#2}\fi}
+
+\DeclareOption{inline}{\fixme@setinline}
+\DeclareOption{noinline}{\fixme@inlinefalse}
+\DeclareOption{margin}{\fixme@setmargin}
+\DeclareOption{nomargin}{\fixme@marginfalse}
+\DeclareOption{marginclue}{\fixme@setmarginclue}
+\DeclareOption{nomarginclue}{\fixme@margincluefalse}
+\DeclareOption{footnote}{\fixme@footnotetrue}
+\DeclareOption{nofootnote}{\fixme@footnotefalse}
+\DeclareOption{user}{\fixme@usertrue}
+\DeclareOption{nouser}{\fixme@userfalse}
+\DeclareOption{index}{\fixme@indextrue}
+\DeclareOption{noindex}{\fixme@indexfalse}
+
+\DeclareOption{info}{}
+\DeclareOption{noinfo}{}
+\DeclareOption{warning}{}
+\DeclareOption{nowarning}{}
+
+\newcommand\FXNote[1]{%
+ \GenericInfo{%
+ (FiXme)\@spaces\@spaces\@spaces\@spaces}{%
+ Package FiXme Note: `#1'}}
+\newcommand\FXWarning[1]{%
+ \PackageWarning{FiXme}{`#1'}}
+\newcommand\FXError[1]{%
+ \GenericWarning{%
+ (FiXme)\@spaces\@spaces\@spaces\@spaces}{%
+ Package FiXme Error: `#1'}}
+\newcommand\FXFatal[1]{%
+ \GenericWarning{%
+ (FiXme)\@spaces\@spaces\@spaces\@spaces}{%
+ Package FiXme: `#1'}}
+
+\newif\iffixme@silent
+
+%% Options that control whether to be silent or not:
+\DeclareOption{silent}{\fixme@silenttrue}
+\DeclareOption{nosilent}{\fixme@silentfalse}
+
+\newcounter{fixmecount}
+\newcounter{fixmenotecount}
+\newcounter{fixmewarningcount}
+\newcounter{fixmeerrorcount}
+\newcounter{fixmefatalcount}
+
+\newcommand*\fixmenoteprefix{}
+\newcommand*\fixmenoteindexname{}
+\def\fixme@note@draft#1{%
+ \fixme@text{\fixmenoteprefix}{#1}%
+ \iffixme@index\FXIndex{\fixmenoteindexname\thefixmenotecount: #1}\fi%
+ \iffixme@silent\else\FXNote{#1}\fi%
+ \addcontentsline{lox}{fixme}{\protect\fixmenoteprefix: #1}}
+\def\fixme@note@final#1{%
+ \iffixme@silent\else\FXNote{#1}\fi%
+ \addcontentsline{lox}{fixme}{\protect\fixmenoteprefix: #1}}
+
+\newcommand*\fixmewarningprefix{}
+\newcommand*\fixmewarningindexname{}
+\def\fixme@warning@draft#1{%
+ \fixme@text{\fixmewarningprefix}{#1}%
+ \iffixme@index\FXIndex{\fixmewarningindexname\thefixmewarningcount: #1}\fi%
+ \iffixme@silent\else\FXWarning{#1}\fi%
+ \addcontentsline{lox}{fixme}{\protect\fixmewarningprefix: #1}}
+\def\fixme@warning@final#1{%
+ \iffixme@silent\else\FXWarning{#1}\fi%
+ \addcontentsline{lox}{fixme}{\protect\fixmewarningprefix: #1}}
+
+\newcommand*\fixmeerrorprefix{}
+\newcommand*\fixmeerrorindexname{}
+\def\fixme@error@draft#1{%
+ \fixme@text{\fixmeerrorprefix}{#1}%
+ \iffixme@index\FXIndex{\fixmeerrorindexname\thefixmeerrorcount: #1}\fi%
+ \iffixme@silent\else\FXError{#1}\fi%
+ \addcontentsline{lox}{fixme}{\protect\fixmeerrorprefix: #1}}
+\def\fixme@error@final#1{%
+ \iffixme@silent\else\FXError{#1}\fi%
+ \addcontentsline{lox}{fixme}{\protect\fixmeerrorprefix: #1}}
+
+\newcommand*\fixmefatalindexname{}
+\def\fixme@fatal@draft#1{%
+ \iffixme@inline\FiXmeInline{#1}\fi%
+ \iffixme@margin\FiXmeMargin{#1}\fi%
+ \iffixme@marginclue\FXMarginClue{\fixmefatalprefix}\fi%
+ \iffixme@footnote\FiXmeFootnote{#1}\fi%
+ \iffixme@user\FiXmeUser{#1}\fi%
+ \iffixme@index\FiXmeIndex{%
+ \fixmefatalindexname\thefixmefatalcount: #1}\fi%
+ \iffixme@silent\else\FXFatal{#1}\fi%
+ \addcontentsline{lox}{fixme}{\protect\fixmefatalprefix: #1}}
+\def\fixme@fatal@final#1{%
+ \PackageError{FiXme}{`#1' fixme left in final version}{%
+ You are processing your document in final mode,\MessageBreak
+ but you still have some critical FiXme's left behind.\MessageBreak
+ Type X to quit, fix your document, and rerun LaTeX.}}
+
+\def\@@fixme#1#2{%
+ \stepcounter{fixmecount}%
+ \stepcounter{fixme#1count}%
+ \csname fixme@#1\endcsname{#2}}
+\def\@fixme#1[#2]#3{%
+ \bgroup%
+ \fixme@inlinefalse%
+ \fixme@marginfalse%
+ \fixme@margincluefalse%
+ \fixme@footnotefalse%
+ \fixme@userfalse%
+ \fixme@indexfalse%
+ \@for\fixme@option:=#2\do{%
+ \expandafter\ifx\csname fixme@\fixme@option true\endcsname\relax
+ \PackageError{FiXme}{Unknown layout option `\fixme@option'}{%
+ You have given an invalid option to \string\fixme, or an \string\fx %
+ command.\MessageBreak
+ Valid options are `inline', `margin', `marginclue', `footnote', %
+ `user',\MessageBreak
+ and `index'.\MessageBreak
+ Type X to quit, fix your document, and rerun LaTeX.}%
+ \else%
+ \csname fixme@set\fixme@option\endcsname%
+ \fi}%
+ \@@fixme{#1}{#3}%
+ \egroup}
+\newcommand\fxnote{\@ifnextchar[%]
+ {\@fixme{note}}{\@@fixme{note}}}
+\newcommand\fxwarning{\@ifnextchar[%]
+ {\@fixme{warning}}{\@@fixme{warning}}}
+\newcommand\fxerror{\@ifnextchar[%]
+ {\@fixme{error}}{\@@fixme{error}}}
+\newcommand\fixme{\@ifnextchar[%]
+ {\@fixme{fatal}}{\@@fixme{fatal}}}
+
+\newcommand\FXEnvBegin{\begin{quotation}}
+\newcommand\FXEnvEnd{\end{quotation}}
+
+\def\@fxenvbegin@draft#1#2{%
+ \FXEnvBegin
+ \edef\fixme@args{inline%
+ \iffixme@index,index\fi%
+ \iffixme@marginclue,marginclue\fi}%
+ \csname#1\endcsname[\fixme@args]{#2}}
+\def\@fxenvbegin@final#1#2{
+ \edef\fixme@args{inline%
+ \iffixme@index,index\fi%
+ \iffixme@marginclue,marginclue\fi}%
+ \csname#1\endcsname[\fixme@args]{#2}
+ \comment
+}
+
+\def\@fxenvend@draft{\FXEnvEnd}
+\def\@fxenvend@final{\endcomment}
+
+\newenvironment{anfxnote}[1][]{%
+ \@fxenvbegin{fxnote}{#1}}{%
+ \@fxenvend}
+\newenvironment{anfxwarning}[1][]{%
+ \@fxenvbegin{fxwarning}{#1}}{%
+ \@fxenvend}
+\newenvironment{anfxerror}[1][]{%
+ \@fxenvbegin{fxerror}{#1}}{%
+ \@fxenvend}
+\newenvironment{afixme}[1][]{%
+ \@fxenvbegin{fixme}{#1}}{%
+ \@fxenvend}
+
+\DeclareOption{english}{%
+ \renewcommand*\fixmenoteprefix{\fixmelogo\nobreakspace Note}
+ \renewcommand*\fixmewarningprefix{\fixmelogo\nobreakspace Warning}
+ \renewcommand*\fixmeerrorprefix{\fixmelogo\nobreakspace Error}
+ \renewcommand*\fixmefatalprefix{\fixmelogo}
+ \renewcommand*\fixmeindexname{\fixmelogo}
+ \renewcommand*\fixmenoteindexname{**a@Notes:!}
+ \renewcommand*\fixmewarningindexname{**b@Warnings:!}
+ \renewcommand*\fixmeerrorindexname{**c@Errors:!}
+ \renewcommand*\fixmefatalindexname{}
+ \renewcommand*{\listfixmename}{List of Corrections}}
+\DeclareOption{french}{%
+ \renewcommand*\fixmenoteprefix{\fixmelogo\nobreakspace Note}
+ \renewcommand*\fixmewarningprefix{\fixmelogo\nobreakspace Attention}
+ \renewcommand*\fixmeerrorprefix{\fixmelogo\nobreakspace Erreur}
+ \renewcommand*\fixmefatalprefix{\fixmelogo}
+ \renewcommand*\fixmeindexname{\fixmelogo}
+ \renewcommand*\fixmenoteindexname{**a@Notes:!}
+ \renewcommand*\fixmewarningindexname{**b@Avertissements:!}
+ \renewcommand*\fixmeerrorindexname{**c@Erreurs:!}
+ \renewcommand*\fixmefatalindexname{}
+ \renewcommand*{\listfixmename}{Liste des Corrections}}
+\DeclareOption{francais}{\ExecuteOptions{french}}
+\DeclareOption{spanish}{%
+ \renewcommand*\fixmenoteprefix{\fixmelogo\nobreakspace Nota}
+ \renewcommand*\fixmewarningprefix{\fixmelogo\nobreakspace Aviso}
+ \renewcommand*\fixmeerrorprefix{\fixmelogo\nobreakspace Error}
+ \renewcommand*\fixmefatalprefix{\fixmelogo}
+ \renewcommand*\fixmeindexname{\fixmelogo}
+ \renewcommand*\fixmenoteindexname{**a@Notas:!}
+ \renewcommand*\fixmewarningindexname{**b@Avisos:!}
+ \renewcommand*\fixmeerrorindexname{**c@Errores:!}
+ \renewcommand*\fixmefatalindexname{}
+ \renewcommand*{\listfixmename}{Lista de Correcciones}}
+\DeclareOption{italian}{%
+ \renewcommand*\fixmenoteprefix{\fixmelogo\nobreakspace Nota}
+ \renewcommand*\fixmewarningprefix{\fixmelogo\nobreakspace Avviso}
+ \renewcommand*\fixmeerrorprefix{\fixmelogo\nobreakspace Errore}
+ \renewcommand*\fixmefatalprefix{\fixmelogo}
+ \renewcommand*\fixmeindexname{\fixmelogo}
+ \renewcommand*\fixmenoteindexname{**a@Note:!}
+ \renewcommand*\fixmewarningindexname{**b@Avvisi:!}
+ \renewcommand*\fixmeerrorindexname{**c@Errori:!}
+ \renewcommand*\fixmefatalindexname{}
+ \renewcommand*{\listfixmename}{Corrigenda}}
+\DeclareOption{german}{%
+ \renewcommand*\fixmenoteprefix{\fixmelogo\nobreakspace Anm}
+ \renewcommand*\fixmewarningprefix{\fixmelogo\nobreakspace Warnung}
+ \renewcommand*\fixmeerrorprefix{\fixmelogo\nobreakspace Fehler}
+ \renewcommand*\fixmefatalprefix{\fixmelogo}
+ \renewcommand*\fixmeindexname{\fixmelogo}
+ \renewcommand*\fixmenoteindexname{**a@Anmerkungen:!}
+ \renewcommand*\fixmewarningindexname{**b@Warnungen:!}
+ \renewcommand*\fixmeerrorindexname{**c@Fehler:!}
+ \renewcommand*\fixmefatalindexname{}
+ \renewcommand*{\listfixmename}{Verzeichnis der Korrekturen}}
+\DeclareOption{ngerman}{%
+ \ExecuteOptions{german}}
+\DeclareOption{danish}{%
+ \renewcommand*\fixmenoteprefix{\fixmelogo\nobreakspace Note}
+ \renewcommand*\fixmewarningprefix{\fixmelogo\nobreakspace Advarsel}
+ \renewcommand*\fixmeerrorprefix{\fixmelogo\nobreakspace Fejl}
+ \renewcommand*\fixmefatalprefix{\fixmelogo}
+ \renewcommand*\fixmeindexname{\fixmelogo}
+ \renewcommand*\fixmenoteindexname{**a@Noter:!}
+ \renewcommand*\fixmewarningindexname{**b@Advarsler:!}
+ \renewcommand*\fixmeerrorindexname{**c@Fejl:!}
+ \renewcommand*\fixmefatalindexname{}
+ \renewcommand*{\listfixmename}{Rettelser}}
+\DeclareOption{croatian}{%
+ \renewcommand*\fixmenoteprefix{\fixmelogo\nobreakspace Poruka}
+ \renewcommand*\fixmewarningprefix{\fixmelogo\nobreakspace Upozorenje}
+ \renewcommand*\fixmeerrorprefix{\fixmelogo\nobreakspace Gre\v ska}
+ \renewcommand*\fixmefatalprefix{\fixmelogo}
+ \renewcommand*\fixmeindexname{\fixmelogo}
+ \renewcommand*\fixmenoteindexname{**a@Poruke:!}
+ \renewcommand*\fixmewarningindexname{**b@Upozorenja:!}
+ \renewcommand*\fixmeerrorindexname{**c@Greske:!}
+ \renewcommand*\fixmefatalindexname{}
+ \renewcommand*{\listfixmename}{Popis korekcija}}
+
+\DeclareOption{final}{
+ \let\fixme@note\fixme@note@final
+ \let\fixme@warning\fixme@warning@final
+ \let\fixme@error\fixme@error@final
+ \let\fixme@fatal\fixme@fatal@final
+ \let\@fxenvbegin\@fxenvbegin@final
+ \let\@fxenvend\@fxenvend@final
+ \let\listoffixmes\listoffixmes@final
+ }
+
+\DeclareOption{draft}{
+ \@ifclassloaded{article}{
+ \let\@listoffixmes@pretoc\@listoffixmes@pretoc@article
+ \let\@listoffixmes@posttoc\@listoffixmes@posttoc@article}{
+ \@ifclassloaded{report}{
+ \let\@listoffixmes@pretoc\@listoffixmes@pretoc@report
+ \let\@listoffixmes@posttoc\@listoffixmes@posttoc@report}{
+ \@ifclassloaded{book}{
+ \let\@listoffixmes@pretoc\@listoffixmes@pretoc@book
+ \let\@listoffixmes@posttoc\@listoffixmes@posttoc@book}{
+ \@ifclassloaded{scrartcl}{
+ \let\@listoffixmes@pretoc\@listoffixmes@pretoc@scrartcl
+ \let\@listoffixmes@posttoc\@listoffixmes@posttoc@scrartcl}{
+ \@ifclassloaded{scrreprt}{
+ \let\@listoffixmes@pretoc\@listoffixmes@pretoc@scrreprt
+ \let\@listoffixmes@posttoc\@listoffixmes@posttoc@scrreprt}{
+ \@ifclassloaded{scrbook}{
+ \let\@listoffixmes@pretoc\@listoffixmes@pretoc@scrbook
+ \let\@listoffixmes@posttoc\@listoffixmes@posttoc@scrbook}{
+ \@ifclassloaded{amsbook}{
+ \let\listoffixmes@draft\listoffixmes@draft@amsbook}{
+ %% Use the article layout by default.
+ \let\@listoffixmes@pretoc\@listoffixmes@pretoc@article
+ \let\@listoffixmes@posttoc\@listoffixmes@posttoc@article}
+ }
+ }
+ }
+ }
+ }
+ }
+ \let\fixme@note\fixme@note@draft
+ \let\fixme@warning\fixme@warning@draft
+ \let\fixme@error\fixme@error@draft
+ \let\fixme@fatal\fixme@fatal@draft
+ \let\@fxenvbegin\@fxenvbegin@draft
+ \let\@fxenvend\@fxenvend@draft
+ \let\listoffixmes\listoffixmes@draft
+}
+
+\ExecuteOptions{english,final,margin,nosilent}
+\ProcessOptions*
+
+\AtBeginDocument{%
+ \ifx\FiXmeUser\empty
+ \renewcommand\FiXmeUser[1]{\FXUser{\fixmefatalprefix}{#1}}
+ \fi}
+
+\AtEndDocument{%
+ \GenericWarning{%
+ (FiXme)\@spaces\@spaces\@spaces\@spaces
+ }{%
+ Package FiXme Summary: Number of notes: \thefixmenotecount,\MessageBreak%
+ Number of warnings: \thefixmewarningcount,\MessageBreak%
+ Number of errors: \thefixmeerrorcount,\MessageBreak%
+ Number of fatal errors: \thefixmefatalcount,\MessageBreak%
+ Total: \thefixmecount\@gobble%
+ }}
+\endinput
+%%
+%% End of file `fixme.sty'.
diff --git a/Master/texmf-dist/tex/latex/bgteubner/hhsubfigure.sty b/Master/texmf-dist/tex/latex/bgteubner/hhsubfigure.sty
new file mode 100644
index 00000000000..5c0dc892177
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/bgteubner/hhsubfigure.sty
@@ -0,0 +1,406 @@
+%%
+%% This is file `hhsubfigure.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% hhsubfigure.dtx (with options: `package')
+%%
+%% Copyright (C) 2003 Harald Harders.
+%%
+%% This is a slightly modified version of the `subfigure' package by
+%% Steven Douglas Cochran. The origianl package can be downloaded from
+%% <ftp://ftp.dante.de/tex-archive/macros/latex/contrib/subfigure/>.
+%%
+%% This file is NOT the source for hhsubfigure, because almost all comments
+%% have been stripped from it. It is NOT the preferred form of hhsubfigure
+%% for making modifications to it.
+%%
+%% Therefore you can NOT redistribute and/or modify THIS file. You can
+%% however redistribute the complete source (hhsubfigure.dtx and
+%% hhsubfigure.ins) and/or modify it under the terms of the LaTeX Project
+%% Public License, either version 1.2 of this license or (at your option)
+%% any later version. The latest version of this license is in:
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.2 or later is part of all distributions of LaTeX version
+%% 1999/09/03 or later.
+%%
+%% The hhsubfigure package is distributed in the hope that it will be
+%% useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
+%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LaTeX
+%% Project Public License for more details.
+%%
+%% Please use the hhsubfigure package only in conjunction with the
+%% document class bgteubner.cls. Steven has announced a successor for
+%% this package that will make hhsubfigure unnecessary.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% @LaTeX-style-file{
+%% author = "Steven Douglas Cochran (modified by Harald Harders)",
+%% version = "2.1.4",
+%% date = "2003/09/14",
+%% time = "09:34:13",
+%% filename = "hhsubfigure.sty",
+%% email = "h.harders@tu-bs.de",
+%% codetable = "ISO/ASCII",
+%% keywords = "LaTeX, float, figure, table, captcont",
+%% supported = "yes",
+%% abstract = "LaTeX package for providing support for the
+%% inclusion of small, `sub', figures and tables. It
+%% simplifies the positioning, captioning and
+%% labeling of them within a single figure or table
+%% environment. In addition, this package allows
+%% such subcaptions to be written to the List of
+%% Figures or List of tables if desired."
+%% }
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\NeedsTeXFormat{LaTeX2e}[1994/12/01]
+\ProvidesPackage{hhsubfigure}[2003/09/14 v2.1.4a (hh)subfigure package]
+\newif\ifhyperrefloaded
+\AtBeginDocument{%
+ \@ifpackageloaded{hyperref}{%
+ \hyperrefloadedtrue
+ \providecommand\theHsubfigure{\thefigure.\arabic{subfigure}}%
+ \providecommand\theHsubtable{\thetable.\arabic{subtable}}%
+ \providecommand{\toclevel@subfigure}{1}%
+ \providecommand{\toclevel@subtable}{1}}{}}
+\newif\ifsubcaphang
+\newif\ifsubcapcenter
+\newif\ifsubcapcenterlast
+\newif\ifsubcapnooneline
+\newif\ifsubcapraggedright
+\newif\ifsubcapRaggedRight
+\newskip\subfigtopskip \subfigtopskip = 5\p@
+\newskip\subfigcapskip \subfigcapskip = 0\p@
+\newdimen\subfigcaptopadj \subfigcaptopadj = 3\p@
+\newskip\subfigbottomskip \subfigbottomskip = 5\p@
+\newdimen\subfigcapmargin \subfigcapmargin = \z@
+\newskip\subfiglabelskip \subfiglabelskip = 0.33em plus 0.07em minus 0.03em
+\newcommand*{\subcapsize}{}
+\newcommand*{\subcaplabelfont}{%
+ \subcaplabelfont@f\subcaplabelfont@c\subcaplabelfont@s}
+\newcommand*{\subcaplabelfont@f}{\fontfamily{\familydefault}\selectfont}
+\newcommand*{\subcaplabelfont@c}{\fontseries{\seriesdefault}\selectfont}
+\newcommand*{\subcaplabelfont@s}{\fontshape{\shapedefault}\selectfont}
+\newcommand*{\subcapfont}{%
+ \subcapfont@f\subcapfont@c\subcapfont@s}
+\newcommand*{\subcapfont@f}{\fontfamily{\familydefault}\selectfont}
+\newcommand*{\subcapfont@c}{\fontseries{\seriesdefault}\selectfont}
+\newcommand*{\subcapfont@s}{\fontshape{\shapedefault}\selectfont}
+\newif\ifsf@tight \sf@tighttrue
+\newcounter{subfigure}[figure]
+\@ifundefined{figuretopcaptrue}{\newif\iffiguretopcap}{}
+\newif\ifsubfiguretopcap
+\let\p@subfigure=\thefigure
+\providecommand*{\thesubfigure}{(\alph{subfigure})}
+\renewcommand*{\thesubfigure}{(\alph{subfigure})}
+\newcommand*{\@thesubfigure}{\thesubfigure\hskip\subfiglabelskip}
+\newcommand*{\@@thesubfigure}{\thesubfigure}
+\let\ext@subfigure=\ext@figure
+\newcommand*{\l@subfigure}{%
+ \@dottedxxxline{\ext@subfigure}{2}{3.8em}{2.5em}}
+\newcounter{lofdepth}
+\setcounter{lofdepth}{1}
+\newcounter{subtable}[table]
+\@ifundefined{tabletopcaptrue}{\newif\iftabletopcap}{}
+\newif\ifsubtabletopcap
+\let\p@subtable=\thetable
+\providecommand*{\thesubtable}{(\alph{subtable})}
+\renewcommand*{\thesubtable}{(\alph{subtable})}
+\newcommand*{\@thesubtable}{\thesubtable\hskip\subfiglabelskip}
+\newcommand*{\@@thesubtable}{\thesubtable}
+\let\ext@subtable=\ext@table
+\newcommand*{\l@subtable}{%
+ \@dottedxxxline{\ext@subtable}{2}{3.8em}{2.5em}}
+\newcounter{lotdepth}
+\setcounter{lotdepth}{1}
+\DeclareOption{normal}{%
+ \subcaphangfalse
+ \subcapcenterfalse
+ \subcapcenterlastfalse
+ \subcapnoonelinefalse
+ \subcapraggedrightfalse
+ \subcapRaggedRightfalse}
+\DeclareOption{hang}{\subcaphangtrue}
+\DeclareOption{center}{\subcapcentertrue}
+\DeclareOption{centerlast}{\subcapcenterlasttrue}
+\DeclareOption{nooneline}{\subcapnoonelinetrue}
+\DeclareOption{raggedright}{\subcapraggedrighttrue}
+\DeclareOption{RaggedRight}{\subcapRaggedRighttrue}
+\DeclareOption{isu}{\ExecuteOption{hang}}
+\DeclareOption{anne}{\ExecuteOption{centerlast}}
+\DeclareOption{scriptsize}{\renewcommand*{\subcapsize}{\scriptsize}}
+\DeclareOption{footnotesize}{\renewcommand*{\subcapsize}{\footnotesize}}
+\DeclareOption{small}{\renewcommand*{\subcapsize}{\small}}
+\DeclareOption{normalsize}{\renewcommand*{\subcapsize}{\normalsize}}
+\DeclareOption{large}{\renewcommand*{\subcapsize}{\large}}
+\DeclareOption{Large}{\renewcommand*{\subcapsize}{\Large}}
+\DeclareOption{rm}{\renewcommand*{\subcaplabelfont@f}{\rmfamily}}
+\DeclareOption{sf}{\renewcommand*{\subcaplabelfont@f}{\sffamily}}
+\DeclareOption{tt}{\renewcommand*{\subcaplabelfont@f}{\ttfamily}}
+\DeclareOption{md}{\renewcommand*{\subcaplabelfont@c}{\mdseries}}
+\DeclareOption{bf}{\renewcommand*{\subcaplabelfont@c}{\bfseries}}
+\DeclareOption{up}{\renewcommand*{\subcaplabelfont@s}{\upshape}}
+\DeclareOption{it}{\renewcommand*{\subcaplabelfont@s}{\itshape}}
+\DeclareOption{sl}{\renewcommand*{\subcaplabelfont@s}{\slshape}}
+\DeclareOption{sc}{\renewcommand*{\subcaplabelfont@s}{\scshape}}
+\DeclareOption{RM}{\renewcommand*{\subcapfont@f}{\rmfamily}}
+\DeclareOption{SF}{\renewcommand*{\subcapfont@f}{\sffamily}}
+\DeclareOption{TT}{\renewcommand*{\subcapfont@f}{\ttfamily}}
+\DeclareOption{MD}{\renewcommand*{\subcapfont@c}{\mdseries}}
+\DeclareOption{BF}{\renewcommand*{\subcapfont@c}{\bfseries}}
+\DeclareOption{IT}{\renewcommand*{\subcapfont@s}{\itshape}}
+\DeclareOption{SL}{\renewcommand*{\subcapfont@s}{\slshape}}
+\DeclareOption{SC}{\renewcommand*{\subcapfont@s}{\scshape}}
+\DeclareOption{UP}{\renewcommand*{\subcapfont@s}{\upshape}}
+\DeclareOption{figbotcap}{\figuretopcapfalse}
+\DeclareOption{figtopcap}{\figuretopcaptrue}
+\DeclareOption{tabbotcap}{\tabletopcapfalse}
+\DeclareOption{tabtopcap}{\tabletopcaptrue}
+\DeclareOption{FIGBOTCAP}{\ExecuteOptions{figbotcap}\subfiguretopcapfalse}
+\DeclareOption{FIGTOPCAP}{\ExecuteOptions{figtopcap}\subfiguretopcaptrue}
+\DeclareOption{TABBOTCAP}{\ExecuteOptions{tabbotcap}\subtabletopcapfalse}
+\DeclareOption{TABTOPCAP}{\ExecuteOptions{tabtopcap}\subtabletopcaptrue}
+\DeclareOption{loose}{%
+ \subfigtopskip = 10\p@
+ \subfigcapskip = 10\p@
+ \subfigcaptopadj = 0\p@
+ \subfigbottomskip = 10\p@
+ \subfigcapmargin = 10\p@
+ \subfiglabelskip = 0.33em
+ \renewcommand*{\@thesubfigure}{\thesubfigure\space}
+ \renewcommand*{\@thesubtable}{\thesubtable\space}
+ \sf@tightfalse}
+\DeclareOption{tight}{%
+ \subfigtopskip = 5\p@
+ \subfigcapskip = 0\p@
+ \subfigcaptopadj = 3\p@
+ \subfigbottomskip = 5\p@
+ \subfigcapmargin = \z@
+ \subfiglabelskip = 0.33em plus 0.07em minus 0.03em
+ \renewcommand*{\@thesubfigure}{\thesubfigure\hskip\subfiglabelskip}
+ \renewcommand*{\@thesubtable}{\thesubtable\hskip\subfiglabelskip}
+ \sf@tighttrue}
+\ExecuteOptions{normal,footnotesize,FIGBOTCAP,TABBOTCAP,loose}
+\InputIfFileExists{subfigure.cfg}{%
+ \typeout{****************************************^^J%
+ * Local config file subfigure.cfg used *^^J%
+ ****************************************}}{}
+\ProcessOptions
+\newcommand*{\subfigure}{%
+ \bgroup
+ \let\subfig@oldlabel=\label
+ \let\label=\subfloat@label
+ \@nameuse{if\@captype topcap}\else
+ \advance\@nameuse{c@\@captype}\@ne
+ \fi
+ \refstepcounter{sub\@captype}%
+ \@ifnextchar [%
+ {\@subfigure}%
+ {\@subfigure[\@empty]}}
+\let\subtable=\subfigure
+\def\@subfigure[#1]{%
+ \@ifnextchar [%
+ {\@subfloat{sub\@captype}[{#1}]}%
+ {\@subfloat{sub\@captype}[\@empty{#1}][{#1}]}}
+\newskip\subfig@top
+\newskip\subfig@bottom
+\long\def\@subfloat#1[#2][#3]#4{%
+ \@tempcnta=1
+ \ifsf@tight
+ \if@minipage
+ \@tempcnta=\z@
+ \else\ifdim \lastskip=\z@ \else
+ \@tempcnta=2
+ \fi\fi
+ \fi
+ \@nameuse{if\@captype topcap}%
+ \subfig@top=\subfigbottomskip
+ \subfig@bottom=\subfigtopskip
+ \else
+ \subfig@top=\subfigtopskip
+ \subfig@bottom=\subfigbottomskip
+ \fi
+ \leavevmode
+ \setbox\@tempboxa \hbox{#4}%
+ \@tempdima=\wd\@tempboxa
+ \vtop\bgroup
+ \vbox\bgroup
+ \ifcase\@tempcnta
+ \@minipagefalse
+ \or
+ \vspace{\subfig@top}%
+ \or
+ \ifdim \lastskip=\z@ \else
+ \@tempskipb\subfig@top\relax\@xaddvskip
+ \fi
+ \fi
+ \@nameuse{if#1topcap}%
+ \ifx \@empty#3\relax \else
+ \@subcaption{#1}{#2}{#3}%
+ \vskip\subfigcapskip
+ \vskip\subfigcaptopadj
+ \fi\egroup
+ \box\@tempboxa
+ \else
+ \box\@tempboxa\egroup
+ \ifx \@empty#3\relax \else
+ \vskip\subfigcapskip
+ \@subcaption{#1}{#2}{#3}%
+ \fi
+ \fi
+ \vspace{\subfig@bottom}%
+ \egroup
+ \@nameuse{if\@captype topcap}\else
+ \global\advance\@nameuse{c@\@captype}\m@ne
+ \fi
+ \egroup}
+\newcommand*{\@subfigcaptionlist}{}
+\newcommand{\@subcaption}[3]{%
+ \ifx \relax#2\relax \else
+ \bgroup
+ \let\label=\@gobble
+ \let\protect=\string
+ \def\@subcaplabel{\@nameuse{@@the#1}}%
+ \xdef\@subfigcaptionlist{%
+ \@subfigcaptionlist,%
+ {\protect\numberline{\@subcaplabel}\noexpand{\ignorespaces #2}}}%
+ \egroup
+ \fi
+ \@nameuse{@make#1caption}{\@nameuse{@the#1}}{#3}}
+\newcommand*{\listsubcaptions}{%
+ \@ifstar
+ {\gdef\@subfigcaptionlist{}}%
+ {\@listsubcaptions{\@captype}}}
+\newcommand*{\@listsubcaptions}[1]{%
+ \@ifundefined{@captype}{}{%
+ \@ifundefined{ext@sub#1}{}{%
+ \@for \sf@temp:=\@subfigcaptionlist \do {%
+ \ifx \@empty\sf@temp\relax \else
+ \addcontentsline
+ {\@nameuse{ext@sub#1}}%
+ {sub#1}%
+ {\sf@temp}%
+ \fi}}}%
+ \gdef\@subfigcaptionlist{}}
+\newcommand{\@makesubfigurecaption}[2]{%
+ \setbox\@tempboxa\hbox{%
+ \subcapsize
+ {\subcaplabelfont #1}%
+ {\subcapfont\ignorespaces #2}}%
+ \@tempdimb=-\subfigcapmargin
+ \multiply\@tempdimb\tw@
+ \advance\@tempdimb\@tempdima
+ \hbox to\@tempdima{%
+ \hss
+ \ifdim \wd\@tempboxa >\@tempdimb
+ \subfig@caption{#1}{#2}%
+ \else\ifsubcapnooneline
+ \subfig@caption{#1}{#2}%
+ \else
+ \box\@tempboxa
+ \fi\fi
+ \hss}}
+\let\@makesubtablecaption=\@makesubfigurecaption
+\newcommand{\subfig@caption}[2]{%
+ \ifsubcaphang
+ \sbox{\@tempboxa}{\subcapsize\subcaplabelfont #1}%
+ \addtolength{\@tempdimb}{-\wd\@tempboxa}%
+ \usebox{\@tempboxa}%
+ \subfig@captionpar{\@tempdimb}{%
+ {\subcapfont\ignorespaces #2}}%
+ \else
+ \subfig@captionpar{\@tempdimb}{%
+ {\subcaplabelfont #1}%
+ {\subcapfont\ignorespaces #2}}%
+ \fi}
+\newcommand{\subfig@captionpar}[2]{%
+ \parbox[t]{#1}{%
+ \subcapsize
+ \ifsubcapraggedright
+ \setlength{\leftskip}{\z@}%
+ \setlength{\@rightskip}{\@flushglue}%
+ \setlength{\rightskip}{\@rightskip}%
+ \setlength{\parindent}{\z@}%
+ \else\ifsubcapRaggedRight
+ \setlength{\leftskip}{\z@}%
+ \setlength{\@rightskip}{\z@ plus \tw@ em}%
+ \setlength{\rightskip}{\@rightskip}%
+ \setlength{\parfillskip}{\z@ plus \@ne fil}%
+ \setlength{\parindent}{\z@}%
+ \else\ifsubcapcenter
+ \setlength{\leftskip}{\@flushglue}%
+ \setlength{\rightskip}{\@flushglue}%
+ \setlength{\parfillskip}{\z@skip}%
+ \else\ifsubcapcenterlast
+ \addtolength{\leftskip}{\z@ plus 1fil}%
+ \addtolength{\rightskip}{\z@ plus -1fil}%
+ \setlength{\parfillskip}{\z@ plus 2fil}%
+ \fi\fi\fi\fi
+ #2}}
+\newcommand*{\@dottedxxxline}[6]{%
+ \ifnum #2>\@nameuse{c@#1depth}\else
+ \@dottedtocline{0}{#3}{#4}{#5}{#6}
+ \fi}
+\let\subfig@end@float=\end@float
+\renewcommand*{\end@float}{%
+ \@listsubcaptions{\@captype}%
+ \subfig@end@float}
+\let\subfig@end@dblfloat=\end@dblfloat
+\renewcommand*{\end@dblfloat}{%
+ \@listsubcaptions{\@captype}%
+ \subfig@end@dblfloat}
+\let\subfig@oldcaption=\@caption
+\long\def\@caption#1[#2]#3{%
+ \@ifundefined{if#1topcap}%
+ {\subfig@oldcaption{#1}[{#2}]{#3}}%
+ {\@nameuse{if#1topcap}%
+ \@listsubcaptions{#1}%
+ \subfig@oldcaption{#1}[{#2}]{#3}%
+ \else
+ \subfig@oldcaption{#1}[{#2}]{#3}%
+ \@listsubcaptions{#1}%
+ \fi}}
+\let\subfig@oldlabel=\relax
+\newcommand*{\subfloat@label}{%
+ \@ifnextchar(
+ {\sf@sub@label}
+ {\sf@sub@label(Sub\@captype\space
+ \@ifundefined{thechapter}{}{%
+ \@nameuse{thechapter}\space}%
+ \@nameuse{p@sub\@captype}%
+ \@nameuse{thesub\@captype}.)}}
+\let\sub@label\subfloat@label
+\def\sf@sub@label(#1)#2{%
+ \ifhyperrefloaded
+ \protected@edef\@currentlabelname{%
+ \expandafter\strip@period #1\relax.\relax\@@@}%
+ \fi
+ \sf@@sub@label{#2}}
+\newcommand*{\sf@@sub@label}[1]{%
+ \@bsphack
+ \subfig@oldlabel{#1}%
+ \ifhyperrefloaded
+ \protected@write\@auxout{}{%
+ \string\newlabel{sub@#1}%
+ {{\@nameuse{@@thesub\@captype}}%
+ {\thepage}%
+ {\expandafter\strip@period\@currentlabelname\relax.\relax\@@@}%
+ {\@currentHref}%
+ {}}}%
+ \else
+ \protected@write\@auxout{}{%
+ \string\newlabel{sub@#1}%
+ {{\@nameuse{@@thesub\@captype}}%
+ {\thepage}}}%
+ \fi
+ \@esphack}
+\newcommand\subref[1]{%
+ \ref{sub@#1}}
+\newcommand\Subref[1]{%
+ {\subcaplabelfont
+ \ref{sub@#1}}}
+\endinput
+%%
+%% End of file `hhsubfigure.sty'.
diff --git a/Master/texmf-dist/tex/latex/bgteubner/ptmxcomp.sty b/Master/texmf-dist/tex/latex/bgteubner/ptmxcomp.sty
new file mode 100644
index 00000000000..c36aba20662
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/bgteubner/ptmxcomp.sty
@@ -0,0 +1,300 @@
+%
+% ptmxcomp package
+%
+% ptmxcomp.sty
+% Copyright 2004 Harald Harders
+%
+% This program may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.2
+% of this license or (at your opinion) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.2 or later is part of all distributions of LaTeX
+% version 1999/12/01 or later.
+%
+% ChangeLog:
+%
+% 2004/11/19 v0.03 Harald Harders (h.harders@tu-bs.de)
+% - Avoid to use package calc
+%
+\ProvidesPackage{ptmxcomp}
+ [2004/11/19 v0.03 Declare textcomp symbols for mathptmx (HH)]
+
+\typeout{ptmxcomp: Redefine many accents and symbols from textcomp and
+ mathcomp.}%
+\typeout{\space\space\space\space\space\space\space\space\space\space
+ Some are ugly. These symbols generate a warning when using them.^^J}%
+
+\RequirePackage{textcomp}
+\RequirePackage[rmdefault]{mathcomp}
+\RequirePackage{graphicx}
+\RequirePackage{amsmath}
+
+% \end{macrocode}
+% Umkreiste Zahlen wiederherstellen, wenn Times verwendet (wird von
+% textcomp vermurkst):
+% \begin{macrocode}
+\DeclareTextAccentDefault{\textcircled}{OMS}
+
+
+% \cs{textohm} and \cs{tcohm} have to be corrected in case of Times as
+% base font.
+\renewcommand*\tcohm{\upOmega}%
+\renewcommand*\textohm{%
+ \begingroup
+ \ifthenelse{\equal{\f@series}{b}}{\boldmath}{}%
+ \ifthenelse{\equal{\f@shape}{it}}{%
+ \ensuremath{\Omega}%
+ }{%
+ \ifthenelse{\equal{\f@shape}{sl}}{%
+ \ensuremath{\Omega}%
+ }{%
+ \ensuremath{\upOmega}%
+ }%
+ }%
+ \endgroup
+}
+
+% \end{macrocode}
+% \cs{textpertenthousand} and \cs{tcpertenthousand} have to be
+% replaced by European Computer Modern in case of Times as base font.
+% \begin{macrocode}
+\newcommand*\hhcls@textpertenthousand{}%
+\let\hhcls@textpertenthousand=\textpertenthousand
+
+\renewcommand\textpertenthousand{%
+ \begingroup
+ \fontfamily{cmr}\selectfont
+ \hhcls@textpertenthousand
+ \PackageWarning{ptmxcomp}{\string\textperthousand\space and
+ \string\tcperthousand\space do not fit to\MessageBreak
+ Times (they are taken from European Computer\MessageBreak
+ Modern)}%
+ \endgroup
+}%
+\renewcommand*\tcpertenthousand{\text{\textpertenthousand}}
+
+% \end{macrocode}
+% Times does not have old-style digits.
+% \begin{macrocode}
+ \renewcommand*\tcdigitoldstyle{%
+ \PackageWarning{ptmxcomp}{\string\tcdigitoldstyle\space is ignored}%
+ }
+
+\newcommand*\hhcls@substituteaccent[2]{%
+ \expandafter\let\csname hhcls@#1\endcsname=#2
+ \expandafter\DeclareRobustCommand\csname #1\endcsname[1]{%
+ \begingroup
+ \ifthenelse{\equal{\f@family}{ptm}}{%
+ \fontencoding{TS1}\fontfamily{cmr}\selectfont
+ \csname hhcls@#1\endcsname{%
+ \fontencoding{T1}\fontfamily{ptm}\selectfont ##1}%
+ }{%
+ \ifthenelse{\equal{\f@family}{phv}}{%
+ \fontencoding{TS1}\fontfamily{cmss}\selectfont
+ \csname hhcls@#1\endcsname{%
+ \fontencoding{T1}\fontfamily{phv}\selectfont ##1}%
+ }{%
+ \ifthenelse{\equal{\f@family}{pcr}}{%
+ \fontencoding{TS1}\fontfamily{cmtt}\selectfont
+ \csname hhcls@#1\endcsname{%
+ \fontencoding{T1}\fontfamily{pcr}\selectfont ##1}%
+ }{%
+ \csname hhcls@#1\endcsname{##1}%
+ }%
+ }%
+ }%
+ \endgroup
+ \PackageWarning{ptmxcomp}{Accent #2 substituted by
+ the European\MessageBreak
+ Computer Modern variant}%
+ }%
+}
+\hhcls@substituteaccent{t}{\t}
+\hhcls@substituteaccent{capitaltie}{\capitaltie}
+\hhcls@substituteaccent{newtie}{\newtie}
+\hhcls@substituteaccent{capitalnewtie}{\capitalnewtie}
+\renewcommand*\textleftarrow{\ensuremath{\leftarrow}}%
+\renewcommand*\textrightarrow{\ensuremath{\rightarrow}}%
+\let\hhcls@textblank=\textblank
+\renewcommand*\textblank{%
+ \begingroup
+ \ifthenelse{\equal{\f@family}{ptm}}{%
+ \fontencoding{OT1}\fontfamily{cmr}\selectfont
+ \raisebox{0.4ex}[0ex][0ex]{\symbol{32}}%
+ \kern-0.25em b%
+ }{%
+ \ifthenelse{\equal{\f@family}{phv}}{%
+ \fontencoding{OT1}\fontfamily{cmss}\selectfont
+ \raisebox{0.5ex}[0ex][0ex]{\symbol{32}}%
+ \kern-0.25em b%
+ }{%
+ \ifthenelse{\equal{\f@family}{pcr}}{%
+ \fontencoding{OT1}\fontfamily{cmr}\selectfont
+ \raisebox{0.3ex}[0ex][0ex]{\symbol{32}}%
+ \kern-0.25em b%
+ }{%
+ \hhcls@textblank
+ }%
+ }%
+ }%
+ \endgroup
+ \PackageWarning{ptmxcomp}{\string\textblank\space mixed\MessageBreak
+ with European Computer Modern}%
+}
+
+\renewcommand*\textdblhyphen{%
+ \settowidth{\@tempdima}{-}%
+ \raisebox{0.15ex}[0pt][0pt]{-}%
+ \kern-\the\@tempdima
+ \raisebox{-0.15ex}[0pt][0pt]{-}%
+ \PackageWarning{ptmxcomp}{Using faked \string\textdblhyphen}%
+}
+\renewcommand*\textzerooldstyle{0%
+ \PackageWarning{ptmxcomp}{Old-style digit 0 not available}%
+}
+\renewcommand*\textoneoldstyle{1%
+ \PackageWarning{ptmxcomp}{Old-style digit 1 not available}%
+}
+\renewcommand*\texttwooldstyle{2%
+ \PackageWarning{ptmxcomp}{Old-style digit 2 not available}%
+}
+\renewcommand*\textthreeoldstyle{3%
+ \PackageWarning{ptmxcomp}{Old-style digit 3 not available}%
+}
+\renewcommand*\textfouroldstyle{4%
+ \PackageWarning{ptmxcomp}{Old-style digit 4 not available}%
+}
+\renewcommand*\textfiveoldstyle{5%
+ \PackageWarning{ptmxcomp}{Old-style digit 5 not available}%
+}
+\renewcommand*\textsixoldstyle{6%
+ \PackageWarning{ptmxcomp}{Old-style digit 6 not available}%
+}
+\renewcommand*\textsevenoldstyle{7%
+ \PackageWarning{ptmxcomp}{Old-style digit 7 not available}%
+}
+\renewcommand*\texteightoldstyle{8%
+ \PackageWarning{ptmxcomp}{Old-style digit 8 not available}%
+}
+\renewcommand*\textnineoldstyle{9%
+ \PackageWarning{ptmxcomp}{Old-style digit 9 not available}%
+}
+\renewcommand*\textlangle{\ensuremath{\langle}}
+\renewcommand*\textrangle{\ensuremath{\rangle}}
+\renewcommand*\textmho{\rotatebox[origin=cc]{180}{\textohm}}
+\renewcommand*\textbigcircle{\textcircled{}}
+
+\renewcommand*\textuparrow{\ensuremath{\uparrow}}%
+\renewcommand*\textdownarrow{\ensuremath{\downarrow}}%
+\newcommand*\hhcls@tsone@symbol[2]{%
+ \begingroup
+ \ifthenelse{\equal{\f@family}{ptm}}{%
+ \fontfamily{cmr}%
+ }{%
+ \ifthenelse{\equal{\f@family}{phv}}{%
+ \fontfamily{cmss}%
+ }{%
+ \ifthenelse{\equal{\f@family}{pcr}}{%
+ \fontfamily{cmtt}%
+ }{%
+ }%
+ }%
+ }%
+ \fontencoding{TS1}\selectfont\symbol{#2}%
+ \endgroup
+ \PackageWarning{ptmxcomp}{\string#1\space used from\MessageBreak
+ European Computer Modern}%
+}
+\renewcommand*\textborn{\hhcls@tsone@symbol{\textborn}{98}}
+\renewcommand*\textdivorced{\hhcls@tsone@symbol{\textdivorced}{99}}
+\renewcommand*\textdied{\hhcls@tsone@symbol{\textdied}{100}}
+\renewcommand*\textleaf{\hhcls@tsone@symbol{\textleaf}{108}}
+\renewcommand*\textmarried{\hhcls@tsone@symbol{\textmarried}{109}}
+\renewcommand*\textmusicalnote{\hhcls@tsone@symbol{\textmusicalnote}{110}}
+\renewcommand*\textdblhyphenchar{\textdblhyphen}
+
+\renewcommand*\textdollaroldstyle{\$%
+ \PackageWarning{ptmxcomp}{No old-style dollar available.\MessageBreak
+ Using ordinary one}%
+}
+\renewcommand*\textcentoldstyle{\textcent%
+ \PackageWarning{ptmxcomp}{No old-style cent available.\MessageBreak
+ Using ordinary one}%
+}
+\renewcommand*\textcolonmonetary{%
+ \settowidth{\@tempdima}{C}%
+ \makebox[\the\@tempdima][c]{\rule{0.05em}{0pt}|}\kern-\the\@tempdima C%
+}
+\renewcommand*\textwon{%
+ \settowidth{\@tempdimb}{W}%
+ \makebox[\@tempdimb][c]{\raisebox{.9ex}{\rule{\@tempdimb}{.1ex}}}%
+ \kern-\the\@tempdimb
+ \makebox[\@tempdimb][c]{\raisebox{.5ex}{\rule{\@tempdimb}{.1ex}}}%
+ \kern-\the\@tempdimb
+ W%
+}
+\renewcommand*\textnaira{%
+ \settowidth{\@tempdimb}{N}%
+ \makebox[\@tempdimb][c]{\raisebox{.9ex}{\rule{\@tempdimb}{.1ex}}}%
+ \kern-\the\@tempdimb
+ \makebox[\@tempdimb][c]{\raisebox{.5ex}{\rule{\@tempdimb}{.1ex}}}%
+ \kern-\the\@tempdimb
+ N%
+}
+\renewcommand*\textguarani{%
+ \settowidth{\@tempdima}{G}%
+ \makebox[\@tempdima][c]{\rule{0.05em}{0pt}|}\kern-\the\@tempdima G%
+}
+\renewcommand*\textpeso{%
+ \settowidth{\@tempdimb}{P}%
+ \makebox[0pt][l]{\raisebox{.4ex}{\rule{0.55\@tempdimb}{0.1ex}}}%
+ P%
+}
+\renewcommand*\textlira{%
+ \settowidth{\@tempdimb}{\textsterling}%
+ \makebox[0pt][l]{\rule{0.05\@tempdimb}{0pt}%
+ \raisebox{.5ex}{\rule{0.64\@tempdimb}{0.1ex}}}%
+ \textsterling
+}
+
+\renewcommand*\textinterrobang{%
+ \settowidth{\@tempdimb}{?}%
+ \makebox[\@tempdimb][c]{!}\kern-\@tempdimb?%
+}
+\renewcommand*\textinterrobangdown{%
+ \settowidth{\@tempdimb}{?`}%
+ \makebox[\@tempdimb][c]{!`}\kern-\@tempdimb?`%
+}
+\renewcommand*\textdong{%
+ \underline{\dj}%
+}
+
+\renewcommand*\textdiscount{%
+ \settoheight{\@tempdima}{/}%
+ \settoheight{\@tempdimc}{.}%
+ \raisebox{\@tempdima-\@tempdimc}{.}\kern-\@tempdimc
+ /%
+ \kern-\@tempdimc.%
+}
+
+\renewcommand*\textestimated{%
+ \scalebox{1.3}{e}%
+}
+
+\renewcommand*\textopenbullet{%
+ \raisebox{-0.45ex}[\height][0pt]{\textdegree}%
+}
+
+%\renewcommand*\textservicemark{%
+% \textsuperscript{SM}%
+%}
+
+\renewcommand*\textcopyleft{%
+ \rotatebox[origin=cc]{180}{\textcopyright}%
+}
+
+%\renewcommand*\textcircledP{\textcircled{P}}
+
+
+\endinput