# Chemical LaTeX typeset

by Monique
Tags: chemical, latex, typeset
 Sci Advisor HW Helper P: 1,769 I think that most people will undestand that as the standard reduction potential, nevertheless I think that there's a better way to represent it though.
 P: 4 How could I go about using LaTeX on a word/pdf?
 P: 4 [TEX]Starch~\xrightarrow{amylase}~C_{12}H_{22}O_{11}[/TEX]
 P: 4 [TEX]Starch~\xrightarrow{amylase}~C_{12}H_{22}O_{11}[/TEX]
 P: 194 The best fancy 'E' I can come up with is $$\mathcal{E}$$ Also, let me try a few more things $$\text{C}_6\text{H}_{12}\text{O}_6\, +\, 6\text{ O}_2\, \xrightarrow{\text{heat}}\, 6\text{ H}_2\text{O}\, + \,6\text{ CO}_2$$ Isn't it better without italicizing the letters?
 Admin P: 22,666 It is, but then - not everone is fluent in LaTeX enough :) $$10\textrm{K}_{4}\textrm{Fe(CN)}_{6}+122\textrm{KMnO}_{4}+299\textrm{H}_ {2}\textrm{SO}_{4}\rightarrow162\textrm{KHSO}_{4}+5\textrm{Fe}_{2}\text rm{(SO}_{4}\textrm{)}_{3}+122\textrm{MnSO}_{4}+60\textrm{HNO}_{3}+60\te xtrm{CO}_{2}+188\textrm{H}_{2}\textrm{O}$$ That was exported form one of my programs :)
 P: 398 $$^{14}N~+~^{1}n~\xrightarrow~~^{1}H~+~^{14}C$$
 P: 6 $$V=\frac{k_2[E]_t[S]}{K_M+[S]}$$
P: 167
 Quote by bomba923 Yes!! What is the symbol for it? (the fancy capital E thing)!!?? Is it on LaTex??
$$\in$$

Is this the one you mean?
 P: 1 Try this guy: $\mathcal{E}$
 Emeritus Sci Advisor PF Gold P: 11,154 Please use this thread ONLY to raise and answer queries related to typsetting tex for chemistry. This thread should not be used as a backdoor to test LaTeX. http://www.physicsforums.com/showthr...46#post1165946
 P: 1 Does anyone know how to do a left-right harpoon with labels above and below, I guess like k1 /________ _________ ....k2....../ You know what I mean. I have a reaction going in two directions with a different rate constant in each.
 Mentor P: 8,287 You mean like this? $$\rightleftharpoons$$ edit: i just saw you want labels above and below.. sorry, dont know how to do that! Well, i found something that may help you: ftp://ctan.tug.org/tex-archive/info/...symbols-a4.pdf page 41.. although it doesnt work on here since I imagine you need some package.
Emeritus
PF Gold
P: 9,789
 Quote by xerxes Does anyone know how to do a left-right harpoon with labels above and below, I guess like k1 /________ _________ ....k2....../ You know what I mean. I have a reaction going in two directions with a different rate constant in each.
Try this;

$$\mathop{\leftrightharpoons}^{k_1}_{k_2}$$

\mathop{\leftrightharpoons}^{k_1}_{k_2}
 P: 28 $$Bal^2=sqrt{C_{Gordon_10}}$$
 P: 175 $$dE = dQ-dW$$ $$C=\frac{dQ}{MdT}$$ $$dQ$$ $$dE$$ $$dW$$ $$M$$ $$dT$$ sorry for spam =(
 Admin P: 22,666 I have not used these symbols for ages, not to mention in LaTeX. How should I properly format statement "for each a and b belonging to set P if a
P: 74
First post, and it's about LaTeX! I've been working with LaTeX for some time now, and recently started getting serious about typesetting spectroscopic notation. I actually started this post asking a question, but while developing the post, I came across an acceptable answer. As such, the tone of this post will change from question to tip.

I have been trying to typeset any general chemical equation or spectroscopic configuration notation without italics. I have known of the \text{} command, and recently found the \textrm{} command, but both of these complain when there are superscripts, subscripts, or Greek characters within the {} delimiters.

As is shown in this thread, you can easily get away with carefully placing the delimiters and \text{} commands. For example, I want to write the following configuration information:

$$\text{4f}^{14}\text{6s6p}~^3\text{P}_1$$

As another example, as was previously posted,
 Quote by Borek $$10\textrm{K}_{4}\textrm{Fe(CN)}_{6}+122\textrm{KMnO}_{4}+299\textrm{H}_ {2}\textrm{SO}_{4}\rightarrow162\textrm{KHSO}_{4}+5\textrm{Fe}_{2}\text rm{(SO}_{4}\textrm{)}_{3}+122\textrm{MnSO}_{4}+60\textrm{HNO}_{3}+60\te xtrm{CO}_{2}+188\textrm{H}_{2}\textrm{O}$$
My problem: Although this works, it is quite messy to read for arbitrarily complex expressions. Further, I have to manually ensure this content is in math mode, which can be a pain when applying it to an arbitrary location.

My solution: Use the \mathrm{} command! Here's the same examples, cleaned up a bit using this new command:

$$\mathrm{4f^{14} 6s 6p ~ ^3P_1}$$

$$\mathrm{10 K_4 Fe (CN)_6 + 122 K MnO_4 + 299 H_2 SO_4 \rightarrow 162 K H SO_4 + 5 Fe_2 (SO_4)_3 + 122 Mn SO_4 + 60 H NO_3 + 60 CO_2 + 188 H_2 O}$$

Even better, define a new command which enforces math mode, as well as this Roman font. something like

\newcommand{\chem}[1]{\ensuremath{\mathrm{#1}}}

and then you can just simply type \chem{H_2 SO_4} wherever you want, both inside or outside of math mode. With proper use of whitespace, the LaTeX markup looks more elegant and easy to read/diagnose in my opinion.

Hope this helps! It definitely helps me!

 Related Discussions Math & Science Software 0 Introductory Physics Homework 1 Biology, Chemistry & Other Homework 4 Electrical Engineering 1 Biology, Chemistry & Other Homework 1