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
-1 votes
1 answer
45 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; ...
user avatar
  • 11.5k
8 votes
1 answer
60 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 ...
user avatar
  • 65.6k
1 vote
0 answers
53 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 ...
user avatar
  • 11.5k
2 votes
1 answer
70 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)...
user avatar
  • 2,777
2 votes
0 answers
40 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. ...
user avatar
  • 370
6 votes
1 answer
99 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 ...
user avatar
  • 18.6k
1 vote
1 answer
198 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 ...
user avatar
  • 1,668
3 votes
1 answer
647 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 ...
user avatar
  • 27.2k
5 votes
1 answer
342 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 ...
user avatar
  • 27.2k
7 votes
1 answer
118 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.
user avatar
  • 13.3k
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(...
user avatar
  • 5,614
2 votes
1 answer
41 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}$$ ...
user avatar
  • 21.4k
6 votes
1 answer
89 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{...
user avatar
  • 11.4k
2 votes
1 answer
41 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? ...
user avatar
  • 21.4k
17 votes
0 answers
313 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 ...
user avatar
5 votes
1 answer
118 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 ...
user avatar
6 votes
0 answers
81 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 ...
user avatar
7 votes
2 answers
117 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}} &...
user avatar
  • 21.4k
8 votes
1 answer
162 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{} ...
user avatar
  • 34.7k
12 votes
3 answers
2k 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 (...
user avatar
9 votes
1 answer
59 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, ...
user avatar
11 votes
1 answer
298 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 ...
user avatar
  • 11.3k
0 votes
2 answers
83 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 ...
user avatar
  • 16.8k
8 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 ...
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 ...
user avatar
  • 16.8k
8 votes
1 answer
101 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:
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 ...
user avatar
  • 3,298
9 votes
1 answer
89 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/...
user avatar
  • 65.6k
17 votes
1 answer
768 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}}$ ...
user avatar
  • 3,298
11 votes
2 answers
146 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 ...
user avatar
  • 3,298
6 votes
0 answers
73 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 ...
user avatar
  • 101
10 votes
3 answers
316 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 ...
user avatar
  • 10.1k
15 votes
1 answer
238 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,...
user avatar
5 votes
2 answers
141 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 ...
user avatar
  • 10.1k
9 votes
1 answer
256 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 ...
user avatar
  • 41.3k
7 votes
1 answer
175 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}...
user avatar
7 votes
4 answers
160 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 ...
user avatar
  • 18.4k
9 votes
0 answers
180 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 ...
user avatar
9 votes
1 answer
152 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 ...
user avatar
  • 2,107
3 votes
0 answers
112 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 ...
user avatar
  • 10.1k
5 votes
1 answer
69 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 ...
user avatar
  • 81.6k
4 votes
2 answers
104 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 ...
user avatar
  • 81.6k
5 votes
1 answer
182 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 ...
user avatar
13 votes
2 answers
704 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
  • 3,781
17 votes
4 answers
963 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: ...
user avatar
  • 325
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: ...
user avatar
  • 14.8k
2 votes
1 answer
78 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 ...
user avatar
  • 533
21 votes
2 answers
1k views

How can I enable MathJax in chat?

Last updated: 9 May 2017 This is an offshoot of ChatJax, which enables MathJax along with mhchem on chat. In order to enable MathJax in chat, please follow the following instructions (courtesy of ...
user avatar
  • 14.8k