mhchem is a bundle for typesetting chemical formulae and Risk and Safety Phrases.

learn more… | top users | synonyms

9
votes
4answers
1k views

Addition and subtraction of chemical equations

Is there a package that supports the addition or subtraction of chemical equations, perhaps with automatic tabbing and a alignment. Whilst it is obvious I could set up tables or use mathmode's align ...
11
votes
1answer
414 views

text figures (old style numbers) and mhchem

How do I achieve lining figures with mhchem while maintaining text figures in the text (lualatex). My MWE is: \documentclass{minimal} \RequirePackage[paperwidth=70mm, paperheight=20mm, left=10pt, ...
3
votes
2answers
119 views

Since few days: Trouble with mhchem using \listoftables or \listoffigures

I'm having trouble with the mhchem package. When I have a figure with a separate TOC entry that involves a \ce{} environment, I get error messages saying that the control sequence \aaaa is not ...
6
votes
3answers
1k views

Number mhchem reactions and create a \listofreactions

Is there a way to create an environment for reactions defined with mhchem that behaves similarly to equation in terms of numbering the reactions (including a \nonumber command)? Can I get a list of ...
7
votes
2answers
4k views

\mbox does not draw a box inside align*

\mbox doesn't work inside align*: \begin{document} \usepackage{mhchem} \begin{align*} \ce{K_w} &= \ce{[H3O+][OH^-]} \\ -\log \ce{K_w} &= -\log ( \ce{[H3O+][OH^-]} ) \\ -\log ...
6
votes
1answer
299 views

Hyphenation of terms containing symbols other than letters

I'm trying to hyphenate a chemical name and have come into difficulty. The word I'm trying to hyphenate is poly(ethyeneglycol). I'm using babel and inputenc. I've tried specifying a custom ...
11
votes
4answers
1k views

Oxidation/reduction arrows, overhead and below, with oxidation numbers also

I want oxidation/reduction arrows, overhead and below, with oxidation numbers also. Like the one featured in the watermark background on this very page upper left corner. Unfortunately, chemexec ...
6
votes
1answer
638 views

Why does mhchem complain about this?

Alright, I'm trying to make a command to insert a proton. This code works fine: \documentclass[12pt,letterpaper]{article} \usepackage{amssymb,mathtools} \usepackage[version=3]{mhchem} ...
3
votes
3answers
478 views

Chemical equation with heat of formation

I'm new to Latex and I'm having some trouble with a simple chemical equation. I have the following code: \documentclass{article} \usepackage[version=3]{mhchem} % Package for chemical equation ...
3
votes
2answers
302 views

mhchem reaction arrows seem to break when using a command in the \ce environment

I've tried making the command \newcommand{\aq}{_{(aq)}} to make the subscript to show that an ion is aqueous, but when used in the \ce command it breaks the reaction arrows \ce{2Cu(OH2)^{2+}_{6} + ...
2
votes
1answer
446 views

How to write reactions spanning more lines?

I would like to insert a few reactions in my latex document which need to be on more lines, similarly to the reactions shown below. What is the easiest way to achieve this? Up to now I only wrote ...