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.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
97 views

Overleaf works fine/ TexStudio doesn't: Getting ghsystem/chemmacros to work in TeXStudio [duplicate]

So due to an abundance of projects and needing a folder structure, I am finally migrating from overleaf. I had this project working fine in overleaf and managed to get as far as to find out that some ...
user avatar
1 vote
1 answer
46 views

Chemmacros error: "Extra alignment tab has been changed to \cr..."

When I load chemmacros I get the following error message (I don't understand it...): ! Extra alignment tab has been changed to \cr. <template> ...egin \relax \d@llarend \endtemplate ...
user avatar
2 votes
1 answer
46 views

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 ...
user avatar
2 votes
2 answers
44 views

Bracket overlap with chemmacros

I'm trying to position the brackets such that there is no overlap, while ideally aligning their vertical positions. The solutions here don't seem to help much. Also is there a way to move the ...
user avatar
  • 75
4 votes
1 answer
174 views

TeX Live 2021, memoir, chemmacros and float conflict

I recently updated all TeX Live 2021 packages to their newest versions and after that documents that use memoir, chemmacros and float no longer work. Here is a minimal example to reproduce the problem:...
user avatar
  • 225
0 votes
1 answer
102 views

How to draw the following Bohr's Atomic Model in LaTeX?

I'm a new user in LaTeX. I want to draw Bohr's Atomic Models like the following picture. Can someone please help me?
user avatar
2 votes
2 answers
112 views

How to break reaction equation in twocolumn document? (chemmacros)

I have to write my lab report in a paper-like style where we are forced to use twocolumn style. I had a look around and found the multicols package does a good job at this because there are a few ...
user avatar
1 vote
0 answers
77 views

Chemmacros Orbital Broken

Currently using the latest versions of all TeX packages. However, the orbital module of chemmacros is broken, as shown in the screenshot. Why is this happening? This bug can be reproduced using the ...
user avatar
  • 11
4 votes
1 answer
57 views

Chemmacros error assigning labels

\documentclass[german=false,thesistype=master, nolistoffigures, nolistoftables]{tubsthesis} \usepackage{booktabs} \usepackage{colortbl} \usepackage[nottoc]{tocbibind} \...
user avatar
3 votes
1 answer
172 views

Chemmacros: Redox reaction within align environment

I am currently writing an experimental protocol with overleaf and want to include a redox reaction and both half equations. They should be numbered as 1.1, 1.2 and 1.3, so I am using {align} within {...
user avatar
  • 153
1 vote
1 answer
52 views

How can I fix iupac related alignment issues in TOC?

Please have a look at the following picture of my TOC. You can see that there is an alignment issue with subsubsection 1.1.1 and subsubsection 1.1.2. The corresponding page number of subsubsection 1.1....
user avatar
  • 179
0 votes
2 answers
211 views

Write cursive l letter in chemical formula with chemmacros package

How can I replace the letter l in HCl with ℓ so it becomes HCℓ when using chemmacros? I would like to avoid confusion between l, 1 and I which look very similar.
user avatar
1 vote
1 answer
68 views

Change the font within chemacros \iupac environment in with fontspec in lualatex?

I asked this question not long ago, and now want to move from cfr-lm and pdflatex to newcomputermodern with fontenc and LuaLaTeX. That is, I would like to use old-style numbers, everywhere except ...
user avatar
  • 17.3k
1 vote
1 answer
86 views

Reaction annotation with math using chemformula and chemmacros packages

In the following MWE, I attempt to use the chemformula and chemmacros packages to typeset a reaction annotated with some math. Why does Reaction 1 compile but Reaction 2 does not? \documentclass[...
user avatar
  • 1,137
2 votes
2 answers
78 views

Annotating chemical reactions typeset using the chemmacros package's reactions environment

I'm using the reactions environment in the chemmacros package to typeset some chemical reactions. I would like to annotate each reaction with text. Here is my MWE: \documentclass[oneside,11pt]{book} \...
user avatar
  • 1,137
0 votes
1 answer
37 views

Why are my schemes being numbered starting at 0?

I am trying to apply leandriis's excellent recipe for generating the subschemes using the chemmacros, cleveref, and subcaption packages. In the following example, what am I doing wrong? The schemes ...
user avatar
  • 1,137
2 votes
0 answers
51 views

Numbering chemmacros schemes within sections [closed]

Hello dear community, excuse me if this is a very basic question. But I googled to no avail. I also checked the manual of chemmacros, which gives no information. I am using "scheme" ...
user avatar
  • 117
1 vote
0 answers
82 views

Placing a List of Schemes in the Table of Contents

I am using the chemmacros package -- specifically its scheme module -- to generate a List of Schemes. (Note: the chemmacros package has been recently updated so that it is compatible with the book ...
user avatar
  • 1,137
2 votes
0 answers
63 views

Using the chemmacros package to easily generate a List of Schemes [closed]

I am trying to use the chemmacros package to easily generate a List of Schemes (as suggested here), which my thesis committee is requiring. I am probably overlooking something, but why do I get an ...
user avatar
  • 1,137
2 votes
2 answers
60 views

Change the font within chemmacros \iupac environment?

I am using cfr-lm as the font in my thesis, as I really like the look of the old style numbers in body text, and I have a LOT of numbers in my thesis. I'm also using the chemmacros/chemformula ...
user avatar
  • 17.3k
3 votes
1 answer
71 views

Chemical functional groups: in chemmacros package, selectively interpret dash or similar as a bond, not as a charge

I am using the ch command in the chemmacros package to typeset chemical formulas. I would like to typeset chemical functional groups. Here is my MWE: \documentclass{article} \usepackage{chemmacros} \...
user avatar
  • 1,137
4 votes
1 answer
95 views

chemmacros \iupac command shows no formatting in titles

i googled the problem and found that apparently nobody had issues with this before... I want to use compound names set up with the \iupac command of chemmacros in titles. \documentclass{scrbook} \...
user avatar
  • 117
2 votes
0 answers
77 views

Using chemfig to draw complex ring structures

So I am trying to recreate the following reactions with chemfig but I am somewhat getting lost on what to do. I was able to start off with a general structure shown below. Any help would be much ...
user avatar
3 votes
1 answer
29 views

Using math mode input as "atoms" in chemmacros

I am using the ch command in the chemmacros package to typeset chemical formulas. Here are three examples as a MWE: \documentclass{article} \usepackage{chemmacros} \begin{document} \noindent% \ch{C-O-...
user avatar
  • 1,137
0 votes
1 answer
160 views

Chemmacros breaks auto-pst-pdf

this is my first time here but I will try to do my best. My document stopped compiling and I was able to boil it down to the following MWE. Basically I need chemnum (and therefore auto-pst-pdf) to ...
user avatar
0 votes
0 answers
64 views

How do you draw a condensed molecular structure with multiple side chains?

So I am trying to draw the molecule in the picture, but when I tried, it made weird spaces in between the parts not in chemfig. How can I do it entirely on chemfig? MWE: \usetikzlibrary{arrows.meta,...
user avatar
2 votes
1 answer
151 views

How to create subschemes using chemmacros and list subcaptions in table of schemes?

The chemmacros package offers the scheme module which creates a figure-like environment Scheme and also creates a List of Schemes which can be produced by simply issuing \listofschemes. Fantastic! Now,...
user avatar
5 votes
1 answer
154 views

Unable to set the representation option of the "to" (range-phrase) while using SIrange within a chemformula (chemmacros) command

EDIT (supplement): the behaviour is the same within all use-cases (environment as well as \ch command) provided by the chemmacros package. In a chemmacros reactions environment I tried to switch from ...
user avatar
  • 63
0 votes
1 answer
63 views

auto-pst-pdf package in combination with textpos and chemmacros

I seem to have problems with the auto-pst-pdf package, chemmacros package and the textpos package. \documentclass{scrbook} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx}...
user avatar
2 votes
1 answer
62 views

List of reactions within chapter

Using the chemmacros package, deploying the \listofreactions within a chapter preamble does not appear to have any effect. I would like to present a list of only those reactions appearing within the ...
user avatar
1 vote
1 answer
79 views

Including Graphics in reaction Environment

I want to include graphics from chemdraw etc. (i.e. .eps) within a reaction env of the chemmacros package. With this i I hope to achive usage of the same counter, labeling etc. used in the reaction ...
user avatar
  • 11
2 votes
1 answer
86 views

standalone and chemmacros

I am using chemmacros to write REDOX chemical reactions. I tried using "standalone" to create a file the size of the equation, but it didn't work. how to solve this problem? \documentclass[border=...
user avatar
  • 1,280
1 vote
1 answer
54 views

Modifying chemmacros arrow labels

How can I recreate the following image? I tried using the chemmacros package, but it doesn't seem to work all the way. Please let me know. \documentclass[tikz,border=3mm]{article} \usepackage{tikz} \...
user avatar
  • 343
0 votes
1 answer
275 views

Moving lone pairs horizontally or vertically

I'm trying to draw a Lewis structure with a lone pair, but when I typeset, the lone pair is not centered. How do I freely move it slightly up or move it horizontally? Please let me know. \...
user avatar
  • 343
2 votes
1 answer
295 views

How to change the color of the oxidation numbers in chemmacros?

I would like to change the color of the oxidation numbers in some reactions like: \documentclass{article} \usepackage{chemformula} \usepackage{chemmacros} \usepackage[spanish]{babel} \usepackage[...
user avatar
1 vote
1 answer
120 views

How to cross-reference reactions in chemmacros/chapter?

I changed the labeling format that also the chapter number is included (R 0.1). When I cross reference to the reaction only the number (1) and not the whole label with chapter number is used. How can ...
user avatar
1 vote
1 answer
93 views

Misunderstanding reactions environment of chemmacros v. 5.10

I wanted to give my answer to this question How to align chemical reactions in multiple environments? with the environment reactions into the manual of chemmacros. I think always that my low level ...
user avatar
  • 46.1k
0 votes
0 answers
15 views

reaction numbering with chapter numbers chemmacro [duplicate]

I am trying to use the reaction environment from chemmacro. How to get the numbers with chapter number like for equation numbers (e.g 1.1, 2.1 and so on) \chapter{The First Chapter} \begin{reaction} ...
user avatar
  • 21
2 votes
2 answers
110 views

Package conflict between chemmacros and Russian [duplicate]

I'm trying to set up my document with chemmacros package and it seems like it has a conflict with babel Here is MWE: \documentclass[12pt, a4paper, final]{extarticle} \usepackage{fontspec} \...
user avatar
4 votes
1 answer
98 views

chemmacros \iupac command breaks in achemso's \title

I'm getting an error when using \iupac inside \title with the achemso class: \documentclass{achemso} \usepackage{chemmacros} \title{Study of \iupac{1,2-di|methyl|benzene}} \begin{document} \...
user avatar
  • 3,001
2 votes
1 answer
109 views

Using \acs* within \ch (acro + chemformula)

When calling an acronym, it might a) have been used somewhere in the document before or b) be used for the first time. In case b, one would require the acro package to print the long form. Sometimes, ...
user avatar
  • 407
1 vote
1 answer
486 views

Capitalize first letter of an acronym (acronym package)

I am using the acronym package to manage my abbreviations. An older contribution from TeX.SE offered a working solution to capitalize the first character of the abbreviation when using \Ac instead of \...
user avatar
  • 2,668
3 votes
1 answer
85 views

how to prefix the section number to the "reaction" number?

I'm using the chemmacros package, its reactions environment, and the article document class: \documentclass[a4paper, 12pt]{article} \usepackage{amsmath, amsthm, amssymb, mathtools} \usepackage{...
user avatar
19 votes
3 answers
5k views

Problem with chemmacros, beamer and filehook-scrlfile.sty

I am using chemmacros with beamer and it produces the following error 2017/08/28 basic chemmacros module (/usr/local/texlive/2019/texmf-dist/tex/latex/koma-script/scrlfile.sty Package: scrlfile ...
user avatar
  • 2,692
4 votes
2 answers
766 views

Triple bond inside escaped chemfig formula within chemformula's reaction

I'm trying to include a molecular structure drawn with chemfig inside chemformula's reaction environment by escaping it with "…". It all worked fine until I stumbled upon a structure with a triple ...
user avatar
  • 2,535
6 votes
2 answers
150 views

\listofschemes from chemmacros not working with KOMA script commands

I want to change the appearance of my listoffigures, listoftables, and listofschemes with KOMA script commands. I use the scheme environment from the chemmacros package. Here is my MWE: \...
user avatar
  • 117
7 votes
2 answers
448 views

How to write mathematical equations above and below double harpoons in chemical equations?

I'm trying to write a chemical equation with k_f and k_b (in math mode) above and below a double harpoon, respectively. I wrote the following code, which uses the chemmacros package: \begin{equation} ...
user avatar
2 votes
1 answer
79 views

Change scheme label in chemmacros

I need to change the labelling for my floats (Page numbers/sections/figures/tables/schemes) into Figure S1, Table S1, Scheme S1, ... (for Supporting Infortmation of a journal). For Figures and Tables,...
user avatar
  • 117
7 votes
3 answers
257 views

Chemmacros scheme translation

I'm trying to translate the word "Scheme" in the captions of chemmacros schemes. I'm writing in spanish, so I want to change "Scheme 1" to "Esquema 1", for example. I don't know if I'm not ...
user avatar
0 votes
1 answer
162 views

How to put a positive sign with thermodynamics module

I want to put a positive sign "+" in front of a positive number with units in thermodynamics module of chemmacros. So I made the following LaTeX cord related to this with tuning siunitx: \usepackage{...
user avatar
  • 63