MathJax 3.1 tex2svg + physics: Conflict between AMSMath \div(division symbol) & Physics \div(divergence)

113 views
Skip to first unread message

Aurelian Tudorache

unread,
Feb 6, 2021, 4:18:36 AM2/6/21
to MathJax Users
Hi,
As the title says there is a conflict between AMSMath \div (division symbol) & Physics \div (divergence). The output of \div macro is always -> nabla operator dot product. I suggest renaming AMSMath \div to \divisionsymbol.

Volker Sorge

unread,
Mar 17, 2021, 12:18:36 PM3/17/21
to MathJax Users
The real problem is that \div is a LaTeX base macro. Consequently, it will be shadowed by physics and even loading amsmath after physics won't bring it back.
So the behaviour is similar to LaTeX where you could use a \let construct to save the old version.

However, for convenience I'll add a \divisionsymbol to the base package. 
Reply all
Reply to author
Forward
0 new messages