Tagged Questions
8
votes
1answer
182 views
Print catcodes in LaTeX with LaTeX3
I have the following MWE which prints the catcode of every character in the list.
The input method is:
\MyList{`+,{`,},`\%,`a}
but I want to simplify as follows:
\MyList{+,{,},\%,a}
Here the ...
4
votes
2answers
371 views
How to test whether next token on input stream is catcode 10
Why doesn't the following code work? From a failed, now fixed, SO answer of mine:
\documentclass{article}
\usepackage{expl3}
\ExplSyntaxOn
\newcommand\latinabbrev[1]{
\peek_meaning:NTF . {% Same ...