CS计算机代考程序代写 % Name: notation.tex

% 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}{$ imes$}

ewcommand{FigDots}{$ldots$}

ewcommand{FigDot}{char46}
%
% Redefine chess.sty to get similar layout as in Informator
makeatletter
gdef@dots{ldots}

esetat
%
% 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}{f}

ewenvironment{Mainline}[2]{
ewcommand{
esult}{#1}%

ewcommand{commentator}{#2}egin{chess}}%
{end{chess}finito{
esult}{commentator}}

ewenvironment{Variation}{{OutLine
[}egingroup
enewcommand{OutLine}{
m}ignorespaces}%
{endgroup{OutLine ]}
enewcommand{OutLine}{f}ignorespaces}

ewenvironment{diagram}{egin{nochess}}{$$showboard$$end{nochess}}

ewcommand{finito}[2]{{fhfill#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]{egin{center}{largef #1}end{center}}

ewcommand{ChessSubTitle}[1]{egin{center}{sc #1}end{center}}

ewcommand{ChessScore}[1]{{f #1}}
%

Leave a Reply

Your email address will not be published. Required fields are marked *