Skip to content

Commit

Permalink
Merge pull request #1049 from mathjax/issue3173
Browse files Browse the repository at this point in the history
Move \divsymbol to physics package and add \divisionsymbol. (mathjax/MathJax#3173)
  • Loading branch information
dpvc authored Feb 8, 2024
2 parents 99903c2 + 79bcab2 commit f5ddfc7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
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

0 comments on commit f5ddfc7

Please sign in to comment.