Questions tagged [chemfig]

{chemfig} is for questions pertaining to the use of the chemfig package for drawing 2D molecules and reaction schemes.

Filter by
Sorted by
Tagged with
5
votes
1answer
314 views

Individual atom font size in molecule structure using ChemFig package

I'm trying to display the bondings movement/vibration due to heat. I am able to recreate all the movement (together with animate package) except the "wagging" and "twisting" (please refer here for ...
2
votes
1answer
116 views

How to use parentheses in non-polymer molecule

I would llike to draw the following molecule in tex using chemfig: I tried in the following way: \chemleft[ \chemfig{HOH_2C-[:-60]P^{+}(-[:-120]HOH_2C)(-[:-60]CH_2OH)-[:60]CH_2OH }\chemright]${}_2$\...
2
votes
1answer
208 views

chemfig: vertical alignment of coefficient

I try to show thermal decomposition of Benzoyl peroxide (BPO) with chemfig. But I don't get the coefficients („2“) vertical aligned properly. \documentclass{standalone} \usepackage{chemfig} \begin{...
1
vote
1answer
120 views

Shifting Arrows Down in Chemformula

I would like to shift the arrow and the CO down so that it is more to the middle of the structure on the left. I am not sure how to shift arrows in the chemformula package. My code so far: \...
4
votes
3answers
253 views

Drawing haemoglobin and Ligands

I'm trying to generate this shape but I am having problems with connecting the nitrogen atoms with the slightly curved lines as shown in the diagram. Is there anyway using the chemfigpackage (or any ...
6
votes
3answers
315 views

Chemfig submolecule that takes an argument

I'm trying to recreate a figure that has many molecules, most of them are like the following structure: Varying only what's 'X' and what's 'Y'. So, a normal submolecule doesn't really help, because I ...
2
votes
1answer
255 views

How to arrange picture, equation and chemical formula in a grid-style layout?

For an optical representation, I need to arrange a picture, an equation and a chemical formula in a grid-style layout. However, it's much harder than I thought. First I tried tabu, but the vertical ...
3
votes
2answers
231 views

Positioning chemfig structures in TikZ nodes

With the following MWE (well not quite M!) I don't understand why, when I change from an ellipse box to a rectangle box (by uncommenting the corresponding lines), the molecule are shifted out of the ...
1
vote
1answer
121 views

How to shift the ring inside an aromatic ring in chemfig

I am currently drawing the molecular structure of Benzocyclobutene (BCB). I want it to look like this My LaTex code looks currently like: \documentclass{article} \usepackage{chemfig} \renewcommand*\...
3
votes
1answer
193 views

ChemFig, Beamer, and Uncover

I want to utilize beamer's \uncover command within ChemFig's reaction scheme environment, i.e.: \schemestart \chemname[-1ex]{\chemfig[][scale=1]{*5(-=(-=[:-60]O)-O-=)}}{Furfural} \uncover<...
2
votes
1answer
155 views

I want to reproduce a reactionscheme with Chemfig/Tikz

I want to reproduce the reactionscheme on page 1322 in the paper to which the following link leads (Figure 1). Link to the paper. I am trying this with Chemfig and I was able to reproduce the circle ...
3
votes
1answer
281 views

Stacking molecules vertically

I've been using Chemfig to try to draw the following image: So far, this is what I've been able to get: I'd like to be able to stack the 3 Biodiesel molecules vertically like the original picture, ...
6
votes
1answer
369 views

How to draw polymers in ConTeXt mkIV with chemfig?

I would like to draw polymers with chemfig, using ConTeXt. In chemfig's documentation, we find a solution defining a macro that works well on LaTeX, but not compatible with ConTeXt (I use the mkIV ...
2
votes
1answer
160 views

Why does this chemfig bond with a hook start in the middle of the atom?

I've been using the chemfig package to typeset my chemistry notes, and when trying to make an arene something went wrong: Naturally, I'd like it to not start from the middle of the atom. The chemfig ...
3
votes
1answer
237 views

Aligning molecule name within a reaction using chemname

I want to align the chemical names of my components without moving the structure. Does someone have an idea how that works? \schemedebug{true} \schemestart \setcrambond{2pt}{}{} \chemname{\chemfig{H-[...
3
votes
1answer
483 views

Alignment of chemfig molecules in a reaction

I'm using chemfig for my chemistry course this period, and facing problems with the alignment of the molecules, arrows, + signs and also the names. Basically everything is messed up haha. Can someone ...
2
votes
0answers
113 views

`chemfig` customization and vertical alignment

In this blog entry by Joseph Wright I found a piece of code which redefines chemifg's \printatom command to use mhchem's \cf command, allowing (amongst other things) for sans serif typesetting. This ...
3
votes
1answer
261 views

How to put a box around atoms in ChemFig?

How does one put a box around a group of atoms? For example, I'm looking to put a box around the hydroxyl group with its bond (--OH) in the following molecule and can't seem to get any luck with the ...
1
vote
1answer
408 views

Radicals, radical ion and friends in chemfig (again)

I read many related questions but could not find the solution for this (apparently simple) problem on which I spent too much time. Starting from the code used Radical ions with chemfig I tried to draw ...
3
votes
2answers
114 views

How to delete the space near the arrow in chemfig package?

I have a problem with alignment of two chemical reactions \documentclass{article} \usepackage{chemfig} \begin{document} \begin{figure*} \begin{flushleft} \schemedebug{true} \schemestart A\arrow{->}...
1
vote
1answer
99 views

Adding a letter to the side in chemfig

As you can see in the below MWE, at the bottom of the molecule, a bond can be seen coming out of a hydrogen (H) atom where it should be coming out of the nitrogen atom (N). I was looking for a command ...
3
votes
1answer
80 views

Boxes with chemicals

Starting from this example Boxes with text and math , I wanted to stack different boxes to have the first 2 above the others. But I got the following result: My code is the following: \documentclass[...
3
votes
1answer
177 views

Improving chemfig drawing

As a learning exercise I have been trying to replicate the structure of LSD using chemfig. I've taken this figure for reference. My best effort so far has been this... \documentclass[border=10pt]{...
1
vote
1answer
196 views

How to take away extra bracket with \chemfig?

I just started using chemfig and I need the formula for a polymer. Everything is perfect except the fact that I have an extra bracket, as you can see from the picture. My code is the following (the ...
5
votes
1answer
324 views

How to fix chemfig's chemmove in XeTeX

When trying to compile the given example in the chemfig manual "Esterification: Step 1" (p. 22, sec. 11.2) with xelatex, the output does not match the expected result given in the manual. When ...
8
votes
1answer
2k 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 LaTeX ...
7
votes
1answer
3k 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 ...
5
votes
1answer
534 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
130 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
219 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 ...
2
votes
1answer
134 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.
0
votes
1answer
350 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: \...
2
votes
1answer
136 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
434 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 ...
0
votes
0answers
161 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
677 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)
4
votes
1answer
359 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
2
votes
1answer
161 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
242 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
502 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
186 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
166 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{...
0
votes
1answer
344 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} \...
6
votes
1answer
141 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 ...
4
votes
1answer
1k 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 ...
3
votes
1answer
267 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
97 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
404 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 ...
2
votes
1answer
570 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..
3
votes
1answer
401 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 ...