diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/schwalbe-chess/schwalbe.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/schwalbe-chess/schwalbe.cls | 95 |
1 files changed, 85 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/schwalbe-chess/schwalbe.cls b/Master/texmf-dist/tex/latex/schwalbe-chess/schwalbe.cls index ebcae890cad..7af414df331 100644 --- a/Master/texmf-dist/tex/latex/schwalbe-chess/schwalbe.cls +++ b/Master/texmf-dist/tex/latex/schwalbe-chess/schwalbe.cls @@ -20,7 +20,7 @@ %% 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' +%% File 'schwalbe.dtx' %% %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version @@ -34,11 +34,22 @@ %% %% \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{schwalbe}[2015/01/11] +\ProvidesClass{schwalbe}[2015/02/17] \LoadClass[11pt]{article} -\RequirePackage{schwalbe} +\RequirePackage[12pt]{schwalbe} +\RequirePackage[T2A,T1]{fontenc}% fsRUS 140121 +\RequirePackage[koi8-r,utf8]{inputenc}% fsRUS 140121 +\RequirePackage[ngerman,english,german]{babel} \RequirePackage{ifthen} +\RequirePackage{times} +\RequirePackage{picinpar} +\RequirePackage{multicol} \RequirePackage{url} +\hyphenation{Patt-idee Da-men-op-fer nicht-ortho-doxe Grim-shaw Rein-form} + +\advance\exhyphenpenalty by -10 +\tolerance2000\relax +\emergencystretch15\p@ \hoffset-25mm \voffset-25mm \textheight26cm @@ -58,6 +69,29 @@ \hbox to \textwidth{\thepage\hfill}% \fi% } +\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} +}% \renewcommand\footnotesize{% \@setfontsize\footnotesize\@xpt\@xiipt \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@ @@ -125,6 +159,50 @@ }% \expandafter\egroup\@tempa% }{} +\newcommand{\@dia@award@InformalEntscheid}{% + \above@newline% + \bgroup% + \authorfont\the\award@tk\hfill% + \if@sourcenr\relax% + \the\sourcenr@tk% + \else\if@issue% + Heft~\the\issue@tk% + \if@pages% + , S.~\the\pages@tk% + \fi% + \else% + \if@special\relax% + \thediag% + \fi + \fi\fi% + \egroup% +} +\newcommand{\@dia@authors@InformalEntscheid}{% + \ifauth@r% + \ifnormal@names% + \def\@dianame{\@normalname}% + \fi% + \@firstfalse% + \let\@action=\@dia@writename% Parse the list of authors + \@parseTokenlist\aut@tk;% + \fi% +} +\newboolean{normaldiaabove} +\setboolean{normaldiaabove}{true} +\newcommand{\dia@above@InformalEntscheid}{% + \ifthenelse{\boolean{normaldiaabove}}{% + \orig@dia@above% + }{% + \setboolean{above@newline}{false}% + \@dia@award@InformalEntscheid% + \@dia@authors@InformalEntscheid% + \@dia@after% + \@dia@version% + \@dia@correction% + \@dia@dedic% + \@dia@fidealbum% + }% +} \newenvironment{InformalEntscheid}{% \@ifstar{\x@InformalEntscheid}{\y@InformalEntscheid}% }{} @@ -132,13 +210,9 @@ \stepcounter{@inhalt}% \inhalt@label\relax% % Weitere Einstellungen - \def\@dia@numberx{% - \if@special% - \thediag\ % - \else\ifdi@no% - \if@sourcenr\the\sourcenr@tk\fi\ % - \fi\fi% - }% + \let\orig@dia@above=\dia@above% + \let\dia@above=\dia@above@InformalEntscheid% + \setboolean{normaldiaabove}{false}% % Erzeuge den Eintrag f\"ur das Inhaltsverzeichnis \bgroup% \def\@tempb{\InformalEntscheid}% @@ -937,6 +1011,7 @@ \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}} +\InputIfFileExists{schwalbe.ext}{}{}% \endinput %% %% End of file `schwalbe.cls'. |