%%%% chssbrds.txt
%%%% Created by Laurence D. Finston (LDF) Wed Oct  5 08:14:41 CEST 2011

%% * (1) Copyright and License.

%%%% This file is part of GNU 3DLDF, a package for three-dimensional drawing. 
%%%% Copyright (C) 2011, 2012, 2013 The Free Software Foundation
   
%%%% GNU 3DLDF is free software; you can redistribute it and/or modify 
%%%% it under the terms of the GNU General Public License as published by 
%%%% the Free Software Foundation; either version 3 of the License, or 
%%%% (at your option) any later version. 

%%%% GNU 3DLDF is distributed in the hope that it will be useful, 
%%%% but WITHOUT ANY WARRANTY; without even the implied warranty of 
%%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
%%%% GNU General Public License for more details. 

%%%% You should have received a copy of the GNU General Public License 
%%%% along with GNU 3DLDF; if not, write to the Free Software 
%%%% Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

%%%% GNU 3DLDF is a GNU package.  
%%%% It is part of the GNU Project of the  
%%%% Free Software Foundation 
%%%% and is published under the GNU General Public License. 
%%%% See the website http://www.gnu.org 
%%%% for more information.   
%%%% GNU 3DLDF is available for downloading from 
%%%% http://www.gnu.org/software/3dldf/LDF.html. 

%%%% Please send bug reports to Laurence.Finston@gmx.de.
%%%% The mailing list help-3dldf@gnu.org is available for people to 
%%%% ask other users for help.  
%%%% The mailing list info-3dldf@gnu.org is for the maintainer of 
%%%% GNU 3DLDF to send announcements to users. 
%%%% To subscribe to these mailing lists, send an 
%%%% email with ``subscribe <email-address>'' as the subject.  

%%%% The author can be contacted at: 

%%%% Laurence D. Finston 
%%%% c/o Free Software Foundation, Inc. 
%%%% 51 Franklin St, Fifth Floor 
%%%% Boston, MA  02110-1301  
%%%% USA

%%%% Laurence.Finston@gmx.de



%% * (1)

\vsize=297mm
\hsize=210mm

\input epsf 
\nopagenumbers

\pageno=1

\parindent=0pt

\def\epsfsize#1#2{#1}


\font\small=cmr8
\font\smalltt=cmtt8
\font\large=cmr12
\font\largebx=cmbx12
\font\Large=cmr17
\font\huge=cmr17 scaled \magstep1

%% *** (3) 

\headline={\hfil}

\advance\voffset by -1in
\advance\voffset by 1.5cm

\advance\hoffset by -1in
\advance\hoffset by 1.5cm

%% *** (3) Title page

\pageno=1

\begingroup
\hsize=20cm
%\pageno=0
\vskip2cm
\centerline{Chessboards 1}
\vskip\baselineskip
\centerline{Laurence D. Finston}
\vskip\baselineskip
\centerline{Created:  October 5, 2011}
\vskip\baselineskip
\centerline{\hskip 1cm Last updated:  October 22, 2011}
\vskip0cm
%
{\small
\hsize=.75\hsize
%\hskip1cm
\vbox{\vskip2\baselineskip
This document is part of GNU 3DLDF, a package for three-dimensional
drawing.
\vskip\baselineskip

Copyright (C) 2011, 2012, 2013 The Free Software Foundation
\vskip\baselineskip

GNU 3DLDF is free software; you can redistribute it and/or modify 
it under the terms of the GNU General Public License as published by 
the Free Software Foundation; either version 3 of the License, or 
(at your option) any later version. 
\vskip\baselineskip

GNU 3DLDF is distributed in the hope that it will be useful, 
but WITHOUT ANY WARRANTY; without even the implied warranty of 
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
GNU General Public License for more details. 
\vskip\baselineskip

You should have received a copy of the GNU General Public License 
along with GNU 3DLDF; if not, write to the Free Software 
Foundation, Inc.,\hfil\break
51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
\vskip\baselineskip

See the GNU Free Documentation License for the copying conditions 
that apply to this document.
\vskip\baselineskip

You should have received a copy of the GNU Free Documentation License 
along with GNU 3DLDF; if not, write to the Free Software 
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
\vskip\baselineskip

The mailing list {\smalltt info-3dldf@gnu.org} is for sending 
announcements to users. To subscribe to this mailing list, send an 
email with ``subscribe $\langle$email-address$\rangle$'' as the subject.  
\vskip\baselineskip

The webpages for GNU 3DLDF are here:
{\smalltt http://www.gnu.org/software/3dldf/LDF.html}
\vskip\baselineskip

The author can be contacted at:\vskip\baselineskip 

Laurence D. Finston\hfil\break
c/o Free Software Foundation, Inc.\hfil\break
51 Franklin St, Fifth Floor \hfil\break
Boston, MA  02110-1301 \hfil\break 
USA
\vskip\baselineskip

{\smalltt Laurence.Finston@gmx.de}}}
\par
\endgroup
\vfil\eject


%% *** (3) Page

%% *** (3) Headline

\pageno=2

\headline={\hfil Chessboards 1\hfil
           Copyright {\copyright} 2011, 2012, 2013 The Free Software Foundation\hfil
           Author:  Laurence D. Finston\hfil\kern1.5cm}



\iftrue % \iffalse
\vbox to \vsize{%
\vskip1.5cm
\line{\epsffile{chssbrds.1}\hss}
\vskip2.5cm
\line{\epsffile{chssbrds.1}\hss}
\vskip2.5cm
\line{\epsffile{chssbrds.1}\hss}
\vss}

\eject

\fi

%% *** (3)

\newdimen\chessdimen
\newdimen\normalchessdimen
\newdimen\largechessdimen
\newdimen\Largechessdimen
\newdimen\hugechessdimen
\newdimen\Hugechessdimen

\font\normalchessfont=skak20 
\font\largechessfont=skak20 scaled \magstep1
\font\Largechessfont=skak30 
\font\hugechessfont=skak30 scaled \magstep1
\font\Hugechessfont=skak30 scaled \magstep2


\let\chessfont=\normalchessfont

\normalchessdimen=20pt
\largechessdimen=24pt    % 20pt * \magstep1
\Largechessdimen=30pt    % 30pt
\hugechessdimen=36pt     % 30pt * \magstep1 (* 30 1.2)
\Hugechessdimen=43.2pt   % 30pt * \magstep2 (* 30 1.44)

\chessdimen=\normalchessdimen

\def\normalchess{\let\chessfont=\normalchessfont\chessdimen=\normalchessdimen}
\def\largechess{\let\chessfont=\largechessfont\chessdimen=\largechessdimen}
\def\Largechess{\let\chessfont=\Largechessfont\chessdimen=\Largechessdimen}
\def\hugechess{\let\chessfont=\hugechessfont\chessdimen=\hugechessdimen}
\def\Hugechess{\let\chessfont=\Hugechessfont\chessdimen=\Hugechessdimen}

%% White pieces with skak font.

\def\WP{\hbox to \chessdimen{{\chessfont\char'120}}} % Pawn
\def\WN{\hbox to \chessdimen{{\chessfont\char'116}}} % Knight
\def\WB{\hbox to \chessdimen{{\chessfont\char'102}}} % Bishop        
\def\WR{\hbox to \chessdimen{{\chessfont\char'122}}} % Rook
\def\WQ{\hbox to \chessdimen{{\chessfont\char'121}}} % Queen 
\def\WK{\hbox to \chessdimen{{\chessfont\char'113}}} % King

%% Black pieces with skak font.

\def\BP{\hbox to \chessdimen{{\chessfont\char'160}}} % Pawn
\def\BN{\hbox to \chessdimen{{\chessfont\char'156}}} % Knight
\def\BB{\hbox to \chessdimen{{\chessfont\char'142}}} % Bishop        
\def\BR{\hbox to \chessdimen{{\chessfont\char'162}}} % Rook
\def\BQ{\hbox to \chessdimen{{\chessfont\char'161}}} % Queen 
\def\BK{\hbox to \chessdimen{{\chessfont\char'153}}} % King


\iffalse
\vbox to \vsize{%
\vskip.5cm
\normalchess
\line{\WP\WN\WB\WR\WQ\WK\BP\BN\BB\BR\BQ\BK\hfil} 
\largechess
\line{\WP\WN\WB\WR\WQ\WK\BP\BN\BB\BR\BQ\BK\hfil} 
\Largechess
\line{\WP\WN\WB\WR\WQ\WK\BP\BN\BB\BR\BQ\BK\hfil} 
\hugechess
\line{\WP\WN\WB\WR\WQ\WK\BP\BN\BB\BR\BQ\BK\hfil} 
\Hugechess
\line{\WP\WN\WB\WR\WQ\WK\BP\BN\BB\BR\BQ\BK\hfil} 
\vskip2cm
\line{\epsffile{chssbrds.1}\hss}
\vss}
\fi

%% *** (3)



\begingroup
\vsize=297mm
\hsize=210mm
\headline={}

\offinterlineskip

\parskip=0pt
\parindent=0pt
\baselineskip=0pt
\advance\voffset by -\voffset
\advance\hoffset by -\hoffset
\advance\hoffset by -1in
\advance\voffset by -1in

%% \showthe\hoffset
%% \showthe\voffset

\def\epsfsize#1#2{.9#1}


\vbox to \vsize{\vfil
\centerline{\hss\epsffile{chssbrds.2}\hss}%
\vfil}

\eject

\vbox to \vsize{\vfil
\centerline{\hss\epsffile{chssbrds.3}\hss}%
\vfil}

\eject

\def\epsfsize#1#2{#1}

\vbox to \vsize{\vfil
\centerline{\hss\epsffile{chssbrds.4}\hss}%
\vfil}

\eject

\vbox to \vsize{\vfil
\centerline{\hss\epsffile{chssbrds.5}\hss}%
\vfil}

\eject

\def\epsfsize#1#2{.99#1}

\vbox to \vsize{\vfil
\centerline{\hss\epsffile{chssbrds.4}\hss}%
\vfil}

\eject

\vbox to \vsize{\vfil
\centerline{\hss\epsffile{chssbrds.5}\hss}%
\vfil}

\eject

\endgroup

%% *** (3) End here


\bye



%% * (1) Local variables for Emacs.

%% Local Variables:
%% mode:TeX
%% eval:(local-set-key [C-kp-add] 'vc-diff) 
%% eval:(local-set-key "\"" 'self-insert-command)
%% eval:(outline-minor-mode t)
%% eval:(read-abbrev-file abbrev-file-name)
%% abbrev-mode:t
%% outline-regexp:"%% [*\f]+"
%% End:


