Closed jebej closed 2 years ago
unicode-math does almost all its definitions \AtBeginDocument
(there are some issues open about that) but that means that any redefinitions also need to be delayed to that point either by putting them in the same hook, or putting them after \begin{document}
This is essentially a duplicate of #477
Thanks, I hadn't seen that issue. Is there any way of making the physics package work correctly then or must we use the manual solution here?
You must use the workaround (or make physics
use it, but actually you should rather ditch the physics package —see https://tex.stackexchange.com/q/471532/56823, https://tex.stackexchange.com/q/471563/56823).
physics package has other issues I think... but
\documentclass{article}
\usepackage{unicode-math}
\AtBeginDocument{\usepackage{physics}}
\begin{document}
$\Re$
\end{document}
if you must
Thank you! I'll close this in favor of #477.
There is a conflict between
unicode-math
and here the redefinition ofamsmath
's\Re
and\Im
involving\operatorname
The issue was originally noticed with the
physics
package, which does a similar redefinition.When
unicode-math
is loaded, the old fraktur symbol is printed:The correct output should have the roman "Re":