diff options
author | Karl Berry <karl@freefriends.org> | 2011-08-09 17:45:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-08-09 17:45:48 +0000 |
commit | 7a9c2b253e3f7062dd819a4d69bf0312f669c03a (patch) | |
tree | d04a8af3ca432be6083b89e065b0fc3d0d9f52e2 /Master/texmf-dist/tex/latex/schwalbe-chess | |
parent | 36bb6bc5d9af4ae2dffb73ccd5b416ad57d6d7de (diff) |
new latex package schwalbe-chess (6jun11)
git-svn-id: svn://tug.org/texlive/trunk@23471 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/schwalbe-chess')
-rw-r--r-- | Master/texmf-dist/tex/latex/schwalbe-chess/schwalbe.sty | 1112 |
1 files changed, 1112 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/schwalbe-chess/schwalbe.sty b/Master/texmf-dist/tex/latex/schwalbe-chess/schwalbe.sty new file mode 100644 index 00000000000..94f7c80cb15 --- /dev/null +++ b/Master/texmf-dist/tex/latex/schwalbe-chess/schwalbe.sty @@ -0,0 +1,1112 @@ +%% +%% This is file `schwalbe.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% schwalbe.dtx (with options: `style') +%% +%% IMPORTANT NOTICE: +%% +%% For the copyright see the source file. +%% +%% Any modified versions of this file must be renamed +%% with new filenames distinct from schwalbe.sty. +%% +%% For distribution of the original source see the terms +%% for copying and modification in the file schwalbe.dtx. +%% +%% This generated file may be distributed as long as the +%% original source files, as listed above, are part of the +%% same distribution. (The sources need not necessarily be +%% in the same archive or directory.) +%% File 'diagram.dtx' +%% +%% This file 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 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/12/01 or later. +%% +%% +\ProvidesPackage{schwalbe}[1997/07/27] +\RequirePackage[german]{babel} +\RequirePackage{ifthen} +\usepackage{diagram} +\usepackage{times} +\usepackage{picinpar} +\usepackage{multicol} +\hyphenation{Patt-idee Da-men-op-fer nicht-ortho-doxe Grim-shaw} +\advance\exhyphenpenalty by -10 +\tolerance2000\relax +\emergencystretch15\p@ +\renewcommand\footnotesize{% + \@setfontsize\footnotesize\@xpt\@xiipt + \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@ + \def\@listi{\leftmargin\leftmargini + \topsep 6\p@ \@plus2\p@ \@minus2\p@ + \parsep 3\p@ \@plus2\p@ \@minus\p@ + \itemsep \parsep}% + \belowdisplayskip \abovedisplayskip +} +\def\dh{d.\,h.\ \ignorespaces} +\def\ua{u.\,a.\ \ignorespaces} +\def\zB{z.\,B.\ignorespaces} +\def\su{s.\,u.\ignorespaces} +\def\ep{e.\,p.\ignorespaces} +\def\seedia{s.\,Diagr.} +\def\figline{% +\centerline{% +\wK \wK \wK \wK \wK \wK \wK \wK \wK \wK \wK \wK \wK % +\wK \wK \wK \wK \wK \wK \wK \wK \wK \wK \wK \wK \wK % +\wK \wK \wK \wK \wK \wK \wK \wK \wK \wK \wK \wK \wK % +}} +\def\foto#1#2#3{% + \begin{minipage}[t]{#1} + \hbox to #1{\hsize#1% + \vtop to #2{% + \noindent\hbox{}\vfill\hbox{}% + }% + }% + \par% + #3% + \end{minipage} +}% +\newcommand{\rb}[1]{\raisebox{0.4ex}{#1}} +\nocomputer +\setboolean{piececounter}{true} +\diagcenter +\setmonthstyle{Roman} +\def\normaldia{% + \font\chessfont=fselch16% + \def\authorfont{\bfseries} + \def\cityfont{\itshape} + \def\sourcefont{\slshape} + \def\awardfont{} + \def\dedicfont{\itshape} + \def\stipfont{} + \def\remfont{} + \def\labelfont{\footnotesize} + \def\boardfont{\footnotesize} + \setboardwidth% +} +\def\smalldia{% + \font\chessfont=fselch12% + \def\authorfont{\small\bfseries}% + \def\cityfont{\small\itshape}% + \def\sourcefont{\small\slshape}% + \def\awardfont{\small}% + \def\dedicfont{\small\itshape}% + \def\stipfont{\small}% + \def\remfont{\small}% + \def\labelfont{\small\footnotesize}% + \def\boardfont{\small\footnotesize}% + \setboardwidth% +} +\renewcommand*{\diagramxi}{\normaldia} +\def\do@dia@job{% + \@write@sol\ifvmode\noindent\fi\unhbox\dia@box% + \sw@problem% +} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\hoffset-25mm +\voffset-25mm +\textheight26cm +\textwidth157mm +\oddsidemargin22.5mm +\topmargin19mm +\headheight0cm +\headsep0cm +\footskip10mm +\parindent0mm +\parskip1ex plus 1ex minus .5ex +\def\@oddhead{} +\def\@oddfoot{% + \ifodd\c@page% + \hbox to \textwidth{\hfill\thepage}% + \else% + \hbox to \textwidth{\thepage\hfill}% + \fi% +} +\inner@frame\z@% +\v@frame@dist\z@% +\h@frame@dist\z@% +\setboardwidth +\newif\if@first% +\newif\if@urdruck\@urdruckfalse +\def\urdruck{\@urdrucktrue} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\newcommand{\windowpar}{% + \newline\hbox{\vbox to \parskip{\vss}}\newline% +} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\let\bel=\any +\let\ferner=\further +\def\reprint{% + \hbox to \textwidth{\bf% + PLEASE~REPRINT\hfill + BITTE~NACHDRUCKEN\hfill + PRIERE~DE~REIMPRIMER% + }% +} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\def\Heft#1#2#3#4{% + \def\heft@nr{#1}% + \def\heft@monat{#2}% + \def\heft@year{#3}% + \setcounter{page}{#4}% + \hbox to \textwidth{\vbox to 60mm{\vfill}\hfill}% + \hbox to \textwidth{% + {\large\bfseries HEFT~#1}% + \hfill% + {\large\bfseries BAND XXIX}% + \hfill% + {\large\bfseries #2~#3}% + }% + \vskip2mm% + \hrule width \textwidth height 1\p@% + %\input{intro}% + \vskip5mm% +} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\def\Editorial{% + \@ifnextchar[{\x@editorial}{\x@editorial[Editorial]}% +}% +\def\x@editorial[#1]#2{% + \ttitel@skip% + \centerline{\Large\bfseries #2}% + \titel@skip% + \stepcounter{@inhalt}% + \inhalt@label\relax% + \begingroup% + \def\@tempa{#1}% + \def\@tempb{\editorial}% + \edef\@tempc{% + \write\sw@contents{% + \@nearverbatim\@tempb{% + {\@nearverbatim\@tempa}% + {\@nearverbatim\pageref{inhalt\@nameuse{the@inhalt}}}% + }% + }% + }% + \expandafter\endgroup\@tempc% +} +\def\Verschiedenes{% +} +\def\aktuell{% + \ttitel@skip% + \centerline{\Large\itshape AKTUELLE MELDUNGEN} + \titel@skip% + \stepcounter{@inhalt}% + \inhalt@label\relax% + % Eintrag im Inhaltsverzeichnis +\bgroup% + \def\@tempb{\aktuell}% +\edef\@tempa{ +\write\sw@contents{% + \@nearverbatim\@tempb{% + {\@nearverbatim\pageref{inhalt\@nameuse{the@inhalt}}}% +}% +}% +}% +\expandafter\egroup\@tempa% +} +\newif\if@noname +\newif\if@normalname + +\let\titel@ext\relax +\newcounter{@inhalt} +\setcounter{@inhalt}{0} +\def\the@inhalt{\@arabic\c@@inhalt} +\def\inhalt@label{\label{inhalt\@nameuse{the@inhalt}}} +\def\Titel{\ttitel@skip\centering\addtolength{\baselineskip}{4pt}} +\def\endTitel{\titel@skip\titel@ext} +\def\Untertitel{\subtitel@skip\centering} +\def\endUntertitel{\subtitel@subskip} +\def\Aufsatz#1#2{% + \stepcounter{@inhalt}% + \let\titel@ext\inhalt@label\relax% + \begingroup% + \setcounter{footnote}{0}% + \def\@tempa{#1}% + \def\@tempc{\aufsatz}% + \def\@tempb{#2}% + \edef\@tempd{% + \write\sw@contents{% + \@nearverbatim\@tempc{% + {\@nearverbatim\pageref{inhalt\@nameuse{the@inhalt}}}% + {\@nearverbatim\@tempa}% + {\@nearverbatim\@tempb}% + }% + }% + }% + \expandafter\endgroup\@tempd% +} + +\def\Urdrucke#1{% +\begingroup% + \nocomputer% + \diagnumbering{arabic}% + \diagnum{#1}% + \@urdrucktrue% +\def\do@dia@job{% +\unhbox\dia@box% +\sw@problem% +}% +\ttitel@skip% + \centerline{\Large\bfseries Urdrucke}% + \titel@skip% + \stepcounter{@inhalt}% + \inhalt@label\relax% + % Eintrag im Inhaltsverzeichnis + \bgroup% + \def\@tempb{\Urdrucke}% + \edef\@tempa{ + \write\sw@contents{% + \@nearverbatim\@tempb{% + {\@nearverbatim\pageref{inhalt\@nameuse{the@inhalt}}}% + }% + }% + }% + \expandafter\egroup\@tempa% +} +\def\endUrdrucke{% +\endgroup% +} +\def\@dia@number{}% Die Diagrammnummer wird bei den Autoren gesetzt! +\def\@dia@numberx{% + \if@special% + \thediag% + \else\ifdi@no% + \thediag% + \fi\fi% +} +\def\@dia@authors{% + \ifauth@r% + \bgroup% + \authorfont% + \ifnormal@names% + \def\@dianame{\@normalname}% + \fi% + \@firsttrue% + \let\@action=\@dia@writename% Parse the list of authors + \@parseTokenlist\aut@tk;% + \par% + \egroup% + \else% + {\authorfont\@dia@numberx}% + \if@special% + \par% + \else\ifdi@no% + \par% + \fi\fi% + \fi% +} +\def\@dia@writename#1; {% + \if@first% + \@firstfalse% + \setbox\@test@box=\hbox{% + \@dia@numberx\ % + \@dianame#1; % + }% + \@test@dimen=\wd\@test@box% + \ifdim\@test@dimen>\board@width\relax% + \noindent\hbox to\board@width{\@dia@numberx\hfill}\par% + \setbox\@test@box=\hbox{% + \@dianame#1; % + }% + \@test@dimen=\wd\@test@box% + \ifdim\@test@dimen>\board@width\relax% + \hbox to\board@width{\@dianame#1; \hss}% + \else% + \hfill\@dianame#1; % + \fi% + \else% + \@dia@numberx\hfill\@dianame#1; % + \fi% + \else% + % Changed to get the resulting names centered. + \par\noindent\hbox to\board@width{\hss\@dianame#1; \hss}% + \fi% + \l@@klist% +} +\def\@figurine@number{{\authorfont\thediag\ }} +\def\Loesungen#1#2{% +\begingroup% + \ttitel@skip% + \centerline{\Large\bfseries L\"osungen der Urdrucke aus Heft #1, #2}% + \titel@skip% + \stepcounter{@inhalt}% + \inhalt@label\relax% + % Eintrag im Inhaltsverzeichnis +\bgroup% + \def\@tempb{\Loesungen}% + \def\@tempc{#1}% + \def\@tempd{#2}% +\edef\@tempa{ +\write\sw@contents{% + \@nearverbatim\@tempb{% +{\@nearverbatim\@tempc}% +{\@nearverbatim\@tempd}% + {\@nearverbatim\pageref{inhalt\@nameuse{the@inhalt}}}% +}% +}% +}% +\expandafter\egroup\@tempa% + \parskip.5ex plus 2ex% + \catcode`/=\active% +} +\def\endLoesungen{% + \catcode`/=12% +\endgroup% +} +\def\mainline#1{\bfseries#1} +\def\sol@slash{\nobreak\hskip\z@ plus 2\p@\char`/\hskip\z@ plus 2\p@\discretionary{}{}{}} +\catcode`/=\active\relax\let/\sol@slash\relax\catcode`/=12% +\def\bsol{\catcode`/=\active\relax} +\def\esol{\catcode`/=12\relax} +\bsol +\def\Loeserliste#1{% + \ttitel@skip% + \centerline{\Large\bfseries L\"oserliste #1}% + \titel@skip% + \stepcounter{@inhalt}% + \inhalt@label\relax% + % Eintrag im Inhaltsverzeichnis + \bgroup% + \def\@tempb{\Loeserliste}% + \edef\@tempa{ + \write\sw@contents{% + \@nearverbatim\@tempb{% + {\@nearverbatim\pageref{inhalt\@nameuse{the@inhalt}}}% + }% + }% + }% + \expandafter\egroup\@tempa% +} +\def\dauerkonto#1{% + \ttitel@skip% + \centerline{\large\bfseries L\"oserliste: Sonderpunkte \& Dauerkonto #1}% + \titel@skip% +} +\def\loesungswettbewerb#1{ + \ttitel@skip% + \centerline{\Large\bfseries Preisbericht zum L\"osungswettbewerb #1}% + \titel@skip% +} +\def\BuB{% + \ttitel@skip% + \centerline{\Large\bfseries Bemerkungen und Berichtigungen}% + \titel@skip% + \stepcounter{@inhalt}% + \inhalt@label\relax% + \bsol% + % Eintrag im Inhaltsverzeichnis +\bgroup% + \def\@tempb{\bub}% +\edef\@tempa{ +\write\sw@contents{% + \@nearverbatim\@tempb{% + {\@nearverbatim\pageref{inhalt\@nameuse{the@inhalt}}}% +}% +}% +}% +\expandafter\egroup\@tempa% +} +\def\endBuB{\esol} +\def\Briefkasten{% + \titel@skip% + {\large\bfseries Briefkasten}% + \hskip1em% +} +\def\aTurnier{% + \@ifstar{\x@Turnier}{\y@Turnier}% +} +\def\TurnierAusschreibung#1{% + \stepcounter{@inhalt}% + \inhalt@label\relax% + % Eintrag im Inhaltsverzeichnis + \bgroup% + \def\@tempb{\TurnierAusschreibung}% + \def\@tempc{#1}% + \edef\@tempa{ + \write\sw@contents{% + \@nearverbatim\@tempb{% + {\@nearverbatim\@tempc}% + {\@nearverbatim\pageref{inhalt\@nameuse{the@inhalt}}}% + }% + }% + }% + \expandafter\egroup\@tempa% +} +\def\x@Turnier#1#2{% + \ttitel@skip% + \vbox{% + \centering% + {\large\bfseries\uppercase{#1}}\\[3mm] + {\bf#2}% + }% + \titel@skip% +} +\def\y@Turnier#1{% + \ttitel@skip% + \vbox{% + \centering% + \large\bfseries\uppercase{#1}% + }% + \titel@skip% +} +\def\Turnierbericht#1#2{% + \stepcounter{@inhalt}% + \let\titel@ext\inhalt@label\relax% + % Erzeuge den Eintrag f\"ur das Inhaltsverzeichnis + \bgroup% + \def\@tempb{\Turnierbericht}% + \def\@tempc{#1}% + \def\@tempd{#2}% + \edef\@tempa{% +\write\sw@contents{% + \@nearverbatim\@tempb{% +{\@nearverbatim\@tempc}% +{\@nearverbatim\@tempd}% + {\@nearverbatim\pageref{inhalt\@nameuse{the@inhalt}}}% +}% +}% + }% + \expandafter\egroup\@tempa% +} +\def\bTurnier{% + \@ifstar{\by@turnier}{\bx@turnier}% +} +\def\sw@turnier{% +} +\def\bx@turnier#1#2{% + \ttitel@skip% + \vbox{% + \centering% + {\Large\bfseries#1}\\ + \bgroup% + \bfseries% + \@firsttrue% + \let\@action=\sw@author% + \l@@klist#2; \e@list% + \egroup% + }% + \titel@skip% + \diagnum{1}% +} +\def\by@turnier#1{% + \ttitel@skip% + \vbox{% + \centering + {\Large\bf#1} + }% + \titel@skip% + \diagnum{1}% +} +\def\InformalEntscheid{% + \@ifstar{\x@InformalEntscheid}{\y@InformalEntscheid}% +} +\def\x@InformalEntscheid#1#2#3{% + \stepcounter{@inhalt}% + \inhalt@label\relax% + % Weitere Einstellungen + \def\@dia@numberx{% + \if@special% + \thediag\ % + \else\ifdi@no% + \if@sourcenr\the\sourcenr@tk\fi\ % + \fi\fi% + }% + % Erzeuge den Eintrag f\"ur das Inhaltsverzeichnis + \bgroup% + \def\@tempb{\InformalEntscheid}% + \def\@tempc{#1}% + \def\@tempd{#2}% + \def\@tempe{#3}% + \edef\@tempa{% +\write\sw@contents{% + \@nearverbatim\@tempb{% +{\@nearverbatim\@tempc}% +{\@nearverbatim\@tempd}% +{\@nearverbatim\@tempe}% + {\@nearverbatim\pageref{inhalt\@nameuse{the@inhalt}}}% +}% +}% + }% + \expandafter\egroup\@tempa% +} +\def\y@InformalEntscheid#1#2#3{% + \ttitel@skip% + \vbox{% + \centerline{\Large\bfseries Entscheid im Informalturnier #2 der Schwalbe}% + \centerline{\bfseries Abteilung: #1\hskip1cm Preisrichter: #3}% + }% + \titel@skip% + \x@InformalEntscheid{#1}{#2}{#3}% +} +\def\Entscheid#1{% + % Erzeuge den Eintrag f\"ur das Inhaltsverzeichnis + \stepcounter{@inhalt}% + \inhalt@label\relax% + \bgroup% + \def\@tempb{\Entscheid}% + \def\@tempc{#1}% + \edef\@tempa{% +\write\sw@contents{% + \@nearverbatim\@tempb{% +{\@nearverbatim\@tempc}% + {\@nearverbatim\pageref{inhalt\@nameuse{the@inhalt}}}% +}% +}% + }% + \expandafter\egroup\@tempa% +} +\def\eEntscheid{% + \@ifstar{\i@eEntscheid}{\ii@eEntscheid}% +} +\def\i@eEntscheid#1{% + \ttitel@skip% + \vbox{% + \centering + \Large\bfseries#1% + }% + \titel@skip% +} +\def\ii@eEntscheid#1#2{% + \ttitel@skip% + \vbox{% + \centering% + \Large\bfseries#1\\ + \large\bfseries#2% + }% + \stepcounter{@inhalt}% + \inhalt@label\relax% + \bgroup% + \def\@tempb{\Bericht}% + \def\@tempc{#1}% + \edef\@tempa{% +\write\sw@contents{% + \@nearverbatim\@tempb{% +{\@nearverbatim\@tempc}% + {\@nearverbatim\pageref{inhalt\@nameuse{the@inhalt}}}% +}% +}% + }% + \expandafter\egroup\@tempa% + \titel@skip% +} +\newif\if@title\@titletrue +\def\Geburtstag{% + \@ifnextchar *{\@@Geburtstag}{\@Geburtstag}% +} +\def\@@Geburtstag#1{\@titlefalse\@Geburtstag}% +\def\@Geburtstag{% + \@ifnextchar [{\y@Geburtstag}{\x@Geburtstag}% +} +\def\x@Geburtstag#1#2{% + \if@title% + \ttitel@skip% + \centerline{\Large\bfseries#1\ \ #2} + \titel@skip% + \fi% + % Erzeuge den Eintrag f\"ur das Inhaltsverzeichnis + \stepcounter{@inhalt}% + \inhalt@label\relax% + \bgroup% + \def\@tempb{\Geburtstag}% + \def\@tempc{#1}% + \def\@tempd{#2}% + \edef\@tempa{% +\write\sw@contents{% + \@nearverbatim\@tempb{% +{\@nearverbatim\@tempc}% +{\@nearverbatim\@tempd}% + {\@nearverbatim\pageref{inhalt\@nameuse{the@inhalt}}}% +}% +}% + }% + \expandafter\egroup\@tempa% +} +\def\y@Geburtstag[#1]#2#3{% + \if@title% + \ttitel@skip% + \centerline{#1} + \titel@skip% + \fi% + % Erzeuge den Eintrag f\"ur das Inhaltsverzeichnis + \stepcounter{@inhalt}% + \inhalt@label\relax% + \bgroup% + \def\@tempb{\Geburtstag}% + \def\@tempc{#2}% + \def\@tempd{#3}% + \edef\@tempa{% +\write\sw@contents{% + \@nearverbatim\@tempb{% +{\@nearverbatim\@tempc}% +{\@nearverbatim\@tempd}% + {\@nearverbatim\pageref{inhalt\@nameuse{the@inhalt}}}% +}% +}% + }% + \expandafter\egroup\@tempa% +} +\def\Verstorben{\@ifstar{\y@Verstorben}{\x@Verstorben}} +\def\x@Verstorben#1#2{% + \ttitel@skip% + \hbox to \textwidth{\large\bf\uppercase{#1}\hfill#2}% + \titel@skip% + % Erzeuge den Eintrag f\"ur das Inhaltsverzeichnis + \stepcounter{@inhalt}% + \inhalt@label\relax% + \bgroup% + \def\@tempb{\Verstorben}% + \def\@tempc{#1}% + \def\@tempd{#2}% + \edef\@tempa{% +\write\sw@contents{% + \@nearverbatim\@tempb{% +{\@nearverbatim\@tempc}% +{\@nearverbatim\@tempd}% + {\@nearverbatim\pageref{inhalt\@nameuse{the@inhalt}}}% +}% +}% + }% + \expandafter\egroup\@tempa% +} +\def\y@Verstorben#1{% + % Erzeuge den Eintrag f\"ur das Inhaltsverzeichnis + \stepcounter{@inhalt}% + \inhalt@label\relax% + \bgroup% + \def\@tempb{\Verstorben}% + \def\@tempc{#1}% + \edef\@tempa{% +\write\sw@contents{% + \@nearverbatim\@tempb{% +{\@nearverbatim\@tempc}% + {\@nearverbatim\pageref{inhalt\@nameuse{the@inhalt}}}% +}% +}% + }% + \expandafter\egroup\@tempa% +} +\def\Nachruf#1{% + % Erzeuge den Eintrag f\"ur das Inhaltsverzeichnis + \stepcounter{@inhalt}% + \bgroup% + \def\@tempb{\Verstorben}% + \def\@tempc{#1}% + \edef\@tempa{% +\write\sw@contents{% + \@nearverbatim\@tempb{% +{\@nearverbatim\@tempc}% + {\@nearverbatim\pageref{inhalt\@nameuse{the@inhalt}}}% +}% +}% + }% + \expandafter\egroup\@tempa% +} +\newif\if@firstbook +\def\Buecher{% + \@ifstar{\@xBuecher}{\@Buecher}% +} +\def\@Buecher{% + \ttitel@skip% + \centerline{\Large\bfseries Buchbesprechungen}% + \titel@skip% + \@firstbooktrue% + \stepcounter{@inhalt}% + \inhalt@label\relax% + % Eintrag im Inhaltsverzeichnis +\bgroup% + \def\@tempb{\Buecher}% +\edef\@tempa{ +\write\sw@contents{% + \@nearverbatim\@tempb{% + {\@nearverbatim\pageref{inhalt\@nameuse{the@inhalt}}}% +}% +}% +}% +\expandafter\egroup\@tempa% +} +\def\@xBuecher{% + \ttitel@skip% + \centerline{\Large\bfseries Buchbesprechung}% + \titel@skip% + \@firstbooktrue% + % Eintrag im Inhaltsverzeichnis + \stepcounter{@inhalt}% + \inhalt@label\relax% +\bgroup% + \def\@tempb{\Buch}% +\edef\@tempa{ +\write\sw@contents{% + \@nearverbatim\@tempb{% + {\@nearverbatim\pageref{inhalt\@nameuse{the@inhalt}}}% +}% +}% +}% +\expandafter\egroup\@tempa% +} +\def\@book@authors#1; {% + \if@notfirst% + , % + \else% + \noindent% + \@notfirsttrue% + \fi% + \@fullname#1; % + \l@@klist% +} +\def\Buch{% + \futurelet\n@xt\x@Buch% +} + +\def\x@Buch{% + \ifx\n@xt*\relax% + \ifvmode\else\newline\fi\@firstbookfalse% + \let\n@xt\y@Buch% + \else\if\n@xt+% + \@firstbookfalse% + \let\n@xt\y@Buch% + \else% + \if@firstbook% + \titel@skip\@firstbookfalse% + \else% + \par% + \fi% + \let\n@xt\@Buch% + \fi\fi% + \n@xt% +} +\def\y@Buch#1{\@Buch} +\def\@Buch#1#2{% + \bgroup% + \bfseries% + \ifx\relax#1\else% + \@notfirstfalse + \let\@action\@book@authors% + \l@@klist#1; \e@list% + : % + \fi% + \itshape #2\ \ignorespaces% + \egroup% + % Erzeuge den Eintrag f\"ur das Inhaltsverzeichnis +} +\def\Einladung{% + \@ifnextchar[{\@@Einladung}{\@Einladung}% +} +\def\@Einladung#1{% + \ttitel@skip% + \vbox{% + \centering% + \large\bf\uppercase{#1}% + }% + \titel@skip% +} +\def\@@Einladung[#1]#2{% + \ttitel@skip% + \vbox{% + \centering% + \large\bf\uppercase{#2}% + }% + \titel@skip% + \bgroup% + \def\@tempb{\Einladung}% + \def\@tempc{#1}% + \edef\@tempa{% +\write\sw@contents{% + \@nearverbatim\@tempb{% +{\@nearverbatim\@tempc}% + {\@nameuse{thepage}}% +}% +}% + }% + \expandafter\egroup\@tempa% +} +\def\Bericht#1{% + % Erzeuge den Eintrag f\"ur das Inhaltsverzeichnis + \stepcounter{@inhalt}% + \inhalt@label\relax% + \bgroup% + \def\@tempb{\Bericht}% + \def\@tempc{#1}% + \edef\@tempa{% +\write\sw@contents{% + \@nearverbatim\@tempb{% +{\@nearverbatim\@tempc}% + {\@nameuse{thepage}}% +}% +}% + }% + \expandafter\egroup\@tempa% +} +\def\Gruss#1{% + % Eintrag im Inhaltsverzeichnis + \stepcounter{@inhalt}% + \let\titel@ext\inhalt@label\relax% +\bgroup% + \def\@tempb{\Gruss}% + \def\@tempc{#1}% +\edef\@tempa{ +\write\sw@contents{% + \@nearverbatim\@tempb{% +{\@nearverbatim\@tempc}% + {\@nearverbatim\pageref{inhalt\@nameuse{the@inhalt}}}% +}% +}% +}% +\expandafter\egroup\@tempa% +} +\def\Tagung#1{% + % Eintrag im Inhaltsverzeichnis + \stepcounter{@inhalt}% + \let\titel@ext\inhalt@label\relax% +\bgroup% + \def\@tempb{\Tagung}% + \def\@tempc{#1}% +\edef\@tempa{ +\write\sw@contents{% + \@nearverbatim\@tempb{% +{\@nearverbatim\@tempc}% + {\@nearverbatim\pageref{inhalt\@nameuse{the@inhalt}}}% +}% +}% +}% +\expandafter\egroup\@tempa% +} +\def\turnierberichte{% + \ttitel@skip% + \vbox{\centering\Large\bfseries Turnierberichte}% + \titel@skip% + \stepcounter{@inhalt}% + \let\titel@ext\inhalt@label\relax% + \titel@ext% + \nodiagnumbering% + % Eintrag im Inhaltsverzeichnis +\bgroup% + \def\@tempb{\Turnierberichte}% +\edef\@tempa{ +\write\sw@contents{% + \@nearverbatim\@tempb{% + {\@nearverbatim\pageref{inhalt\@nameuse{the@inhalt}}}% +}% +}% +}% +\expandafter\egroup\@tempa% +} +\def\turnier#1{% + \vskip\tw@\p@% + {\large\bfseries#1}% + \par% +} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\newwrite\sw@contents +\immediate\openout\sw@contents=\jobname.inhalt\relax +\newwrite\sw@problems +\immediate\openout\sw@problems=\jobname.problems\relax +\def\ttitel@skip{\vskip24\p@ plus \f@ur\p@\goodbreak} +\def\titel@skip{\nopagebreak\vskip\tw@\p@} +\def\subtitel@skip{\vskip10\p@ plus \f@ur\p@ minus \f@ur\p@ \penalty-100} +\def\subtitel@subskip{\nopagebreak\vskip\@ne\p@} +\def\sw@author#1; {% +\sw@writeauthor#1;% +\l@@klist% +} +\def\sw@writeauthor#1, #2/#3;{% + \if@first% + von~% + \@firstfalse% + \else% + \ \&\ % + \fi% +#2~#1, #3% +} +\newif\if@gemeinschaft +\def\sw@problem{% +\sw@count\z@% +\let\@action=\sw@authorCount% +\expandafter\l@@klist\the\aut@tk; \e@list% +\ifnum\sw@count>\@ne% +\@gemeinschafttrue% +\else% +\@gemeinschaftfalse% +\fi% +\bgroup% +\let\@action=\sw@problemAuthor% +\expandafter\l@@klist\the\aut@tk; \e@list% +\egroup% +} +\def\sw@problemAuthor#1; {% + \bgroup% + \def\@tempc{\problem}% + \def\@tempb{#1}% + \edef\@tempa{% + \write\sw@problems{% + \@nearverbatim\@tempc{% + {\@nameuse{thepage}}% + \if@special% + {\@nearverbatim\thediag}% + \else% + {\thediag}% + \fi% + {\@nearverbatim\@tempb}% + {\if@urdruck\else n\fi\if@gemeinschaft g\fi}% + }% + }% + }% + \expandafter\egroup\@tempa% + \l@@klist% +} +\newcount\sw@count +\def\sw@authorCount#1; {% +\advance\sw@count\@ne% +\l@@klist% +} +\def\@meaning#1>{} +\def\@nearverbatim{\expandafter\@meaning\meaning} +\def\i@line#1#2{#1 \hrulefill\ #2\newline} +\def\iw@author#1; {% +\iw@writeauthor#1;% +\l@@klist% +} +\def\iw@writeauthor#1, #2/#3;{% + \if@first% + \@firstfalse% + \else% + , \ % + \fi% +#2~#1% +} +\def\ix@Geburtstag#1#2#3{\i@line{#1\ \ #2}{#3}} +\def\ix@aufsatz#1#2#3{% + \i@line{{\itshape % + \@firsttrue% + \let\@action\iw@author\relax% + \aut@tk={#3}% + \@parseTokenlist\aut@tk;% + :\/} #2}{#1}% +} +\def\ix@InformalEntscheid#1#2#3#4{\i@line{Entscheid im Informalturnier #2, Abteilung #1}{#4}} +\def\ix@Loesungen#1#2#3{\i@line{L\"osungen der Urdrucke aus Heft #1, #2}{#3}} +\def\ix@turnierbericht#1#2#3{% + \i@line{Entscheid im #1}{#3}% +} +\def\ix@bericht#1#2{\i@line{#1}{#2}} +\def\ix@einladung#1#2{\i@line{#1}{#2}} +\def\ix@verstorben#1#2{\i@line{#1}{#2}} +\def\ix@entscheid#1#2{\i@line{#1}{#2}} +\def\ix@editorial#1#2{\i@line{#1}{#2}} +\def\ix@ausschreibung#1#2{\i@line{#1}{#2}} +\def\i@Geburtstag#1{\ix@Geburtstag#1} +\def\i@aufsatz#1{\ix@aufsatz#1} +\def\i@aktuell#1{\i@line{Aktuelle Meldungen}{#1}} +\def\i@InformalEntscheid#1{\ix@InformalEntscheid#1} +\def\i@urdrucke#1{\i@line{Urdrucke}{#1}} +\def\i@Loesungen#1{\ix@Loesungen#1} +\def\i@Loeserliste#1{\i@line{L\"oserliste}{#1}} +\def\i@bub#1{\i@line{Bemerkungen und Berichtigungen}{#1}} +\def\i@turniere#1{\i@line{Turnierberichte}{#1}} +\def\i@buecher#1{\i@line{Buchbesprechungen}{#1}} +\def\i@buch#1{\i@line{Buchbesprechung}{#1}} +\def\i@turnierbericht#1{\ix@turnierbericht#1} +\def\i@bericht#1{\ix@bericht#1} +\def\i@einladung#1{\ix@einladung#1} +\def\i@verstorben#1{\ix@verstorben#1} +\def\i@entscheid#1{\ix@entscheid#1} +\def\i@editorial#1{\ix@editorial#1} +\def\i@TurnierAusschreibung#1{\ix@ausschreibung#1} +\def\Inhalt{% + \centerline{\bfseries INHALT}% + \vspace{-.5mm} + \begingroup% + \let\Geburtstag=\i@Geburtstag% + \let\aufsatz=\i@aufsatz% + \let\aktuell=\i@aktuell% + \let\InformalEntscheid=\i@InformalEntscheid% + \let\Urdrucke=\i@urdrucke% + \let\Loesungen=\i@Loesungen% + \let\Loeserliste=\i@Loeserliste% + \let\bub=\i@bub% + \let\Turnierberichte=\i@turniere% + \let\Turnierbericht=\i@turnierbericht% + \let\Bericht=\i@bericht% + \let\Einladung=\i@einladung% + \let\Buecher=\i@buecher% + \let\Buch=\i@buch% + \let\Verstorben=\i@verstorben% + \let\Entscheid=\i@entscheid% + \let\editorial=\i@editorial% + \let\TurnierAusschreibung=\i@TurnierAusschreibung% + \immediate\closeout\sw@contents\relax% + \input\jobname.inhalt% + \noindent\hbox{}\endgroup% +} +\def\i@author#1, #2; {\if@first\@firstfalse\else, \fi#2~#1\l@@klist} + +\def\aufsatz#1#2#3{% + \bgroup + \itshape + \@firsttrue + \let\@action=\i@author + \l@@klist#3; \e@list% + : % + \egroup + #2% + \hrulefill\ #1\newline +} + +\newlength{\helplength}% +\newlength{\boardskip}% +\newlength{\double@boardwidth}% + +\def\doublediagram#1{% + \def\dia@above{\if@special\else% + \setlength{\helplength}{\textwidth}% + \addtolength{\helplength}{-3\board@width}% + \setlength{\boardskip}{.5\helplength}% + \setlength{\double@boardwidth}{2\board@width}% + \addtolength{\double@boardwidth}{\boardskip}% + \begin{minipage}[b]{\double@boardwidth}% + #1% + \end{minipage}% + \fi}% +} + +\newcounter{@maerchenlexikon} +\setcounter{@maerchenlexikon}{0} +\newboolean{@first@lexikon@entry} +\newcommand{\maerchenart}[1]{% + \ifthenelse{\boolean{@first@lexikon@entry}}{% + \setboolean{@first@lexikon@entry}{false}% + }{% + --- % + }% + {\itshape #1:} \ignorespaces% +} +\newenvironment{maerchenlexikon}% +{% + \ifthenelse{\value{@maerchenlexikon}=0}{% + {\itshape Kleines M\"archenschach-Lexikon:} % + }{}% + \setboolean{@first@lexikon@entry}{true}% + \stepcounter{@maerchenlexikon}% +}{} + +\renewcommand{\section}{\@startsection{section}{1}{\z@}{2ex}{.5ex}{\normalfont\large\bfseries}} +\renewcommand{\subsection}{\@startsection{subsection}{2}{\z@}{1ex}{.3ex}{\normalfont\bfseries}} +\renewcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}{.4ex}{.1ex}{\normalfont}} + +\endinput +%% +%% End of file `schwalbe.sty'. |