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

Morten Høgholm moho01ab at student.cbs.dk
Fri Sep 10 13:17:57 CEST 2004


On Fri, 10 Sep 2004 06:41:04 -0400, Alexandru Scorpan  
<ascorpan at math.ufl.edu> wrote:

> Here a sample file, that yields ``missing $ inserted'' when it  
> encounters the math display with \=:
>
> \documentclass{amsart}
> \AtBeginDocument{%
> 	\makeatletter
> 	\renewcommand*\@aciii{\mathbin{\,=\,}}
> 	\renewcommand*\={\@aciii}
> 	\makeatother
> }
> \begin{document}
> \[ A\= B \]
> \end{document}
>
> The funny thing is that just adding the @-code after \begin{document}  
> yields the error ``\@aciii undefined''.

Well that's because you are missing a "c". This works:

\documentclass{amsart}
\makeatletter
\renewcommand*\@acciii{\mathbin{\,=\,}}
\renewcommand*\={\@acciii}
\makeatother

\begin{document}
\[ A\= B \]
\end{document}

-- 
Morten Høgholm



More information about the texhax mailing list