The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [chemistry]

{chemistry} is about typesetting chemical content.

Filter by
Sorted by
Tagged with
4
votes
2answers
2k 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+...
4
votes
2answers
95 views

Chemistry Lewis Dot Diagram: Moving Square Bracket

\documentclass{article} \usepackage{chemfig} \begin{document} \schemestart \chemfig{\lewis{2.4.6.,C}-\lewis{2.6.0.,N}} \arrow \chemleft[ \chemfig{\lewis{4:,C}~\lewis{0:,N}}\chemright ] ...
4
votes
2answers
82 views

How to extend the elements package to print melting and boiling points?

To my propose I would like to extend the elements package to print too the melting and boiling points of chemical elements. Using the same logic used in elements package, I thought about creating ...
4
votes
3answers
667 views

Annotate stoichiometric numbers below chemical reaction

I use the chemmacros packages to write chemical reactions in LaTeX, like this: \ch{CH4 + 2 O2 -> CO2 + 2 H2O} But now, I want to annotate the stoichiometric numbers below chemical reaction, as ...
4
votes
1answer
1k views

Using the mhchem and chemfig packages in conjunction

I am trying to write a chemical reaction in which I want to include a chemical structure. I am having some trouble regarding alignment and bond length. Here is a minimal working example: \...
4
votes
1answer
455 views

How can images be separated from text by a horizontal line?

I would like to arrange my text according to the style used by chemical journals such as JACS. In there, images are separated from text by a dark blue, thick line from the text (horizontal line with ...
4
votes
2answers
84 views

Triple bond inside escaped chemfig formula within chemformula's reaction

I'm trying to include a molecular structure drawn with chemfig inside chemformula's reaction environment by escaping it with "…". It all worked fine until I stumbled upon a structure with a triple ...
4
votes
1answer
417 views

How to wrap text around chemscheme schemes?

Is \usepackage{wrapfig} compatible with \usepackage{chemescheme}? I'm using chemescheme to number my compounds, but need to wrap the text around some schemes. Suggestions? e.g. (but this doesn't ...
4
votes
1answer
379 views

Chemmacros: Undefined control sequence. \end

When I try to create a reaction from chemmacros/reactions I got the following error. I dunno what I am missing. Please help. Thank you. line 11: Undefined control sequence. \end line 11: Missing ...
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 ...
4
votes
1answer
730 views

Aligning chemical elements in a reaction equation

As pictures tell the issue better than I could I'm just gonna insert a screenshot of the problem right off the bat. My problem is concerning the undesired whitespace between the second column of five ...
4
votes
2answers
299 views

Chemical numbering

The XyMTeX package defines the environment XyMcompd{name} that results in a counter \cref{name} pointing to the compound "name". I would like to know what are the basic steps for this macro \cref and ...
4
votes
2answers
167 views

How can I write an 1,4 glycosidic bond in Latex text?

I want to write \documentclass[12pt, a4paper, openright, twoside]{report} \usepackage[english]{babel} \usepackage{textgreek} \usepackage[utf8x]{inputenc} %ÄÖÜß und griechische Buchstaben \...
4
votes
1answer
56 views

Chemfig upside down -U> arrow not working in TeXLive 2019

I'm using the chemfig package for some chemical reactions and I need to draw an arrow like the one below: It's essentially \arrow{-U>} but with the curved arrow positioned below the straight one. ...
4
votes
1answer
53 views

Aligning reaction equation with amsmath

Basically, I'm trying to use amsmath to align the 2 possible outcomes of a reaction, which naturally does not include an equals sign. \begin{equation} \ce{^{2}_{1}H} + \ce{^{2}_{1}H} &\rightarrow ...
4
votes
1answer
72 views

Automatically resize equilibrium constants in superscripts with chemmacros

Using the chemmacros commands \K... and \p..., equilibrium constants and p functions don't get resized when written as superscripts. For instance, \documentclass{article} \usepackage{chemmacros} \...
4
votes
1answer
74 views

Placing the middle of a predefined picture at a certain node

I am trying to create the following reaction network cycle. Here's my output so far. My MWE is \documentclass[11pt]{standalone} \renewcommand*{\familydefault}{\sfdefault} \usepackage{sfmath} \...
4
votes
1answer
1k views

How to write chemical formulas in the title field of .bib file?

Some publications have a chemical formula in the title string. Journals use very different workarounds to export .bib files for these articles on their website. Some are able to create complicate ...
4
votes
1answer
452 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 ...
4
votes
1answer
46 views

Chemmacros - Multiple Values as coupling constant

I'm using the chemmacros package for my thesis in chemistry. Now I want to write down NMR data. My peak is a double-double-duplett I have therefore 3 coupling constants. I use \NMRand \J in the \...
4
votes
2answers
121 views

chemmacros: Space in Compound name with \iupac

In the following example there is no space before "chloride" as intended. However, when i remove the oxidation number "(III)", the space is there as it should be. Why is that and how can i force a ...
4
votes
1answer
384 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
4
votes
1answer
240 views

Using Eulervm font with chemformula package

I want to see how various chemical equations look using the euler or eulervm font, but I can't seem to figure out how to do it (or if it's even possible). The documentation for chemformula indicates ...
4
votes
1answer
66 views

Chemfig: Problem setting brackets for polymers

Hy everybody, I am a newbie in LaTeX so I apologize if the question is not so precisely. I try to draw polymers with the Chemfig package. Everything works fine with except the brackets for the ...
4
votes
1answer
70 views

Czech babel and chemmacros clash - reaction arrow not displayed

Clash between czech babel and chemacros in displaying reaction arrows, resulting in chemformula error: "unknown-arrow" The arrow type <-> doesn't exist on line 19. If czech babel is switched ...
4
votes
0answers
814 views

Draw molecule structure with torsion angles in TikZ [closed]

I am trying to reproduce this figure in LaTeX: The packages that I have seen for annotating chemical structures do not seem to accomplish what I want (not to mention that my knowledge on chemical ...
4
votes
0answers
228 views

Polymer structure in PPCHTEX - how to make big brackets?

I'm trying to draw polymer structure using PPCHTEX under ConTeXt packages, my current code is \starttext \startformula \setupchemical[scale=small,width=fit] \startchemical \chemical[ONE,SB3,SB7,SB5,...
3
votes
1answer
468 views

Electron Configuration

I have seen some other postings about related electron configurations, but nothing that matched what I was looking for. I'm wanting to create the following image:
3
votes
3answers
542 views

How to reduce the spacing in chemical symbols?

Currently, if want to write a chemical symbol, for example, ${}^{239}Np$, this is what I type in: {}^{239}Np. The result: But it looks bad, I feel as if the "N" and "p" should be closer, or a ...
3
votes
2answers
350 views

How to add a vertical space in the text above/under the arrow in the chemfig package [duplicate]

I'm trying to add a vertical space between H$_{2}$O$_{2}$ 30\% and \SI{25}{\degreeCelsius}, \SI{30}{\minute}, but I can't. Do you have any idea how to do it? \documentclass[letter,10pt]{article} \...
3
votes
2answers
519 views

Maths mode with chemmacros

I am a beginner with chemmacros and I have a problem during the compilation when I want to use greek letters inside the \ch{} command. Here is an example: \ch{\Delta E=h.\nu} A solution is to write ...
3
votes
1answer
796 views

How to represent a chemical reaction network

What is the simplest way to represent a reaction network using LaTeX? An example of a reaction network is shown below:
3
votes
1answer
93 views

Help with chemistry equation

I'm trying to reproduce the following equation using the chemfig package : I've been at this for a few hours, trying out different approaches but as soon as one thing works, something else seems to ...
3
votes
2answers
99 views

How can I write bond labels with chemformula?

I want to reproduce this scheme in P. J. Flory's first book, p. 319: for which I need to typeset labels under the bonds. I tried to make bonds accept labels like arrows do, first with the pretty ...
3
votes
1answer
543 views

How to align text, structures, and arrows in chemfig package

Any idea how to align the names of structures to the same height. The arrow and the plus signs, and the chemical structures, too. I tried to align them with \chemnameinit, but does not work. \begin{...
3
votes
1answer
310 views

\mathrm inside align not working

I am trying to make a document and using \mathrm inside an align* environment. But it doesn't works, any help? Here I paste a ME (it doesn't work but it is complete) \documentclass[12pt,twoside]{...
3
votes
2answers
445 views

Document font instead of math font in chemical formula (mhchem package)

I would like to write all chemical formulas in my document using the mhchem package which facilitates the use of the document font. It works quite nicely so far, but it fails for the letter "x". This ...
3
votes
1answer
307 views

Down arrow with many lines using mhchem package

I am using mhchem package for a chemistry chapter in my document. I have a section in which there is a down arrow with many lines, as shown in image below. The code for this that I've wrote so ...
3
votes
2answers
51 views

How to make the arrow in a chemical formula shorter? (using mhchem)

I'm using mhchem to write a chemical formula, as in the example by clemens (shown below). Is there a way to make the main arrow -> shorter by a fixed value in the second equation? Here's the code: ...
3
votes
1answer
1k views

Getting double headed arrows with curly arrow above

I'm looking for a way to draw a double-headed arrow with a curly arrow above to depict a reversible chemical reaction with addition of another reagent. The script I'm working with at the moment is as ...
3
votes
1answer
48 views

chemical reaction, arrow misplaced

I am new on latex and on chemfig. Here are the molecules that I would like to draw. My problem is that I can't put the arrow where I would like it to be. I have tried with the anchors but apparently ...
3
votes
1answer
37 views

Biblatex: customizing existing style

I'm using the acs-chem style in biblatex, writing in Spanish. I'm trying to change the "y" that appears before the last author in the bibliography for a ";", like if it wasn't the last one. I tried ...
3
votes
1answer
83 views

Connecting repeating fragments of the molecular structure possessing rotational symmetry with chemfig

While drawing a structure of a hexabenzocoronene derivative, I decided to start with the central benzene ring, then define repeating fragment via \definesubmol and attach the bridging carbon atom once ...
3
votes
1answer
112 views

Chemical reaction as a graphical object and chemmacros

I would like to include a picture of a reaction (png/pdf) inside chemmacros's reactions environment (also alongside with other reaction schemes) in order to keep up with the rest of reactions' numbers....
3
votes
1answer
6k views

Boron molecular orbital diagram

Boron molecular orbital diagram have the following form: The nuance is that the level pi lies below the level sigma2. For building molecular orbital diagram I use modiagram package. \documentclass[]...
3
votes
1answer
760 views

chemnum: compounds numbers don't replace TMP at the right position in .eps file (chemdraw)

I'm really new to LaTeX, and even newer to this website, so forgive me in advance for all the mistakes I may have made. Here's my problem: I'm trying to replace the temporary labels (TMP1,...) in an ....
3
votes
1answer
246 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
2k views

Chemmacros: Environments reaction and experimental undefined

I get the following errors and have no idea, why. I just updated all my packages. I am using MikTeX 2.9 on Windows 7 and TeXmaker 4.3. Just spent like an hour searching for an answer and didn't get ...
3
votes
1answer
730 views

Chemfig – Charges in skeletal formulas

I’m trying to write a reaction mechanism but there’s a problem. If I want to add charges to ”invisible“ C-Atoms, the skeletal formula get’s broken (see right molecule). Here is a minimal example: \...
3
votes
1answer
256 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} \usepackage{...