I have the impression that if one defines a macro inside the definition of another one, then #1 and so on indicate the outer macro's arguments, while ##1 indicates those of the inner one. Is that right? Could one theoretically go furher, i.e. define a macro inside the definition of a macro defines inside the definition of a third one, thus using ###1 for the innermost macro's argument? If so, how many levels of nesting would be allowed?
Asked
Active
Viewed 167 times
0
MickG
- 5,426
#. So for the third level:####1, for the fourth########1and so on – cgnieder Aug 10 '14 at 21:59###) the limit is setable intexmf.cnfand defaults to 5000 in texlive 2014 – David Carlisle Aug 11 '14 at 15:15