Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

physics extension missing \divisionsymbol #3173

Open
ramon-adan opened this issue Feb 1, 2024 · 1 comment
Open

physics extension missing \divisionsymbol #3173

ramon-adan opened this issue Feb 1, 2024 · 1 comment
Labels
Accepted Issue has been reproduced by MathJax team Merged Merged into develop branch Test Needed v4

Comments

@ramon-adan
Copy link

ramon-adan commented Feb 1, 2024

Issue Summary

I'm using the physics extension, and the description mentions that the /div symbol has been replaced by the \divisionsymbol macro, but it doesn't work.

Steps to Reproduce:

  1. Add the package and loader:
window.MathJax = {
  loader: {load: ['[tex]/physics']},
  tex: {packages: {'[+]': ['physics']}}
};
  1. Add the laTeX
$  \div $

$  \divisionsymbol  $$

Expected Behavior

  • Render the symbol ÷ using the macro \divisionsymbol
  • Render the symbol ∇ using the macro \div

Current Behavior

  • The symbol ÷ is NOT render using the macro \divisionsymbol
  • The symbol ∇ is rendered as expected using the macro \div
Screenshot 2024-02-01 at 4 53 10 p m

Technical details:

  • MathJax Version: 3.2
  • Client OS: Mac OS Sonoma 14.3
  • Browser: Chrome Version 121.0.6167.139 (Official Build) (x86_64)

Supporting information:

@ramon-adan
Copy link
Author

ramon-adan commented Feb 2, 2024

The correct macro to render the division symbol is \divsymbol.

I recommend updating the Documentation mathjax/MathJax-docs#333

@dpvc dpvc added Ready for Review Accepted Issue has been reproduced by MathJax team v4 labels Feb 6, 2024
@dpvc dpvc reopened this Feb 6, 2024
dpvc added a commit to mathjax/MathJax-src that referenced this issue Feb 8, 2024
Move \divsymbol to physics package and add \divisionsymbol. (mathjax/MathJax#3173)
@dpvc dpvc added Merged Merged into develop branch Test Needed and removed Ready for Review labels Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Issue has been reproduced by MathJax team Merged Merged into develop branch Test Needed v4
Projects
None yet
Development

No branches or pull requests

2 participants