AW: Schachdiagramme

"Ulrich Dirr" (via tex-d-l Mailing List) <[email protected]>
Newsgroups gmane.comp.tex.german
Message-ID <BE1P281MB2289534FD0E04D62DBCC00C292E19@BE1P281MB2289.DEUP281.PROD.OUTLOOK.COM>
Hallo Ulrike,

ich hab's inzwischen hinbekommen, weil ich nur die Diagramme brauche. Eine Einschränkung gibt's bei den "Labels", weil ich da die Schrift irgendwie nicht einbinden kann.

\documentclass{book}%%% De Morbis Typographorum
\usepackage[LSBC4,T1,LY1]{fontenc}
\usepackage{chessfss,chessboard}
\usepackage{fontspec}
\newfontface\Umover{Directions MT}
\newcommand\DiaMover[1]{\textcolor[cmyk]{0.75,0.05,1.00,0.40}{\Umover#1}}
\cbDefineMoverStyle{direction}{\DiaMover{\char"F078}}{\DiaMover{\char"F077}}{\DiaMover{\char"F06F}}{\DiaMover{\char"F072}}

\setboardfontfamily{UDiaTeX}% das ist mein Diagrammfont mit passender Belegung.
\setchessboard{%
   boardfontencoding=LSBC4,
   boardfontsize=18bp,
% wenn ich hier Opentype-Fonts einbette, gibt's immer Probleme
%   labelleft=false,
%   labelright,
%   labelrightwidth=4.0mm, %labeltoplift=1.25mm,
%   labelbottomlift=4.0mm,
    label=false,
   marginwidth=14.4bp, marginbottomwidth=14.4bp,
   labelfontsize=8bp,
   border=false,
   linewidth=0.3mm, padding=1.1mm, pgfborder,
   showmover=true,
   moverstyle=direction,
   moversize=10bp,
   movershift=-9em,
   moverbottomlift=0.8mm,
   blackfieldmaskcolor=black!20,
   setfontcolors
}

\begin{document}
\thispagestyle{empty}
\chessboard[setfen=8/8/8/3K3Q/8/8/p7/1k6 w - - 0 1,
   pgfstyle=color,
   color=cyan!20,
   opacity=0.3,
   padding=0.15mm,
   markregions=a1-c8
   ]
\end{document}

Ciao
Ulrich

-- 
FAQ: http://texfragen.de/
Durchsuchbares Archiv: https://www.listserv.dfn.de/sympa/arc/tex-d-l 
Unsubscribe/Verwaltung: https://www.listserv.dfn.de/sympa/info/tex-d-l
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.