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

learn more… | top users | synonyms

4
votes
1answer
43 views

Distance between arrow and reaction product

Please tell me, How I can reduce a distance between arrow and feed substances. I want the same distances at all three directions. To make it clearer, I explain: I drew the side substances as a massive ...
4
votes
1answer
124 views

How do we mirror a reversible reaction arrow in chemfig

In Chemfig, the reversible reactions are represented with a double harpoon. The top one goes from the left to the right, the bottom from the right to the left. One can rotate this double arrow. But I ...
4
votes
1answer
142 views

chemfig: Colored atoms don't align, and how to draw bonds to an electric charge?

So I want to show the ionic interaction between a molecule and a charged element. But when I use color to highlight a part of the molecule, the bond alignment is no longer correct. The first example ...
4
votes
1answer
202 views

Relative positioning of Lewis electrons in chemfig

I am defining a submolecule in chemfig (2,2'-bipyridine) and I want to show the lone pair of electrons on both the Nitrogens. (For those who care, I wish to show a coordination bond between the lone ...
4
votes
1answer
536 views

joining atoms in chemfig. Two adjacent molcules

This is a follow up of drawing cellulose and aligning monomers in chemfig. I'm trying to refine the structure adding some hydrogen bonds. No problem with the intra-chain ones, but I cannot figure ...
4
votes
1answer
435 views

How to modify just some nodes' styles in chemfig

In the following molecular drawing, I want to only circle the rightmost OH of the first molecule and the leftmost H of the second, to show that they are the ones that are involved in the formation of ...
4
votes
1answer
207 views

How to line up the arrow and structure in chemfig

I have the following problems: in the first reaction scheme the arrow is too high and I would like to bring it a little down. in the second reaction scheme the third chemical structure (after the ...
4
votes
1answer
160 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
222 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
2answers
91 views

Labeling Species of a Chemical Reaction

My code is: \documentclass[12pt,letterpaper]{report} \usepackage{blindtext} \usepackage[utf8]{inputenc} \usepackage[margin=1in]{geometry} \usepackage{titlesec} \setcounter{secnumdepth}{5} ...
3
votes
4answers
130 views

Chemical structures drawing: {table} vs \chemfig

I write a chemical structure as a table. Please help me understand, How can I reduce the distances between the rows and columns in a table? This is the structure of the zeolite and would like to make ...
3
votes
1answer
103 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
573 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
2answers
77 views

chemfig: align multiple reactions

How can I align multiple reactions to the reaction arrow using chemfig? In the MWE, I want to align the two reactions to the arrow. \documentclass{minimal} \usepackage{chemfig} \begin{document} ...
3
votes
1answer
83 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
2answers
233 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
151 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
2answers
51 views

chemfig chemname alignment in schemes

After careful consultation of the chemfig documentation and looking up a couple of questions here, I am struggling to find a solution to get these correctly aligned. They are inside a box which is ...
3
votes
1answer
72 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
1answer
237 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
95 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
153 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
147 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
453 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
122 views

How do I insert the double dagger symbol for transition state?

I'd like to use the double dagger symbol of the transition state after a squared parentheses in chemfig. Here it is what I've managed to do: \documentclass{article} \usepackage[italian]{babel} ...
3
votes
1answer
84 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
96 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
88 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
231 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
125 views

How I can write polymeric reaction in latex

Is it possible write this reaction in latex ? I used this code, but the "image" of raction is very big. How I can reduce it ? \documentclass[12pt,twoside,a4paper,openright]{report} ...
2
votes
2answers
203 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
345 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
200 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
92 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
419 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
597 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
58 views

Custom label for chemical structures

I need a custom label for my chemical structures and everything works fine but the label isn't centered. Does anyone know how to center the label? \documentclass{minimal} \usepackage{hyperref} ...
2
votes
1answer
86 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
140 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
52 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
120 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
232 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
227 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
0answers
121 views

chemfig: reaction above arrow

I want to typeset a small reaction above a reaction arrow inside a scheme. Putting a \subscheme{} into the first of argument of \arrow unfortunately breaks the layout. Should I just try to position ...
2
votes
1answer
68 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
139 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
185 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
165 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
2answers
97 views

chemical scheme not elegant

I want to make this chemical scheme: I try with this code. But not very elegant. Somebody can I help me ? \documentclass[12pt,twoside,a4paper,openright]{report} ...
1
vote
1answer
101 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 ...