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
|
%%
%% The LaTeX Graphics Companion, 2ed (first printing May 2007)
%%
%% Example 10-1-10 on page 676.
%%
%% Copyright (C) 2007 Michel Goossens, Frank Mittelbach, Denis Roegel, Sebastian Rahtz, Herbert Vo\ss
%%
%% It may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%%
%% See http://www.latex-project.org/lppl.txt for details.
%%
\documentclass{ttctexa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{207.83385pt}
\StartShownPreambleCommands
\usepackage[ps]{skak}
\StopShownPreambleCommands
\begin{document}
\fenboard{B5KR/1r5B/6R1/2b1p1p1/2P1k1P1/%
1p2P2p/1P2P2P/3N1N2 w - - 0 12}
\showmoverOn
\showboard
\highlight{a6,b6,c6,d6,e6,f6,h6,g7}
\highlight[x]{f7,f8,g7}
\printknightmove{f1}{g3}
\printknightmove{g3}{e4}
\highlight[X]{c3,g3}
\printknightmove{d1}{c3}
\printknightmove{c3}{e4}
% order of highlighting is important
\highlight[O]{g6} \printarrow{h7}{e4}
\printarrow{a8}{e4} \highlight[o]{c6}
\end{document}
|