Tagged Questions
7
votes
3answers
347 views
Nested \loop macro
Please are there 'nestable' variants of Knuth's favourite looping macro \loop without the brace-scope introduced in the answer at nested loops. I am developing a package called loops, where I am ...
3
votes
4answers
242 views
What is the TeX equivalent for the following C# nested loop?
I need a nested loop to animate PSTricks diagrams. In C# or C or C++, I usually write as follows.
int N=6;
for(int x=0; x<N; x++)
for(int y=x+1; y<N; y++)
Console.WriteLine("({0}, ...
5
votes
3answers
576 views
Tex Nested Loops
I am trying to write a simple nested loop in LaTex, without using any special packages, using only the \loop...\if... \repeat syntax. I think I may be lacking a basic understanding of the rules for ...