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
|
# hexboard package
# Matthew Bertucci 2/23/2022 for v1.0
#include:tikz
# loads shapes.geometric tikzlibrary
#include:xstring
\begin{hexpicture}#\pictureHighlight
\end{hexpicture}
\begin{hexgame}#\pictureHighlight
\begin{hexgame}[number]#\pictureHighlight
\end{hexgame}
\begin{hexgamelabels}#\pictureHighlight
\begin{hexgamelabels}[number]#\pictureHighlight
\end{hexgamelabels}
\argiii#S
\belowIa#*
\colorA
\colorB
\hexboard{number}
\hexbottomsubborder{start}{end}
\hexcell{x}{y}
\hexcellshaded[color]{x}{y}
\hexcellshaded{x}{y}
\hexconnect{x1}{y1}{x2}{y2}
\hexcontent{x}{y}{content}
\hexcoord{x}{y}
\hexcounter{x}{y}{player}
\hexcounterlabel{x}{y}{player}{content}#*
\hexdot{x}{y}
\hexedgewidth#*
\hexgrid{columns}{rows}
\hexgridnolabel{columns}{rows}
\hexlinewidth#*
\hexmove{x}{y}
\hexmovenumber#*
\hexreducing{columns}{rows}
\hexreducingnoborder{columns}{rows}
\hexscale{number}
\hexshadedsubrow{start}{end}{row}
\hexsize#*
\hexskipmove
\hexsubrow{start}{end}{row}
\hexthinline#*
\hexthismover#*
\Ia#*
\Iaend#*
\Ib#*
\leftofIa#*
\leftofxchor#*
\setcolorA{color}
\setcolorB{color}
\testA#S
\thehexedge#*
\thehexlabelling#*
\thehexletternum#*
\thehexmovecount#*
\thehexmoveskips#*
\thiscolor#*
\xchor
\ychor
|