# Questions tagged [mathjax]

Bug reports and suggestions for the MathJax system used to compile basic LaTeX code on the site.

115
questions

14
votes

1
answer

10k
views

### KaTeX vs MathJax

According to some benchmarks, it seems that KaTeX renders latex much more faster than Mathjax.
Is there any chance to use KaTeX in place of Mathjax?

12
votes

1
answer

247
views

### Braces don't render in preview

When I type braces in math mode in a post, like $\{1,2,3\}$, they don't show up in the preview. See the following screen shot.
I tried all the different Math ...

4
votes

0
answers

221
views

### A mathjax issue with stars in super/subscripts

I encountered Topos associated to a category with glowing-red \*s in it. When trying to edit them out I discovered that whenever I try to replace an ...

6
votes

5
answers

1k
views

### Formatting Sandbox

The purpose of this thread is to enable people to check if their formatting works and to play around with their MathJax code.
Quoting from Bill Dubuque's Formatting Sandbox on meta.math.SE:
To use ...

5
votes

1
answer

271
views

### Long display style formulae extend too much to the right with some renderers

In the following screen capture, take a look at the region delimited by the red rectangle: notice how it extends too much to the right, such that a part of it becomes hidden by the yellow page element....

4
votes

0
answers

156
views

### Why doesn't the prime in $\sum_n'$ sit flush against the summation symbol?

The TeX snippets $\sum_n'$ \sum_n' and $\sum_n^\prime$ \sum_n^\prime should (as with all things TeX, barring trickery) be ...

5
votes

0
answers

82
views

### Missing brackets in $\{x\}$ in drafts, not missing in the final question/product

I am using the latest version of Firefox on Linux (bodhi linux) as well as Mac and Windows.
Some $\LaTeX$ is not typeset correctly in MathOverflow: whenever I type a set, like the singleton $\{x\}$, ...

9
votes

2
answers

743
views

### `\intertext` in MathJax

MathJax, at least as used on MO, recognises many multi-line environments, like {multline}, {align}, and ...

3
votes

0
answers

82
views

### Including a hash character (#) in a math equation causes it to not render (in new-question page)

I want to ask a question about a paper that uses this notation:
However, when I typeset it in MathJax with ...

4
votes

1
answer

214
views

### A MathJax/LaTeX question

In This question, the following appears:
$$[0,2] \times \left[0,4-\sqrt{3}\right] \times \left[0,4-\sqrt{3}\right] \times \mathop{\Large\times}_{i=1}^{k-3}[0,2]$$
Thinking that that last $\times$ ...

2
votes

1
answer

50
views

### MathJax ignores a `\tag` in an `{equation}` containing a `{split}`

The following snippet, when compiled as part of a LaTeX document with appropriate packages loaded, would produce a numbered (well, \tagged) equation:
...

5
votes

1
answer

133
views

### Editor is not rendering the equations correctly

I haven't asked a question on Mathoverflow or Mathstackexchange but after while I decided to do so I have realized that the editor has got significantly worse. First of all it is significantly slower ...

1
vote

0
answers

169
views

### Why is it taking so much longer than it used to for MathJax to get rendered?

These last few days when I click on a posting it sometimes takes more than a minute or even two, for MathJax to get rendered. It used to be a couple of seconds.
Is anything being done to correct this?

0
votes

2
answers

138
views

### How is it possible to format a right-aligned sequence that has single and double digits so that the alignment is correct?

I have this MathJax sequence that I want to format properly in MathOverflow:
$$S_m =
\begin{cases}
\begin{aligned}
1, \quad\text{for m=1}\\
12, \quad\text{for m=2}\\
123, \quad\text{for m= 3}\\
...

0
votes

0
answers

122
views

### Should the dots used in lambda-calculus notation be typographically treated the way binary relation and binary operation symbols are?

Within this question we find the notation $\lambda f . \lambda g . \lambda x.f(g\ x)$, and that causes me to wonder about a point of LaTeX and MathJax usage.
The code ...

2
votes

1
answer

172
views

### Why would an equation render on preview and in an external TeX compiler, but not in post?

I know the general phenomenon is that rendering of previews differs from rendering of posts, but, presumably, the goal is to minimise unnecessary discrepancies—and that, in particular, non-esoteric ...

2
votes

0
answers

69
views

### How do backticks, escaped backticks, and math mode interact, in posts and comments?

I know I can escape backticks, like `.
I though I could escape backticks within backticks, as I did in a comment, but it's not working here: a\b`. See a comment ...

5
votes

2
answers

189
views

### Why do `* *`s and `** **`s stop being recognised at some point, and how can I fix the resulting inadvertent vandalism?

I recently submitted an edit to Another notion of exactness: how to refine it, and where does it fit? to replace hand-rolled commutative diagrams with AMScds, since ...

3
votes

1
answer

561
views

### Writing a bar on top of a number

I want to write a question in which I have a bar on top of a number or letter to represent a recurring digit. however, I can't find any options to write the particular digit, even when I search the ...

7
votes

1
answer

195
views

### Having the MO Mathjax parser recognise \( \) is a regex away

@IsabelBeckenbach discovered why \( \) isn't accepted as a math-mode delimiter on MO. I'd always thought it was a design choice, but apparently it's just a mis-...

2
votes

0
answers

98
views

### Some arrows in commutative diagrams in comments are wrongly interpreted as @-notifications; and a bonus question about CDs on MMO

I left the following comment on Pullbacks in this category of vector spaces are intersections:
Are the morphisms in your category isometries? Otherwise, I'm not sure why the category is left ...

3
votes

0
answers

263
views

### mathcal notation fails to render in Chrome

I recently noticed that "\mathcal" no longer renders. Example post
but it renders fine in Safari
Chrome: 111.0.5563.146 (Official Build) (x86_64)
Safari: Version 16.4 (18615.1.26.11.22)
...

4
votes

0
answers

70
views

### MathJax in edited question title gets badly mis-parsed in diff view

A recent question received an edit to its MathJax, including in the title. Viewing the diff in the edit history, the edited MathJax in the title gets very badly mis-parsed in the diff view, as shown ...

3
votes

0
answers

156
views

### In Safari on macOS, a numbered list beginning with a displayed equation swallows the number

This bug report did not originally mention the platform and the renderer. I originally put them at the end, but it occurs to me that they're more useful up front. Thanks to @DavidRoberts and @...

3
votes

0
answers

71
views

### AMScd columns not aligning

The code
\require{AMScd}\begin{CD}
0 @>>> \mathbf D(C) \\
0 @>>> M
\end{CD}
produces
$$\require{AMScd}\begin{CD}
0 @>>> \mathbf D(C) \\
...

7
votes

0
answers

174
views

### How is TeX rendered in edit summaries?

I recently edited a question Dynkin type classification for 2-dimensional hypersurfaces in non-commutative space, and entered as my edit summary "$<x,y>$ -> $\langle x,y\rangle$" <...

4
votes

0
answers

203
views

### Wrong rendering in narrow width in Safari

When I view the front page right now in Safari, I see:
Notice that the question mark, which the poster properly placed at the end of the equation (see the question (before another edit removed the ...

4
votes

1
answer

180
views

### Double overline renders poorly, except in MathML

A post Mathematical formulation of beam: get stress/strain from forces and momentum uses \overline{\overline{…}}. The results below are mostly from Safari 16.1 on ...

3
votes

1
answer

97
views

### Integral sign cut off in Safari

I am using Safari version 16.1 with the HTML-CSS renderer. A displayed formula in the post Convergence by parameter involving inf renders as follows:
This happens even with extensions disabled, but ...

13
votes

0
answers

1k
views

### Did mathcal stop working properly?

Does this question Basic algebra of $\mathcal{O}_0(\mathfrak{sl}_n(\mathbb{C}))$ — Reference request look like this for anyone else?:
Those squares are supposed to be \mathcal{O}'s. As far as I can ...

5
votes

1
answer

444
views

### What is a supported use of \hfill?

According to Supported TeX/LaTeX commands, \hfill is supported. However, as expected, it doesn't work in ordinary text \hfill ; and using it in math mode seems to ...

7
votes

2
answers

2k
views

### Numbering and cross referencing of equations in questions and answers

A basic LaTeX feature which I sometimes miss when asking and answering questions in MO (specially when the question and the particularly the answer are longer) is the possibility of numbering ...

1
vote

2
answers

839
views

### Triangle commutative diagram does not work here at MO

I frequently tried to draw a triangle commutative diagram similar to the definition of projective modules for this question.
A module associated to an endomorphism of a vector bundle
so I ...

1
vote

1
answer

83
views

### Long post fails to render

In one MathOverflow answer by me, the MathJax code added latest fails to render correctly. Instead, one $ tag is ignored and for the rest on the line, code inside <...

4
votes

0
answers

70
views

### Occasionally reproducible bug with macro definitions in a draft post affecting macro use in comments

In the course of a discussion involving using MathJax to re-define macros, I couldn't recall if MathJax obeys a \newcommand for an already-defined macro, and so ...

3
votes

1
answer

122
views

### Why is there unexpected space at the beginning of a paragraph in an answer?

In @GabeK's nice answer to @JonBannon's question Each mathematician has only a few tricks, there is unexpected space at the beginning of the third paragraph:
My first thought was that there might be ...

10
votes

4
answers

305
views

### Is it possible to see the source for a comment?

Although this question seems to be new to M.MO, @MartinSleziak points out several related posts on Meta.MSE.
I was curious about the diagrammatic magic of @YaakovBaruch's recent comment, and so ...

4
votes

0
answers

81
views

### Limits on overflowed integrals are too far away from the integral sign

I edited Multiplying divergent integrals using Hardy fields approach to put equations clearly meant to be displayed in display mode. Once I did so, one of the equations exhibited very strange spacing,...

4
votes

1
answer

128
views

### `\eqref` across posts

While editing @Ruy's answer to How can one define a kind of "determinant" on a reduced group $C^*$ algebra?, I tried to insert an \eqref to the equation ...

3
votes

2
answers

366
views

### MathJax equivalent of `<strike></strike>`

I recently tried to edit an old question x-th moment method that had got bumped to the front page for other reasons. The post had an equation that was meant to be, and maybe at one point was, struck ...

8
votes

0
answers

127
views

### Some but not all LaTeX rendering correctly on tools page

Users with sufficiently high reputation have access to a "tools" page, which I like a lot. However, sometimes I find that the $\rm\TeX$ doesn't render properly. What is particularly puzzling ...

2
votes

0
answers

62
views

### Badges appear to have disappeared [duplicate]

It looks like badges are no longer showing on users when browsing questions/answers:
The badges appear while the pages loads, but as soon as the mathjax fully loads, they disappear. Checking other SE ...

7
votes

0
answers

344
views

### Can Mathjax preview be switched off?

I recently typed an answer with a few formulas in it. While I was typing, my browser constantly reloaded the preview part below the typing window. Because MathJax apparently does three passes over the ...

3
votes

0
answers

194
views

### Braces are not rendered in MathJax in the preview of a question

I am using Firefox 94.0.1, with no user scripts. I have a few add-ons, which I can list if needed, but, since the behaviour does not always occur, they cannot always be interfering. My renderer is <...

2
votes

0
answers

412
views

### A super easy way to speed up MathJax loading with LocalCDN add-on

I found a very neat way to speed up MathJax execution times and I thought about sharing it with everyone here. Typically whenever I start my browser I have to load up all of these MathJax resources ...

5
votes

0
answers

145
views

### How can I see the line length available for long mathematical expressions in posting on MO?

In typing up a question (or answer) on MO, I try to format a long mathematical expression so that it fits in one line. When I meet with apparent success, as shown in the wysiwyg box underneath the box ...

2
votes

2
answers

172
views

### No MathJax line wrapping in Firefox

Example:
Chrome, for comparison:
Happens on Windows 10, both browsers are up to date.
Should I use the bug tag?
Does anybody else encounter this? Can it be something on my side?
After the question ...

3
votes

0
answers

64
views

### Math-mode formula in comment breaks incorrectly across lines

In the following comment, both summands should appear before the period:
The source for the comment is:
...

26
votes

4
answers

855
views

### Which Latex / MathJax features do we need or want to have supported on the site?

As we've started discussing, Stack Exchange is planning to redo the editor for all questions and answers across all their sites. As articulated by Emilio Pisanty, these changes will have significant ...

8
votes

2
answers

179
views

### Previewed post does not match rendered post when MathJax uses *

In revision 2 of Number of permutations in $S_{a + b}$ with $\operatorname{maj}(\pi) = b$ and $\operatorname{maj}(\pi^{-1}) = b$, I edited an equation that had been manually given the label ...