I am not reporting this as a BUG but an ENHANCEMENT, as I do not use \div for divergence (I prefer \div for division). But it is needed to give an option for users who need \div for divergence.
I found that \div in physics is moved to \nabla\cdot but with unicode-math it is changed back to amsmath ÷
\documentclass[a4paper]{article}
\usepackage{unicode-math} % compare if or not I comment this line
\usepackage{physics}
\begin{document}
\[
\div F
\]
\end{document}
This is when I found that I loaded physics but \div does not change
Same issue for \Re and \Im, where amsmath and unicode math use \mathfrak{R} and \mathfrak{I} but physics use \mathrm{Re} and \mathrm{Im}
I am not reporting this as a BUG but an ENHANCEMENT, as I do not use
\div
for divergence (I prefer\div
for division). But it is needed to give an option for users who need\div
for divergence.I found that
\div
in physics is moved to\nabla\cdot
but with unicode-math it is changed back to amsmath÷
This is when I found that I loaded physics but
\div
does not changeSame issue for
\Re
and\Im
, where amsmath and unicode math use\mathfrak{R}
and\mathfrak{I}
but physics use\mathrm{Re}
and\mathrm{Im}