Browse Source

Added several chemistry packages; added chemistry chapter

main
Kenneth John Odle 9 months ago
parent
commit
727a07d925
  1. 39
      004/codex-004.tex

39
004/codex-004.tex

@ -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}

Loading…
Cancel
Save