Questions tagged [chemistry]

{chemistry} is about typesetting chemical content.

0
votes
0answers
27 views

Improvements of a 2x2 grid, showing experimental results [on hold]

I am writing a thesis in water chemistry and I have the following code for a bar chart for sodium values: \documentclass[12pt]{standalone} \usepackage{pgfplots} \usepackage{siunitx} \usepackage{tikz} ...
1
vote
0answers
22 views

Chemical standard state symbol with achemso article

I am completely new to LaTeX, but I know how to use the chemstyles package to generate the standard state plimsoll in a document that I am working on for, say, my students, etc. However, for ...
1
vote
1answer
46 views

Easy way to plot potential energy curves? [closed]

I need to plot the potential energy curves, i.e. to do something similar to this: I know, that I could use pgfplots to get the curves, but what I'm troubled about are the labels - I'd like to do both ...
3
votes
1answer
31 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 ...
6
votes
3answers
136 views

Alternatives to achieve certain output format

Consider the following MWE \documentclass[border=10 pt]{standalone} \usepackage{mathtools,setspace} \begin{document} $\displaystyle {\setstretch{1.5} \begin{array}{ccccccccccccccccccccccc} ^{12} \...
1
vote
1answer
142 views

Drawing both bonds and valence electrons

Is there any package for drawing valence electrons? MWE \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{chemformula} \begin{document} \begin{frame}{Lewis ...
1
vote
2answers
62 views

Chemmacros write next to reaction

I am using the chemmacros package and I would like to know if it's possible to write next to a reaction, for example, like this: Or maybe with the help of other package. \documentclass[12pt,a4paper]{...
2
votes
1answer
799 views

Chemical bonds and atom position with chemfig

I have been working in the cylindrospermopsin structure using chemfig. The structure is: I draw it with te following code: \documentclass[12pt, border={10pt 10pt 10pt 10pt}]{standalone} \pagestyle{...
3
votes
1answer
416 views

Chemfig: \chemname and vertical align

Until I use the \chemname command for molecular descriptions, I can vertically align them. But when I use it, happens this: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc}...
4
votes
2answers
74 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
1answer
131 views

How to show element name in portuguese using elements package?

I have to do a big table using the chemical elements names in portuguese. I'm using the elements package to do that, but don't works. Below following a few examples. \documentclass{article} \...
3
votes
1answer
64 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 ...
0
votes
0answers
30 views

How To Draw a Monomer on Latex [duplicate]

I'm new to drawing chemical figures in LaTeX, so I can't really show my "attempt" Could somebody show how to draw the monomer for starch in LaTeX? It should look something like this by the time I'm ...
2
votes
1answer
42 views

Custom Suffixes for Sub-compounds in chemnum

I'm using chemnum to keep track of my compounds in my thesis, and there are certain instances where I have a group of compounds that differ by a single substituent. Ideally, I would like to be able to ...
0
votes
0answers
52 views

Trying to number compounds from ChemDraw

I'm new to LaTeX and have been trying to solve this for a few hours now. Hi everyone - I'm new to LaTeX and have been trying to solve this for a few hours now. I'm trying to transfer compounds made ...
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, ...
4
votes
2answers
75 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 ] ...
2
votes
1answer
45 views

Drawing a chemical molecule structure

Being a mechanical engineer I never had the necessity to draw chemical formulas/molecule structures in LaTeX, but now I have to draw the structure of Polyethylene glycol. So I was looking at examples ...
1
vote
1answer
254 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
1answer
40 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 ...
3
votes
1answer
76 views

Comma in chemical formula

I am using the \usepackage[version=3]{mhchem} package, and would like to write the formula for Dolomite in my report: (Ca,Mg)CO3 So far I haven't found a way to get that comma right in my formula ...
0
votes
0answers
174 views

Chemist package

Isn't any longer maintained the chemist package ? I don't see it here https://ctan.org/topic/chemistry and googling does not provide any recent things. E.g. the French wiki talks about a version ...
5
votes
1answer
91 views

Fail to pass arguments to orbital module of chemmacros when used inside chemfig

While illustrating atomic orbitals for 1,3-butadiene guided by examples in chemmacros' manual, I receive the following error: Argument of \orbital has an extra }. } MWE: \documentclass{article} \...
6
votes
4answers
395 views

How to typeset chemical formulas in roman? [duplicate]

I'm new to LaTeX and have a desire to learn as I'm completing a PhD and have been told LaTeX is a great platform for writing scientific documents. So, I have written a short plain English piece in ...
1
vote
2answers
44 views

Arrival atom numbering doesn't work with \chemabove

Consider the following MWE: \documentclass{article} \usepackage{chemfig} \begin{document} \chemfig{ X -[:30,,,2]^{18}\chemabove{O}{H} -[:-30]X } \end{document} This code returns an ...
3
votes
1answer
37 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 \...
0
votes
0answers
31 views

Chemmacros reaction(s) environment doesn't display the first reactant if enclosed in square brackets

When typing reactions starting with coordinating compounds, I noticed that when the first reactant starts with "[" in both reaction and reactions environments the part enclosed in square brackets isn'...
1
vote
0answers
77 views

Writing above and over double arrow [duplicate]

I am writing several chemical formulas and reactions and I want to write over a reversible reaction the reaction constants for the Forwards and reverse reaction. So far I have the following: But I ...
2
votes
1answer
115 views

Emergency stop with automatically generated pspicture

I have to show up with several cdx files in my document. I didn't find a ChemDraw handling package for LaTeX, so I took the cdx files converted to pdf and imported them in inkscape, which I then could ...
0
votes
1answer
142 views

How do I write chemical reaction-diffusion formula in LaTex?

How can I write the following chemical reaction-diffusion formula (see figure) in LaTex? My main objective is, how do I produce the two way arrows with single letters above and below?
0
votes
1answer
147 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 ...
0
votes
1answer
48 views

Enzyme Catalysis Equation

I'm trying to build an enzyme catalysis equation and end up like this: \begin{equation}\label{QSSA-cat-MM} E \begin{matrix*}[l] \rotatebox{40}{$\xrightleftharpoons[k_{-1}]{{[S]}k_1}$}\\[-0.5em] \...
3
votes
1answer
63 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 ...
6
votes
1answer
208 views

Russian babel and chemformula

I want to write chemical formulae in a predominant german Text with a small number of russian words. For that I use babel and chemformula, but they produce a heavy conflict. My MWE: \documentclass{...
4
votes
2answers
86 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 ...
5
votes
2answers
123 views

How to write chemical formula with branching and with labels for each branch

I would like to express a chemical reaction, which can lead to multiple products (has multiple branches). This is usually expressed using a forked arrow as in the example equation (1) below. I wrote a ...
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 ...
2
votes
1answer
74 views

Multiple bonds in Lewis structure

I've been using the chemfig package for drawing Lewis structures but have run into an issue in which I need to show multiple bonds between two atoms in Lewis dot notation as show below. The code I ...
1
vote
0answers
85 views

How to add chemical structures via chemschemex?

I'm trying to add chemical reaction mechanisms to a Latex PDF natively (NOT as an image), and chemschemex seems like the best option. According to the manual, I should be able to just "draw my ...
2
votes
0answers
71 views

Can't compile chemschemex and biblatex in document [duplicate]

I am a complete novice to LaTeX and have a problem when compiling my document. Whenever I try turning on chemschemex in my document, I get error messages and the document doesn't compile. After ...
3
votes
1answer
117 views

Chemfig: Package pgfkeys Error: I do not know the key '/tikz/CF'

I am trying to redraw reaction scheme using chemfig package. All works except curved line that should connect 2 nodes those are not neighbours. As it's described in chemfig manual, I added the ...
0
votes
1answer
117 views

mhchem - adding more than two conditions/steps to reaction arrow in chemical equation

mhchem has support for denoting reaction conditions/steps above and below the reaction arrow using the following format: \ce{A + B ->[text above][text below] C} Is there a nice way to add ...
2
votes
2answers
126 views

Add charges on Organic Structures in Chemfig

Essentially I just want to put a charge on a carbon atom, but I don't want to include the "C", using \chemabove almost works however it creates gaps between the bonds. \documentclass{article} \...
0
votes
2answers
69 views

How to typeset a word containing both Latin and Greek letters?

I want to typeset the word α-aminoacid and the α character is not shown in the compiled pdf file. I compile using XeTeX and I found only solutions for typesetting greek letters that switch language ...
0
votes
1answer
227 views

Charge positioning and reaction arrows in chemfig

I've just started using chemfig. I am quite new to LaTeX and don't understand a lot of the package's nuances. I am trying to create this diagram: I am having trouble properly placing the charge on ...
0
votes
1answer
137 views

Removing horizontal space around \textperiodcentered

I would like to write a chemical formula, either using \ce{} from the mhchem package or without. It contains a dot like the multiplication sign \cdot from math. It means that for example Li is ...
4
votes
1answer
68 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} \...
2
votes
2answers
166 views

chemformula and common organic chemistry groups

What would be the proper (and efficient) way to type common organic groups/radicals/substituents like i-Pr, n-Bu or t-Bu with chemformula (the main concern is the prefixes)? So far I tried the ...
3
votes
1answer
625 views

Chemistry in Latex [duplicate]

I use the texmaker editor to write latex. To write chemistry formulas, what extension do you recommend? I downloaded it from Miktex that have a lot. Thanks
2
votes
1answer
314 views

How do I make square brackets in a chemical formula?

I want to write the concentration of chlorine ions inside a cell as [Cl-]i, with the - superscripted and the i subscripted. I can't figure out how to do this.