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/

-1 votes
1 answer
101 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,304
8 votes
1 answer
71 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.6k
2 votes
1 answer
80 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,071
3 votes
1 answer
57 views

Why is rendering of this pu markup weird?

$\pu{1.08378‬0 mol}$ renders as $\pu{1.08378‬0 mol}$ I think mhchem renders \pu.
MaxW's user avatar
  • 22.3k
2 votes
1 answer
78 views

Where can I find a more extensive reference for mhchem?

I'm still new to this stack community and getting used with the formatting. I've read the article about this matter and while it explains that mhchem is supported and shows examples but only offer ...
Chris Steinbeck Bell's user avatar
1 vote
1 answer
260 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,756
5 votes
1 answer
445 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
  • 42.7k
7 votes
1 answer
136 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
  • 17.2k
4 votes
1 answer
198 views

Polymer formula bond-bracket crossing representation

I could not find any rule in Graphic representations (chemical formulae) of macromolecules (IUPAC Recommendations 1994) that would state that the bonds at the ends of the constitutional units must ...
mykhal's user avatar
  • 6,232
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
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
  • 12.1k
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
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
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
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
7 votes
2 answers
122 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
7 votes
2 answers
145 views

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

The following bug report has been fixed, here is screenshot of the question in its original state. Explicit error values are usually given as an interval with $\pm$. When I try to typeset this with ...
Martin - マーチン's user avatar
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
9 votes
3 answers
3k 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
  • 303
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
15 votes
1 answer
310 views

Mhchem feature request: strikethrough and crossout reaction arrows

mhchem is a great $\mathrm{\LaTeX}$ and MathJax package and I don’t know what we would do without it. Especially its way to format reaction equations is great. ...
Jan's user avatar
  • 68.4k
9 votes
2 answers
186 views

What happened to writing ions with \ce?

I took a look at some old questions and noticed that some \ce{} expressions were not working as they should. I am especially interested in how to write polyatomic ...
Linear Christmas's user avatar
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
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
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
-1 votes
1 answer
162 views

Is HTML banished?

Sorry if the question was already discussed, but it’s IMHO unlikely, given (mhchem) tag without a wiki. I’m new here, as a post writer. Today I saw my post edited by a high-rep user. The main intent ...
Incnis Mrsi's user avatar
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
4 answers
164 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
  • 19.1k
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

15 30 50 per page