Quantcast
Channel: Problem with `\expandafter` and `csname` - TeX - LaTeX Stack Exchange
Browsing all 3 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Answer by egreg for Problem with `\expandafter` and `csname`

You can include the definition of the command in the “init” phase:\documentclass[12pt]{article}\usepackage{xparse,chngcntr}\ExplSyntaxOn\NewDocumentCommand{\initkeys}{mo} { \newcounter{#1}...

View Article



Answer by David Carlisle for Problem with `\expandafter` and `csname`

Something like this arranges all the csname construction to happen first so it is not intermingled with the pgf parsing.\documentclass[12pt]{article}\usepackage{pgfkeys}\makeatletter...

View Article

Problem with `\expandafter` and `csname`

Above there is a code that I would like to factorize more. I would to define the two macros \exercice and \topic in a similar way that I do with the special \@init@new@exo but I fail for the moment....

View Article
Browsing all 3 articles
Browse latest View live




Latest Images