I have a tikz matrix
row1 & a b c & d e f \\
row2 & 1 12 16 & 34 2 55 \\
....
and I need to keep the spacing correct(basically use a monospaced font) for correctly alignment between rows.
I can't make each letter into it's own column because it will mess up the total matrix(which is more complex than the example above). Some columns will not have to be spaced like this. I could possibly make the whole matrix monospaced though if it will preserve spacing?
I've tried \verbatim
but I get errors. The
matrix of nodes
? Willevery node/.style={font=\ttfamily}
as an option to the matrix do?a b c
aligned with1 2 3
but nota b c
with11 22 33
)\verb|1 2 3|
works, but I don't know how to set that for all cells.