I am playing with Tikz matrices and would like to use the foreach statement to "expand a matrix". More precisely, I wonder if I can use a foreach statement such as:
\n in {Alice (the genious), Bob, Smith, Gordon}{ code }
together with the tikz matrix environment in order to achieve and end result that looks like
The manual code to achieve the above output is:
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{matrix}
\begin{document}
\begin{tikzpicture}
\tikzstyle{every node}=[anchor=west]
\matrix[matrix of nodes]
{
ID nr & Status & Volume \\
1.2345 & Blue & 2.2 \\
Creator & Last touch& Date \\
{Alice (the genious)} & Jason & 20190129 \\
{Bob} & & \\
{Smith} & & \\
{Gordon} & & \\
{Theme:} & & \\
{Let's use tikz } & & \\
};
\end{tikzpicture}
\end{document}
Thanks!

\foreachloop, but it is not absolutely straightforward. See this answer and the many linked posts for how that works. I would like to argue that in this case it may not be worth the effort. – Jan 29 '19 at 14:43