[SOLVED] CS % Name: notation.tex

$25

File Name: CS_%_Name:_notation.tex.zip
File Size: 216.66 KB

5/5 - (1 vote)

% Name: notation.tex
% Copyright: %W% (C) Henry Thomas.Release %R%Dated %G%
% Version: %R%
% Purpose: Definition file for notation
% Comment: Relies on Piet Tutelaers macros for chess typesetting
% Author: Henry Thomas
% Date: %G%
%
%% Some symbols
ewcommand{FigDash}{{}}
ewcommand{FigCapt}{$times$}
ewcommand{FigDots}{$ldots$}
ewcommand{FigDot}{char46}
%
% Redefine chess.sty to get similar layout as in Informator
makeatletter
gdef@dots{ldots}
resetat
%
% These macros allows a move number to be bolfaced in the main line,
% and typset in roman in the variations (like in Informant)
ewcommand{mn}[1]{{OutLine #1char46}}
%
% Some macros to improve readability
ewcommand{OutLine}{bf}
ewenvironment{Mainline}[2]{
ewcommand{result}{#1}%
ewcommand{commentator}{#2}begin{chess}}%
{end{chess}finito{result}{commentator}}
ewenvironment{Variation}{{OutLine
[}begingrouprenewcommand{OutLine}{rm}ignorespaces}%
{endgroup{OutLine ]}renewcommand{OutLine}{bf}ignorespaces}
ewenvironment{diagram}{begin{nochess}}{$$showboard$$end{nochess}}
ewcommand{finito}[2]{{bfhfill#1hfill[#2]par}}

setlength{parindent}{0pt}

% If you compiled notation with the flag -DOLDTEX, you will need to
% define these macros.
% They allow to typeset in horizontal or vertical mode. You simply
% have to define them.
%
ewcommand{MoveNumber}[1]{{#1}~}
ewcommand{WhiteMove}[1]{{#1} }
ewcommand{BlackMove}[1]{{#1} }
%
% These macros are for tiles and score formatting.
ewcommand{ChessTitle}[1]{begin{center}{largebf #1}end{center}}
ewcommand{ChessSubTitle}[1]{begin{center}{sc #1}end{center}}
ewcommand{ChessScore}[1]{{bf #1}}
%

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS % Name: notation.tex
$25