I tried this, but it doesn't work as intended:
\foreach \x/\index in {4/0,5/1,19/2} {
\ifnum \index > 0
% use lastx
\fi
\pgfmathsetmacro\lastx{\x}
}
How do I set \lastx properly?
|
|
|
You can use the additional facilities of
|
|||
|
|
|
Assignments in a
Code:
|
|||
|
|