2

Somehow SE's MathJax doesn't like \DeclareMathOperator in subscripts or superscripts. This doesn't render on SE:

$\DeclareMathOperator{\two}{two}$ $\two+\two=\two^\two$ 

(I can't directly demonstrate the failure here, since MathJax seems not available in this community.)

But in the MathJax demo it renders just fine:

What's the reason? Different version of MathJax?

2
  • 2
    Is it related to the scoping change? Can you reproduce it in the Math sandbox? Commented Aug 24, 2023 at 22:05
  • @Laurel It is does not seem to be related to the scoping change, as the problem is fixed by encapsulating the exponent in curly braces (which is probably good practice, anyway, but is neither here nor there). Commented Aug 25, 2023 at 0:01

1 Answer 1

5

I can confirm this behaviour on Math SE. I am posting an answer so that I can share screenshots. Note that curly braces solve the problem.

this is how it renders in preview mode

and this is how it renders once submitted

2

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.