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

Move \divsymbol to physics package and add \divisionsymbol. (mathjax/MathJax#3173) #1049

Merged
merged 1 commit into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion ts/input/tex/base/BaseMappings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ new sm.CharacterMap('mathchar0mo', ParseMethods.mathchar0mo, {
bullet: '\u2219',
wr: '\u2240',
div: '\u00F7',
divsymbol: '\u00F7',
odot: ['\u2299', {largeop: false}],
oslash: ['\u2298', {largeop: false}],
otimes: ['\u2297', {largeop: false}],
Expand Down
5 changes: 4 additions & 1 deletion ts/input/tex/physics/PhysicsMappings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ new CharacterMap('Physics-vector-mo', ParseMethods.mathchar0mo, {
cross: '\u00D7',
cp: '\u00D7',
// This is auxiliary!
gradientnabla: ['\u2207', {mathvariant: TexConstant.Variant.BOLD}]
gradientnabla: ['\u2207', {mathvariant: TexConstant.Variant.BOLD}],
// Replacements for original latex \div (physics2, and physics versions)
divsymbol: '\u00F7',
divisionsymbol: '\u00F7'
});

new CharacterMap('Physics-vector-mi', ParseMethods.mathchar0mi, {
Expand Down