From bddf1ae74094e8a3924a1a6ec2db8b1d22157572 Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Tue, 25 Jan 2022 12:07:00 -0500 Subject: [PATCH] Make \overset and friends mark mo as non-accents (#2800) --- unpacked/jax/input/TeX/jax.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/unpacked/jax/input/TeX/jax.js b/unpacked/jax/input/TeX/jax.js index dd2418febb..cb43bdade2 100644 --- a/unpacked/jax/input/TeX/jax.js +++ b/unpacked/jax/input/TeX/jax.js @@ -822,6 +822,7 @@ overset: 'Overset', underset: 'Underset', + overunderset: 'Overunderset', stackrel: ['Macro','\\mathrel{\\mathop{#2}\\limits^{#1}}',2], over: 'Over', @@ -1466,12 +1467,17 @@ Overset: function (name) { var top = this.ParseArg(name), base = this.ParseArg(name); base.movablelimits = false; - this.Push(MML.mover(base,top)); + this.Push(MML.mover(base,top).With({accent:false})); }, Underset: function (name) { var bot = this.ParseArg(name), base = this.ParseArg(name); base.movablelimits = false; - this.Push(MML.munder(base,bot)); + this.Push(MML.munder(base,bot).With({accentunder:false})); + }, + Overunderset: function (name) { + var top = this.ParseArg(name), bot = this.ParseArg(name), base = this.ParseArg(name); + base.movablelimits = false; + this.Push(MML.munder(base,bot,top).With({accent:false, accentunder:false})); }, TeXAtom: function (name,mclass) {