Is it possible to have while
loops in TikZ, or some equivalent loop which only terminates after a certain condition?
[Tex/LaTex] While loops in TikZ
loopstikz-pgf
loopstikz-pgf
Is it possible to have while
loops in TikZ, or some equivalent loop which only terminates after a certain condition?
Best Answer
You can combine the loop
\foreach
with the provided command\breakforeach
. The following example is copied from the manual.