summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/skaknew/SkakNew.tex
blob: b6cc5bab2241085bb5dc36fa8c76ceee3eee4367 (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
\documentclass{article}
\usepackage{skak}
\usepackage{latexsym}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{array}
\font\logo=logo10
\font\sknf=SkakNew-Figurine
\font\sknfbx=SkakNew-FigurineBold
\font\skndia=SkakNew-DiagramT
\def\Metafont{{\logo METAFONT}}
\frenchspacing

\begin{document}
\centerline{\textbf{The SkakNew fonts}}

\centerline{\footnotesize\textcopyright\ Copyright 2004, Ulrich Dirr.
All rights reserved.}

\bigskip
\noindent
This document describes the \texttt{SkakNew} fonts. They're a set of
PostScript\texttrademark{} \mbox{Type-1} fonts converted by
\texttt{mftrace/autotrace} from \Metafont{} sources based on the
\texttt{Skak} fonts by Torben Hoffmann and Dirk Bächle which
themselves are based on \texttt{chess} by Piet Tutelaers.

But this was only the first step. A lot of work went into cleaning
the outlines (reducing nodes, adding missing extremes, correcting
wrong outline direction, etc.pp.). The next step included better
glyph metrics both horizontally \& vertically, better sidebearings
and consistent axis height (adapted to the values of \texttt{Computer
Modern})~\ldots

All files 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

\texttt{http://www.latex-project.org/lppl.txt}

\noindent
and version 1.2 or later is part of all distributions of LaTeX version
1999/12/01 or later.

Further technical information in german on\newline
\texttt{http://www.art-satz.de/portfolio/schriften.html}.

\bigskip
Package contents
\begin{verbatim}
README.1st
SkakNew-Diagram.afm       SkakNew-Diagram.pfb
SkakNew-DiagramT.afm      SkakNew-DiagramT.pfb
SkakNew-Figurine.afm      SkakNew-Figurine.pfb
SkakNew-FigurineBold.afm  SkakNew-FigurineBold.pfb

SkakNew-Diagram.inf       SkakNew-Diagram.pfm
SkakNew-DiagramT.inf      SkakNew-DiagramT.pfm
SkakNew-Figurine.inf      SkakNew-Figurine.pfm
SkakNew-FigurineBold.inf  SkakNew-FigurineBold.pfm

SkakNew-Diagram.tfm       SkakNew.map
SkakNew-DiagramT.tfm      SkakNew.pdf
SkakNew-Figurine.tfm      SkakNew.tex
SkakNew-FigurineBold.tfm  uskak.fd
\end{verbatim}

Installation directories for tetex/fpTeX
\begin{verbatim}
/texmf/fonts/type1 for the *.pfb
/texmf/fonts/tfm for the *.tfm
/texmf/dvips/config for map file
fd file where LaTeX can find it
\end{verbatim}

\newpage
To use the diagram font with the \texttt{skak} package you have to
redefine
\begin{verbatim}
   \def\setup@showboard#1{\font\Skak=SkakNew-Diagram at#1pt%
      [...]}
\end{verbatim}

For diagrams in very small sizes there's a supplemental font\newline
\texttt{SkakNew-DiagramT} with fewer \& thicker diagonal strokes.

{\setlength{\extrarowheight}{2pt}
\begin{tabular}[t]{@{}%
    c>{\bgroup\skndia}c<{\egroup}c>{\bgroup\skndia}c<{\egroup\qquad}%
    c>{\bgroup\sknf}c<{\egroup}c>{\bgroup\sknf}c<{\egroup}%
    c>{\bgroup\sknf}c<{\egroup}c>{\bgroup\sknf}c<{\egroup}%
    @{}}\hline
\multicolumn{4}{@{}l}{SkakNew-Diagram}&
\multicolumn{8}{@{}c@{}}{SkakNew-Figurine (regular \& bold)}\\\hline
0 & 0 &   &   & + & + & M & M & d & d & r & r \\
A & A & a & a & - & - & N & N & e & e & s & s \\
B & B & b & b & A & A & O & O & f & f & t & t \\
J & J & j & j & B & B & P & P & g & g & u & u \\
K & K & k & k & C & C & Q & Q & h & h & v & v \\
L & L & l & l & D & D & R & R & i & i & x & x \\
M & M & m & m & E & E & S & S & j & j & y & y \\
N & N & n & n & F & F & T & T & k & k &   &   \\
O & O & o & o & G & G & U & U & l & l &   &   \\
P & P & p & p & H & H & V & V & m & m &   &   \\
Q & Q & q & q & I & I & X & X & n & n &   &   \\
R & R & r & r & J & J & a & a & o & o &   &   \\
S & S & s & s & K & K & b & b & p & p &   &   \\
Z & Z &   &   & L & L & c & c & q & q &   &   \\\hline
\end{tabular}}

\bigskip
\newgame
\variation{%
 1. e4\wbetter{}      e6\bbetter{}
 2. d4\wbetter{}      d5\bbetter{}
 3. Nc3\wupperhand{}  Bb4\bupperhand{}
 4. e5\equal{}        c5\unclear{}
 5. a3\compensation{} Bxc3+\devadvantage{}
 6. bxc3\moreroom{}   Ne7\withattack{}
 7. Qg4\withinit{}    0-0\counterplay{}
 8. Bd3\zugzwang{}    f5\mate{}
 9. exf6\withidea{}   Rxf6\onlymove{}
10. Bg5\betteris{}    Rf7\file{}
11. Qh5\diagonal{}    g6\centre{}
12. Qd1\kside{}       Qa5\qside{}
13. Bd2\weakpt{}      Nbc6\ending{}
14. Nf3\bishoppair{}  Qc7\opposbishops{}
15. 0-0\samebishops{} e5\unitedpawns{}
16. Ng5\seppawns{}    Rf8\doublepawns{}
17. c4\passedpawn{}   exd4\morepawns{}
18. Re1\timelimit{}   Bf5\novelty{}
19. cxd5\comment{}    Nxd5\various{}
20. Bc4\without{}     Rad8\with{}
21. Qf3\etc{}         Qd6\see{}
22. Qb3\markera{}     b6\markerb{}
23. Ne4}

\newgame
\mainline{%
 1. e4\wbetter{}      e6\bbetter{}
 2. d4\wbetter{}      d5\bbetter{}
 3. Nc3\wupperhand{}  Bb4\bupperhand{}
 4. e5\equal{}        c5\unclear{}
 5. a3\compensation{} Bxc3+\devadvantage{}
 6. bxc3\moreroom{}   Ne7\withattack{}
 7. Qg4\withinit{}    0-0\counterplay{}
 8. Bd3\zugzwang{}    f5\mate{}
 9. exf6\withidea{}   Rxf6\onlymove{}
10. Bg5\betteris{}    Rf7\file{}
11. Qh5\diagonal{}    g6\centre{}
12. Qd1\kside{}       Qa5\qside{}
13. Bd2\weakpt{}      Nbc6\ending{}
14. Nf3\bishoppair{}  Qc7\opposbishops{}
15. 0-0\samebishops{} e5\unitedpawns{}
16. Ng5\seppawns{}    Rf8\doublepawns{}
17. c4\passedpawn{}   exd4\morepawns{}
18. Re1\timelimit{}   Bf5\novelty{}
19. cxd5\comment{}    Nxd5\various{}
20. Bc4\without{}     Rad8\with{}
21. Qf3\etc{}         Qd6\see{}
22. Qb3\markera{}     b6\markerb{}
23. Ne4}

\bigskip
\centerline{\texttt{SkakNew-Diagram}}

\bigskip
\newgame
\centerline{\tinyboard\showboard}

\bigskip
\centerline{\smallboard\showboard}

\bigskip
\centerline{\normalboard\showboard}

\bigskip
\centerline{\largeboard\showboard}

\vfill
\centerline{\texttt{SkakNew-DiagramT}}

\makeatletter
\def\setup@showboard#1{\font\Skak=SkakNew-DiagramT at#1pt%
  \setlength{\squarelength}{#1pt}%
  \square@multiplier=#1
  \ps@on{\psset{unit=\the\squarelength}}{}

  \notationfont\setlength{\ranklift}{.5\squarelength-.8ex}\normalsize}
\makeatother

\bigskip
\newgame
\centerline{\tinyboard\showboard}

\bigskip
\centerline{\smallboard\showboard}

\bigskip
\centerline{\normalboard\showboard}

\bigskip
\centerline{\largeboard\showboard}

\end{document}