summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/schwalbe-chess
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-01-11 22:26:41 +0000
committerKarl Berry <karl@freefriends.org>2015-01-11 22:26:41 +0000
commitfb571d560f44306175d1847ba40c39eaa9908dbb (patch)
treece1f30cb65fee9058198ae1b658d455305c442b0 /Master/texmf-dist/source/latex/schwalbe-chess
parent74c6de0fc4511889c4197491944e13dc83e87838 (diff)
schwalbe-chess (11jan15)
git-svn-id: svn://tug.org/texlive/trunk@36027 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/schwalbe-chess')
-rw-r--r--Master/texmf-dist/source/latex/schwalbe-chess/schwalbe.dtx81
1 files changed, 40 insertions, 41 deletions
diff --git a/Master/texmf-dist/source/latex/schwalbe-chess/schwalbe.dtx b/Master/texmf-dist/source/latex/schwalbe-chess/schwalbe.dtx
index 2c70d479e4a..bf16f55e97a 100644
--- a/Master/texmf-dist/source/latex/schwalbe-chess/schwalbe.dtx
+++ b/Master/texmf-dist/source/latex/schwalbe-chess/schwalbe.dtx
@@ -13,9 +13,9 @@
%%
%%
% \fi
-% \def\fileversion{1.5.1}
-% \def\docdate{2013/03/13}
-% \CheckSum{1907}
+% \def\fileversion{1.6.2}
+% \def\docdate{2015/01/11}
+% \CheckSum{1906}
% \changes{v1.1}{03 June 2011}{Reflecting change in command
% @writename inside diagram.sty}
% \changes{v1.2}{01 July 2011}{Added parameter for Band to Heft
@@ -26,6 +26,10 @@
% \changes{v1.4}{04 December 2012}{Split code into a class and a style file.}
% \changes{v1.5}{11 January 2013}{Added Environment WebSites for reports on chess problem websites.}
% \changes{v1.5.1}{13 March 2013}{Fixed issue with catcode=active for / in Inhalt.}
+% \changes{v1.5.2}{23 July 2013}{Fixed issue with use of url-package.}
+% \changes{v1.6}{10 January 2015}{Applied changes following diagram style changes for issue '03f/932'.}
+% \changes{v1.6.1}{10 January 2015}{Added RequirePackage for fontenc and inputenc as requested by Thomas Brand.}
+% \changes{v1.6.2}{11 January 2015}{Fixed order of languages to activate german by default.}
%
% \DoNotIndex{\@arabic,\def,\@idxitem,\@ifnextchar,\@ifstar,
% \@ne,\@ptsize,\ ,\advance,\AtEndOfPackage,\begin,\begingroup,
@@ -293,10 +297,11 @@
% \begin{macrocode}
%<*class>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{schwalbe}[2013/03/13]
+\ProvidesClass{schwalbe}[2015/01/11]
\LoadClass[11pt]{article}
\RequirePackage{schwalbe}
\RequirePackage{ifthen}
+\RequirePackage{url}
% \end{macrocode}
%
% Innerhalb der Schwalbe haben wir ein spezielles Seitenlayout.
@@ -1415,10 +1420,12 @@
% \begin{macrocode}
%<*style>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{schwalbe}[2013/03/13]
+\ProvidesPackage{schwalbe}[2015/01/11]
% \AtBeginDocument{\normaldia}
%
-\RequirePackage[german]{babel}
+\RequirePackage[T2A,T1]{fontenc}% fsRUS 140121
+\RequirePackage[koi8-r,utf-8]{inputenc}% fsRUS 140121
+\RequirePackage[ngerman,english,german]{babel}
\RequirePackage{ifthen}
\RequirePackage{diagram}
\usepackage{times}
@@ -1476,28 +1483,28 @@
\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}
+ \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}
\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}%
+ \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}%
\setboardwidth%
}
% Die Schwalbe wird in 11pt gesetzt, daher definieren wir die
@@ -1550,51 +1557,43 @@
%
\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%
+ \above@newline
{\authorfont\@dia@numberx}%
- \if@special%
- \par%
- \else\ifdi@no%
- \par%
- \fi\fi%
\fi%
}
%
\def\@dia@writename#1; {%
+ \above@newline
\if@first%
\@firstfalse%
\setbox\@test@box=\hbox{%
+ \authorfont%
\@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; %
- }%
+ \noindent\hbox to\board@width{\authorfont\@dia@numberx\hfill}\above@newline%
+ \setbox\@test@box=\hbox{\authorfont\@dianame#1; }%
\@test@dimen=\wd\@test@box%
\ifdim\@test@dimen>\board@width\relax%
- \hbox to\board@width{\@dianame#1; \hss}%
+ \noindent\hbox to\board@width{\authorfont\@dianame#1; \hss}%
\else%
- \hfill\@dianame#1; %
+ {\authorfont\@dianame#1; }%
\fi%
\else%
- \@dia@numberx\hfill\@dianame#1; %
+ {\authorfont\@dia@numberx\hfill\@dianame#1; }%
\fi%
\else%
% Changed to get the resulting names centered.
- \par\noindent\hbox to\board@width{\hss\@dianame#1; \hss}%
+ \hbox to\board@width{\hss\authorfont\@dianame#1; \hss}%
\fi%
\l@@klist%
}