Questions tagged [chemmacros]

Offers a collection of macros and commands which are intended to make typesetting chemistry documents more convenient. This includes the typesetting of IUPAC names, charge symbols, phase descriptors, upright Greek letters and more.

The package offers a collection of macros and commands which are intended to make typesetting chemistry documents more convenient. Coverage includes nomenclature commands, oxidation numbers, thermodynamic data, newman projections etc., closely following IUPAC recommendations.

As of version five, chemmacros has adopted a modular structure, resulting in several packages beening split off from it: chem­for­mula, chem­greek, and ghsystem . As such questions related to them can be tagged more exactly.

As of 2020-11-13 it was maintained by Clemens Niederberger.

It has a source code repository at https://github.com/cgnieder/chemmacros through which bug reports and feature requests may be submitted.

182 questions
8
votes
1 answer

How to invert Atom positioning in chemmacros?

For my Thesis I use the chemmacros Package to typeset my analysis. Unfortunatetly it is common in our group to have a different position when talking about H and C-NMRs. At the moment I have the following output, when compiling the code…
6
votes
2 answers

How do I insert a non-breaking hyphen into an \iupac name?

IUPAC by default linebreaks at hyphens. From the chemmacros v5.8b manual: The character - inserts a small space before the hyphen and removes a small space after it. Also usually words with hyphens are only allowed to break at the hyphen. Inside…
Canageek
  • 17,935
6
votes
1 answer

chemformula: escaped input isn't treated as such

When using 'foo' or "foo" in order to provide chemformula with input which shouldn't be treated as part of a chemical formula within \ch{}, numbers are still being typeset subscript. The…
6
votes
1 answer

How do I show decoupled NMR spectra in chemmacros?

the chemmacros has some lovely codes for listing NMR data: \NMR{31,P} for example, and the whole experimental environment. However, I do a lot of decoupled NMR work, which would be listed as (31P spectrum, with 1H decoupled) for example. Is there a…
Canageek
  • 17,935
5
votes
1 answer

chemmacros and dots

I am trying to write chemical equation with \usepackage{chemmacros} but I have a problem. I want something like that $...Al + Fe_2O_3 \longrightarrow ...Fe + Al_2O_3$ The dots are for my students. When I write \ch{..Fe{} + ...O2 -> Fe3O4} it's a…
4
votes
1 answer

spectroscopy: \#{} without non-breaking space

When using \#{} in the experimental environment of chemmacros it gives the number followed by the nucleus, but they are separated by a regular space, instead of a non-breaking space. I don't know if this is intentional, but it can lead to the…
basseur
  • 912
4
votes
1 answer

Chemmacros errors

So I can get this to work; \documentclass{minimal} \usepackage{isotope} \begin{document} \isotope{Po} --- \isotope[56]{Fe} --- \isotope[13][6]{C}\\ $\isotope{n} + \isotope{H} \to \isotope{D} + \gamma(2.2\,\mathrm{MeV})$ \\ $\isotope[13]{C} +…
4
votes
1 answer

Change arrow style in chemmacros 5.1

How can I change the arrowstyle etc.? The code below used to work pre v5.0. I've searched around the manual and the net a bit, but didn't really find something useful. Is it even possible in v5.1?…
John
  • 1,495
4
votes
1 answer

Numbering of chemmacros reaction change to same numbering as equation

Is there an option of chemmacros to change the numbering of the reaction environment to the same numbering as the equation environment? It looks a bit confusing if an equation follows a reaction directly and the numbering of the first is higher than…
Schewerle
  • 367
3
votes
1 answer

Undefined control sequence (\chemmacros_load_module:n {nomenclature})

is there currently a problem with the chemmacros package? I've just come back to my thesis to make corrections but I'm getting this new random error when I hadn't seemingly changed anything since the last time I processed the document. I've fully…
Will Vickery
  • 121
  • 1
3
votes
1 answer

Renewing Latin Phrases in chemmacros does not work

I am trying to redefine a Latin phrase from the chemmacros package. When I try to use \RenewChemLatin{\insitu}{in-situ}, the log prints !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! chemmacros error: "renew-Latin" ! ! You've tried to renew…
basseur
  • 912
3
votes
1 answer

Using \iupac{\D} or \D in a \paragraph{} environment

How can I use the \D or \iupac{\D} command from chemmacros package in a \paragraph environment? The result I get is a lower case d instead of the D- for the Fischer stereo descriptor. \documentclass[a4paper]{scrreprt} \usepackage{chemmacros} …
hnina
  • 105
3
votes
1 answer

Chemmacros: Font of coupling constant J

This is a follow-up question on a question I asked a few days ago (Chemmacros: Adjusting the properties of the coupling constant J) I am using the fonts libertine and beramono together with the chammacros package to typeset experimental data. When I…
3
votes
1 answer

Chemmacros: Adjusting the properties of the coupling constant J

I am working with the package chemmacros and using its convenient experimental environment to typeset my data and it works perfectly fine. However I would like to adjust the way the coupling constants J are displayed. There are three things I would…
3
votes
1 answer

Chemmacros Experimental Environment Superscript

I am using the chemmacros package to typeset the experimental data of my research report. However, the options provided as settings for the output don't fit my needs. I would like to have atom numbers of the nuclei as superscripts instead of using a…
1
2 3