summaryrefslogtreecommitdiff
path: root/icons.tex
diff options
context:
space:
mode:
Diffstat (limited to 'icons.tex')
-rw-r--r--icons.tex92
1 files changed, 92 insertions, 0 deletions
diff --git a/icons.tex b/icons.tex
new file mode 100644
index 0000000..5a7d1d7
--- /dev/null
+++ b/icons.tex
@@ -0,0 +1,92 @@
+%---------------------------------------
+% 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}
+}
+
+