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

learn more… | top users | synonyms

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 ...
4
votes
1answer
235 views

How to annotate this chemical scheme using chemfig package?

To depict a chemical scheme with more than one reactant and more than one product, I used the handy package chemfig. I found some issues though annotating the below chemical reaction in a better way. ...
6
votes
1answer
471 views

How to draw/annotate with TikZ on molecules drawn with chemfig package?

I have just discovered the TikZ spin-off chemfig package for chemistry drawings. I just wanted to add some transparent box to highlight a certain region of the drawn molecule with some text using ...
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 ...
1
vote
1answer
251 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 ...
5
votes
2answers
391 views

Fine tuning parentheses inside chemfig

I have the following code: \documentclass[12pt]{report} \usepackage{chemfig} %these for bonds in chemfig \setdoublesep{0.35700 em} % 'Bond Spacing' \setatomsep{1.78500 em} % 'Fixed Length' ...
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 ...
3
votes
1answer
94 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, ...
4
votes
1answer
203 views

How to line up a chemical structure in the table (chemfig)?

I have a table which has three rows of chemical structures. The structures in the second row are not lined up with the first and third rows. I tried to use \vspace to bring the structure down but it ...
1
vote
1answer
73 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 ...
5
votes
1answer
188 views

Fill the background of functional groups in chemfig

I want to fill the background of some functional groups or atoms including bonds to emphasize them. For instance, to emphasize carbonyl group in a keton, fill the background of C=O like: I'm using ...
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 ...
4
votes
1answer
206 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 ...
0
votes
2answers
181 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 ...
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} ...
4
votes
2answers
193 views

Two arrows in a row in chemfig

I have a problem drawing two arrows in a row in chemfig. I need : A->->B but when I place two arrows, I get a space between them which I don't need: A-> ->B How to fix that? Any help is ...
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 ...
5
votes
2answers
231 views

Two chemfig lewis diagrams side by side with labels below

MWE: \documentclass{report} \usepackage{chemfig} %for chemistry diagrams \begin{document} \vspace{10mm} \setatomsep{2em} \begin{center} \chemfig{% ...
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 ...
2
votes
2answers
199 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 ...
1
vote
1answer
408 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 ...
3
votes
1answer
570 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 ...
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
3answers
343 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} ...
1
vote
1answer
293 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 ...
4
votes
1answer
2k 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 ...
5
votes
1answer
354 views

Chemfig new line reaction scheme

I just recently started using LaTeX and chemfig and have a question in regard with making a new line in the text below or above the reaction arrow. I am trying to place MW, 160C, 5min under Na2CO3, ...
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.
8
votes
2answers
362 views

Chemfig package compatibility

Looking for help on the following problem: I am trying to use chemfig package in my document, however after initial insertion had the following error: !No room for a new \dimen. I found No room ...
5
votes
1answer
294 views

amino acids with chemfig, some bonds are falsely positioned

I produced all of the amino acids for my thesis, but Proline and Histidin keep bugging me. I would like to place the -= bond that is now from H to H+ in Histidin from N to N and the bond - from C ...
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
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
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} ...
4
votes
1answer
186 views

How can I place H_2 on top of a N ? (aspartic and glutammic metal complexes)

Please consider the following code \documentclass{article} \usepackage{chemfig} \newcommand*\circleatom[1]{\tikz\node[circle,draw,fill=green!30]{\printatom{#1}};} \begin{document} ...
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 ...
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 ...
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: ...
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 ...
10
votes
1answer
517 views

drawing cellulose and aligning monomers in chemfig

The problem I had to face yesterday was related to draw a cellulose molecule with chemfig. In particular I'm not familiar with tikz, so I had problems in aligning the monomers. I was used to ...
5
votes
2answers
290 views

Chemfig: colour entire atom or section of atom

I have a molecule (in this case a copolymer) where I would like to hilight the monomers by colouring a number of atoms. Is there a more efficient way to do this than colouring each atom and bond ...
5
votes
2answers
401 views

uncover chemfig molecule (in beamer)

I teach chemistry and wish to demonstrate drawing and naming of chemical structures I use chemfig to draw my molecules and I can do that fine. However, in for example the molecule ...
4
votes
2answers
670 views

Drawing Kinetic Schemes in Latex

Do you think it would be possible to use the mhchem package and their arrows (e.g. <=>>) in drawing a cyclic kinetic scheme such as : or do you think it would be better to use a different ...
5
votes
2answers
1k views

How to draw parentheses inside chemfig?

I have the following code: \chemfig[][scale=0.6]{ CH_2=[:-30]CH-[:30]C(=[:90]O)-[:-30]O-[:30]CH_2CH_2-[:-30]O-[:30]C(=[:90]O)-[:-30]CH=[:30]CH_2 } Which gives me this image: Now I want to draw ...
5
votes
1answer
176 views

Problem with alignment

I have the following tikz code: \schemestart \chemname{\chemfig[][scale=0.6]{ ...
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 ...
6
votes
1answer
179 views

Missing bond type in chemical rendering packages?

I've read all the questions regarding chemical structure rendering that I could find on this website. I've decided to use chemfig to render the structures. One certain type of bond, illustrated ...
5
votes
1answer
550 views

Placement of caption in \chemfig via \chemname command - how to reset spacing

I'm trying to put a number of different molecule structures into one document with the help of the chemfig package. The package also allows to add the name of the compound to the structure as a ...
1
vote
2answers
382 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), ...
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 ...