[texhax] unicode-math plus braket

Donald Arseneau asnd at triumf.ca
Tue Feb 22 12:47:55 CET 2011

"Arno Trautmann" <Arno.Trautmann at gmx.de> writes:

> %\setmathfont{xits-math}
> \begin{document}
> test
> \begin{figure}
> \caption{$\ket{}$}

The \setmathfont has changed \ket into a fragile command
(rather, it has actually made \langle fragile.

To use it in a moving argument you must do \protect\ket.

> This error stays until the lof is deleted, even when commenting out setmathfont

The commenting-out doesn't work because you stop the compilation
before creating a fresh lof file.

Donald Arseneau                          asnd at triumf.ca

More information about the texhax mailing list