Skip to main content

Questions tagged [mhchem]

mhchem is third-party extension for MathJax, for formatting chemical formulas and equations in particular on Chemistry Stack Exchange, via the \ce command. Read more here - mhchem.github.io/MathJax-mhchem/

131 votes
10 answers
23k views

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

This FAQ explains and gives examples how to typeset chemical equations, quantities and units, and mathematical expressions on Chemistry Stack Exchange (rather than posting pictures, which you can't ...
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
17 votes
0 answers
376 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
24 votes
1 answer
679 views

Enable mhchem mathjax extension

Mathjax 2.0 supports the mhchem extension. Could we enable it? It will save us lots of time in typesetting chemical formulae. How to enable the extension
ManishEarth's user avatar
  • 15.2k
21 votes
4 answers
833 views

Poll: mhchem syntax for electron configuration

As the author of mhchem, I am considering to add electron configuration to \ce. I decided to give it a little bit spacing for readability: $\mathrm{[Kr]\mskip2mu4d^{...
mhchem's user avatar
  • 3,316
10 votes
1 answer
327 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
8 votes
2 answers
218 views

Formulae with charge and number of atoms (e.g. sulfate ion) aren't displayed properly

I just noticed that there is a problem when using mhchem to display structures such as sulfate's. According to its manual, they should appear as But using ...
Molx's user avatar
  • 1,492
7 votes
1 answer
2k views

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

A lot of older posts that I come across have their reactions written like: $$\ce{Cu(NO3)2_{(aq)} + 2NaHCO3_{(s)} -> CuCO3_{(s)} + 2NaNO3_{(aq)} + H2O_{(l)} + CO2_{(g)}}$$ (...
Gaurang Tandon's user avatar
12 votes
2 answers
183 views

Where to offer mhchem support?

I am about to finalize the MathJax/mhchem 3.0.0 (which is quite a large update). To my knowledge, the largest user group can be found here. Would you mind if I put a link in the documentation to meta....
mhchem's user avatar
  • 3,316
9 votes
1 answer
91 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.6k
8 votes
1 answer
115 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
  • 303
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
3 votes
1 answer
34 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,232