答案1
您可能误用了 hidefields 键。主要问题是边框:您可能必须重新绘制边框,如果转弯次数较多,这可能会有点累:
\documentclass{article}
\usepackage{xskak,xcolor}
\usepackage[utf8]{inputenc}
\usepackage[LSBC3,T1]{fontenc}
\setchessboard{boardfontencoding=LSBC3}
\makeatletter
\renewcommand\board@do@printfieldempty[2]{%fileNr, rankNr
\ifthenelse%
{\board@test@iswhitefield{#1}{#2}}%white field
{}% {\@nameuse{board@\board@val@game @piece@empty@white}}%
{}% {\@nameuse{board@\board@val@game @piece@empty@black}}%
}
\makeatother
\begin{document}
\newchessgame
\chessboard[whitefieldmaskcolor=gray!50!white,addfontcolors,
border=false,
printarea=a1-c3,
hidefields={b3,c1,c3},
showmover=false]
\end{document}