對齊國際象棋圖和符號

對齊國際象棋圖和符號

我試圖將下圖的兩個符號結合起來,但我無法正確對齊它們。在這裡,我有問題,但我不希望文字成為圖表的一部分。我該怎麼辦(指令是/introductionboard)?

\documentclass[paper=8.27in:11.69in]{scrartcl}
\usepackage[total={8.27in,11.69in}, top=1in, bottom=1in, left=0.375in, right=0.375in]{geometry}
\usepackage{pdfpages}
\usepackage{xskak}
\usepackage{texmate}
\usepackage{array}
\usepackage{fdsymbol}
\addtokomafont{section}{\centering}
\pagenumbering{gobble}
\newcounter{diagrams}
\newcommand\printdiagrams{\refstepcounter{diagrams}\thediagrams}
\setboardfontfamily{merida}
\setchessboard{showmover=true, moverstyle=triangle, movershift=-1.3ex, moverlift=-1.5ex}
\newcommand\tacticboard[2][]{%
 \noindent\begin{minipage}[t]{0.49\textwidth}
  \centering\printdiagrams\chessboard[#2]\par
   \small\bfseries #1\strut
    \end{minipage}\hfill\ignorespaces }
\newcommand\introductionboard[2][]{%
 \noindent\begin{minipage}[t]{0.59\textwidth}
  \raggedleft\printdiagrams\chessboard[#2]\par
   \small\bfseries #1\strut\par\par
    \end{minipage}\hfill\ignorespaces }

\makeatletter
\newcounter{answers}
\extrarowheight3pt
\newlength\colwidth
\renewcommand*\makegametitle{\par\bigskip\newgame  
\refstepcounter{answers}%
\settowidth\colwidth{\fontsize{8mm}{1cm}\bfseries \theanswers}
\noindent\begin{tabular}{|p{\colwidth}|p{\dimexpr\linewidth-\colwidth-3\tabcolsep-2\arrayrulewidth}@{}}
\hline
&
\strut$\Box$\quad\textbf{\wname}\ \@welo\hfill\\
\raisebox{0\ht\strutbox}[0pt][0pt]{\fontsize{8mm}{1cm}\bfseries \theanswers}
&\strut$\blacksquare$\quad\textbf{\bname}\ \@belo\hfill\\
&\strut\quad\@tourn\hfill\\
\hline
\end{tabular}\par\nopagebreak\bigskip\nopagebreak}

\begin{document}
\section*{a Deflection and overloading}


\introductionboard{setfen=8/8/2P2k2/B2Kb3/5p2/8/8/8 w}
1. Bc3! Bc3 2. c7\WBetter


\begin{minipage}[c]{0.3\textwidth}
\introductionboard{setfen=8/6p1/8/3n3P/N1pk2KP/P7/8/8 b}\\
1...Nb6! 2. Nxb6 c3\BBetter
\end{minipage}

\newpage
\section*{Positions}

\end{document}

PS 添加了圖片:我不想讓白色作為文字移動,因為我用符號顯示它。我只需要將圖表和文字與 /introductionboard 對齊

在此輸入影像描述

答案1

我嘗試了很多,我對指導板的回答是:

\newcommand\introductionboard[2][]{%
 \centering\par\printdiagrams\chessboard[#2]\\}

相關內容