23 votes

Poll: mhchem syntax for electron configuration

In order to get $\mathrm{[Kr]\mskip2mu4d^{10}\mskip2mu5s^1\mskip2mu5p^3\mskip2mu5d^4}$, I'd prefer to input $\ce{[Kr] 4d10 5s1 5p3 5d4}$.
mhchem's user avatar
  • 3,316
15 votes

Mhchem feature request: strikethrough and crossout reaction arrows

Thanks for your nice words about mhchem. I am happy to implement this feature. In fact, it already is listed on my to-do list. There are four steps, that I need to decide on, for each mhchem feature ...
mhchem's user avatar
  • 3,316
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 ...
hBy2Py's user avatar
  • 17.3k
13 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 ...
12 votes
Accepted

What is the standard way to denote physical states in a chemical reaction?

States of aggregation should not be subscripted, it is not wrong, but the recommendations (Sec. 2.1.) are different. The document recommends that: The symbols should be printed in roman type ...
Martin - マーチン's user avatar
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}$ ...
Martin - マーチン's user avatar
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 ...
Martin - マーチン's user avatar
11 votes

What happened to writing ions with \ce?

This change was introduced with MathJax/mhchem v3. That's because it is the recommended way of writing. It is IUPAC's recommendation. Red Book section IR-4.3 shows examples, but is missing a clear ...
mhchem's user avatar
  • 3,316
11 votes

Poll: mhchem syntax for electron configuration

In order to get $\mathrm{[Kr]\mskip2mu4d^{10}\mskip2mu5s^1\mskip2mu5p^3\mskip2mu5d^4}$, I'd prefer to input $\ce{[Kr] 4d^10 5s^1 5p^3 5d^4}$.
mhchem's user avatar
  • 3,316
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 ...
mhchem's user avatar
  • 3,316
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 ...
mhchem's user avatar
  • 3,316
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 ...
Martin - マーチン's user avatar
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 ...
m0sa's user avatar
  • 101
8 votes
Accepted

Why is rendering of this pu markup weird?

It's because you have a tiny, invisible character between the 8 and the 0. Move your arrow keys back and forth inside the text; you'll find you need one extra key to traverse the gap between 8 and 0. ...
orthocresol's user avatar
7 votes

What happened to writing ions with \ce?

This was a change that was recently introduced to mhchem. (‘recently’ meaning ‘in the latest version’.) The change was made because IUPAC explicitly says the charge ...
Jan's user avatar
  • 68k
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-...
mhchem's user avatar
  • 3,316
7 votes
Accepted

What to do if mathrm is hugging physical units?

TL;DR: What is the need of it if mathrm is doing the job properly? – Apoorv Potnis There is no need. There always was a demand for the ...
Martin - マーチン's user avatar
7 votes

Plus-minus sign messes with mhchem's \pu command

Thanks! Some of the things are already fixed on my harddrive (the "undefined" error), but not published yet. The others, I take as valid input for my todo list. For now, ...
mhchem's user avatar
  • 3,316
7 votes

Polymer formula bond-bracket crossing representation

mhchem doesn't support this yet. I'll put it on my the (mid-term) to do list. Thanks for the link to the IUPAC document. Please, please, don't write spacing commands inside ...
mhchem's user avatar
  • 3,316
7 votes
Accepted

MathJax mhchem editor

Yes, see Introducing: Markdown Shortcuts for StackExchange. Of course, this doesn't change the fact that you will need to learn a new bunch of shortcuts (or customise them). That is all we really have,...
orthocresol's user avatar
6 votes
Accepted

Plus-minus sign messes with mhchem's \pu command

MathJax/mhchem 3.0.6 should fix the issues. It supports all standard uncertaincy notations as listed at https://chemistry.stackexchange.com/a/58667/24052. It will take a week or so to make its way to ...
mhchem's user avatar
  • 3,316
6 votes

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

(3.1) Basic mhchem: Chemical formulae Chemical formulae can be typeset with the \ce{...} command. Note that the \ce{...} command ...
5 votes
Accepted

Where to offer mhchem support?

The official documentation of MathJax/mhchem 3.0.0 can be found at https://mhchem.github.io/MathJax-mhchem/. It includes a test drive for live testing. Please be aware that you might not be using the ...
mhchem's user avatar
  • 3,316
5 votes

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

Probably not, at least probably not in the way you would like it. As far as I see there is no centering zero-width box implemented in MathJax (in LaTeX one could use makebox with ...
Martin - マーチン's user avatar
5 votes

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

We have a couple of posts on meta where you can add an answer and edit as you wish. The first one has been closed because of the large number of answers, which makes editing very difficult as MathJax ...
orthocresol's user avatar
5 votes
Accepted

Problem in rendering with arrow

It looks like StackExchange has (apparently recently) added CSS that is causing the problem. In their primary.css file is the declaration ...
Davide Cervone's user avatar
4 votes

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

A ‘better’ cheap hack to reduce the distance between the arrow and the formula is to use negative space, \!. $$\begin{array}{lc}\text{Markup} & \text{Output}\\ ...
Jan's user avatar
  • 68k
3 votes

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

\ce{AgCN v + KNO3} will be rendered as \mathrm{AgCN}\downarrow{}..., i.e. I did not change the default LaTeX spacing. For ...
mhchem's user avatar
  • 3,316
3 votes

Where to offer mhchem support?

In my opinion, Chemistry.stackexchange.com is probably one of the largest (if not the single largest by a significant margin) sites to use MathJax with mhchem. As ...
Jan's user avatar
  • 68k

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