summaryrefslogtreecommitdiff
path: root/icons.tex
blob: 5a7d1d7f74674acea9a21ad5cbc033437f85361a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
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}
}