blob: 47636ab9f2337792ceb373f03c939af0bf391475 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
|
%%
%% 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/03/13]
\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'.
|