# Questions tagged [mathjax]

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

113
questions

5
votes

0
answers

68
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\}$, ...

2
votes

0
answers

69
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

192
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

46
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:
...

1
vote

0
answers

163
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?

5
votes

1
answer

129
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 ...

0
votes

2
answers

128
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

118
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

132
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

58
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

188
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

196
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

183
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

97
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

217
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

69
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

138
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

70
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

173
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

1
answer

166
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

95
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

311
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 ...

1
vote

1
answer

81
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 <...

3
votes

1
answer

120
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

78
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

124
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 ...

9
votes

2
answers

625
views

### `\intertext` in MathJax

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

3
votes

2
answers

252
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 ...

5
votes

1
answer

252
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....

8
votes

0
answers

120
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 ...

4
votes

0
answers

69
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

0
answers

173
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

394
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

144
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

165
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

62
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:
...

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 ...

26
votes

4
answers

830
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 ...

3
votes

1
answer

112
views

### `\DeclareMathOperator` at the beginning of a comment disables some link parsing

In a comment of the form $\DeclareMathOperator\a{a}$Here's a [link](http://mathoverflow.net) and [another link](http://mathoverflow.net) $\a$, neither link is ...

-8
votes

1
answer

202
views

### Is it allowed to use images for pasting math formula?

Is it allowed to use images to paste math formula in mathoverflow.net ?
I think this is high efficiency, and few people search math questions by LaTeX.

5
votes

0
answers

87
views

### Dollar sign in image title works in preview, but not in actual post

I was just trying to clean up Understanding why $\pi_{3}(N) = \mathbb{Z}_{(2n, n^2)}$? , which was originally almost entirely cut-and-pasted images without any alternate text. For the first image, I ...

0
votes

0
answers

67
views

### Potential rendering issue for formulas

when I entered the following
$$\pmb{ \frac{d_+^n}{dx_+^n}}:= \left(1, \frac{d^1}{dx^1},\,\dots,\,\frac{d^{n-2}}{dx^{n-2}},\,1\right)$$
I observed that the defined fraction has an unsharp ...

4
votes

0
answers

182
views

### Preview failing to parse double backslash in large matrices?

A couple of times now, I've been entering a large matrix here or on math.SE and, in the preview window, all the rows appear on a single line. Once the question posts, it displays correctly. I most ...

4
votes

0
answers

104
views

### Garbled MathJax in a link to a question with MathJax in the title

The following occurs on my activity page:
The question it links to is Is there an explicit expression for Chebyshev polynomials modulo $x^r-1$? and it seems that the MathJax in the end somehow got ...

2
votes

0
answers

85
views

### Insufficient space following MathJax, but only right after posting

I am using Safari 12.0.2 on macOS Mojave. In my answer https://mathoverflow.net/a/331026 , I see the following:
It seems to me that the spacing between the second and third parentheses at the end of ...

4
votes

0
answers

202
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 ...

12
votes

1
answer

645
views

### Problem with posts and comments relying on macros defined elsewhere

MathJax supports possibility do define macros. (Using \newcommand, \DeclareMathOperator, \def...