Questions tagged [chemistry]

{chemistry} is about typesetting chemical content.

Filter by
Sorted by
Tagged with
3 votes
1 answer
96 views

Is there a difference between $\ce{}$ and \ce{}?

So with the mhchem package, I am able to write chemical equations conviniently. However, I am confused on whether \ce{} with dollar signs or without them are equivalent. The guides I've read told me ...
Jacob Lee's user avatar
3 votes
2 answers
166 views

Adjustments to the Fe2(CO)9 structure design with Chemfig

I'm trying to draw the structure of Fe2(CO)9 using chemfig, but I'm not getting the bridging ligands of the structure quite right. \documenteclass[]{article} \usepackage{chemfig} \begin{document} \...
PEDRO SOUSA's user avatar
4 votes
2 answers
341 views

Is it possible to center chemical equations by the arrow?

I created this reaction equation with: \documentclass[paper=a4, fontsize=11pt, toc=flat]{scrartcl} \usepackage[a4paper,left=3cm,right=2cm,top=3cm,bottom=3cm]{geometry} \usepackage[ngerman]{babel} \...
Hans's user avatar
  • 43
-2 votes
2 answers
153 views

Suggest improvements to the following code (left align equations, use sans serif for variables in mathmode)

\documentclass[fleqn]{article} \usepackage{mathtools} \usepackage[extreme]{savetrees} \usepackage{cancel} \thispagestyle{empty} \renewcommand{\familydefault}{\sfdefault} \date{} \def\eq{\ =\ } \def\...
Nickotine's user avatar
  • 173
4 votes
2 answers
69 views

Can I specify the electron's position in the atom model for the bohr package?

I am preparing a presentation on Lewis dot structures. The package bohr is really good to make diagrams that help in visualizing the ionic and covalent bond. For the ionic bond I am quite happy with ...
Francisco Murphy Pérez's user avatar
1 vote
1 answer
65 views

How to make chemfig and xymtex chemical reaction equation look better?

I am trying to make my assignments look better. Here is the code and the current output: \documentclass{article} \usepackage[version=4,layout=stacked]{mhchem} \usepackage{graphicx} \usepackage{chemfig}...
Aman's user avatar
  • 61
2 votes
2 answers
60 views

Lewis structure with chemfig inside chemformula inside align?

Hi. I am creating a beamer presentation on Lewis dot structures. I got most of my code from this question (Draw Lewis structures like a book)... But then I got stuck with BH3...(3rd reaction). I am ...
Francisco Murphy Pérez's user avatar
0 votes
1 answer
42 views

Creating own environment for writing partial oxidation and reduction reactions [closed]

I was wondering if it is posssible to write my own environment for writing redox equations in form of: O: ... R: ... ___________________________ S: ... O stands for oxidation, R for reduction and S ...
crvenikupus's user avatar
1 vote
0 answers
47 views

How to redraw arrow diagrams from Word

I want to start usingLaTeX and to test the possibilities, I decided to redo some of my old work., I don’t know how to transfer some elements to LaTeX, though. Whenever there are such arrow diagrams (...
Максим Однорал's user avatar
4 votes
3 answers
130 views

What to do to align text with chemfig molecules?

I'd like the letters to be in the middle of structures. I know that the letters are in the place where the code of each structures begins, but I have no idea how to change it, without changing the ...
Michał Szymankiewicz's user avatar
1 vote
2 answers
44 views

I have a problem with arrows' tips in chemfig

Arrows' tips aren't in the accurate place, they are slightly shifted to the left. Does anyone have an idea how to fix it so that they could be in the middle? \documentclass{article} \...
Michał Szymankiewicz's user avatar
0 votes
1 answer
47 views

Completing the diagram using chemfig

I intend to draw the chemistry of the reaction as depicted below using chemfig. Here is what I have done studying examples: \documentclass{article} \usepackage{graphicx} \usepackage{chemfig} \begin{...
teddiclax's user avatar
0 votes
2 answers
59 views

misplaced group in chemfig with coloured atom and charge

I want to colour only the hydrogen atoms in a cyclic molecule using the Chemfig environment. The atoms are placed over a nitrogen atom, with a positive charge. But when y draw the molecule, the group &...
Juan Michalowski's user avatar
-3 votes
1 answer
110 views

How can I draw like this picture? [closed]

I can not make code for this picture.
Ghassan Hamad's user avatar
4 votes
2 answers
254 views

How can I put a withdrawing or donating group in an aromatic ring in chemfig?

I need to put an undetermined electron withdrawing or donating group in an organic molecule (an aromatic ring), using arrows instead of lines as bonds, but with the barbs just in the middle. This is ...
Juan Michalowski's user avatar
0 votes
0 answers
49 views

Problems with Overleaf?

I encountered an interesting problem where the following code executes well using Texstudio: % Preamble \documentclass[11pt]{article} % Packages \usepackage{graphicx, auto-pst-pdf} \usepackage{...
Rolu Rostl's user avatar
2 votes
1 answer
53 views

XyMTeX \lonepair causing errors

I am having increasing success with XyMTeX - but keep running into the same problem with specifying lone pair locations using either \lonepairA or \lonepairB. When ever I add optional locations for ...
Cam Lumsden's user avatar
0 votes
0 answers
32 views

XyMTeX ChemEquation alignment

I am trying to figure out how / why structures are aligned in XyMTeX - it's doing my head in. Why does this code generate this? \documentclass{article} \usepackage{xymtexpdf} \usepackage{xcolor} \...
Cam Lumsden's user avatar
5 votes
1 answer
256 views

Is XyMTeX still working for people?

I am trying to use XyMTeX for typesetting a variety of chemical reactions and keep getting errors, namely with \ChemEquation \LewisSbond \LewistetrahedralA or B electron shift arrows and Reaction ...
Cam Lumsden's user avatar
2 votes
1 answer
105 views

Two oxidation numbers above one element

I'm new to LaTeX and I have a problem. My code right now is: \documentclass[11pt,a4paper]{scrartcl} \usepackage[singlelinecheck=false]{caption} \usepackage{times} \usepackage{tabularx} \newcolumntype{...
Henss's user avatar
  • 25
2 votes
2 answers
59 views

Chemfig Scheme: wrong alignement of a reaction

I'm trying to use chemfig to put a reaction in my document, but the diferent molecules are missaligned. How I coul fix it? This is my code: \documentclass{article} \usepackage{chemfig} \usepackage{...
Juan Michalowski's user avatar
1 vote
1 answer
43 views

Signs outside brackets in the chemfig environment

I'm using chemfig environment inside Latex and I have a big molecule inside brackets. I need to put a plus sign outside the brackets. \chemleft( \chemfig{*6(---=--)} \chemright) (The plus sign must be ...
Juan Michalowski's user avatar
1 vote
0 answers
29 views

Mixing chemistry reaction and mathematics in equation

I would like to type a list of chemical reactions with their associated reaction constants, pH limits and redox potentials. The reaction would be on the left, with the reaction starting at the left ...
Aurélien Coillet's user avatar
2 votes
2 answers
136 views

How to draw arrows for organic mechanism

How can I draw the arrows for organic mechanism as in the attached pictures? An edited MWE from the answer below: \documentclass[a4paper, 10pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{...
Ghassan Hamad's user avatar
0 votes
1 answer
67 views

Chemical equation with multiple arrows in multiple directions

I need to draw chemical equations with multiple arrows pointing out or in from a single "node". I tried rigging the curved arrow example given in the texdoc help for chemfig package. The ...
magguu's user avatar
  • 917
1 vote
1 answer
69 views

How to move a chemfig figure up or down

I want to centralize this equation: \documentclass{article} \usepackage{chemfig} \begin{document} % Tartaric acid code \chemfig{HO-[1](=[7]O)(-[2](-[3]OH)-[1](-[7]OH)(-[2](=[1]O)(-[3]OH)))} $$...
PEDRO SOUSA's user avatar
0 votes
1 answer
66 views

Chemical Formulae in fraction

I was trying to write an equation for equilibrium constant K, but I cannot put Fe(SCN)^2 in the fraction for some reasons. This is what my code was. K=\frac{\ce{[Fe(SCN)^2+]}}{\ce{[Fe^3+][SCN^-]}}
Liley's user avatar
  • 1
1 vote
1 answer
85 views

How to make a letter appear in italics while within \ce?

I'm trying to type the following equation: In LaTeX, I can recreate this as follows: \ce{Rate = k[A]^m[B]^n ...} Which comes out as But I would like for the k to be in italics, similar to how it ...
Mailbox's user avatar
  • 239
1 vote
1 answer
80 views

Layout chemfig/schemestart

for a report I'm currently writing I wanted to include some chemical reactions. Most of them are fairly easy to put into LaTeX but I'm having some trouble with the more complex reactions. A picture is ...
Joep's user avatar
  • 19
2 votes
0 answers
71 views

chemnum: compound referencing in scheme not possible using EPSF-3.0

Using the chemscheme and chemnum packages, I would like to number compounds in a chemical scheme as described in: https://www.overleaf.com/latex/templates/automatically-numbering-compounds-in-chemical-...
user21101711's user avatar
0 votes
2 answers
76 views

Represent a square of reactions with their reaction rates

I would love to be able to represent a network of reactions in a square like so (pardon the scribbling) note: I don't care about the squares around the nodes of the reaction, I can live without those....
Puff's user avatar
  • 103
0 votes
1 answer
106 views

Lewis structure with double bond

To determine the lewis structure of molecules, I used the method proposed here. But I am blocked for certain molecules such as dioxygen: How can I place double bonds and doublets on each atom? \...
Nicolas's user avatar
  • 1,023
2 votes
3 answers
163 views

How can I rotate a pentagon in chemfig?

I want to draw the following molecule (see figure below), but I don't know how to rotate the above pentagon: Here's my attempt to do draw it: \documentclass[12pt, a4paper]{article} \usepackage{...
Echelle-courte's user avatar
2 votes
3 answers
110 views

How to write a chemical reaction with tabs in formula LaTeX

I would like to produce this formula in LaTeX. I have tried the following, but I don't know how to centre the first equation (reaction) and to move the parenthesis part le right side of the page. Can ...
Master_student_H2's user avatar
2 votes
2 answers
107 views

Problem with chemfig :

I need to draw the following scheme of equilibrium state of Fluorescein Using chemfig package, and here's my code for that: \documentclass[12pt, a4paper]{article} \usepackage{chemfig} \begin{document}...
Echelle-courte's user avatar
0 votes
0 answers
36 views

latex chemistry TMP not labeling

I have tried using the following method as John Doe said, but unfortunately it is does not working. CODE \documentclass[12pt]{report} \usepackage[T1]{fontenc} \usepackage[runs=2]{auto-pst-pdf} \...
dobok's user avatar
  • 1
0 votes
2 answers
124 views

Organic chemistry formulas [closed]

I try to put this formula to LaTex: but this code is not the best descicion for this problem: {\left[{(-CF_2-CF_2-)}_n-CF_2-CF-\right]}_x \\\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;...
catauggie's user avatar
1 vote
1 answer
43 views

`chemname` alignment issues

The following code… \documentclass[border=2mm]{standalone} \usepackage{chemfig} \usepackage{chemformula} \begin{document} \schemestart \chemname{\chemfig{Ca^{2+}}}{Calcium ion} \+ \chemname{\...
GPWR's user avatar
  • 267
3 votes
2 answers
104 views

Fitting oxidation numbers above elements without overlapping

I want to make oxidation numbers above an element but the numbers keep overlapping in my case. I am searching for a practical solution. Maybe it would help if I managed to make the operator (- and +) ...
Juch's user avatar
  • 31
0 votes
2 answers
123 views

How can I write these chemical reactions with structures?

For my bachelor thesis, I want to show these reactions but I have no clue how I can put them nicely in LaTex.
Joep's user avatar
  • 19
1 vote
0 answers
24 views

Labeling and refrencing chemistry equations with oxidation

Im working with some chemistry where oxidation numbers are displayed in reactions im having a hard time getting the reactions labeled with a number i can then refrence later I'm using chemmacros and ...
vie's user avatar
  • 11
0 votes
2 answers
68 views

How would i draw a carboxylate ion with the "chemfig" package?

I'm unsure how to draw the dotted lines, any help would be greatly appreciated.
Mathias's user avatar
1 vote
3 answers
120 views

How do you write the names under the chemicals?

I am fairly new to the mhchem environment. I want to write and equation such as in the figure. I can write the equation with no issues, I am just not sure how to add the names such as 'acid' or '...
Aditya Rivonkar's user avatar
3 votes
1 answer
42 views

Aligning chemical + and arrow with vline of tabular

I would like to reproduce this figure: So far, I have managed to come up with this code: \documentclass{article} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage[french]{babel} \...
Nora NICOLAS's user avatar
4 votes
1 answer
239 views

Drawing Bohr style elements

I am trying to produce Bohr style diagrams of the elements. I have tried to use the Bohr package but although this produces something almost what I want, but does not show the orbit shapes or the ...
Paul A's user avatar
  • 681
0 votes
0 answers
43 views

List comma-separated chemical formula within the sentence

NiCl2, NaPO_2H2, C4H4Na2O4, and HF. I have to list these chemicals within a sentence. But when I tried to put superscript and subscript, the remaining sentence and the whole paragraph are changing ...
Hameed's user avatar
  • 1
0 votes
0 answers
129 views

Chemical drawing software with latex script export

I have a query Any chemical drawing software is available that is able to export the structures or reactions to latex script, and then compiled by a latex editor Thanks in advance
Pshtiwan Gharib Ali Abdalrahma's user avatar
2 votes
1 answer
94 views

I want to improve periodic table, which I found on the internet

I want to improve this periodic table -- I want to add electronegativity. I can fill in these in code, but I don't know how to add this is \ElemLabel. \documentclass[tikz,border=5mm]{standalone} \...
Michał Szymankiewicz's user avatar
0 votes
2 answers
180 views

Random generator for exam class in Physics or Chemistry

I would like to create a exam class such as: I could include random generator of both numbers and units for conversion factors in physics and chemistry. In particular, what I wish is a pseudorandom ...
riemannium's user avatar
0 votes
2 answers
110 views

How do I align a set of chemical formulae

Here's the image I want to recreate - Here's my attempt at recreating it - \documentclass{12pt}{book} \usepackage{amsmath, amssymb} \usepackage{mhchem} \usepackage{graphicx} \usepackage{tikz} \begin{...
Vedant Rana's user avatar

1
2 3 4 5
9