is it possible to include an external file within a \foreach function?
Code: Select all
\begin{tikzpicture}
\foreach \x/\y/\z/\beschriftung in {1/2/0.3/Test,
2/3/1/test}
{
\draw[fill=tab1] (\x cm,0cm) rectangle (\x cm +1 cm,\y cm);
};
\end{tikzpicture}
Is this possible and how?
I've already tried \include or \input but always ended up in an error.
Thanks for any help!
Alex