Tagged Questions
8
votes
5answers
302 views
Define a command (possibly recursively) to wrap text in a command n times
I'm trying to define a new command \multiboxed in LaTeX so that I can put n boxes around an equation without having to manually nest \boxed commands. So far I have (using the pgffor package):
...
7
votes
3answers
432 views
Strange recursive macro output
Strange recursive macro output
The code that follows describes a macro that can iterate recursively (i.e, a forloop) and uses e-TeX numexpr. It is based on an example found in the e-TeX manual (page ...