%%
%% 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.
%%
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{schwalbe}[2013/01/11]
\RequirePackage[german]{babel}
\RequirePackage{ifthen}
\RequirePackage{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@
\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%
}
\setboolean{showacademictitle}{false}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\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
\newcommand\reprint{%
   \hbox to \textwidth{\bfseries%
      PLEASE~REPRINT\hfill BITTE~NACHDRUCKEN\hfill PRIERE~DE~REIMPRIMER%
   }%
}
\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\ }}
\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}%
}

\endinput
%%
%% End of file `schwalbe.sty'.
