Hot answers tagged

18 votes
Accepted

How to write physical units

Instead of \mathrm many people misused \ce, because it was shorter to type. Seeing this, the author of ...
  • 3,296
13 votes
Accepted

Green checkmark or red X with Mathjax/mhchem?

CAVEAT: Due to the use of Unicode, the below may not render properly on all systems, especially mobile devices. (Thanks, Martin!) Green boxed checkmark ...
  • 16.9k
13 votes
Accepted

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

For Angstroms, check out: What additional formatting features are available to MathJax (possibly via \require{})? $\require{mediawiki-texvc}$ The $\ce{C-O}$ bond length in carbon dioxide is $\pu{1.16 ...
  • 66.9k
12 votes

How can I enable MathJax in chat?

Update 2017-05-01 The MathJax CDN retired and the javascript-URL idea is not so easy any more, because of browser security. (Chrome stips away any leading ...
  • 3,296
12 votes
Accepted

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

I personally prefer plain text titles only. For me this is a much more elaborate way of asking. Taking your example: Why does the transverse magnetization in Fourier Transform NMR consist of Ix+iIy ($...
12 votes
Accepted

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

As described in the MathJax documentation, any of the core MathJax extensions can be loaded this way (though this can be restricted via the MathJax configuration).
12 votes

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

Command Grouping Enable with: \require{begingroup} Environment: \begingroup ... \endgroup Quite a few things are possible ...
12 votes

Green checkmark or red X with Mathjax/mhchem?

You can use the following for a green check mark since it is implemented in amssymb: $\Large\color{\green}{\checkmark}$ ...
11 votes
Accepted

Unknown Notations

It really is tricky to judge what is official and what is not. Here is my take on the several issues. This is not something that should be implemented in mhchem, as I think it is just sloppy ...
11 votes

FAQ: How can I format math/chemistry expressions on Chemistry Stack Exchange?

(4) Learning by example The MathJax and mhchem syntax in the left-hand side must be enclosed in single dollar signs $...$ for an inline (smaller) equation, or ...
11 votes

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

2-D Reaction Networks Enable with: \require{AMScd} Environment: \begin{CD} ... \end{CD} Construct two-dimensional grids ...
10 votes

How to solve mhchem/MathJax rendering problems

So, after failing to reproduce the problem in another browser, I have discovered my own answer. I want to leave this here for other folks who encounter this issue. The problem is in how you tell ...
  • 41.8k
10 votes

Green checkmark or red X with Mathjax/mhchem?

A meta answer to a meta question, making it meta². Be careful with conventions like this. They are not as intuitive and universal as you might think. I've seen ✘ Artificial Flavours written on ...
  • 3,296
10 votes
Accepted

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

Yes and no. Yes - if the differences are cosmetic. One example of this is \dfrac vs. \frac, the latter of which is better ...
  • 41.8k
10 votes
Accepted

Using mathrm versus rm MathJax index formatting

\rm shouldn't be used at all as it's a deprecated command existing solely for the backward compatibility. Historically, the two-letter commands such as ...
  • 35.8k
10 votes
Accepted

Extra spacing before mhchem super/subscripts

This doesn't look right. $\mathrm{|{}^1H|}$ $\mathrm{|{}^1H|}$ and $\mathrm{|\ce{^1H}|}$ $\mathrm{|\ce{^1H}|}$ should give the ...
  • 3,296
9 votes

Chemical formulas with fractional numbers are displayed wrongly

As a workaround, you could use $\ce{$0.5$\,H2O}$ to get $\ce{$0.5$\,H2O}$
9 votes

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

Cancellation Lines Enable with: \require{cancel} Commands: \cancel{}, \bcancel{}, ...
8 votes

How can I enable MathJax in chat?

Based on the same principle, this little bookmarklet loads cancel in addition to mhchem: ...
8 votes

Chemical formulas with fractional numbers are displayed wrongly

Or you can use $\ce{1/2\,H2O}$ to get $\ce{1/2\,H2O}$.
8 votes
Accepted

Mhchem broken on mobile

This bug was caused by /sites route in the stackexchange api not returning MHChemMathJax in markdown_extensions due to ...
  • 101
8 votes
Accepted

Why two different print styles for the x's?

You are mixing chemistry typeset with maths typeset; I don't think that the mhchem module is set up for this. There is probably much more wrong than what you consider a bug. Assuming $K$ is an ...
7 votes

Chemical formulas with fractional numbers are displayed wrongly

This issue has been solved since mid of 2016. $\ce{0.5H2O}$ renders as $\ce{0.5H2O}$. Short background: MathJax is NOT LaTeX. MathJax is a complete re-...
  • 3,296
7 votes
Accepted

MathJax in the Android App

Unfortunately the app uses a different version than the website. That does include the recent updates to mhchem, especially the \pu{...} command. While ...
7 votes

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

There are other possible solutions. Whether they are simpler, I leave for the reader to decide. To write angstrom, you may use \overset{\circ}{\mathrm {A}} which ...

Only top scored, non community-wiki answers of a minimum length are eligible