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

learn more… | top users | synonyms

3
votes
0answers
15 views

Upper case using mhchem and glossaries

I'm having the following trouble using mhchem in my glossaries. I'd like to not have to worry about whether I've used an acronym already when I start out a sentence, but I'm finding that \Gls does not ...
0
votes
0answers
17 views

mhchem and Miktex Problem [duplicate]

I write my PhD thesis using mhchem. After updating MikTex my document won't compile any more. MWE: \documentclass{article} \usepackage{mhchem} \begin{document} Test \end{document} The error I get ...
1
vote
1answer
170 views

Undefined control sequence with mhchem

Using pdflatex [Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9 64-bit)] to compile the following: \documentclass{article} \usepackage[version=4]{mhchem} \begin{document} Hello, world! \end{document} ...
6
votes
1answer
77 views

Command already defined - IOP publication with mhchem

I am using iopart class for IOP publication, and I want use the mhchem package for writing chemical equations. I ran into the same problem as here and there, old topics without answer. I compile with ...
0
votes
0answers
36 views

Writing chemical reaction with WP-Quick latex?

I want to show series of some chemical reaction on wordpress using popular chemfig and mhchem package however i always encounter some problem . For example . I want to show reaction in series like ...
3
votes
3answers
176 views

Drawing chemical reactions

I am trying to draw reactions like this I tried it like this \documentclass[11pt]{article} \usepackage[version=4]{mhchem} \usepackage{chemfig} \begin{document} \ce{ \chemfig{CH_3-CH ...
1
vote
1answer
34 views

Mhchem extension question involving chemical structure [duplicate]

Is it possible to typeset complex chemical structures such as the structure for carboxylic acid or aromatic compound using mhchem?
3
votes
3answers
91 views

How to make the equilibrium double arrow longer?

\documentclass{article} \usepackage{mhchem} \begin{document} \ce{H^+ (\textit{aq}) + HCO3^- <=> H2CO3 (\textit{aq}) <=> H2O (\textit{l}) + CO2 (\textit{g})} \ce{2H2(\textit{g}) + ...
4
votes
1answer
42 views

mhchem macro in subscript

Consider the following MWE \documentclass{article} \usepackage[version=3]{mhchem} \begin{document} \begin{equation*} % c_\ce{CO2} not working c_{\ce{CO2}} \quad c_\text{working} \end{equation*} ...
5
votes
2answers
95 views

To print Glossary of Chemical symbols correctly

Code \documentclass{article} \usepackage{glossaries} % Load the package \makeglossaries % Generate the glossary \usepackage{mhchem} \begin{document} \newglossaryentry{co2}{name=CO2, ...
3
votes
2answers
99 views

Why does mhchem italicize macro text?

I am using the package mhchem in order to typeset chemical formulas and equations. If I directly insert a state of aggregation into an mhchem \ce command, it appears as upright. If I insert it via a ...
4
votes
2answers
55 views

How to redefine the \ce-command in oder to force a specific font?

Prologue I want to write a document that I can output in both blackletter and latin typefaces just by commenting out a few commands and removing the comment signs from others. Because German ...
3
votes
3answers
105 views

Displaying a Carbonate Ion with mhchem

I want to write out the formula for the aqueous carbonate ion using the mhchem package. If I write out CO3^{2-}, it looks the way it should be. (See image.) However, I want to write out: ...
1
vote
1answer
143 views

Installing STY linux mint texlive not working

I'm strying to install the mhchem package on my linux machine and it's not working. So far I've tried putting it in /usr/share/texlive/texmf-dist/tex/latex/mhchem and then running texhash on that ...
6
votes
1answer
250 views

Package mhchem Gives an Error

I recently tried to use mhchem and it works for some commands, but not for some. Here is a sample code. \documentclass{article} \usepackage[version=3]{mhchem} \begin{document} \ce{X-X} ...
9
votes
2answers
129 views

raising subscript with mhchem

I've tried to define a macro with staggered sub- and superscript and added a formula with mhchem to the superscript. the typesetting seems misaligned especially the subscript seems to be typeseted to ...
1
vote
1answer
118 views

Cannot line break in chemical equation in flowchart using mhchem and TikZ

I can't seem to get a line break mid equation; in this example, to fit in a box (and not change the size of the box). my usual method of \\ is not working. \documentclass[12pt]{report} ...
3
votes
0answers
152 views

Missing chemical sub- and super-scripts in html file compiled with htlatex

Current problem is typesetting with the chemical packages. As would be expected, the PDF is produced without any problems but distinct issues arise with the html production using tex4ht. The HTML ...
4
votes
2answers
91 views

chemformula, height of plus sign

How do I get the plus sign to be aligned with the arrow i.e. change the height of the plus sign? \documentclass{scrreprt} \usepackage[english]{babel} \usepackage{chemformula} \begin{document} ...
5
votes
2answers
133 views

Line Break with mhchem

I use the mhchem package for setting chemical formulas. In some occasions the formula just hangs over the end of the line. Is there any solution to fix this? Für die Abscheidung von \ce{Al2O3} werden ...
3
votes
1answer
156 views

mhchem and beamer: use of `\ce` in title gives `Undefined control sequence.`

When I'm trying to use \ce{CH4} in the title with documentclass beamer, I get an Undefined control sequence error. The following is an (almost) minimum (not) working example: \documentclass{beamer} ...
3
votes
1answer
179 views

Using the mhchem and chemfig packages in conjunction

I am trying to write a chemical reaction in which I want to include a chemical structure. I am having some trouble regarding alignment and bond length. Here is a minimal working example: ...
3
votes
1answer
375 views

Undefined control sequence error with mhchem and hyperref, \ce within \section{}

I get an "undefined control sequence" error when trying to use the mhchem and hyperref packages together, when \ce is within a \section{} label. A minimum example that demonstrates the problem: ...
1
vote
0answers
175 views

Package for professional writing of electron configurations? [closed]

I am writing a paper that deals partly with X-ray photoelectron spectroscopy (XPS). XPS results are usually described with the respective elements and the electron configuration of the measured ...
1
vote
1answer
90 views

Conflict between mhchem and pdftooltip (pdfcomment package)?

I tried to hide some text into a pdftooltip, which was working fine up to now (when I used TeXLive 2011). I now upgraded to MacTeX 2014 and now I get an error, if there is a chemical formula in this ...
0
votes
1answer
157 views

Formatting NMR Data

Hi I am trying to write up some NMR data and would like to be able to make some of the formatting a little simpler to setup. Looking at this this link here I was able to go through and change the ...
2
votes
2answers
688 views

Align equilibrium arrows with mhchem

I have the following code made with the mhchem package: \begin{align} \ce{CH3COOH + NaOH <=> CH3COONa + H2O} \\ \ce{H2O <=> H^{+}_{(aq)} + OH^{-}_{(aq)}} \end{align} Which ...
5
votes
5answers
300 views

Display a sequence of materials with chemical symbols

I frequently have to describe a sequence of materials in a layer stack such as the following: Ta/Cu/Ta/Cu/Co−Fe−B/MgO/Co−Fe−B/Ta/Ru/Au The dash indicates an alloy of unspecified composition. My ...
1
vote
0answers
199 views

Problem with mhchem subscript and superscript alignement [closed]

In the mhchem package, there is an example of writing CrO42- with the command \ce{CrO4^2-} which produce a formula where the 2- is not aligned with the 4, which is exactly what I want to reproduce. ...
0
votes
0answers
203 views

Error Undefined control sequence. <argument> \rightarrowfill@ [closed]

I got this error with latex: It seems that mchem doesn't work properly with iopart.cls . Unfortunately I didn't find the solution for this specific problem in any forum. I tried load manually ...
3
votes
2answers
154 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
2answers
674 views

Kröger Vink notation

This question led to a new feature in a package: chemformula How to properly typeset Kröger Vink notation? I can try something like \ce{V_O^{..}} (using mhchem) but the dots are not aligned ...
8
votes
1answer
265 views

\cee command (from mhchem package) doesn't allow \\[10pt]

when using \cee command (from mhchem package) within align environment, \\[10pt] doesn't work. It works in align environment without \cee. Is there a workaround? here is a MWE: ...
2
votes
1answer
155 views

interaction between mhchem \ce command and square brackets

So I have a number of equations with concentrations in them... and using mhchem I find an anomaly (probably in my understanding!) when I use \ce with [] \ce{[OH-]} does not give me [OH^{-}], but ...
3
votes
3answers
753 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
184 views

How to draw horizontal line within align and mhchem? [duplicate]

No matter what I do, I can't get the line to position properly. align* always wants to move it. and i can't use \noalignwithin \cee, or perhaps I'm not using it properly (beginner here)? Here's a MWE: ...
4
votes
1answer
107 views

using \cancel within a mhchem command italicizes text (how to prevent?)

The text being cancelled is italicized when the following code is printed. How do I prevent this? Here is a minimum working example: \documentclass[11pt, oneside]{article} ...
3
votes
1answer
162 views

Rightarrow with a Delta on it (for use with the mhchem package)

I have a small problem with arrows. I need a \rightarrow with a \Delta on it. Can you help me, please? I use the chemistry package \usepackage[version=3]{mhchem}.
2
votes
1answer
141 views

Typesetting molecular transition lines, like CO 5-4

The mhchem lets me typeset molecules. But, I do not know how to properly typeset the energy levels important in spectroscopy. For example, in this paper, section 2.1, we find the following: ...
6
votes
2answers
180 views

Macro's in mhchem?

I want to write hydroxyl radicals quite frequently, so I thought of making a small macro. But with the macro, the text is not processed as chemical compounds in the mhchem package. Consider the ...
2
votes
1answer
292 views

Reaction arrows with reaction rates with subscripts with mhchem and Sphinx

I am using Sphinx 1.1.3 to document a reaction rate with an underscore. \ce{A + $h$\nu ->[k_A] B} It works perfectly when I make html documentation, using MathJax and a template file containing ...
4
votes
1answer
137 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} ...
5
votes
2answers
178 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 ...
3
votes
1answer
2k 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
923 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
186 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 ...
2
votes
0answers
241 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
550 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 ...
12
votes
1answer
769 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
351 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: ...