summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/protocol/protocol.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/protocol/protocol.dtx')
-rw-r--r--Master/texmf-dist/source/latex/protocol/protocol.dtx100
1 files changed, 59 insertions, 41 deletions
diff --git a/Master/texmf-dist/source/latex/protocol/protocol.dtx b/Master/texmf-dist/source/latex/protocol/protocol.dtx
index 6dbea8a8c3a..8f1b8a997a8 100644
--- a/Master/texmf-dist/source/latex/protocol/protocol.dtx
+++ b/Master/texmf-dist/source/latex/protocol/protocol.dtx
@@ -2,14 +2,30 @@
%
% Copyright (C) 1997 Projektgruppe ACIT, Lehrstuhl VII,
% Fachbereich Informatik, Universit"at Dortmund
-% 1997-1999 Thomas Leineweber (leineweb@ls6.cs.uni-dortmund.de)
+% 1997-1999,2006 Thomas Leineweber (protocol@tleine.de)
%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
%
-% Dies ist der dokumentierte Makrokode zur Erzeugung und Dokumentation
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Thomas Leineweber.
+%
+% This work consists of the files protocol.dtx and protocol.ins,
+% protest.tex, readme
+% and the derived file protocol.cls.
+%
+%
+% Dies ist der dokumentierte Makrocode zur Erzeugung und Dokumentation
% der LaTeX-Klasse `protocol'.
% \fi
%
-% \CheckSum{278}
+% \CheckSum{282}
%% \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
@@ -43,7 +59,7 @@
% Nenne den Klassennamen und die Version.
% \begin{macrocode}
%<+protocol>\ProvidesClass{protocol}
-%<+protocol> [1998/07/30 v1.7a
+%<+protocol> [2006/11/02 v1.9
%<+protocol> LaTeX-Class fuer Sitzungs-Protokolle TL]
% \end{macrocode}
%
@@ -112,20 +128,21 @@
\DeclareOption{titlepage}
{\ClassError{protocol}{Option `titlepage' not supported}{}}
% \end{macrocode}
-% Alle anderen Optionen werden an die Klasse article weitergegeben.
-%
+% Alle anderen Optionen werden an die Klasse scrartcl weitergegeben.
+% \changes{v1.8}{2004/02/05}{Basisklasse article durch scrartcl ersetzt.}
% \begin{macrocode}
-\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
\ProcessOptions\relax
% \end{macrocode}
%
-% Nun kann die Klasse article geladen werden.
+% Nun kann die Klasse scrartcl geladen werden.
% \changes{v1.1}{1997/06/09}{\cs{LoadClassWithOptions} durch \cs{LoadClass}
% ersetzt. Leider ist im PG-Pool noch eine verdammt alte \LaTeXe-Version.
% Die Optionen m"ussen noch angepa"st werden.}
% \changes{v1.3}{1997/06/10}{Der Befehl \cs{LoadClass} kann bleiben.}
% \begin{macrocode}
-\LoadClass{article}
+\PassOptionsToClass{halfparskip}{scrartcl}
+\LoadClass{scrartcl}
% \end{macrocode}
%
% \section{Layout}
@@ -228,7 +245,7 @@
\def\@groupname{\ClassWarning{protocol}{No \noexpand\groupname given}}
\def\@chair{\ClassWarning{protocol}{No \noexpand\chair given}}
\def\@writer{\ClassWarning{protocol}{No \noexpand\writer given}}
-\gdef\@nextdate{\ClassWarning{protocol}{No \noexpand\nextdate given}}
+\global\let\@nextdate\@empty
\gdef\@nextplace{\ClassWarning{protocol}{No \noexpand\nextplace given}}
\gdef\@nexttime{\ClassWarning{protocol}{No \noexpand\nexttime given}}
\gdef\@begintime{\ClassWarning{protocol}{No \noexpand\beginn given}}
@@ -293,26 +310,27 @@
}
% \end{macrocode}
% Das Kommando |\@makehead| erzeugt nun den Titel selber.
+% \changes{v1.8}{2004/02/04}{Groupname nun in boldface}
% \begin{macrocode}
\def\@makehead{%
- \newpage
- \null
- \vskip 2em%
- \begin{center}%
- \let \footnote \thanks
- {\LARGE \@groupname \par}%
+ \clearpage
+ \let\footnote\thanks
+ \null
+ \vskip 2em%
+ \begin{center}%
+ {\titlefont\huge \@groupname \par}%
\vskip 1.5em%
- {\large Protokoll der Sitzung vom \@date}%
- \vskip 1em%
- {\large
+ {\Large
\lineskip .5em%
- Sitzungsleitung: \@chair\\
+ Protokoll der Sitzung vom \@date \par}%
+ \vskip 1em%
+ {\Large Sitzungsleitung: \@chair\\
Protokollf\"uhrer: \@writer \par}%
+ \vskip \z@ \@plus 1em
\end{center}%
\par
- \vskip 1.5em
- \vskip 0.5cm{\noindent
- \begin{tabular}{ll}
+ \vskip 2em{%
+ \noindent\begin{tabular}{@{}ll}
Beginn: & \@begintime\ Uhr \\
Ende: & \@endtime\ Uhr \\
\end{tabular}\par}\vskip 0.5cm}
@@ -321,32 +339,40 @@
% \end{macro}
%
% \begin{macro}{\@makefoot}
-% Das Kommande |\@makefoot| stellt den Abschlu"s f"ur das Protokoll dar. Es
+% Das Kommando |\@makefoot| stellt den Abschlu"s f"ur das Protokoll dar. Es
% formatiert eine \"Uberschrift und gibt die Daten f"ur die n"achste Sitzung
% an. Es wird implizit mit
% |\AtEndOfDocument| aufgerufen.
% \changes{v1.7a}{2002/04/23}{Wenn keine n\"achste Sitzung vereinbart wurde, schreibe dieses auch (Idee und Implementierung: Boris Majowski)}
+% \changes{v1.8}{2004/02/05}{Punkt am Satzende eingef\"ugt.}
+% \changes{v1.9}{2006/11/02}{Korrektur von |\@makefoot| nach Hinweisen von L. Humbert und C. Timm}
% \begin{macrocode}
-\newcommand{\@makefoot}{\ifx\nextdate\empty
- \section*{N\"achste Sitzung} Die n\"achste Sitzung
- findet am \@nextdate\ um \@nexttime\ Uhr statt. Ort:~\@nextplace.
- \else
+\newcommand{\@makefoot}{
+ \ifx\@nextdate\@empty
\section*{N\"achste Sitzung}
- Es wurde keine n\"achste Sitzung vereinbart
- \fi}
+ Es wurde keine n\"achste Sitzung vereinbart.
+ \else
+ \section*{N\"achste Sitzung} Die n\"achste Sitzung
+ findet am \@nextdate\ um \@nexttime\ Uhr statt. Ort:~\@nextplace.
+ \fi
+ }
% \end{macrocode}
% \end{macro}
%
-% \subsection{Die Umgebung Anwesende}
+% \subsection{Die Umgebung Persons}
%
% \begin{environment}{Persons}
-% Die Umgebung Anwesende stellt eine "Uberschrift f"ur die Anwesenheitsliste
+% \begin{environment}{Absent}
+% Die Umgebung Persons stellt eine "Uberschrift f"ur die Anwesenheitsliste
% zur Verf"ugung. Daf"ur kann ein beliebiger Text in die Umgebung
-% geschrieben werden.
+% geschrieben werden. Das gleiche gilt für die Umgebung Absent f"ur eine
+% Aufstellung von Abwesenden.
% \begin{macrocode}
\newenvironment{Persons}{\section*{Anwesenheit:}}{}
+\newenvironment{Absent}{\section*{Abwesenheit:}}{}
% \end{macrocode}
% \end{environment}
+% \end{environment}
%
% \section{Abschlu"sdeklarationen}
%
@@ -356,14 +382,6 @@
\AtEndDocument{\@makefoot}
% \end{macrocode}
%
-% F"ur eine bessere Lesbarkeit werden die Abs"atze ohne Einzug, aber
-% mit einem etwas gr"o"seren Abstand formatiert.
-% \begin{macrocode}
-\parindent 0ex
-\parskip 1.5ex
-% \end{macrocode}
-%
-%
%
% \Finale
%