Skip to main content
4 events
when toggle format what by license comment
17 hours ago comment added jps @dsacre well TeX turns every ## in a definition into #, and that for every definition until it's one hastag followed by a number. So gor every nesting level you'll need to double the hashes.
18 hours ago comment added dsacre Thank you very much for the answer and explanation! Never encountered this "double hash doubling" issue before. Usually, "single hash doubling" was sufficient for all my previous macro stacking :-) To be fair, I never tried mixing pgfkeys and .code handlers into the stacked macros before. After reading your explanation, I am quite surprised that my code worked (although being partially) in the first place...
19 hours ago vote accept dsacre
20 hours ago history answered jps CC BY-SA 4.0