Skip to main content

Questions tagged [mathjax]

MathJax is a JavaScript engine for displaying mathematics, available on some Stack Exchange sites.

Filter by
Sorted by
Tagged with
0 votes
0 answers
76 views

Math mode in image alt text [duplicate]

I used math mode in an image's alt text. This had worked in the past, but now upon an edit, it is broken: the alt text now appears as a link after the image. See answer at What is the difference ...
Tare's user avatar
  • 117
3 votes
1 answer
153 views

MathJax render issues in cs.stackexchange.com [duplicate]

I see following for this following question - How to wiggle sort an array in linear time complexity? I checked in incognito mode, in extension free Chrome instance (Version 119.0.6045.199 (Official ...
nurgasemetey's user avatar
2 votes
1 answer
127 views

'DeclareMathOperator' is not working with subscripts or superscripts

Somehow SE's MathJax doesn't like \DeclareMathOperator in subscripts or superscripts. This doesn't render on SE: $\DeclareMathOperator{\two}{two}$ $\two+\two=\two^\two$ (I can't directly demonstrate ...
fweth's user avatar
  • 123
1 vote
0 answers
74 views

Why is my MathJax formatting so messed up? [duplicate]

Just look at this mess. The following source: We have $G$ solvable, so that we can find a tower of subgroups $$ G = G_0 \supset G_1 \supset\cdots\supset G_m = 1 $$ so that the conditions on ...
paulina's user avatar
  • 111
4 votes
0 answers
176 views

MathJax bugs "Your post appears to contain code that is not properly formatted" [duplicate]

V1: complains $$ \frac{x}{y} $$ V2: doesn't $$\frac{x}{y}$$ V3: complains $$\begin{align} & \frac{x}{y} + \frac{y}{x} \\ & \frac{y}{x} + \frac{x}{y} \\ \end{align}$$ I favor working ...
OverLordGoldDragon's user avatar
3 votes
2 answers
139 views

Why isn't xcolor supported for Latex?

In mathcha.io, I have an equation with colors. \begin{equation*} \frac{\partial L}{\partial X} =\ \textcolor[rgb]{0.82,0.01,0.11}{\frac{\partial L}{\partial Y}} W^{T} \end{equation*} If I want to ...
BPDev's user avatar
  • 151
6 votes
1 answer
113 views

Equation renders in preview mode but not when posted on SE site

I answered a question on OR SE (here) and the equations do render in preview mode, but not when the answer is submitted. The same problem persists on different devices and browsers.
PeterD's user avatar
  • 171
4 votes
1 answer
103 views

MathJax preview renders slowly and improperly

When writing expressions in the body with MathJax on the Mathematics Stack Exchange site, the preview is sometimes immediate, but oftentimes it takes maybe a good five seconds to render. In the latter ...
Lenny White's user avatar
6 votes
0 answers
93 views

MathJax malfunctioning (shows preview) in Firefox

Preview is shown alongside the render in answers I edit - not always, but most of the time. It's also sometimes the case for comments, mine and others'. I can highlight and copy the pre-renders; in ...
OverLordGoldDragon's user avatar
3 votes
2 answers
87 views

Where can I ask if a bug affects multiple sites?

The [bug] tag excerpt read(s): Use this tag for a reproducible problem ON THIS SITE I have a MathJax problem, reproduced at DSP.SE, Math.SE, Stats.SE, and MathOverflow.SE. Meta.SE doesn't use ...
OverLordGoldDragon's user avatar
4 votes
1 answer
229 views

MathJax escape sequences don't work

The equation $x = \{y\}$ is supposed to render like this x = {y} but instead in the preview pane it looks like this x = y. The escape sequences for curly braces, \{ and \}, do not render correctly. ...
NikS's user avatar
  • 157
4 votes
1 answer
216 views

Why aren't two subscripts in same line allowed in MathJax?

I'm trying to write the following equation on math.SE: (\mathcal L_r \eta)_{\mu_1...\mu_p}=(r+p)\eta_{\mu_1...\mu_n} However, you will find that if you put this expression between dollar signs, it ...
dennis's user avatar
  • 151
3 votes
0 answers
86 views

Is it possible to add a "Copy to clipboard" option in the MathJax drop-down list?

In Piazza, when viewing the source of some math that is typeset using MathJax, there is the option to "Copy to clipboard", as shown in the screenshot below. If I click on "TeX Commands&...
mhdadk's user avatar
  • 171
3 votes
0 answers
57 views

Can a search include mathematical expressions?

It's difficult to search for math-related topics without using math expressions. Can this be done somehow? I'm talking about things beyond +, - , / , etc.
Rolomoto's user avatar
  • 131
3 votes
0 answers
121 views

MathJax processing issue - Strange behavior in the editor of "\:" in a formula

I noticed that in some posts, the code of the equations ends with "\:.", but nor "\:", nor ":" themselves appear in the rendered equation (see, e.g., this answer). ...
mma's user avatar
  • 149
27 votes
0 answers
304 views

Are there plans to switch to the current version of MathJax?

As pointed out on Mathematics Meta, Stack Exchange still uses MathJax v2, although v4 was released recently. (The answer by Davide Cervone - one of the MathJax developers - summarized some potential ...
Martin's user avatar
  • 15.1k
-6 votes
1 answer
134 views

Globally Enable MathJax

MathJax seems to be enabled on some sites and not others. Whilst I appreciate that it's definitely more useful on some sites than others, there are times where one might want to use it basically ...
ScottishTapWater's user avatar
16 votes
2 answers
2k views

I think there is a MathJax bug for 'mathcal' typesetting on some platforms

The MathJax rendering for mathcal is not working correctly on my computer. Instead of a cursive-style letter for \mathcal, MathJax renders a square. However, other MathJax rendering is unaffected. ...
Sycorax's user avatar
  • 1,004
4 votes
0 answers
55 views

Link in comments occasionally not formatted on MathJax-enabled site

Occasionally, links in comments that use MathJax do not show normally. The problem is reproducible, and browser-agnostic. It comes and goes depending on inserting a space around the closing $ ...
fgrieu's user avatar
  • 303
9 votes
0 answers
243 views

MathJax can create unbroken, too wide texts

On Astronomy, I just encountered an answer to this question which completely overflows the answer/question column of the site: I'm not sure whether there actually is a good solution to this - but SE ...
planetmaker's user avatar
6 votes
0 answers
90 views

MathJax not rendering properly in comment on mobile-sized screen

MathJax is not rendering properly in the comment of this post. Original comment: In mobile view:
Shub's user avatar
  • 161
6 votes
1 answer
178 views

Is there a 'Mathematics' Stack Exchange-like editor with an option to save drafts?

I really like the ease of use to type LaTeX and general text in the Mathematics text editor. I was wondering if the same editor has been implemented somewhere else where someone could use it for ...
Ravi Arora's user avatar
11 votes
0 answers
100 views

Live refresh doesn't render MathJax (again)

This old bug is back: this is how the recently active questions page on Math.SE looked like after clicking '1 question with new activity': and this is how it should look like, and actually does after ...
Glorfindel's user avatar
  • 252k
15 votes
1 answer
312 views

In 2022, what actually happens to a candidate question for the HNQ when MathJax is in the title? (e.g. edit changing n=25 to "$n=25$")

For my recently asked Physics SE question How can an $n=25$ Rydberg state exist in a solid? What does the wave function look like? an edit was made changing n=25 to "$n=25$". Presumably this ...
uhoh's user avatar
  • 6,418
11 votes
0 answers
122 views

MathJax formula has extraneous line breaks on the user profile page

MathJax formulas can have extraneous line breaks on the user profile page. An example from https://math.stackexchange.com/users/24265/franck-dernoncourt?tab=topactivity: It was tested with Chrome on ...
Franck Dernoncourt's user avatar
6 votes
1 answer
124 views

Prerequisites to enable mhchem on a site

mhchem offers some advantages with respect to MathJax when writing chemical formulas and so on. What are the prerequisites that need to be satisfied in order to have mhchem enabled on a given site?
L.Dutch's user avatar
  • 652
7 votes
1 answer
156 views

Chemistry equation \ce modifier works in a non chem SE site's posts, but not in search results. Should we consider it "working" and start using it?

In Space Exploration SE there are a lot of questions related to chemistry (mostly production and combustion of rocket propellants and air/water for people) and after six years there I just this moment ...
uhoh's user avatar
  • 6,418
9 votes
1 answer
121 views

Revision history and suggested edits pages don't recognize non-standard MathJax delimiters

A follow up of What delimiters work for MathJax?: the question Vector convolution? on MathOverflow contains some non-standard MathJax delimiters: \begin{equation} and \end{equation}. They are ...
Glorfindel's user avatar
  • 252k
13 votes
1 answer
341 views

What delimiters work for MathJax?

I thought I knew a thing or two about post formatting, but these posts on the two Mathematics sites surprised me: Vector Convolution? (Mathematics SE) and Vector convolution? (MathOverflow). The first ...
Glorfindel's user avatar
  • 252k
9 votes
0 answers
161 views

MathJax layout problems persist in "All actions" tab and review queues

I'm seeing a strange MathJax layout problem on Cross Validated. Here's an example from the "All actions" tab of a user profile, but I've also seen it in the review queues as well. This ...
Sycorax's user avatar
  • 1,004
4 votes
0 answers
103 views

MathJax inconsistency between preview and rendered post

I cannot show it here or in the Sandbox directly since there is no MathJax on Meta.SE. There is a Sandbox in Cryptgraphy Meta that one can test there; just click edit and see the difference. The ...
kelalaka's user avatar
  • 600
6 votes
1 answer
209 views

Yet another error of "Your post appears to contain code that is not properly formatted as code"

I feel like I've found and read through all the relevant posts on Meta about this error, but I still can't resolve this error! I have about 6 equations in double-dollar-signs, several in single-dollar-...
Izek H's user avatar
  • 61
5 votes
1 answer
310 views

How do I type a diameter symbol on MathJax-enabled sites?

Is there a directive for a diameter symbol ⌀ in MathJax? The internet mentions \diameter but that seems to require some package (wasysym? or something) that isn't supported here and so doesn't work. ...
Jason C's user avatar
  • 26k
0 votes
0 answers
124 views

How can I make newline and align the equation of the math equation in CrossValidated?

I want to input a math equation in CrossValidated like this: But I want a version of vectorized latex equation, not an image like above (you can zoom in the webpage to validate it). When I input the ...
tunar's user avatar
  • 109
6 votes
1 answer
150 views

How should I represent/display pseudo code in Stack Exchange?

This semester I'm attending a course on Algorithms and Data Structures. I will probably have a few questions to post to Computer Science or Mathematics. The slides of my teacher use math symbols such ...
ilam engl's user avatar
  • 235
6 votes
0 answers
89 views

The $ sign introduced with \ wreaks havoc the MathJax rendering [duplicate]

On a MathJax-enabled website, it's supposed to be possible to enter a LaTeX $ as \$, but it does not work consistently inside a formula delimited by $$ at start and end. For example, on crypto-SE or ...
fgrieu's user avatar
  • 303
12 votes
0 answers
128 views

MathJax text broken along several lines in post titles (in review queues)

I have noticed a problem concerning the use of MathJax in titles of questions that appear in review queues, and this has been happening for some time. Consider, for instance, this question. It uses ...
José Carlos Santos's user avatar
10 votes
0 answers
103 views

Dollar sign becomes MathJax on top network posts

This is basically the same issue as these (all of them are status-completed at the moment): Dollar sign used as currency renders incorrectly in Android app Dollar signs breaks formatting of 'Hot ...
totymedli's user avatar
  • 1,896
9 votes
0 answers
84 views

MathJax sometimes doesn't work in older-style duplicate links

Take a look at Showing $f'(x) = f(x)$ implies an exponential function: The Mathjax fails in duplicate links on duplicate questions closed prior to February 2013 that include HTML escaped characters. ...
caird coinheringaahing's user avatar
5 votes
0 answers
84 views

Math Processing Error

Today while voting to close this post as duplicate, the earlier posts were shown with [Math Processing Error] in red. I tried in both Windows PC(Chrome) and in Android phone in Full-site mode, both ...
19aksh's user avatar
  • 2,581
7 votes
1 answer
586 views

How to fix the visualization of latex equations in dark mode (SO)?

Recently, I was reading a post on SO including LaTex equations, and it happens that in dark mode the visualization of the math is not well implemented... A quick solution would be to change the ...
ego2509's user avatar
  • 73
15 votes
0 answers
101 views

Show a preview of the title when editing/asking - at least on the MathJax sites

When you are asking a question - or making a suggested edit - you can see the preview of the post, but not a preview of the title. This does not matter that much on the sites without MathJax - after ...
Martin's user avatar
  • 15.1k
1 vote
0 answers
58 views

LaTeX incorrectly parsed in search results [duplicate]

I noticed that sometimes LaTeX is incorrectly parsed in the search result pages. For example, the first result for https://math.stackexchange.com/search?q=arma right now looks like this, where the end ...
AndreA's user avatar
  • 119
4 votes
0 answers
64 views

Winter hat showing up in math expressions [duplicate]

Noticed a small bug in Mathematics Stack Exchange, though perhaps it might exist anywhere using MathJax. The winter hat (in this case, "Gimme Space") shows up inside the rendered expressions....
RAlfredson's user avatar
5 votes
1 answer
169 views

Weird line break in LaTeX formula

This answer appeared in HNQ and has unwanted line breaks in the LaTeX formulas as you can see. The author of the answer confirms that the breaks are not intended. For some reason the issue disappears ...
Bob Jansen's user avatar
46 votes
1 answer
202 views

Can we get a preview for titles when writing questions?

On sites like Physics SE or Mathematics SE, it is not uncommon that you have to write formulas in the question title. I know this is discouraged because most people don't search for: "How can it ...
jng224's user avatar
  • 621
16 votes
0 answers
174 views

Rendering bug with backslash and dollar sign on MathJax-enabled sites

Typing `\$` on a MathJax-enabled site renders \\\$ instead of the expected \$ On the preview, the rendering is also wrong, but it only renders \\$, as can be seen in the following screenshot: This ...
wimi's user avatar
  • 4,876
4 votes
0 answers
176 views

MathJax rendering bug with escaped dollar sign (\$), apparently only on crypto.SE

Screenshot: Offending Markdown: (see also live in this post revision on crypto.SE) > $$\left|\Pr_{k\leftarrow_\$\ \{0,1\}^n}[\mathcal{A}(1^n, F(k,-))=1] - \Pr_{f\leftarrow_\$\ \{0,1\}^n\to\{0,1\}^...
ComFreek's user avatar
  • 284
13 votes
1 answer
182 views

MathJax \newcommand in question titles is incorrectly scoped to the entire page, unlike in posts and comments

There are many sites in the network where MathJax is enabled. In MathJax we can also define macros - which can be used basically as shortcuts. However, some problems might be caused by such macros, ...
Martin's user avatar
  • 15.1k
8 votes
1 answer
351 views

Longer MathJax display equations are cut off on the right side when using "Common HTML"

Update: Thanks to Rob's comment about Davide's answer, I realized I forgot that I had changed my MathJax renderer from the default "HTML-CSS" to "Common HTML" a few days ago. ...
John Omielan's user avatar
  • 13.9k

1
2 3 4 5