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

Alexandru Scorpan ascorpan at math.ufl.edu
Fri Sep 10 12:47:20 CEST 2004


> so what you really want is
>
>   \renewcommand*\@aciii{\ifmmode\expandafter\mathbin\fi{\,=\,}}

OK, the following file

\documentclass{article}
\AtBeginDocument{%
\makeatletter
\renewcommand*\@aciii{\ifmmode\expandafter\mathbin\fi{\,=\,}}
\renewcommand*\={\@aciii}
\makeatother
}
\begin{document}
\[ A\= B \]
\end{document}

produces no error, but as output something like

ciii=
		AaaciiiB

if I surround \@aciii by braces, as in \renewcommand*{\@aciii} etc, it 
leads to the ``\@aciiiundefined'' error (no space in original).

Alex



More information about the texhax mailing list