# Questions tagged [mathjax]

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

101
questions

6
votes

1
answer

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

6
votes

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

2
votes

0
answers

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

5
votes

1
answer

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

2
votes

0
answers

111
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

66
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

108
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

65
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

167
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

194
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

134
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

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

11
votes

0
answers

605
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

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

6
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

719
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

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

4
votes

0
answers

67
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

108
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

277
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

76
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

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

7
votes

1
answer

313
views

### `\intertext` in MathJax

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

3
votes

2
answers

135
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

112
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

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

2
votes

0
answers

122
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

363
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

142
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

142
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

59
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

776
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

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

3
votes

1
answer

95
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

176
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

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

26
votes

4
answers

7k
views

### On using MathJax to create 'white space'

The purpose of this post is, first, to raise awareness (as this, reasonably, might not be clear) that the way some (and it seems to me the number is growing) use MathJax to create 'white space' (or to ...

0
votes

0
answers

64
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

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

10
votes

2
answers

5k
views

### How does one type mathematical formulas on this site?

I can see that the posts on this site contain nicely displayed mathematical formulas. How can I get such formulas in my posts? What syntax is used to typeset them?
Note: This is an attempt to make at ...

4
votes

0
answers

101
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

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

12
votes

1
answer

630
views

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

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

14
votes

3
answers

963
views

### Is it OK to abuse Mathjax for emphasis?

The author of this question uses Mathjax (in a way different from its intended usage) to make parts of his question stand out more; for instance, to display some headers in red or to alter the spacing ...

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

0
votes

1
answer

120
views

### One number on top of another with mathjax?

Probably a simple question, but how can I write my script in mathjax to show one number on top of another and with a minus sign in the left side?
Like this:

20
votes

1
answer

800
views

### The math! It's overflowing!

See what happens if you expand the comments on this question, we get this prime example of a math overflow:
Of course, this is due to a \$ problem, but still, it seems to be a flaw in the CSS that ...

7
votes

1
answer

1k
views

### Is it possible to use tikzcd code in MO posts?

Question : Is it possible to use tikzcd code in MO posts?
There are information for drawing diagrams using AMScd
...

1
vote

1
answer

108
views

### Cancel command in MO post

Why the \cancel command does not work in the last part of the following post:
A cohomology associated to a Riemannian manifold
I would like to strike through the last part of the ...