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

learn more… | top users | synonyms

4
votes
1answer
140 views

Anchor point seems incorrect for Chemfig package

I'm trying to use chemfig to draw a basic schematic for enzymatic browning and have encountered a problem. In the bottom reaction (bottom right to bottom left) quinone is formed by the enzyme (denoted ...
3
votes
2answers
201 views

Creating ethane using \chemfig

I was tinkering with chemfig package. I created the macros \documentclass{article} \newcommand{\lmethyl}{C(-[2]H)(-[4]H)(-[6]H)} \newcommand{\rmethyl}{C(-[2]H)(-[6]H)-H} ...
3
votes
1answer
1k views

How can I fix this overfull hbox?

\documentclass[10pt]{article} \usepackage{chemfig} \usepackage[margin=1.2in]{geometry} \newcommand{\chem}{\setatomsep{2em}\chemfig} \begin{document} \begin{itemize} \item[--] 1$^\circ$ Alcohol ...
3
votes
1answer
60 views

In chemfig, grouping with \color ineffective, unlike \textcolor

Some strange behaviour which contradicts the documentation was encountered when creating a figure of 5-cafeoylquinic acid with chemfig. It is stated in the manual that The atoms are displayed in ...
3
votes
1answer
425 views

List of schemes, caption and lining up the reaction in chemfig

I have several question regarding LaTeX and chemfig. My first question is : how to create a list of schemes similar to \listoftables and \listoffigures so I can add my reaction schemes to newly ...
3
votes
1answer
57 views

How to change the default value bond length to an absolute value in chemfig?

Chemfig allows you to set bond length in the second argument of the bond, like -[,2] (a multiple of 2 to the default value). How to set the value of bond length for an absolute value (like 5mm), ...
3
votes
1answer
137 views

Chemfig reaction to wide for twocolumn

For a paper I have to describe certain reactions. I am using the chemfig package to do this. The paper has to be two columns and this is where it goes wrong. When I compile this reaction: ...
3
votes
1answer
41 views

Problem with mesomeric effect in chemfig

I'm trying to draw mesomeric effect for a molecule using chemfig I would like to create something like this: From the documentation page (see chapter 11 "Representing electron movements")seems easy ...
3
votes
2answers
181 views

Forked arrows with chemfig

How can one make a forked arrow in chemfig? Semantically it is exactly opposite to \merge command but seems like it's not implemented in a package. I don't have any experience with TikZ graphics but ...
3
votes
1answer
205 views

Representing movement of a single electron

I would like to represent the movement of a single electron in a reaction mechanism (grignard-reaction) Is there a predefined arrow (something like a harpoon) for that in chemfig? Or does anyone have ...
3
votes
1answer
67 views

How do I refer in the text to a molecule drawn with chemfig?

I just found chemfig fantastic for drawing even difficult molecules. Now, I have a question: how can I put under the molecule a line with a caption like "Figure #: captiontext" and, even more ...
3
votes
1answer
131 views

Can I annotate the links in chemfig?

chemfig is really great chemical picture editor, but just one problem doesn't allow me to continue the work. In the picture below, you see the chemical picture from the book with numbered links and ...
3
votes
1answer
131 views

How to cross off the structure in chemfig

I do not know how to cross off the structure in chemfig. It should look like on the picture Thanks! Here is my sample code: \documentclass[12pt,doublespacing,letterpaper]{report} ...
3
votes
1answer
398 views

Chemfig: how to write vertically?

I am trying to create a reaction scheme using chemfig. I can not understand though how to have text written vertically. Say my set of reaction A+B -> AB, A+C ->AC If I start writing \startscheme ...
3
votes
1answer
65 views

Connecting two rings in chemfig

I've spent literally all day trying to figure out how to make this work and I'm completely stuck. I'm trying to make something similar to from this site and I cannot for the life of me get the ...
3
votes
1answer
78 views

Using \chemabove/\chembelow with \vflipnext

I have a molecule with a \chemabove command in it, and I'd like to mirror it vertically with \vflipnext. Everything is flipped just fine except for the atom positioned with the \chemabove command, ...
3
votes
1answer
80 views

How to cross off the structure with an anchor in chemfig

I am trying to cross of the structure after the arrow (with an anchor) but I get a mess. I've been told how to do that without the anchor. I was trying to move a "cross off" command to different ...
3
votes
0answers
199 views

Is it possible to use nodes as anchors?

I'm trying to recreate a rather complicated reaction scheme with chemfig and TikZ. For that, I'd like to position several amino acid side chains at specific positions. What I'd like to do is to use ...
2
votes
2answers
178 views

How can I float molecules in \chemfig around an element? (without the lines)

For example: I just want to show that the H2O molecules are attracted to the Carbon atom. I can't find a way to remove the lines connecting the Oxygens to the Carbons or how to extend the Hydrogens ...
2
votes
3answers
254 views

How to scale a scheme in chemfig, using the figure environment

I am trying to scale a reaction scheme generated with chemfig to .9/textwidth. Below is my MWE. \documentclass{report} \usepackage{chemfig} \usepackage[version=3]{mhchem} \begin{document} ...
2
votes
2answers
162 views

Chemfig - Name some compounds under a single label

I know within the chemfig package compounds can be named with the command \chemname. Is there a way to label some compounds under a single label? For example, put a label "Reactants" under the ...
2
votes
1answer
83 views

Where does the \setarrowlabelsep argument go within the scheme environment in chemfig?

I tried looking in the documentation, but I can't seem to find the exact position for the \setarrowlabelsep in the \schemestart environment of the chemfig package. I would like the label Gpx shifted ...
2
votes
1answer
347 views

Define ring bond length in chemfig

How can one define the bond length for a ring system in chemfig? **6(-[,0.5]-[,0.5]-[,0.5]-[,0.5]-[,0.5]-[,0.5]) does not work, sadly. EDIT: The answer provided resizes the ring system, but not the ...
2
votes
2answers
543 views

Where is the TexLive 2010 default package directory located in Windows 7 64-bit?

Where is the TexLive 2010 default package directory located in Windows 7 64-bit? I'm led to believe it should be in C:\texlive\2010\texmf\tex\latex but that appears not to be the case and I cannot ...
2
votes
1answer
80 views

Zero length bond in chemfig?

As you can clearly see in the high quality diagram above, I'm looking for a way to get the nitrogen and hydrogen bonded like that in chemfig.
2
votes
2answers
122 views

Changing space between atoms in Chemabove

Consider this example: \documentclass{memoir} \usepackage{fontspec} \usepackage{chemfig} \usepackage{unicode-math} \pdfmapline{+arial arial <8r.enc <sAarial.ttf} \begin{document} ...
2
votes
1answer
36 views

Name in chemfig: on rotation it is placed above, rather than below the molecule itself

please consider the following \documentclass{minimal} \usepackage{chemfig, xstring} \begin{document} \definesubmol{allicin}{% % 1 =[::90]S% 2 ( -[::60]% 3 ...
2
votes
1answer
81 views

Creating delocalized double bonds in chemfig without tikzset?

I'm trying to create a delocalized double bond, similar to the example given in the chemfig documentation. They suggest using the tikz library package {decorations} to implement this. Before running ...
2
votes
1answer
193 views

Generate png images of chemical structure using LaTeX, dvipng and chemfig

How to generate .png images of chemical structures using LaTeX, dvipng & chemfig ? What packages need to be included ? Is there any reference article for same ?
2
votes
1answer
189 views

Scaling molecules on top of arrow with chemfig

i've a problem with chemfig-package. I want to draw some mulecules above an \arrow{-U>}, but i can't scale them in the right way. Does anybody has an idea to work around or do I just made a ...
2
votes
1answer
61 views

Bug in \arrow label?

I am trying to scale a molecule which I have as a label over an arrow in a reaction. For some reason, it seems I can't do it and I always get the following error: Argument of \CF@chemfig@i has an ...
2
votes
1answer
92 views

Vertical alignment of molecules

\begin{scheme}[h] \centering %\setcrambond{3pt}{1pt}{1pt} %\setbondoffset{3pt} \scriptsize\chemfig{(-[::60]R_1)(=[::180]O)-[::-60]O-[::-60]-[::60](-[::60]O-[::-60](- ...
2
votes
0answers
174 views

Chemfig artifacts next to bonds [closed]

When drawing reaction schemes with chemfig I get unwanted small dots next to certain molecules. These dots remain the same size weither I zoom in the document or not. \documentclass{article} ...
1
vote
1answer
77 views

Draw molecule charge in latex using chemfig?

I've got a lewis dot structure diagram as seen in the following image: However, I would like to have brackets on the outside to indicate the positive charge, since this is supposed to represent H3O ...
1
vote
1answer
68 views

How do I selectively change bond length in chemfig?

Hi I am trying to create a triacylglycerol molecule with the chemfig package.. I am pretty close. The backbone has three side chains and double bond off the C atom is running into the previous side ...
1
vote
2answers
329 views

alignment problem with the + sign in chemfig (zero width arrow)

I created two molecules in chemfig and would like to place a + mark vertically aligned in the middle between the two molecules. There is an example of this demonstrated in the manual (see the code), ...
1
vote
1answer
62 views

A hyphen is not displayed in chemfig

I have a problem with a hyphen that is not displayed (according to my pdf file) in a chemical structure (after the arrow, {n}-Bu_4N^+)=-=)), although it is present in the code. My sample code is ...
1
vote
1answer
168 views

chemfig chemname alignment

I wish to have a reaction in \chemfig and write some details under each molecule so am using the \chemname command. It puts the text under the molecule. However, as I have arrows in the reaction ...
1
vote
1answer
301 views

Chemfig - Proper Vertical Aligning in Chemical Reactions

I have the following chemical equation in Chemfigs: \documentclass{article} \usepackage{chemfig,chemmacros} \begin{document} \schemestart 2 \chemfig{-[:30](=[:90]O)-[:-30]OH} \arrow ...
1
vote
1answer
261 views

Chemfig, TikZ, circle diagram

I have a problem with drawing such a complex diagram in using Chemfig (a picture of diagram should be attached) . The Chemfig manual describes how to draw curved and U-type arrows but all my attempts ...
1
vote
0answers
58 views

Numbering of equations in chemfig

This might be a stupid question, but how do I number my equations in chemfig? I've drawn this rather complicated equation in chemfig, but I have no idea how to number it. I was hoping to have it ...
0
votes
2answers
160 views

Latex with chemfig to Word document

I have the following situation: I am writing my thesis in Latex and my adviser, who has never heard about Latex, decided to edit my thesis in MS Word (initially, he made corrections on the printed ...
0
votes
0answers
37 views

Saving Chemfig submolecules in a separate file, to be recovered into beamer

Please consider the following code \documentclass[t]{beamer} \usepackage{chemfig} \begin{document} \begin{frame} \frametitle{1st frame} \definesubmol{x}{-[:+30,.6]-[:-30,.6]} ...
-3
votes
1answer
290 views

I need to draw the chemical Structural Formula of Bisphenol A [closed]

I need to draw the chemical structure of Bisphenol A as shown on this page: http://commons.wikimedia.org/wiki/File:Bisphenol_A.svg I've also found this presentation how to do it: ...