Questions tagged [expandafter]
29 questions
4
votes
4 answers
Delaying a sequence of tokens via \expandafter
Use case: define a command that loops over a list of input names, defining a command from each name.
In the working code below, note the \expandafter\definput\expandafter{\x} within a loop with \x as the loop variable.
The necessity is clear: we…
David Fink
- 107