%--------------------------------------- % 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/BK} \clip (40, 39.5) -- (40, 10) -- (10, 39.5); \input{icons/WK} \end{tikzpicture} }