Added several chemistry packages; added chemistry chapter

This commit is contained in:
Kenneth John Odle 2023-08-07 19:01:28 -04:00
parent 2720b26c90
commit 727a07d925

View File

@ -35,7 +35,7 @@
\cfoot{Page \thepage}
\renewcommand{\footrulewidth}{0.5pt}
% Includ two- or three-column sections
% Include two- or three-column sections
\usepackage{multicol}
% Stop resetting the footnote count after each chapter
@ -93,6 +93,9 @@
% Just for issue #004 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{pifont}
\usepackage{qrcode}
\usepackage{mhchem}
\usepackage{chemformula}
\usepackage{chemfig}
%%%% Document Information %%%%%
\author{Kenneth John Odle}
@ -283,6 +286,40 @@ As I said way back in the first issue, I define a hack as ``an appropriate appli
\chapter{Chemistry in \LaTeX{}}
\section{Package \texttt{hmchem}}
For typesetting chemical equations:
\ce{CO2 + C -> 2 CO}
\ce{Hg^2+ ->[I-] HgI2 ->[I-] [Hg^{II}I4]^2-}
\ce{1/2H2O}
\section{Package \texttt{chemformula}}
For typesetting chemical compounds and reactions:
\ch{KCr(SO4)2 * 12 H2O}
\ch{[Cu(NH3)4]^2+}
\ch{$2n$ Na + $n$ Cl2 -> $2n$ NaCl} \par
\ch{\{[CH2=CH-CH2]- <-> {}[CH2-CH=CH2]- \}} \par
\section{Package \texttt{chemfig}}
For drawing molecules:
Glucose:
\chemfig{?(-[:190]OH)-[:-50](-[:170]OH)-[:10](-[:-55,0.7]OH)
-[:-10](-[6,0.7]OH)-[:130]O-[:190]?(-[:150,0.7]-[2,0.7]OH)}
\chapter{A \texttt{git} Workflow}