Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [chemistry]

{chemistry} is about typesetting chemical content.

34
votes
1answer
30k views

Typesetting chemical element names

What is the 'best' package for typesetting names of chemical element? (I don't need anything but the names of the chemical elements.) Assume I want to typeset The dissociation of a AgBr molecure ...
56
votes
2answers
36k views

Can you make chemical structure diagrams in LaTeX?

Can you create diagrams of chemical structures in LaTeX? Example(s) of "chemical structure diagrams":
19
votes
2answers
4k views

Draw Lewis structures like a book

I want to draw a Lewis structure as in the picture. I tried to do with chemfig but does not perform the separation of the points and a minus in the superscript.
1
vote
1answer
436 views

How do you draw a dative bond with chemfig?

How do you draw a dative / coordinate bond with chemfig? I would like to have the bond to appear as an arrow.
5
votes
1answer
969 views

Modiagram Package: How can we add 3s,3d … orbitals?

I'm learning to use LaTeX to prepare my chemistry lessons using Beamer. While searching the internet I found the modiagram package that helped me so much, but I need help with the following: How can ...
4
votes
1answer
311 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 ...
3
votes
1answer
230 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
3answers
506 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
1answer
185 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<...
14
votes
2answers
2k views

Periodic table with electron counts in shells

Expectations I would like to make my own periodic table in LaTeX. It should (...) have a space between the orbital groups (s, p, d, f) every group should have rounded corners the different "...
14
votes
5answers
10k views

Superscript in upper left to denote isotope in LaTeX [duplicate]

I am trying to denote a 28Si isotope. I used $^{28}Si$. In the output, the chemical symbol is in italics, also there is an unnecessary space between the symbol and the nucleon number. How do I get ...
12
votes
2answers
57k views

Arrows chemical equations

I want to write the following equation; note the arrow underneath BaSO_4 and the H_2O over the \longrightarrow. Is that possible with the chemist package, which I already use for my chemical ...
8
votes
1answer
17k views

How to write a chemical formula? [duplicate]

In order to produce the following output involving a chemical formula I can attempt to write the chemical formula as a mathematical formula: \documentclass{report} \usepackage{amsmath} \begin{...
7
votes
1answer
1k views

Chemistry package for typesetting nuclide

Is there a chemistry package with a specific command for typesetting nuclide? If not, what is the preferred method for typing this? Here is what I have myself: \documentclass{article} \usepackage[...
2
votes
0answers
299 views

Isotopes module with chemmacros [closed]

I'm trying to use the Isotopes module in chemmacrospackage but it doesn't work. My preamble has: \usepackage{chemmacros} and my documment itself: \isotope{28,Si}. I'm using the version 5.7a of ...
5
votes
1answer
510 views

TikZ and tikzorbital: problem with background

It looks like tikzorbital package is not compatible with background library of basic TikZ. As you see in the picture below, just p_y displayed (do not pay attention to notations in MWE). It displays ...
17
votes
4answers
3k views

Typing CO_2 easily

I'm writing my dissertation and that involves typing a lot of $\mathrm{CO_2}$. I'd like to make a macro for it that's a lot easier to type, but if I put \newcommand{\co2}{\mathrm{CO_2}}, for example, ...
13
votes
3answers
1k views

How to draw ligands with different hapticities

In organometallic chemistry it's common to draw ligands that are not bound atom to atom. Common examples are ferrocene: or Zeisse's salt: Does anyone have a strategy for approaching structures such ...
6
votes
3answers
676 views

Type-setting quadruple bonds in LaTeX

How does one typeset quadruple bonds in LaTeX? I've tried several things: Vertically stacking equal signs, putting lines in tables, etc. Single up to tripple bonds is easy (by using the chemfig ...
5
votes
3answers
811 views

Electron Configuration Diagram

I have seen some other postings about related electron configurations, but nothing that matched what I was looking for. I am pretty comfortable with a lot of LaTeX, except when it comes to stuff like ...
4
votes
3answers
1k views

Drawing chemical reactions

I am trying to draw reactions like this I tried it like this \documentclass[11pt]{article} \usepackage[version=4]{mhchem} \usepackage{chemfig} \begin{document} \ce{ \chemfig{CH_3-CH (-[2]OH)-...
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
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
2answers
85 views

Chemfig multiple brackets on the same bond

I'd like to draw the following copolymer structure using \chemfig. But it turns out that I can't put the right bracket and the next left one within the same bond. All I found on the internet were ...
3
votes
1answer
252 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{...
3
votes
1answer
674 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: \...
2
votes
1answer
681 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 ....
2
votes
1answer
202 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{...
2
votes
1answer
486 views

Adding dipole moments in chemfig

I haven't been able to find anything in chemfig for adding dipole moments to my molecules beyond creating custom arrows with tikz, which is more involved than I'd like at the moment. Is there some ...
2
votes
1answer
2k views

Aligning arrow fo Chemical reaction and much more

My chemical reaction latex codes look like this \document[11pt]{article} \usepackage{chemfig} \begin{document} \schemestart \chemname{\chemfig{R-H}}{Alkane} \arrow(.{5.5}--){->[light,heat or ...
1
vote
1answer
96 views

chemfig: crossing reactions like crosswords for species in more than on reaction: definearrow1{plus}{+} stays invisible

Is it possible to \definearrow to just put a + sign ? I would like to cross reactions, to draw this chemical pathway (whose source code is at bottom of this question): I have overlapped plus signs ...
1
vote
2answers
1k views

Line break long chemical names that contain brackets

I have some very long chemical names that are spilling into the margins, and I'd like to just tell LaTeX how to hyphenate them automatically so I don't have to manually go back and insert hard line ...
1
vote
1answer
124 views

Upside-down -U> arrow in chemfig

I'd like to draw something like this: The most versatile solution would be something analogous to the -X> type arrow defined in "Easy way to write below arrow (\arrow{-U>}) in chemfig?", which ...
0
votes
1answer
136 views

MOdiagram - different orientation of molecule

I was looking for the package allowing me to create molecular orbital diagrams easily in LaTeX. I found MOdiagram, which is easy to use and looks really nice. The only thing, that bothers me, is that ...