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
0
votes
1answer
43 views

More chemfig figures with fishhook arrows

I asked a similar question yesterday, but i havn't quite learned how to make these molecules yet. Therefore i'll see if there is a kind soul in here again today, who wants to help me with this one, ...
4
votes
1answer
65 views

Chemfig drawing with arrows and Lewis dots

If I wanted to draw something like this with the chemfig package, how would I do that? I'm especially wondering how to draw the arrows in the most simple and beautiful way possible. Update: With ...
4
votes
2answers
80 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 ...
0
votes
0answers
43 views

How can I write the following reactions and label them?

I would like to write those following reactions and label them like equation mode. How can I do that?
1
vote
2answers
37 views

Resizable buckminsterfullerene

In this post How to draw a fullerene I asked how to draw a fullerene. This is a complex chemical structure and was nicely answered by @GRSousaJr (https://tex.stackexchange.com/users/184980/grsousajr) ...
1
vote
1answer
38 views

Fix an arrow in chemfig

I'm using chemfig to write a reaction of sucrose degradation, but the first arrow is too near the + sign. I tried using \indent but it didn't work. \definesubmol{x}{(-[4]H)(-[0]OH)} \definesubmol{y}{(...
6
votes
2answers
103 views

How to write a chemical equation for an reaction that is still fitting inside the document?

I am writing a lab report for my Chemistry class, and I would like to write a chemical reaction for the following reaction that looks like this. I have tried the following command to make this ...
2
votes
1answer
41 views

PGF decorations not working

I am trying to use the following custom pgfdecoration to draw bonds with varying length of the double bond while using chemfig. The code was obtained from the following link: How to alter the bond ...
1
vote
1answer
24 views

Make a double headed mechanism arrow in mol2chemfig

I want to use a double headed mechanism arrow to indicate that a carbonyl bond is breaking and reforming with the expel of the leaving group. My code so far: \documentclass[12pt,a4paper]{article} \...
1
vote
1answer
49 views

Radical mechanism with fish hook arrows using mol2chemfig

I am new to chemfig and I want to draw a radical mechanism. It should look like this : This is my code so far: \documentclass[12pt,a4paper]{article} \usepackage{chemformula} \usepackage{mol2chemfig}...
1
vote
1answer
52 views

subscript or superscript causes chemical bond vertical shift

\documentclass{article} \usepackage{chemfig} \begin{document} $\rm \setatomsep{2em}\setbondoffset{0pt}\chemfig {CH=C}(CH_3)OCH_3$\par $\rm \setatomsep{2em}\setbondoffset{0pt}\chemfig {CH_2=C}...
4
votes
1answer
66 views

Chemfig: Problem setting brackets for polymers

Hy everybody, I am a newbie in LaTeX so I apologize if the question is not so precisely. I try to draw polymers with the Chemfig package. Everything works fine with except the brackets for the ...
4
votes
1answer
55 views

Chemfig upside down -U> arrow not working in TeXLive 2019

I'm using the chemfig package for some chemical reactions and I need to draw an arrow like the one below: It's essentially \arrow{-U>} but with the curved arrow positioned below the straight one. ...
2
votes
3answers
226 views

How to draw a fullerene

I just started with chemfig package and am enjoying it very much. I made a quick search here in the community, but found no answer. So, let's go to the question: How to draw a fullerene structure ...
2
votes
1answer
47 views

Add non-bounding group to a molecule using chemfig

I would like to obtain the following result: I am workint with Overleaf and stuck in the following MWE: \documentclass{article} \usepackage{chemfig} \begin{document} \chemfig{ -[:+30] % C1 -[::-60] ...
2
votes
1answer
35 views

Aligning molecules

I'm writing a reaction of hydrolysis, but the glucose isn't aligned with the sucrose nor the fructose. Help. \documentclass[border=10pt]{standalone} \usepackage{chemfig} \begin{document} \schemestart ...
0
votes
1answer
50 views

Histidine Chemfig from a Picture

The last one from this picture set. I have this Histidine which I have already done a series of questions. I did what I knew this time: I need help to finish the triangle that is in the histidine. ...
9
votes
2answers
230 views

Aligning molecule names

I'm writing a reaction but the names of the D-Glucose and D-Mannose are not aligned with the name of the D-Fructose. Here's what I have. I tried to use \chemnameinit{} but it simply didn't work :( ...
0
votes
0answers
41 views

Tyrosine Chemfig Help

I am trying to draw this tyrosine and I have this diagram I tried the following code and it did not work as expected. \documentclass[grid,avery5371]{flashcards} \usepackage[utf8]{inputenc} \...
4
votes
3answers
62 views

\input{} inside \chemfig{}

I'm likely ignoring something fundamental here and was hoping for some hints. Please see the inset mwe. Towards having a library of chemfig symbols, I see value in being able to point to a ...
2
votes
1answer
94 views

Help in drawing Proline Chemfig

I have tried to do Proline with this attempt, however, I don't know how to consolidate this bond to CH_2 at the bottom. \documentclass[grid,avery5371]{flashcards} \usepackage[utf8]{inputenc} \...
3
votes
1answer
75 views

Getting \setbondstyle undefined error with mol2chemfig

I have observed a Command \setbondstyle undefined error while using the mol2chemfig package with the following mwe: \documentclass[preview,border=7pt,active,tightpage]{standalone} \usepackage{...
2
votes
1answer
128 views

Trying to to Draw Trytophan Using chemfig

Hello I am trying to draw as I stated tryptophan in a chemfig I tried this code but it does look like it any tips on how I can do it? I have been reading this document for help. MWE \documentclass[...
2
votes
1answer
43 views

Labelling the branches in branching chemical equations using chemfig

The picture below shows what I intend to achieve: The tex script that I wrote: \usepackage{chemfig} . . . \schemestart[0,1.25] \chemfig{*6(-=-=(-CH\textsubscript3)-=)}\arrow{->[Alk. $KMnO_4$][$...
2
votes
2answers
43 views

Chemfig Increasing the length of a vertical bond in a branched alkane

Currently I am having an issue due to intersection between substituent species off of a branched alkane that I want to make in a 'complete structure' form. I figured increasing the vertical bond ...
3
votes
1answer
47 views

chemical reaction, arrow misplaced

I am new on latex and on chemfig. Here are the molecules that I would like to draw. My problem is that I can't put the arrow where I would like it to be. I have tried with the anchors but apparently ...
3
votes
1answer
83 views

Help with chemistry equation

I'm trying to reproduce the following equation using the chemfig package : I've been at this for a few hours, trying out different approaches but as soon as one thing works, something else seems to ...
0
votes
0answers
30 views

My file chemfil short out

I would like my file not to leave the sheet, not to be cut, but I can't do it \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[francais]{babel} \usepackage[T1]{fontenc} \...
3
votes
1answer
86 views

Chemical reaction

Good morning, everyone, I am a Bachelor of Science in Physics student, and I would like to be able to reproduce the routing of this example here on Latex, not necessarily draw the molecules, I learn ...
3
votes
0answers
28 views

Using chemfig, how to make individual bonds longer or no longer visible

I am currently trying to draw the structure of a complex for a project \documentclass[12pt]{report} \usepackage[margin=1in]{geometry} \usepackage{chemfig} \begin{document} \chemfig{ La(-[:0](**5(...
6
votes
2answers
193 views

Curved double arrow in tikz?

High all, this is related to a previous question I asked (see here). I would like to make the double arrow between the alcohol and the amine curved (annotated with blue nodes above and below the arrow)...
3
votes
1answer
136 views

Drawing a Chemical Reactions Flow Chart

I know I should probably separate the questions into multiple stems but I don't want to spam. I am attempting to recreate this diagram but there are a few parts I am unsure of: Here is my code for ...
4
votes
2answers
45 views

Chemfig: Bond line partly passing through atoms when shrinking

How can I fix the bond to the top OCH3 group to not pass partly through the O? \documentclass[12pt, norsk, a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[norsk]{babel} \usepackage{fullpage}...
5
votes
1answer
68 views

How to create cram bonds with anchors

I want to recreate the chemical structure of 1,8-cineol in chemfig. On Wikipedia it's shown like this: The best I can come up with is this code, with an anchor for the oxygen atom: \documentclass[...
0
votes
0answers
35 views

How to install and use chemfig latex package on ec2 server?

I want to use some extra latex package like chemfig for converting chemical latex equation into PNG image. Thanks in advance
4
votes
1answer
121 views

How to draw organometallic compounds?

I'm trying to draw this molecule using the chemfig package but honestly don't know where or how to start. Please help. Thank you. \documentclass{article} \usepackage{chemfig} \setcrambond{3pt}{}{} \...
2
votes
2answers
243 views

Horizontal and vertical alignment of chemfig structures

I'd like to align these four chemfig structures, seen below, horizontally and vertically. (The centers of the rectangles are vertices of a new rectangle. I would prefer an automatic solution.) \...
2
votes
1answer
56 views

Retrosynthetic double arrow in chemfig

How to draw a double arrow in chemfig scheme:
0
votes
0answers
45 views

How To Draw a Monomer on Latex [duplicate]

I'm new to drawing chemical figures in LaTeX, so I can't really show my "attempt" Could somebody show how to draw the monomer for starch in LaTeX? It should look something like this by the time I'm ...
2
votes
1answer
90 views

chemfig: Error when using fine adjustment of bond

I'm having some problems when using fine adjustment of bond #(<dim1>,<dim2>) inside a definesubmol code. The output is correct, but return a error message: line 7: Illegal parameter ...
5
votes
1answer
97 views

Is there a simple/elegant way to color atom groups in chemfig?

I have a lot of molecules to draw. For teaching purposes I need to color certain atoms or group of atoms. Due to alignment of the main chain, I'm using a | symbol after each atom on group, combined ...
3
votes
2answers
107 views

Change font chemfig on LaTeX

Is it possible to change the font that chemfig uses (for example to Helvetica) without using XeLaTeX or LuaTeX, but keep the normal math font throughout the document? I tried \usepackage[helvet]{...
3
votes
1answer
110 views

Error when rendering svg

I'm trying to generate a svg image of a reaction mechanism. However I keep receiving the error: ! Undefined control sequence. \pgfsys@svg@newline ->\Hnewline when running the command make4ht -u "...
1
vote
1answer
105 views

LaTex ChemFig how to put parentheses around polymer?

\documentclass[12pt]{article} \usepackage[a4paper, margin=2.5cm]{geometry} \usepackage{chemfig} \begin{document} \begin{center} { \chemname {\chemfig{HO-[:30]-[:-30]-[:30]OH}} {Diol}\\ \bigskip \...
3
votes
1answer
49 views

How to vertically align (center) components in a chemical reaction?

is there a way to somehow align the components [-M-] and the arrow so that everything is vertically centered? Thank you in advance! \documentclass{article} \usepackage{chemfig} \begin{document} \...
3
votes
1answer
31 views

How to vertically align letter before brackets in chemfig?

how can I vertically center this little letter n before the left bracket? I want it to be not at top but instead at middle. Thanks in advance. \documentclass{article} \usepackage{chemfig} \begin{...
0
votes
0answers
37 views
4
votes
2answers
94 views

Chemistry Lewis Dot Diagram: Moving Square Bracket

\documentclass{article} \usepackage{chemfig} \begin{document} \schemestart \chemfig{\lewis{2.4.6.,C}-\lewis{2.6.0.,N}} \arrow \chemleft[ \chemfig{\lewis{4:,C}~\lewis{0:,N}}\chemright ] ...
4
votes
1answer
93 views

Color changes of orbitals in chemmacros

I'm trying to change the colors of these orbitals. So instead of the clear and blue color, I want them to be red and blue only. I tried changing the setup color, but just becomes red and clear or blue ...
1
vote
1answer
42 views

Moving labels for chemfigs

How do I modify or adjust the vertical and horizontal alignment of the labels? If I add spaces before or after the desired label, I can make a horizontal adjustment. But, I can't figure out the ...