Questions tagged [chemfig]

{chemfig} is for questions pertaining to the use of the chemfig package for drawing 2D molecules and reaction schemes.

Filter by
Sorted by
Tagged with
1
vote
0answers
91 views

Writing above and over double arrow [duplicate]

I am writing several chemical formulas and reactions and I want to write over a reversible reaction the reaction constants for the Forwards and reverse reaction. So far I have the following: But I ...
4
votes
1answer
100 views

How to typset/draw conjugate acids and bases

Hello I need help drawing/typesetting an acid base reaction showing the conjugate pairs: Here is what I have so far: \documentclass{article} \usepackage{chemfig} \usepackage{endiagram} \usepackage{...
4
votes
1answer
96 views

Counter ions and charge of a complex

how can I add the charge and the counter ions to my complex? I'm using chemfig. \schemestart \chemname{\chemleft[\chemfig{Ni (<:[1]OH_2) (-[2]OH_2) (<:[3]OH_2) (<[5]OH_2) (-[6]OH_2) (<[7]...
3
votes
1answer
70 views

Connecting repeating fragments of the molecular structure possessing rotational symmetry with chemfig

While drawing a structure of a hexabenzocoronene derivative, I decided to start with the central benzene ring, then define repeating fragment via \definesubmol and attach the bridging carbon atom once ...
5
votes
1answer
76 views

Drawing a 'chair' representation with brackets

\documentclass{article} \usepackage{chemfig} \begin{document} \chemfig{ % 8 -O% 7 -% 1 -[:60]% 2 ( -[:120]% 18 ...
0
votes
1answer
144 views

Making chemfig brackets

I am trying to draw some polymer structures with brackets ()n, but I don't really get the instructions of the chemfig manual... Here an example which gives me weird braces at the wrong place: \...
1
vote
1answer
84 views

Chemfig: reaction mechanism problem: arrow position

Hello everybody. As you all can see the curved arrow doesn't point to the positive carbon as it should, but it kink of turn around the bond. How can I solve this? Thanks in advance for any answer! \...
1
vote
1answer
33 views

Overleaf, How do I insert a \definesubmol with hooks “?” in a parent structure multiple times?

I have defined a submol for TEDA so that it can be inserted via !{TEDA} into a parent structure (Hexamethylbenzene). \definesubmol{TEDA}{-[::60]*6(\chemabove{\textcolor{blue}{N}}{\scriptstyle{+}}?---...
3
votes
1answer
54 views

Two unconnected rings connected by a single atom

How would I draw this hypothetical molecule? All I am able to find is how to draw two rings connected by a common bond, but not how to draw two rings connected only by a single atom. The rotation of ...
3
votes
1answer
55 views

Conflict of chemfig, babel and beamer?

I use the chemfig package with beamer for several years together with czech language set in babel. I am aware of the conflict between the babel shorthand that activates hyphen, and the chemfig ...
3
votes
1answer
111 views

Set aromatic ring thickness in Chemfig

I use \newcommand{\bondwidth}{0.06642 em} and \setbondstyle{line width = \bondwidth} to make my bonds a bit thicker, however, this doesn't seem to affect aromatic rings, leading to a slightly ...
4
votes
1answer
114 views

Correctly placing the benzene ring in Polystyrene

First post, sorry if I get the formatting wrong. I am attempting to produce a Display Formula for Poly Styrene, but have not been able to get the benzene ring to place properly. This is my current ...
1
vote
1answer
248 views

Unable to run the package chemfig with TexMaker

I want to use the package chemfig to draw chemical structures. I am using Texmaker. Whenever I try to run the chemfig package I get the following error message: ! I can't find file `simplekv.tex'. &...
2
votes
1answer
101 views

Complex reaction mechanisms in chemfig

I would like to draw the figure shown below So far I've come so far: As you can see, the arrows from the "NAPQI" named molecule, are not really where they belong. I would like to make further arrows ...
6
votes
1answer
99 views

Trouble with hooks in chemfig

I am trying to construct this EDTA molecule coordinated to a metal: and this is what I have so far: With this code: \chemfig{ O=[2,,]C (-[3,2,,1]CH_2-[1,,1]N (-[7,,,2]H_2C-[...
5
votes
1answer
51 views

How to eliminate ring distortion in chemfig

I am trying to draw a molecule with two connecting pentagonal rings. This is what I have so far: \begin{figure} \chemfig{ O=_[1,,]*5([::-45]-O-Cu*5([::-72]-NH_2--(=^[1,,]O)-O-)-NH_2--) } \caption{...
4
votes
1answer
98 views

Chemfig: multiple arrows from one molecule

I would like to have several arrows going from one molecule (chemfig). I managed left and right, but now I also want one going 90° down from the molecule in the middle. This is what I tried (ignore ...
3
votes
1answer
51 views

How to include a vertical space between two chemfig reaction schemes in a TikZ box

This is a continuation of my previous question. I am dealing with the following code to include chemical reactions into the shape of a cloud. \documentclass{article} \usepackage{chemfig} \usepackage{...
2
votes
1answer
104 views

How to put a reaction scheme from chemfig inside a TikZ picture?

I am trying to include a chemical reaction from the chemfig package into this picture of a cloud using the following code: \documentclass{amsart} \usepackage{chemfig} \usepackage{tikz} \...
2
votes
2answers
113 views

chemfig: lewis structure

Currently working on corrosion of CaCO3: \documentclass[a4paper]{article} \usepackage{chemfig} \begin{document} \[ [Ca^{2+}; \chemfig{O - C (=[6]O) (-[8]O) }] + 2 \chemfig{H-Cl|} \hspace{4em}|\...
2
votes
0answers
55 views

\chemleft bracket too far from molecule

I am trying to draw a reaction scheme in chemfig, but the chemleft bracket is too far away from the actual molecule and I do not know why. My code looks like this: \documentclass{article} \usepackage{...
3
votes
1answer
88 views

How to put atom on top in chemfig and change position of arrow

I have provided two starting points to solve my problem: Option 1 I am trying to move the arrow head to a higher point (somewhere in the middle of the upper love of the p orbital) and make the boron ...
1
vote
1answer
29 views

Chemfig “Missing { inserted” error

I have been trying to draw a chemistry diagram using the following code: \schemestart {\scriptsize \chemfig{ H-[:30]C(-[:90]H)(-[:-90]H)-[:-30]\Lewis{2:,N}(-[:-90]H)-[:30]C(-[:90]H)(-[:-90]H)-[:-...
1
vote
1answer
65 views

Oxidative deamination with chemfig

I want to make an equation with chemfig but i've a problem with arrow and the name of the enzyme. I would like a reaction like this : I'm a novice with the latex code. For the moment I managed to ...
2
votes
2answers
122 views

How to write text H to left of O in chemfig?

I am trying to put H to the left of O, what will be the correct syntax Here is my MWE \documentclass[a4paper]{article} \usepackage{chemfig} %%% Polymer symbol \newcommand\setpolymerdelim[2]{\...
0
votes
1answer
34 views

Reduce the gap between arrow and molecule (node) in chemfig scheme

I have the following scheme. \documentclass[crop,trim]{standalone} \usepackage{pgfplots} \usepackage{chemfig} \usepackage{tikz} \usetikzlibrary{calc,positioning} \usepackage{amsmath,amssymb} \...
2
votes
1answer
43 views

Fix chemfig isomerization

I want to represent the following isomerization in LaTeX. It is the following: However, so far, I have this: Thank you in advance. My MWE is: \documentclass[a4paper,11pt,oneside]{book} \usepackage[...
1
vote
1answer
156 views

chemfig: double harpoon + arched in/out arrow in reaction

I am trying to draw some complex reaction scheme where some of the reactions have additional in/out compounds akin to the ones in the figure below. I am not familiar at all with chemfig and sadly, ...
4
votes
2answers
93 views

Chemfig multiple brackets on the same bond

I'd like to draw the following copolymer structure using \chemfig. But it turns out that I can't put the right bracket and the next left one within the same bond. All I found on the internet were ...
4
votes
1answer
145 views

“Undefined control sequence” error when using chemfig in ConTeXt

I came across an error when using chemfig in ConTeXt: \usemodule[chemfig] \starttext \chemfig{A-B} \stoptext There is no pdf output, but there is an error message: %%%% tex error > tex ...
2
votes
1answer
101 views

Aligning atoms with arrows in chemfig

I am writing a reaction scheme and tried to use Clemens recommendation (aligment...) i.e. "starting with the right atom", but I did not succeed to get what I wanted. \documentclass[border = 0.5cm]{...
2
votes
1answer
471 views

chemfig package - Undefined control sequence \setchemfig

I was trying to produce a reaction scheme with chemfig, but when I use the \setchemfig command I get the error message: Undefined control sequence \setchemfig Here's my code: \documentclass[12pt,...
2
votes
1answer
82 views

Multiple bonds in Lewis structure

I've been using the chemfig package for drawing Lewis structures but have run into an issue in which I need to show multiple bonds between two atoms in Lewis dot notation as show below. The code I ...
2
votes
0answers
109 views

package chemfig does not work with tikzlibrary circuits.pid.ISO14617

Using tikz and have a document with various libraries. In particular \usetikzlibrary{circuits.pid.ISO14617} works fine until I add \usepackage{chemfig} with \chemfig \documentclass[]{article} \...
1
vote
1answer
98 views

chemfig: drawing arcs to show electron shift for oxidation state

I'd like to draw a picture like the following with chemfig How can I draw the red arcs (e.g. in H-O) and the red line (e.g. in C=C ). I startet already: \documentclass{standalone} \usepackage{...
5
votes
1answer
84 views

How to draw uranyl cation with lone pair regions and cation charge?

I would like to draw the cation uranyl. So far this is what I have \documentclass{minimal} \usepackage{chemfig} \begin{document} \chemfig{ O~U~O } \end{document} And that produces the ...
2
votes
1answer
67 views

Repairing twisted or distorted chemfig figures

Hello and thanks in advance, I know these structures can probably be made easily with ? markers in the chemfig command designating locations to finish a bond; however, I would like to know if it is ...
3
votes
1answer
131 views

Chemfig: Package pgfkeys Error: I do not know the key '/tikz/CF'

I am trying to redraw reaction scheme using chemfig package. All works except curved line that should connect 2 nodes those are not neighbours. As it's described in chemfig manual, I added the ...
2
votes
1answer
151 views

What's causing this problem with reaction arrows (chemfig)?

I'm trying to reproduce a catalytic cycle from a paper, but I'm running into an problem. One of the arrows that I'm using seems to attach itself to a different point than the other arrows going to the ...
1
vote
1answer
74 views

chemfig: arrow margin

There's a way to set arrow left and right margin? In simple terms, make horizontal spaces befor and after the arrow itself. In this way, "B" and "C" are too sticked to the arrow \documentclass{...
4
votes
1answer
61 views

chemfig: subscript causes bond lenght and vertical shift

These are the outputs without and with the subscript (the 3 between Phi and P) \documentclass{article} \usepackage[T1]{fontenc} \usepackage{textcomp} \usepackage[italian]{babel} \usepackage{chemfig} ...
0
votes
0answers
50 views

chemfig: \setchemfig error [duplicate]

From chemfig documentation, page 8. It seems like \setchemfig is not defined: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{textcomp} \usepackage[italian]{babel} \usepackage{chemfig} \...
2
votes
1answer
113 views

Chemfig: How do I Change the Angle of a Ring Attached to a Ring?

Essentially I just want to increase the angle between the two 5 member rings, say 10-20 degrees. \documentclass{article} \usepackage{chemfig} \begin{document} \setangleincrement{30} \setatomsep{...
2
votes
2answers
145 views

Add charges on Organic Structures in Chemfig

Essentially I just want to put a charge on a carbon atom, but I don't want to include the "C", using \chemabove almost works however it creates gaps between the bonds. \documentclass{article} \...
7
votes
1answer
339 views

Beautiful chemfig

I want to achieve something similar to the formula in this image I'm new to chemfig package and I used mol2chemfig webtool to obtain the basic molecule structure and then I modified it manually in ...
3
votes
2answers
129 views

How to vertically align chemical reaction equation with equation number

The following code using chemfig placed in an equation produces the equation number at a too low position. How can I get the equation number vertically aligned with the arrow? \documentclass{article} ...
1
vote
2answers
91 views

Chemfig and tikz: shaded arrow

How can I make these arrow shades, for example to blue from white? \documentclass{article} \usepackage{chemfig} \usepackage[version=3]{mhchem} \begin{document} \begin{figure}[!htb] \centering \...
0
votes
1answer
77 views

chemfig chemname alignment, chemnameinit doesn't seem to do anything?

I'm trying to get the chemical names to align vertically in this reaction, but for some reason setting \chemnameinit to match the larger molecule doesn't seem to have any effect. \chemnameinit{\...
2
votes
0answers
33 views

Chemfig does not render when pgfornament is used [closed]

Pretty much what the title says. The molecule is not rendered if I use the pgfornament package. Code 1: \documentclass{standalone} \usepackage{tikz} \usepackage{chemfig, mhchem} \begin{document} ...
4
votes
1answer
81 views

chemfig: how to represent rocking and scissoring

Infrared spectroscopy is based on the principle that radiation with a wavelength between 2500 nm and 20000 nm is absorbed by the molecule, altering its vibrational movements. There are various ways to ...