Saturday, 25 May 2013

Modify Tag Command

Modify Tag Command

Fairly sure this is something really obvious.
Trying to redefine the \tag{...} command via:
\let\tagOld\tag
\renewcommand{\tag}[1]{\tagOld{#1$^*$}}
In other words, it appends an asterisk to the argument, however, it is making no difference.
If I create a whole new command:
\providecommand{\mytag}[1]{\tag{#1$^*$}}
and call the new the \mytag{...} command instead of \tag{...}, then the output is generated as anticipated.

No comments:

Post a Comment