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

learn more… | top users | synonyms

1
vote
1answer
47 views

Chemical reaction scheme with loop

I'm trying to produce the scheme in the figure on latex, so far my attempts are abortive. I've added here what I have so far using the chemfig package: \schemestart A \arrow{->[$k_{on}$]} B ...
0
votes
1answer
48 views

Alkenes and newman projections

Recently, I've written a latex document about stereochemistry, but i needed a lot of strange newman projection, I found lots of problem about alkenes. First of all, I had to draw alkenes, then my ...
4
votes
1answer
31 views

How to insert chemical names instead of structures in a chemical scheme?

I'd like to make a chemical scheme in a document I'm writing. However, the code I am trying to compile gives some errors. The error occurs at the line 11 (line after arrow command, with \chemname). I ...
4
votes
2answers
98 views

si units in chemfig

How can write si units in chemfig? I need to put angstrom symbol instead of "A". Here is my mwe: \documentclass[preview,border=10pt]{standalone} \usepackage{chemfig} \usepackage{tikz} ...
1
vote
1answer
61 views

Cyclo-hexane Newman projection

How can i draw this projection? I'm already using chemfig, so i prefer a solution with it. edit: as requested, here is my mwe \documentclass[preview,border=1pt]{standalone} ...
5
votes
0answers
50 views

Orbital shift when i use atoms near it

I'm drawing some orbitals and I noticed that when I have an atom near the orbital, the orbital shifts down a little (it's very ugly). This happens only if I put the hydrogen at the beginning of the ...
2
votes
1answer
69 views

Drawing chemical structure - newman projections

I'm trying to create a figure showing some different possible chemical structures of the butane molecule in the form of the right most diagrams in the below image and I'd like to know the best way to ...
1
vote
0answers
40 views

Using chemfig arrows between tikz nodes

I want to use chemfig arrows between two tikz nodes. I looked up chemfig manual. It has examples where chemfig scheme is drawn in tikz node, but no example of how to use chemfig arrows as tikz arrow. ...
2
votes
0answers
36 views

mis-aligned chemical names

I am using \chemfig for writing chemical symbols, but those symbols they are misaligned with the rest of the text. Is there a package that I should add? \documentclass[11pt]{report} ...
2
votes
0answers
35 views

Displaying chemical structure using chemfig in web browser

I have searched for an answer, but I don't find an answer neither on Google nor here. Is it possible to use chemfig for displaying chemical structure in a website, like it is possible to use the ...
1
vote
0answers
27 views

Chemfig - Handling horizontal overflow

When creating a large reaction scheme with some Polymers in it, the scheme can become pretty large and flow outside the page. I would like it to wrap and look like this: My LaTeX currently looks ...
1
vote
1answer
55 views

How to make phenyl benzene (Biphenyl)?

\chemname{\chemfig{*6(-=-(-{Cl})=-=)}}{Chlorobenzene} + 2 Na + \chemfig{*6(-=-=-(-{Cl})=)} $\xrightarrow{Ether}$ It is fitig reaction. The major product is biphenyl. I couldnt code that..
2
votes
1answer
55 views

chemfig double bond gap at joint

I'm using chemfig to draw chemical figures. However, when drawing double bonds as side group onto a carbon chain, I get a little gap. This behaviour is different e.g. in chemdraw, where it looks ...
0
votes
1answer
27 views

Moving a misplaced title underneath its chemical structure in chemfig?

I can't seem to get the benzopinacol name under its specific molecule, the one circled in blue. Is there any way to fix this? This is not only my first time using LaTeX but also my first time ...
6
votes
1answer
81 views

Forked arrows with chemfig and tikzpicture

this question has been asked in this link: Forked arrows with chemfig It is very helpful for me. I would like to thank Gonzalo Medina for his solution. However, I have two questions that I cannot ...
1
vote
1answer
29 views

chemfig: abbreviate a constitutional formula with round brackets

I'd like to abbreviate a constitutional formula with round brackets. In math mode it works: \documentclass{scrartcl} \begin{document} $\mathrm{CH_3-(CH_2)_3-CH_3}$ instead of ...
3
votes
2answers
129 views

Aligning benzene wrt. its centre, in chemfig

Back again, with more questions. This time, I need to align a reaction scheme involving benzene. This is what I currently have: \diagram[1.0]{ \schemestart[0, 1.5, thick] ...
0
votes
0answers
41 views

How can i write Chemical Equation using Chemfig

i want to ask where i have to write code \chemfig{A*5(-B=C-D-E=)} so that it will produce output as chemical Equation. same as : https://www.sharelatex.com/project/56a9a475a56d800704791d83
2
votes
1answer
83 views

How to draw an arenium ion with chemfig?

This question is fairly straightforward, I hope. I want to achieve this, including the plus and the incomplete circle. I can already draw the benzene bit with chemfig, positioning the plus and ...
3
votes
1answer
51 views

Parentheses within chemfig are shifted in height

I am trying to draw a polymer with repeating units using chemfig. However, my opening and closing parentheses are shifted in vertical direction. This is my minimal working example: ...
0
votes
0answers
79 views

Real-time editor(whiteboard) using Latex Editor

After studying tex for more then 3 weeks, I am still wondering, how can I create a real-time editor(whiteboard) to prepare notes with complex structure. Suppose I am having dictionary of latex symbols ...
4
votes
1answer
69 views

chemfig: L-shaped arrow

I have a reaction scheme with three compounds. In this I'd like to use a L-shaped arrow having the possibiliy to put labels on. This kind of arrow is not provied by chemfig, so I customized my first ...
2
votes
1answer
72 views

How to get \lewis or \Lewis (in chemfig) to have custom angles and not just 0-7?

I'm drawing a molecule (p-anisaldehyde) in which one of the bonds is at a 60 degree angle and the atom at the end is inside \Lewis{}. I would like to have the two electron groups on the end atom to be ...
4
votes
1answer
55 views

Inconsistent spacing between a molecule and its name with chemfig

Why am I getting all this blank space after the phenylalanine molecule? \documentclass{article} \usepackage[dvipsnames, svgnames, x11names, table]{xcolor} \usepackage[version=4]{mhchem} ...
3
votes
1answer
36 views

How to define the exact starting point of a mechanistic arrow in chemfig

I want to draw a radical reaction mechanism and obviously the arrow should start at the lone electron and not at the corresponding atom. How could I achieve this? This is my code: ...
5
votes
1answer
52 views

can't get to run chemfig module properly

I did structure formulas with latex before, but now I wanted to reaction mecanisms with electron movement arrows and everything. I used some example code to try and get to know the principles, but it ...
2
votes
1answer
51 views

How do you draw a dative bond with chemfig?

How do you draw a dative / coordinate bond with chemfig? I would like to have the bond to appear as an arrow.
6
votes
1answer
56 views

Updated chemfig gives errors for previously working code

I've just installed TeX Live 2015 vanilla and I tried to compile some old sources just to be sure that everything worked. TeX Live works, but I have problems with some code that I've unashamedly ...
0
votes
1answer
68 views

chemfig formula in table - vertical alignment

I want to create numbered chemical formula via chemfig environment. MWE: \documentclass[a4paper,fleqn,leqno]{article} \usepackage{polyglossia} \usepackage{tikz,tikz-3dplot,graphicx} ...
1
vote
1answer
33 views

Reducing arrow margin in chemfig

Im trying to get a figure with a chemfig drawing to fit in my column. I cannot scale the entire figure with scalebox, as the text set with \chemname{} will be scaled too. \setatomsep{1.2em} ...
3
votes
1answer
106 views

Looking for help of Chemfig professional to draw a complex molecule

Can someone help me with the complex drawing of iron(II) protoporphyrin IX using chemfig or else? I know this is a bad question but this exceeds my skills by far (i just began using this package) and ...
1
vote
1answer
76 views

Help drawing myoglobine scheme with chemfig

Can someone help me to get a result like this with chemfig (or something else)? i know to get this: \documentclass{article} \usepackage{chemfig} \usepackage{mhchem} \begin{document} ...
1
vote
0answers
79 views

how do I call a function to compute angles in chemfig?

I want to generate chemfig code that instead of having fixed angles allows for some modification of groups of figures in a consistent way. So, I want to write things like the last line below, ...
5
votes
2answers
109 views

How to align all the molecules, the + sign and arrow at the same level?

I use the chemfig package to draw molecules in a chemical reaction. However, I cannot align the molecules, the + sign and arrow at the base line. I have tried the \vphantom command, like in this ...
4
votes
2answers
72 views

How to prevent \underbrace from overlapping with a \chemfig?

A chemical formula I'm annotating overlaps with an underbrace, unless I use brackets. How can I prevent overlap without placing brackets? MWE: \documentclass{article} \usepackage{chemfig} ...
1
vote
0answers
45 views

I am trying to make these chemical molecules into a nice table

I am writing a organic chemistry report and would like to create a nice table with these two molecules with captions A and B to fit into a lab report ehtyl acetate toluene Here is my code: ...
3
votes
1answer
95 views

How to align molecules structure at the base line?

I am using ChemFig package to compile some molecule structures, however, I cannot align them at the base line. See picture 1. How could I align all the molecules, the arrow and "+" sign in the ...
3
votes
1answer
79 views

Using mhchem and chemfig: how to make image smaller and let it fit vertically?

Code \documentclass[10pt, a4paper]{article} \usepackage{lipsum} \usepackage[utf8]{inputenc} \usepackage{chemfig,stackengine,graphicx} \usepackage{xcolor,tikz} \usepackage[version=3]{mhchem} ...
5
votes
2answers
234 views

Wall, molecules and drawing with tikz/chemfig

I would like to get to this result: This is the code till now: \documentclass[10pt, a4paper]{article} \usepackage{lipsum} \usepackage[utf8]{inputenc} \usepackage{chemfig,stackengine,graphicx} ...
2
votes
1answer
85 views

Using chemfig for copolymers i.e. polymers and 2 sets of parentheses

I'd like to use chemfig for copolymers. I have followed the demo for creating parentheses for polymers, but I've been having trouble figuring out how to get the two middle brackets to line up without ...
6
votes
1answer
123 views

chemfig: how to align the arrows of different schemes?

I am trying to get the arrows of three different schemes aligned but would like to have text in between them, as you can see below. Despite searching for hours, i haven't found a solution.. ...
0
votes
1answer
67 views

Create with chemfig a repeating unit of Si-O

I want to recreate this picture found on wikipedia, but with only the group in the parentheses.
0
votes
1answer
91 views

Chemfig error while trying to make a polymer

I have the following code (which I found somewhere around this page) to make polymer figure \usepackage{chemfig} \usepackage{mhchem} \makeatletter ...
1
vote
0answers
25 views

How to draw the wavy line meaning that part of a molecule has been omitted, in chemfig [duplicate]

[EDIT] I've just found this answer, but I'm working on it because I'd like the wavy line to be separated from the bond. I'm trying to write this reaction scheme: I had defined a macro for the ...
1
vote
1answer
87 views

Molecule positioning in chemfig reaction schemes

I need to write this reaction scheme: But I can't figure out how to place the NADH molecule like it is in the figure. Help me please, thanks! Thanks to Clemens' comment, I've worked out this ...
3
votes
1answer
167 views

Match chemfig arrow with mhchem arrow style

I really need to have all arrows set as the TikZ stealth arrow, or similar, by default for the whole document. The arrow style must be consistent, the length and spacing aren't a real problem. Most of ...
4
votes
1answer
114 views

How to set default arrow tips in Chemfig?

I want, for example, \arrow{->} (and \arrow{<->}, \arrow{<=>}... too) to draw an arrow with the "stealth" style tip. How can I do that?
2
votes
1answer
45 views

Need help to make space ind the bondings \chemfig

I am trying to build a Sucrose structure scheme in LaTex but i have some trouble. I can't figure out why i can't make the binding between the vertical H's longer so there is more space for the ...
4
votes
2answers
122 views

The two components of a double bond in different colors?

Using chemfig with the beamer class, I need to show the two "single bonds" of a double bond in different colors. It should be possible to change these colors for a given double bond on different ...
4
votes
2answers
113 views

Scale chemfig molecule in beamer with tikz

I want to show three different molecules on a beamer slide. The slide contains a tikzpicture (for positioning and uncovering together with the other elements), three nodes contain one molecule each. ...