I'm trying to draw diagrams for the board game Go in TikZ. To reuse board positions in subsequent variations I need a way to store the current board position. I learned from this question that two of my options are using \csname
... \endcsname
or pgfkeys
. As I am using pgfkeys for other things anyways, my question is:
How would one implement a two-dimensional array with pgfkeys?
I'm open towards solutions not using pgfkeys
, if you think that's a bad idea. However I would prefer not to use expl3
, as one of my end goals is to be compatible to Plain TeX, LaTeX and ConTeXt (just like TikZ is)
expl3
is usable with plain and ConTeXt as well as with LaTeX.expl3
syntax, but I will give it another look.