# Questions tagged [mathjax]

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

108
questions

2
votes

0
answers

61
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

81
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

83
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

106
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

50
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

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

2
votes

1
answer

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

6
votes

1
answer

135
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

88
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

141
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

67
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

119
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

66
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

170
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

142
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

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

12
votes

0
answers

778
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

207
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

110
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

291
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

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

8
votes

1
answer

391
views

### `\intertext` in MathJax

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

3
votes

2
answers

169
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

234
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

116
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

68
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

137
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

373
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

143
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

151
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

60
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

177
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

800
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

103
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

183
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

85
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

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

177
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

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

4
votes

0
answers

196
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

637
views

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

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

1
vote

2
answers

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

14
votes

3
answers

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

0
votes

1
answer

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

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

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