Questions tagged [mathjax]

MathJax is a JavaScript engine for displaying mathematics in general, and (through the mhchem package) chemical formulas and equations in particular on Chemistry Stack Exchange.

Filter by
Sorted by
Tagged with
-2 votes
1 answer
88 views

Why are compound formulae not rendering properly using \ce tag?

Basically, everywhere I use the \ce tag on chemistry stack exchange, I get wrong formulae. The subscripts are becoming superscripts while the superscripts are becoming subscripts. Is it just me or is ...
ananta's user avatar
  • 2,093
-1 votes
1 answer
49 views

Is a package (e.g., \require {cancel}) still needed for a diagonal strikeout in MathJax?

This post, from six years ago, indicates a diagonal strikeout (e.g., for unit cancellation) can be done by calling the \require {cancel} package: Additions to MathJax/mhchem: Cancel, Broken Arrows; ...
theorist's user avatar
  • 12.1k
8 votes
1 answer
66 views

Extra spacing before mhchem super/subscripts

I'm not entirely sure if this is still the correct platform for mhchem issues, but I've noticed a mildly annoying extra space that occurs just before ...
orthocresol's user avatar
  • 71.1k
1 vote
0 answers
62 views

problems rendering overbar in square root on Main ChemSE site

On the ChemSE site (Is it better to use a smaller, more accurate measuring cylinder several times or a larger, less accurate one for the same volume?), the following MathJax code renders my square ...
theorist's user avatar
  • 12.1k
2 votes
1 answer
76 views

Problem in rendering with arrow

Screenshots of MathJax text, CH3-CHOH ->[H2SO4][\Delta] CH2=CH2 while editing (lower stuffs are cropped): after editing, on post page (both stuffs are cropped)...
Rahul Verma's user avatar
  • 3,033
2 votes
0 answers
42 views

How to render a square-scheme reaction using MathJax?

I'm try to write a square-scheme reaction using MathJax. Until now I managed this one. ...
grsousajunior's user avatar
6 votes
1 answer
109 views

Nonconforming MathJax example on the Markdown Editing Help page

The Markdown Editing Help page on Chemistry Stack Exchange (https://chemistry.stackexchange.com/editing-help#latex) includes the following short example for the the use of MathJax: ...
user avatar
1 vote
1 answer
54 views

Adding tex symbols to post

This is a two part question: The extent to which tex can be incorporated into a post appears to be outlined here (some links from that question need refreshing btw). Is this the main source of ...
Buck Thorn's user avatar
  • 20.8k
1 vote
1 answer
247 views

Two one-sided arrows from mhchem MathJax extension do not render properly upon conversion to pdf

I am using pdfkit-pythonbased on wkhtmltopdfto convert into pdf a text that contains MathJax ...
mannaia's user avatar
  • 1,738
3 votes
1 answer
1k views

Using mathrm versus rm MathJax index formatting

I do not understand well, why is so much preferred \mathrm to \rm for index formatting ? (by occurrence and by user script formatting support.) Note that I currently use LaTeX/MathJax only in ...
Poutnik's user avatar
  • 39.1k
5 votes
1 answer
415 views

MathJax mhchem editor

Is there a tool (application, online service) that helps writing the ugly formatting MathJax + mhchem code? I mean things like just typing Ctrl-B to get the selected text to bold is something else ...
Poutnik's user avatar
  • 39.1k
7 votes
1 answer
130 views

Is there a site on ChemSE to practice mhchem and mathjax?

Is there a site on ChemSE to practice mhchem and mathjax? Or does one just learn while asking or answering a question.
user55119's user avatar
  • 16.4k
3 votes
1 answer
32 views

Eliminate huge-locant-marked (by \overset) atom side space

Is it possible to elegantly eliminate side whitespace around the base under the overset, which is longer than the base? E.g. if we wanted to talk about the 123456789th carbon atom of a huge poly(...
mykhal's user avatar
  • 6,104
2 votes
1 answer
42 views

Formatting problem with \tag markup

I tried adding the following markup to an answer. $$\ce{Zn(s) + Cu^{2+}(aq) → Zn^{2+}(aq) + Cu(s)}\tag{Open Circuit voltage 1.1018 V}$$ ...
MaxW's user avatar
  • 22.3k
6 votes
1 answer
91 views

Formatting hints no shown to user

Why are the basic (math/chemical) formatting hints https://chemistry.stackexchange.com/help/notation not always displayed next to the form where users enter new questions, and why is the elementar \ce{...
Karl's user avatar
  • 12k
2 votes
1 answer
43 views

Why two different print styles for the x's?

Created the rather nasty markup below. Why are there two different print styles for the x's? ...
MaxW's user avatar
  • 22.3k
17 votes
0 answers
366 views

Introducing: Markdown Shortcuts for Stack Exchange

Inserting Mathjax and making posts look nice is rewarding, but it can often be, well, repetitive and boring :( Well, not any more. I have been testing and improving this userscript for quite some time ...
Gaurang Tandon's user avatar
5 votes
1 answer
123 views

What to do if mathrm is hugging physical units?

There was some consensus about how to write physical units from mid-2016 onwards on Chem.SE, as apparent from this post. However, it seems like the damage had already been done by that time. I say so ...
Gaurang Tandon's user avatar
6 votes
0 answers
82 views

Wrong alternative invocation of MathJax

It is commonly known that MathJax can be invoked with $...$ for inline mode and $$...$$ for display mode. The more latex-like ...
Martin - マーチン's user avatar
7 votes
2 answers
120 views

Does the rendering of the precipitation and gas symbols need improvement?

Doing some markup and noticed something that annoyed me. I wanted to indicate a precipitate or gas such as: \begin{array}{ll} \text{Markup} & \text{Displays}\\\hline \text{\ce{AgCN v + KNO3}} &...
MaxW's user avatar
  • 22.3k
8 votes
1 answer
165 views

Undefined control sequence \pu in official SE Android app

For some reason content produced with \pu{} cannot be rendered properly in official Stack Exchange android app, though \ce{} ...
andselisk's user avatar
  • 37.4k
13 votes
3 answers
3k views

How to render Angstrom and Parts-per notations in MathJax?

Summary: Angstrom, Parts per thousand, Parts per Ten-Thousand cannot be displayed. Prior efforts: Searched Google and Detexify. Angstrom. (The letter), (the diacritic mark). The detexify (...
Always Confused's user avatar
9 votes
1 answer
61 views

Should we pay attention to possible bugs of MathJax in the apps?

It is quite well known that the (android) app(s) are behind on which MathJax version they are currently using (see here for an example). I find this very unfortunate as many of the newer features, ...
Martin - マーチン's user avatar
11 votes
1 answer
311 views

MathJax in the Android App

Has anyone else noticed issues with MathJax in the StackExchange app? I'm aware the comments and titles don't render MathJax automatically, but I've also seen questions where certain math expressions ...
Tyberius's user avatar
  • 11.6k
0 votes
2 answers
84 views

This is a TEST QUESTION, examining MathJax scopes

\require{begingroup} \begingroup $ \require{begingroup} \begingroup \text{begingroup Jax} \def\ce#1{\Huge\color{\purple}{\mathrm{I~love~chemistry!}}} $ This is ...
hBy2Py's user avatar
  • 17.3k
9 votes
3 answers
2k views

Green checkmark or red X with Mathjax/mhchem?

Is there a way to put a green check mark in the body of my text using MathJax/mhchem Syntax? Or a red X to indicate that this thinking is wrong? Something like this: I want to use it while double ...
eromod's user avatar
  • 307
20 votes
12 answers
2k views

What additional formatting features are available to MathJax (possibly via \require{})?

In his answer to a question about crossing out units in dimensional analysis, Loong notes that the \cancel{} LaTeX command can be enabled in MathJax by using ...
hBy2Py's user avatar
  • 17.3k
8 votes
1 answer
110 views

Dimensional analysis with chemistry equations on stack exchange?

I know we use Mathjax/mhchem. What I would like to know, is if its possible to cross out units as part of dimensional analysis. Here is an example of the desirable effect:
eromod's user avatar
  • 307
7 votes
0 answers
75 views

Enable automatic line-breaking for SVG output

The MathJax configuration for the HTML–CSS output processor includes the option linebreaks: { automatic:true }. When using this output processor (right-click on any ...
user avatar
3 votes
0 answers
47 views

mhchem in Android app configured differently

Bugreport. Take a look at How to write physical units in the Android app (I did with version 1.0.89), you will see that \pu does not render on Android, while it ...
mhchem's user avatar
  • 3,316
9 votes
1 answer
90 views

Mhchem broken on mobile

That's how it looks right now. I don't recall this being a problem earlier. It's like this on other questions as well. Link to the answer in question: https://chemistry.stackexchange.com/a/55285/...
orthocresol's user avatar
  • 71.1k
18 votes
1 answer
934 views

How to write physical units

Units have to be written in an upright font. One normally does it this way: $1.2 \times 10^3\,\mathrm{\frac{J}{mol}}$ $1.2 \times 10^3\,\mathrm{\frac{J}{mol}}$ ...
mhchem's user avatar
  • 3,316
11 votes
2 answers
152 views

Unknown Notations

Are the following notations official? Can I find them in a colored IUPAC book? Do they have a name, I could google for? (I need this to judge whether to support this with mhchem or not.) Stability of ...
mhchem's user avatar
  • 3,316
6 votes
0 answers
75 views

On mobile, mathjax fails to render \geqslant

When I was browsing the Hot Network Questions today, I came across this answer which on my iPhone 4S (iOS 9.1) looks like this: On my laptop it renders just fine, and I couldn't find any existing bug ...
Ixrec's user avatar
  • 101
10 votes
3 answers
329 views

We need some upgreek, please!

Correct typesetting is what you would expect from an academic community. Chem.SE has always tried to be one, and we always value their standards; and our meticulous editors have always had an eye on ...
M.A.R.'s user avatar
  • 10.5k
15 votes
1 answer
248 views

Do we really need to badger everyone to use MathJax for chemical formulas?

I've observed it a few times now that negative comments were posts simply because a user was not using MathJax to format chemical formulas. I don't mean gentle encouragements to properly format a post,...
Mad Scientist's user avatar
5 votes
2 answers
159 views

Bringing Helping Users Format Their Posts (HUFTP) to a whole new level

Behold A new chatroom is approaching $\ldots$ (It already approached and you weren't there to celebrate) Rightfully named $(L_A)\TeX/\mathcal{M}_{ath}\mathrm{J}^a\mathrm{x}$ help, this is a chatroom ...
M.A.R.'s user avatar
  • 10.5k
10 votes
1 answer
309 views

How to solve mhchem/MathJax rendering problems

Edit: This is not a bug, it is a feature, see my answer post. While recently directing a new user to this meta post about formatting using MathJax, I noticed that some components were not rendering ...
Ben Norris's user avatar
  • 42.6k
7 votes
1 answer
190 views

(Title LaTeX test) Why does NMR Ix+iIy ($\hat{I}_x+i\hat{I}_y$)

I wanted to test some $\LaTeX$ in the title for myself, and I didn't know any other way to do so. Why does the transverse magnetization in Fourier Transform NMR consist of Ix+iIy ($\hat{I}_x+i\hat{I}...
Nicolau Saker Neto's user avatar
7 votes
4 answers
162 views

Chemical formulas with fractional numbers are displayed wrongly

According to mhchem manual the following code \ce{0.5H2O} should produce the following result But it does not. Instead, I ...
Wildcat's user avatar
  • 18.9k
9 votes
0 answers
185 views

Additions to MathJax/mhchem: Cancel, Broken Arrows; SI units

I think sometimes it is necessary to show, that a reaction does not take place, therefore a broken arrow would be a nice thing to have. I played a little in the sandbox and found a somewhat working ...
Martin - マーチン's user avatar
9 votes
1 answer
159 views

A link to common notation and symbols on the Tour page

Most new joiners do not know about the tools for mathematical and chemical formatting provided by Chemistry.SE. The Tour page details out the core concept of asking questions very well, but I feel ...
Del Pate's user avatar
  • 2,185
3 votes
0 answers
113 views

Clumsy view of well-formatted questions: What to do?

Before you ask, I did see this. No problems should be there now, right? However, I ran into wierd (not to mention funny, I laughed for about 5 minutes non-stop) questions; take a look at the pic: The ...
M.A.R.'s user avatar
  • 10.5k
5 votes
1 answer
72 views

Latex Subscripting

How do I write $\ce{C_{2}{v}}$ properly in Latex so that the "2" and the "v" are both subscripted on the same subscript line? If I write it as $\ce{C_{2v}}$ (\ce{C_{2v}), I get an down-arrow symbol ...
ron's user avatar
  • 84.2k
4 votes
2 answers
113 views

Latex Table Question

Here's a link to a SE question-answer on building tables using Latex. I copied the following bit of Latex code from the top-rated answer and when I pasted it in to an answer on Chemistry SE it didn't ...
ron's user avatar
  • 84.2k
5 votes
1 answer
185 views

Solutions for structural formulas?

After finding out that the mhchem plugin for MathJaX doesn't support structural formulas (here), I decided to post this question. I would like to know what kind of solutions there are for writing ...
Daniel Node.js's user avatar
13 votes
2 answers
745 views

Is MathJax in titles a problem? And why?

I think the title is self explanatory. I certainly think it looks nicer. I thought it still worked for searches too, as long as it's something $\ce{H2SO4}$ or $\ce{K}_i$ - certainly does on my browser....
user avatar
17 votes
4 answers
1k views

'ce' prepended to equations in url slug?

I asked a question, titled https://chemistry.stackexchange.com/questions/636/reactions-of-metals-with-cehcl-ceh2so4-cehno3, and noticed that the formulas had 'ce' prepended to them in the url: ...
avramov's user avatar
  • 335
6 votes
1 answer
77 views

Mhchem not enabled for mobile

It seems that the chemistry MathJax extension isn't enabled on mobile. Code on main: ...
ManishEarth's user avatar
  • 15.1k
2 votes
1 answer
79 views

Broken markup on some questions (but the preview works)

In at least one questions ( How to compute molecular formula?) there is broken formatting, but only in the posted form. The preview view (if one were to try and edit it) shows what I believe is the ...
soandos's user avatar
  • 563