[texhax] redefinition of \= does not get into footnotes

Ian.Collier at comlab.ox.ac.uk Ian.Collier at comlab.ox.ac.uk
Fri Sep 10 13:42:05 CEST 2004


Alexandru Scorpan writes in texhax:
>\documentclass{article}
>\AtBeginDocument{%
>\makeatletter
>\renewcommand*\@aciii{\ifmmode\expandafter\mathbin\fi{\,=\,}}
>\renewcommand*\={\@aciii}
>\makeatother
>}

First problem: there should be two "c"s in "\@acciii".
Second problem: \makeatletter is ineffective if used within the argument
to another command.  Don't use \AtBeginDocument, or put the \makeatletter-
\makeatother pair outside the \AtBeginDocument instead of inside.
-- 
---- Ian Collier : imc at comlab.ox.ac.uk : WWW page below
------ http://users.comlab.ox.ac.uk/ian.collier/imc.shtml



More information about the texhax mailing list