%--------------------------------------- % White pieces icons \newcommand{\iWK}{ \begin{tikzpicture}[y=0.80pt, x=0.80pt, xscale=0.5, yscale=-0.5, inner sep=0pt, outer sep=0pt] \input{icons/WK} \end{tikzpicture} } \newcommand{\iWQ}{ \begin{tikzpicture}[y=0.80pt, x=0.80pt, xscale=0.5, yscale=-0.5, inner sep=0pt, outer sep=0pt] \input{icons/WQ} \end{tikzpicture} } \newcommand{\iWB}{ \begin{tikzpicture}[y=0.80pt, x=0.80pt, xscale=0.5, yscale=-0.5, inner sep=0pt, outer sep=0pt] \input{icons/WB} \end{tikzpicture} } \newcommand{\iWN}{ \begin{tikzpicture}[y=0.80pt, x=0.80pt, xscale=0.5, yscale=-0.5, inner sep=0pt, outer sep=0pt] \input{icons/WN} \end{tikzpicture} } \newcommand{\iWR}{ \begin{tikzpicture}[y=0.80pt, x=0.80pt, xscale=0.5, yscale=-0.5, inner sep=0pt, outer sep=0pt] \input{icons/WR} \end{tikzpicture} } \newcommand{\iWP}{ \begin{tikzpicture}[y=0.80pt, x=0.80pt, xscale=0.5, yscale=-0.5, inner sep=0pt, outer sep=0pt] \input{icons/WP} \end{tikzpicture} } %--------------------------------------- % Black pieces icons \newcommand{\iBK}{ \begin{tikzpicture}[y=0.80pt, x=0.80pt, xscale=0.5, yscale=-0.5, inner sep=0pt, outer sep=0pt] \input{icons/BK} \end{tikzpicture} } \newcommand{\iBQ}{ \begin{tikzpicture}[y=0.80pt, x=0.80pt, xscale=0.5, yscale=-0.5, inner sep=0pt, outer sep=0pt] \input{icons/BQ} \end{tikzpicture} } \newcommand{\iBB}{ \begin{tikzpicture}[y=0.80pt, x=0.80pt, xscale=0.5, yscale=-0.5, inner sep=0pt, outer sep=0pt] \input{icons/BB} \end{tikzpicture} } \newcommand{\iBN}{ \begin{tikzpicture}[y=0.80pt, x=0.80pt, xscale=0.5, yscale=-0.5, inner sep=0pt, outer sep=0pt] \input{icons/BN} \end{tikzpicture} } \newcommand{\iBR}{ \begin{tikzpicture}[y=0.80pt, x=0.80pt, xscale=0.5, yscale=-0.5, inner sep=0pt, outer sep=0pt] \input{icons/BR} \end{tikzpicture} } \newcommand{\iBP}{ \begin{tikzpicture}[y=0.80pt, x=0.80pt, xscale=0.5, yscale=-0.5, inner sep=0pt, outer sep=0pt] \input{icons/BP} \end{tikzpicture} } %--------------------------------------- % Mixed pieces icons \newcommand{\iMK}{ \begin{tikzpicture}[y=0.80pt, x=0.80pt, xscale=0.5, yscale=-0.5, inner sep=0pt, outer sep=0pt] \input{icons/WK} \clip (40, 40) -- (40, 10) -- (10, 40); \input{icons/BK} \end{tikzpicture} } \newcommand{\iMQ}{ \begin{tikzpicture}[y=0.80pt, x=0.80pt, xscale=0.5, yscale=-0.5, inner sep=0pt, outer sep=0pt] \input{icons/WQ} \clip (41, 41) -- (41, 9) -- ( 9, 41); \input{icons/BQ} \end{tikzpicture} } \newcommand{\iMB}{ \begin{tikzpicture}[y=0.80pt, x=0.80pt, xscale=0.5, yscale=-0.5, inner sep=0pt, outer sep=0pt] \input{icons/WB} \clip (40, 40) -- (40, 8) -- ( 8, 40); \input{icons/BB} \end{tikzpicture} } \newcommand{\iMN}{ \begin{tikzpicture}[y=0.80pt, x=0.80pt, xscale=0.5, yscale=-0.5, inner sep=0pt, outer sep=0pt] \input{icons/WN} \clip (40, 40) -- (40, 10) -- (10, 40); \input{icons/BN} \end{tikzpicture} } \newcommand{\iMR}{ \begin{tikzpicture}[y=0.80pt, x=0.80pt, xscale=0.5, yscale=-0.5, inner sep=0pt, outer sep=0pt] \input{icons/WR} \clip (40, 40) -- (40, 8) -- ( 8, 40); \input{icons/BR} \end{tikzpicture} } \newcommand{\iMP}{ \begin{tikzpicture}[y=0.80pt, x=0.80pt, xscale=0.5, yscale=-0.5, inner sep=0pt, outer sep=0pt] \input{icons/WP} \clip (40, 40) -- (40, 8) -- ( 8, 40); \input{icons/BP} \end{tikzpicture} }