Tagged Questions
4
votes
2answers
1k views
How to pass definitions to \AtBeginDocument?
I need to delay execution of a chuk of code to the time when other packages are loaded so I wrap it into \AtBeginDocument:
\AtBeginDocument{%
\def\reserved@a#1#2{%
\edef\reserved@b{#1}%
...
3
votes
3answers
275 views
How to capture a colon in a macro?
I am trying to capture punctuation marks and I have a number of macros, two of which are shown in the minimal below:
\documentclass{article}
\usepackage[english]{babel}
\def\isColon#1{%
\ifx:#1
...