# Questions tagged [mathjax]

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

113
questions

5
votes

1
answer

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

5
votes

1
answer

930
views

### Examples of MathJax codes of directed labelled graphs to use in a MathOverflow Question

I need some examples of MathJax codes of directed labelled (with loops or multiple edges) graphs to use in MathOverflow Questions so that I could easily change them to my graphs.
Here is my try to ...

5
votes

1
answer

204
views

### Backticks breaking MathJax in comments

The backticks that were used to circumvent MathJax problems on MO 1.0 were removed in questions and answers.
However, it appears that the comments were not affected by this fix and thus display ...

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

5
votes

0
answers

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

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

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

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

5
votes

0
answers

106
views

### Screwed up LaTeX when presenting edited posts for approval [duplicate]

In about one of every 4 cases when I am asked to approve an edit, the comparison page that shows the suggested edits suffers from incorrect rendering of LaTeX, which often makes both the original and ...

5
votes

2
answers

466
views

### Adding \LaTeX to old questions and answers

Maybe some context in the beginning. It is my second year in university so I am far away to be good enough to answer questions here, but from time to time I enjoy reading questions and answers. I ...

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

4
votes

2
answers

277
views

### TeX bug: \mod and \pmod gone

It appears that the MO TeX does not understand macros \mod and \pmod any more; it used not to be the case. As a result for many questions the typesetting is broken.

4
votes

1
answer

195
views

### Latex software used by MO

What is the software used by MO to "render" Latex? Is it an outside solution or a software that has been written specifically? Interesting is that I understand that it doesn't produce images but texts ...

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

4
votes

1
answer

339
views

### Unbolding sans serif font in math mode

Is there a way to "unbold" the default text font (namely, sans serif) when written in math mode? Consider this example:
Hello World$\qquad\textsf{Hello World}$
The first instance of "Hello World" is ...

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

4
votes

2
answers

337
views

### MathJax \newcommand appears persistent across the whole page

Probably this is known.
MathJax \newcommand appears to be persistent
across the whole page, including the question + all answers.
This potentially might cause ...

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

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

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

4
votes

0
answers

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

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

4
votes

0
answers

103
views

### Where is the canonical place to submit Mathjax bug reports?

For example, here is an issue I've been having with Chrome on a Nexus tablet.

3
votes

1
answer

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

3
votes

2
answers

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

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

3
votes

1
answer

324
views

### What is the position on titles using \displaystyle, \dfrac, etc.?

I am much more familiar with math.SE. On that site there are explicit guidelines about LaTeX in titles and things like \displaystyle, ...

3
votes

1
answer

139
views

### LaTeX display of exponential pushed down with respect to baseline

This is hardly important, but ...
In an answer, I used the LaTeX O(n \epsilon^{1-d}) to display
$O(n \epsilon^{1-d})$, but this is what it looks like to me (in ...

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

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

3
votes

1
answer

225
views

### Seems like right margins in answer texts need to be increased

It is a very minor thing but still - it seems that answer texts have zero right margin which shows somehow unpleasantly with colored background of accepted answers:
(This is with latest Chrome on ...

3
votes

0
answers

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

3
votes

0
answers

137
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) \\
...

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

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

3
votes

0
answers

203
views

### Seems to be a (minor) bug with displaying mathjax

Hardly noticeable but I still decided to report it - just noticed: at Find the number of boolean functions of n variable that satisfy the following condition one sees this
The second $k$ below is ...

3
votes

0
answers

47
views

### Review suggestions MathJax [duplicate]

Can we please turn on MathJax in "Rendered output" of "Suggested edits"? Or am I not qualified unless I can read raw LaTeX?

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

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

1
answer

139
views

### Garbled MathJax in some old questions [duplicate]

In several old questions/answers I have seen in MathJax the combination \\, where it obviously should be \, and also ...

2
votes

2
answers

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

2
votes

0
answers

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

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

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

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

2
votes

0
answers

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

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

2
votes

0
answers

166
views

### Strange behaviour when clicking on MathJax in question title

I clicked on $\mathbb{RP}^n\times\mathbb{RP}^n$ in this title
Instead of taking me to the question, it stays on the same page but now displays this
If I click on $\mathbb{CP}^n$ instead, I go to the ...