A package for drawing 2D molecules using the TikZ package.

learn more… | top users | synonyms

2
votes
2answers
42 views

How do I get the right arrow with chemfig / chemsign

I have a short question about the arrow in the reaction I made with chemfig. As you can see in the picture underneath the code the arrow is just "<=>". What I need is this: How can I produce ...
2
votes
1answer
28 views

copy reaction scheme using tikz

I would like to copy the reaction scheme similar to the image provided. This is what I have attempted so far, but I am new to chemfig so I'm not sure what I'm doing. Please provide your expertise. ...
4
votes
2answers
114 views

Generate pdf document consisting in just one figure

Related to this question I am trying to generate a figure using package chemfig. Actually, my problem is that the lower part of the figure is cropped, specifically the H under the N. This is the ...
1
vote
0answers
37 views

Adding dipole moments in chemfig

I haven't been able to find anything in chemfig for adding dipole moments to my molecules beyond creating custom arrows with tikz, which is more involved than I'd like at the moment. Is there some ...
3
votes
1answer
28 views

chemfig, how to do these wavy markings?

I am trying to reproduce this: So far I have: \documentclass{memoir} \usepackage{tikz} \usepackage{chemfig} \usetikzlibrary{decorations.pathmorphing} \begin{document} ...
2
votes
1answer
34 views

Resonance hybrids in chemfig

How would I best create the dotted/solid paired bond line for a resonance structure? For example, I have $ \chemfig{ C(=[:90]\lewis{1:3:, O}) (-[:210]\lewis{3:5:7:, O}) (-[:330]\lewis{1:5:7:, O}) } ...
0
votes
1answer
53 views

chemfig molecule shifts tikzpicture (in beamer)

I have a beamer slide with a title. On it I have a tikzpicture, which contains a molecule drawn with chemfig. Without the molecule the picture is just fine: However, as soon as I put the molecule, ...
3
votes
1answer
18 views

Write the charge of an ion as an apex outside the square brackets with chemfig

I have the structure of the nitrate ion written down in chemfig and I'd like to add its charge as an apex outside the square brackets (see below). Is there a correct way to do it or do I just ...
2
votes
1answer
45 views

Runaway argument in pgfmodulshapes.code.tex

While trying to compile the file: \documentclass[11pt]{article} \usepackage[active,textmath]{preview} \usepackage{amsmath} \usepackage{chemfig} \usepackage{amsfonts,amssymb} \pagestyle{empty} ...
2
votes
1answer
45 views

Vertical alignment of reaction mechanism

How can I align the following reaction mechanism of the Aspirin synthesis in chemfig? Code: \schemestart \definesubmol\nobond{-[2,0.2,,,draw=none]} ...
3
votes
2answers
51 views

Right aligning atom in chemfig

I'm using chemfig (perhaps improperly) for relational algebra graphs. Here, for example, is a simple one: \documentclass{article} \usepackage[italian]{babel} \usepackage[utf8]{inputenc} ...
2
votes
1answer
39 views

Bonding to specific element letter using chemfig

Im trying to reproduce this molecule using chemfig, I have the basic structure with this code: \begin{figure} \centering \schemestart ...
4
votes
1answer
106 views

Reaction sheme for Saponification with chemfig: horizontal and vertical placement

I want to draw the formation of a fat molecule like shown in the picture below I tried with hspace/vspace and yshift: \documentclass[margin=2cm]{standalone} \usepackage{chemfig} \begin{document} ...
0
votes
0answers
38 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
192 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 ...
0
votes
1answer
38 views

chemfig: order of atoms

I want to change the order of the "OH"-group at carbon 4: the "H" should be left of the "O". \documentclass{standalone} \usepackage{chemfig} \begin{document} \setatomsep{4em}\setcrambond{3pt}{}{} ...
0
votes
0answers
19 views

Chemfig too large distance between Compounds and names? [duplicate]

There is large space between the compound name and compound . I used arrow[0]{,0} also and cyclohexane is not aligned properly at center :( picture explains clearly :( How do i remove distance ...
3
votes
2answers
79 views

Showing Chemical reaction on websites?

I have been writing latex code for showing chemical reactions thorugh chemfig . Now i want to show it in website . The only solution i find is to capture screenshot crop it and publish it ? Is there ...
1
vote
1answer
50 views

Aligning arrow fo Chemical reaction and much more

My chemical reaction latex codes look like this \document[11pt]{article} \usepackage{chemfig} \begin{document} \schemestart \chemname{\chemfig{R-H}}{Alkane} \arrow(.{5.5}--){->[light,heat or ...
0
votes
2answers
50 views

How to illustrate an isomerisation mechanism with chemfig

I'd like to produce a scheme of the isomerisation mechanism of hop alpha-acids during wort boiling in beer as featured in Verzele, 1986. (Don't worry, I'll post the link for the article). I'd like to ...
0
votes
0answers
30 views

Enzyme Kinetic chemfig

I got problem using chemfig to draw chemistry as shown in Figure, Can one help?
2
votes
1answer
64 views

Latex on chemical reaction

There is some problem with my code. It don't show Mg(OH)X correctly and arrow passes to reactant sites also \documentclass[11pt]{article} \usepackage{chemfig} \begin{document} \schemestart ...
0
votes
2answers
95 views

Drawing organic reaction?

I have been trying to draw this but i couldn't accomplish it :( I have tried but failed . I tried like this \chemfig{**(-=-=-=)} \+ \chemfig(3O_3) \arrow(->) No idea here ...
2
votes
0answers
56 views

Aligning Chemical Reaction

In latex i have written 3 different type of reaction and the problem is the middle arrow align according to reactants . Eg. A + B -> C A + B + C -> D I want to align like this A + B ...
1
vote
1answer
56 views

Writing Chemical Reaction?

I want to show the reaction between Sodium benzoate and soda lime to give benzene and na2co3 Here is my code \documentclass[11pt]{article} \usepackage{fullpage} \usepackage{chemfig,chemmacros} ...
3
votes
1answer
76 views

group of molecules

I want to reproduce this figure, i used chemfig package, need help to get many arrows from one molecules. Thank you \documentclass[french,12pt,oneside,openright]{memoir} \usepackage[utf8]{inputenc} ...
2
votes
1answer
64 views

Shift the start and end points of curved arrows (electrons paths) in chemfig

I'm trying to draw a McLafferty rearrangement with chemfig (great tool btw). With MWE: \documentclass[a4paper,landscape]{article} \usepackage[utf8]{inputenc} \usepackage{chemfig} ...
4
votes
2answers
146 views

Radical ions with chemfig

Is there a way to draw a radical cation like using chemfig? Edit #2 \chemfig{C(-[:-150]Y)(=[:90,,,2]\radcationleft ...
2
votes
1answer
75 views

Using sans-serif font for chemfig

In my document, I'm currently using chemformula for chemical formulae. To draw reaction mechanisms I'm trying to use chemfig, but it's proving very difficult to get chemfig to use the same sans-serif ...
1
vote
3answers
54 views

Is there a shortcut to draw 30 degree bond angle increments in ChemFig?

I really like the facility in ChemFig to choose the bond angle in 45 degree increments by specifying an integer, instead of the angle directly: \chemfig{-[1]}. Right now, I'm drawing a bunch of ...
3
votes
1answer
115 views

precompile molecules for faster compilation

I have something like one hundred of chemfig-drawn molecules in a single file, that I consider a sort of database. Compiling this file takes approximately five minutes. I'm going to write a report of ...
2
votes
1answer
116 views

chemical reactions

I would like to reproduce the same as this picture using the chemfig package: \documentclass[french,12pt,oneside,openright]{memoir} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
0
votes
1answer
65 views

Arrow label on Chemfig image?

I have this code: \documentclass[varwidth, margin=2cm, png]{standalone} \usepackage[utf8]{inputenc} \usepackage[english, ngerman, danish]{babel} \pagestyle{empty} \usepackage{chemfig} ...
2
votes
1answer
67 views

electronegativity brackets with chemfig (?)

I've been trying to draw something like this with chemfig: Specifically I'm trying to create those red brackets around the bonds indicating that due the Oxygen's higher electronegativity, it has a ...
1
vote
1answer
80 views

Help needed in showing halobenzene resonance in LaTeX

I am new to LaTeX, can someone please help me in showing the following using LaTeX, I can make the halobenzene rings, and I am comfortable with \lewis, I just want help in those arrows. Thanks in ...
2
votes
1answer
100 views

Siunitx adding the \cdot and \chemfig to get extra top space in a tabular

i am having a problem compiling, i get an error of missing $ and { also } when i use \si....... [siunitx package] ----> I tried the \sisetup... but it gives me an error, may be it has conflicts with ...
3
votes
2answers
72 views

How can I solve the vertical alignment with a CH2 and a ring?

I draw a picture like this: You may find that the right side of the molecule is under the base line. I know this problem is 'Vertical alignment' mentioned in P25 of the offical documantaion. After I ...
3
votes
1answer
62 views

How to make a ring have vertical alignment correctly?

I want to use xelatex to draw a chemistry equation which contained a horizontal benzene. But it counld not be placed well, like this: And I want this, except the unpleasant blank: Here is my code: ...
1
vote
0answers
22 views

How do I get a centered charge into the ring with chemfig? [duplicate]

I would like to draw a Sydnone with chemfig. How do I get the -+ into the ring? \documentclass{article} \usepackage{tikz} \usepackage{chemfig} \begin{document} ...
2
votes
1answer
66 views

How to type gas sign and equality sign in chemfig?

I want to type some inorganic chemistry equations and some organic chemistry, but I can't type =, ^(means that there is gas) or |(means that there is solid). For example, how to type 2NaClO = 2NaCl + ...
3
votes
1answer
146 views

Simpler way to create chemical graphs using chemfig

chemfig is a great package to draw molecules. But it's not very fast. I am searching for a software to create chemfig code of chemical graphs (molecules, reactions etc.). It would be great if it is ...
4
votes
1answer
75 views

Issue with cram bonds in chemfig

Using chemfig v1.1a, cram bonds are not drawn well in a way similar to the issue found in previous versions. Edit: My precise question here would be: does anyone know how to fix this? Or, worst case, ...
3
votes
1answer
108 views

Molecular angle question (Tikz/Chemfig)

Based on the answer from erik, I am able to make a molecule diagram with labels for bond length and angles. But one difficulty appeared. The last angle should be between the two oxygen bondings - but ...
5
votes
1answer
148 views

Methanoic acid with chemfig? (molecule with labels(nodes) of angles, bonds and bondlength)

I want to use chemfig for my academic work - but I have a lot of problems. I have found something as my inspiration to write this code. \documentclass[12pt,a4paper,onecolumn]{article} ...
6
votes
2answers
91 views

How to draw Cu-ATSM compound?

I am trying to draw the following compound in tex using chemfig but I am only getting part of it and do not know how to finish the compound. This is what I got using \documentclass{article} ...
0
votes
0answers
57 views

LibreOffice + TeXmath on Using Chemfig

With the LaTeX example \documentclass{article} \usepackage{chemfig} \usetikzlibrary{arrows.meta} \tikzset{ elmove/.style={-{Stealth[#1]},shorten >=3pt,shorten <=2pt} } \begin{document} ...
3
votes
1answer
69 views

why bounding box dimensions are inherited from previous chemfig molecules in beamer?

I'm sure my problem is related to my OS but I can't tell why and how. Last year I was on Debian wheezy, while at present I'm on Mint Rebecca. I'm revising my slides for the lessons and, after ...
3
votes
2answers
127 views

How can I draw an ellipse in benzene molecule?

Can you help me to draw an dash ellipse in benzene molecule and adsorption bond from the molecule center to the metal? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{chemfig} ...
4
votes
1answer
198 views

Text and figure alignment in chemfig reaction scheme?

I am new to chemfig, and I am trying to illustrate a reaction using the code: \documentclass{article} \usepackage{chemfig} \begin{document} \schemestart \chemname ...
6
votes
2answers
141 views

Use of # in align block

I have a chemfig command which involves the use of #. It compiles properly on itself. \chemfig{**[135,405,dash pattern=on 2pt off ...