%% 
%%  The LaTeX Graphics Companion, 2ed (first printing May 2007)
%% 
%%  Example 10-2-4 on page 690.
%% 
%%  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{cchess}
\StopShownPreambleCommands
\begin{document}
\smallboard
\begin{position}
\piece{a}{1}{r}\piece{i}{1}{r}
\piece{b}{1}{n}\piece{h}{1}{n}
\piece{c}{1}{b}\piece{g}{1}{b}
\piece{d}{1}{g}\piece{f}{1}{g}
\piece{e}{5}{c}\piece{e}{7}{c}
\piece{a}{4}{p}\piece{c}{4}{p}
\piece{e}{4}{p}\piece{g}{4}{p}
\piece{i}{4}{p}\piece{e}{1}{k}
\piece{a}{9}{R}\piece{i}{10}{R}
\piece{a}{8}{N}\piece{g}{8}{N}
\piece{c}{10}{B}\piece{g}{10}{B}
\piece{d}{10}{G}\piece{f}{10}{G}
\piece{b}{8}{C}\piece{h}{8}{C}
\piece{a}{7}{P}\piece{c}{7}{P}
\piece{g}{7}{P}
\piece{i}{7}{P}\piece{e}{10}{K}
\end{position}
\end{document}
