diff options
-rw-r--r-- | cards.tex | 2 | ||||
-rw-r--r-- | icons.tex | 43 |
2 files changed, 42 insertions, 3 deletions
@@ -4,7 +4,7 @@ possibly icons. For example, this is a Mixed (Black or White) King \iMK which is the rest of the rule. Note it bumps line heights.\\ \iWK\iWQ\iWB\iWN\iWR\iWP\\ \iBK\iBQ\iBB\iBN\iBR\iBP\\ -\iMK +\iMK\iMQ\iMB\iMN\iMR\iMP\\ }{...}{...} \card{Hopper}{ @@ -83,10 +83,49 @@ \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} + \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} +} |