mhchem is a bundle for typesetting chemical formulae and Risk and Safety Phrases.
4
votes
1answer
51 views
Mhchem with decimal ratios
Without using full math-mode, does anyone know how to use the mhchem package with non-integer atomic subscripts.
Consider the following:
\documentclass{article}
\usepackage[version=3]{mhchem}
...
3
votes
2answers
345 views
How do I properly display chemical compounds within \equation? (mhchem won't do what I need)
I am trying to programmatically convert a very large number of documents that have chemical compounds represented within math equations. I am converting from some flavor of RUNOFF (I think..it isn't ...
4
votes
1answer
91 views
Typesetting transition metal cluster in mhchem?
I would like to use mhchem's \ce command to typeset a transition metal cluster. If I use \ce{[Ru(cod)($2\text{-}$methylallyl)2]}, I get the correct output, but it is very much a hack. I have tried ...
2
votes
1answer
217 views
How to control line spacing and subscript location in captions?
I just started using mhchem and am having problems with captions. Subscripts from mchem overlap with superscripts. I can think of two possible solutions (and trivially not using mchem in captions):
...
4
votes
2answers
264 views
Drawing Kinetic Schemes in Latex
Do you think it would be possible to use the mhchem package and their arrows (e.g. <=>>) in drawing a cyclic kinetic scheme such as :
or do you think it would be better to use a different ...
4
votes
1answer
97 views
Clash between mhchem and breqn. Any way to dodge or fix?
The use of breqn causes the subscript numbers in chemical expressions, formatted by mhchem, to be exlargened and perhaps moved slightly making it look ugly.
Is there a way to avoid this or should I ...
11
votes
4answers
719 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 ...
2
votes
0answers
75 views
Chemstyle creates export error [closed]
So I finally got everything working after having to add several packages I never thought I'd have to. Live preview shows a perfect manuscript, but for some reason, when I go to export, I get this ...
2
votes
1answer
210 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 ...
8
votes
1answer
134 views
mhchem for titles
I'm using mhchem for chemical formulas. In the body of the text it is fine, but it is given me nasty outputs for the titles on the index of my pdf reader. I have tried different ones and the result ...
3
votes
1answer
158 views
Mhchem overfull boxes
I am using the mhchem package in-line and the equations don't break lines and thus cause overfull boxes. Any way to force them to follow the rules for line breaks.
i.e. the following sentence:
...
3
votes
1answer
164 views
Column format datatool
all. Suppose I have a csv file (let's call it data.csv):
Solution,mol/L,Volume(mL),delta_v(mL),moles
HNO3,16,5,0.2,3.125E-4
NaOH,6,20.2,0.2,3.367E-3
H2O,1;200,5,2.000E-1
H2SO4,6,5.2;0.2,8.667E-4
...
1
vote
1answer
220 views
Create New Type of Align Environment with Unique Counter
I am trying to typeset some chemical equations in my thesis, and I would like to have the chemical equations have a unique counter from regular equations.
I also need to have some of them align over ...
6
votes
1answer
163 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 ...
8
votes
2answers
234 views
old style numerals in mhchem equations
I use the Lucida font for my documents with its old style numerals in text and its lining figures in mathmode.
But how can I get lining figures inside chemical eqautions with mhchem?
Here is some ...
8
votes
4answers
657 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
750 views
Chemistry molecular structure drawing programs
I am looking for chemical molecular drawing packages.
There is mhchem which basically sets up a structure for including externally generated molecular structures.
Also Chemfig, which is the ...
3
votes
1answer
107 views
uppercase and mhchem
How do I achieve a proper uppercase including chemical formulas typeset with mhchem, i.e. everything but chemical formulas are capital letters?
MWE:
\documentclass{minimal}
...
3
votes
2answers
202 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} + ...
15
votes
3answers
2k views
Easy chemical reactions
I'm trying to convert some of my lecture slides to LaTeX. What's the best way to convert a number of slides (similar to the one below) into nice notes? I am aware of mhchem and chemstyle, but I don't ...
4
votes
3answers
1k views
Unequal equilibrium arrows with overhead text
\documentclass[12pt]{article}
\usepackage[version=3]{mhchem}
\begin{document}
\ce{CH2OH + ATP <=>>[\text{Hexokinase}] + \text{glucose 6-phosphate} + ADP + H+} \\
\ce{CH2OH + ATP ...
6
votes
3answers
773 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 ...
10
votes
1answer
317 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, ...
6
votes
1answer
294 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}
...
4
votes
2answers
382 views
Side reaction arrows: in and out
I want side arrows coming in and out of the reaction, a ubiquitous convention in biochemistry yet astonishingly not supported by packages like mhchem.
mychemistry supports it (see p26 of package ...
4
votes
2answers
346 views
Text containing math above and below equilibrium sign won't compile (using mhchem)
Why won't this compile? I suspect the math inside the []s are preventing compilation. If so how do I make this work? Thanks.
\documentclass[12pt]{article}
\usepackage[version=3]{mhchem}
...
6
votes
2answers
2k 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 ...
8
votes
2answers
131 views
mhchem formatting interrupted
\documentclass[12pt,a4paper]{article}
\usepackage[version=3]{mhchem}
\begin{document}
\ce{K_a \times K_b = K_w}
\end{document}
In \ce{} all text is supposed to be regularized. See how the K_a is ...
5
votes
1answer
671 views
How can I get Lewis-like structures + illustrate electron transfer
I know about the existence of packages that allow Lewis structures but that is not the question. The question is how to illustrate radical reactions as depicted below. The solution would ideally be ...
6
votes
1answer
500 views
Collision between mhchem and mathdesign
Maybe related to a package database update to last versions, I have a collision between the mchem package and other font-related packages such as mathdesign. Whenever I try to use the command \ce{} to ...
1
vote
1answer
254 views
Missing $ error
Why doesn't this code compile?
% Oxidation and reduction
% Author: Arne Röhrs
% Note that two compilations are necessary.
\documentclass{article}
\usepackage{tikz}
...
