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

learn more… | top users | synonyms

1
vote
1answer
37 views

How to get Anki working with TikZ-based packages?

Since I have been struggling with this for some time and the issue is nowhere to be found on the Web, I thought to ease up some people's lives by posting this question here. Assumption: Basic ...
1
vote
0answers
45 views

Obsolete ChemFig package usage

I have a figures, which was drawing in ChemFig v1.0. In the old days, all perfectly compiled (TeXstudio), but now with the release of ChemFig v1.2, I have mistake "Undefined control sequence. \chemrel"...
4
votes
1answer
34 views

Undefined control sequence \pgfsyspdfmark converting Standalone TikZ with pdflatex

My ultimate goal is to get chemfig working with AnkiSRS. It only accepts .png as latex output, so I need to compile with pdflatex and then convert the file from within the latex environment. I am ...
2
votes
0answers
30 views

Arranging vertical reaction with “plus(+)” in chemfig scheme

I'm now trying to draw some basic chemistry scheme with the package "chemfig". I tried to draw something like this: Actually I successfully created the image above via the following code: \...
0
votes
1answer
21 views

In chemfig how do I notate an empty bond?

In certain contributions to resonant structures of some compounds there is not a bond between two separate parts and so the total bond is less than one. How would I position the parts as if they were ...
3
votes
1answer
33 views

How to rotate a “-U>” arrow appropriately in chemfig

I'm using chemfig to create a structural formula of a reaction. I'm showing two alpha-amino acids that are reacting and generating a 2-residue peptide when loosing a molecule of water and I want to ...
0
votes
1answer
52 views

Draw Inductive effect bond

I want to draw Inductive effect on the bond of molecular. What is the code if I use ChemFig? Thank you.
1
vote
1answer
57 views

Problems with Mol2chemfig code

I have to include organic molecules into a report and for that reason I wanted to use chemfig. After having installed the package I tested it with one of the first lines of code in the documentation: \...
3
votes
1answer
68 views

Chemical Scheme with tikz-visible wobbles

I encountered a problem when using chemfig-schemes inside of a tikzpicture and the visible-tikzset. The chemical structures wobble upwards, but only on the second slide; every slide after that stays ...
1
vote
1answer
85 views

Chemistry: Experimental page with Chemfig, tikz, chemnum

I'm currently writing my Master Thesis in Organic chemistry. Since this is uncomfortable in word having many graphics and numbering I figured Latex would be best. Yesterday I discovered chemfig and ...
1
vote
0answers
39 views

ChemFig - Interaction with aromatic ring/delocalised notation for isomers

OK, as it seems neither the manual nor google find an answer, maybe "you" as a community have an idea. Can I draw an aromatic ring with a delocalised bond (attached to the ring) in ChemFig? One ...
0
votes
1answer
61 views

Lewis structures in chemfig [duplicate]

I want to do something like this using chemfig. I watched the chemfig guide but I can't find a solution. Can you help me? (Sorry, my english is not very good)
1
vote
0answers
63 views

chemfig - Redox semi-reaction

It is possible write the two redox half-reactions inside a brace, so as to obtain a thing as in this figure? I'm using chemfig package
1
vote
0answers
31 views

Fix spacing of a chemfig in tabular environnement

I have a tabularcontaining several chemical formulas and unfortunately, even though the text is spaced correctly the molecules touch the border like this: Code : \subsubsection{Groupes} \begin{...
1
vote
1answer
61 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
58 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
42 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
112 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} \begin{...
1
vote
1answer
83 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} \usepackage{chemmacros}...
7
votes
1answer
80 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
115 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
57 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
1answer
62 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} \usepackage[...
2
votes
0answers
64 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
36 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
76 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
66 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
36 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 coding....
6
votes
1answer
108 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
32 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 $\mathrm{CH_3-CH_2-CH_2-...
3
votes
2answers
141 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] \chemfig{**6(------)}...
0
votes
0answers
47 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
97 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
56 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: \documentclass[...
0
votes
0answers
91 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
88 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 ...
3
votes
1answer
93 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
73 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} \usepackage{...
3
votes
1answer
38 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: \documentclass[...
5
votes
1answer
71 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
69 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
58 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 ...
1
vote
1answer
92 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} \usepackage{...
1
vote
1answer
41 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
140 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
92 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} \chemname{\...
1
vote
0answers
80 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
141 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
91 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} \begin{...
1
vote
0answers
57 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: \...