diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/schwalbe-chess/schwalbe.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/schwalbe-chess/schwalbe.sty | 79 |
1 files changed, 22 insertions, 57 deletions
diff --git a/Master/texmf-dist/tex/latex/schwalbe-chess/schwalbe.sty b/Master/texmf-dist/tex/latex/schwalbe-chess/schwalbe.sty index ed80d8a7129..f416849f785 100644 --- a/Master/texmf-dist/tex/latex/schwalbe-chess/schwalbe.sty +++ b/Master/texmf-dist/tex/latex/schwalbe-chess/schwalbe.sty @@ -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,74 +34,39 @@ %% %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{schwalbe}[2015/01/11] -\RequirePackage[T2A,T1]{fontenc}% fsRUS 140121 -\RequirePackage[koi8-r,utf-8]{inputenc}% fsRUS 140121 -\RequirePackage[ngerman,english,german]{babel} -\RequirePackage{ifthen} +\ProvidesPackage{schwalbe}[2015/02/17] +\DeclareOption{10pt}{\PassOptionsToPackage{10pt}{diagram}} +\DeclareOption{11pt}{\PassOptionsToPackage{11pt}{diagram}} +\DeclareOption{12pt}{\PassOptionsToPackage{12pt}{diagram}} +\ProcessOptions \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} + +\renewcommand*\authorfont{\bfseries} +\renewcommand*\cityfont{\itshape} +\renewcommand*\sourcefont{\slshape} +\renewcommand*\awardfont{} +\renewcommand*\dedicfont{\itshape} +\renewcommand*\stipfont{} +\renewcommand*\remfont{} +\renewcommand*\labelfont{\footnotesize} +\renewcommand*\cpd@boardfont{\footnotesize} + \def\normaldia{% - \font\chessfont=fselch16% - \renewcommand*\authorfont{\bfseries} - \renewcommand*\cityfont{\itshape} - \renewcommand*\sourcefont{\slshape} - \renewcommand*\awardfont{} - \renewcommand*\dedicfont{\itshape} - \renewcommand*\stipfont{} - \renewcommand*\remfont{} - \renewcommand*\labelfont{\footnotesize} - \renewcommand*\cpd@boardfont{\footnotesize} + \normalsize% + \diagramxii% \setboardwidth% } \def\smalldia{% - \font\chessfont=fselch12% - \renewcommand*\authorfont{\small\bfseries}% - \renewcommand*\cityfont{\small\itshape}% - \renewcommand*\sourcefont{\small\slshape}% - \renewcommand*\awardfont{\small}% - \renewcommand*\dedicfont{\small\itshape}% - \renewcommand*\stipfont{\small}% - \renewcommand*\remfont{\small}% - \renewcommand*\labelfont{\small\footnotesize}% - \renewcommand*\cpd@boardfont{\small\footnotesize}% + \small% + \diagramx% \setboardwidth% } -\renewcommand*{\diagramxi}{\normaldia} + \def\do@dia@job{% \@write@sol\ifvmode\noindent\fi\unhbox\dia@box% \sw@problem% |