Add \diNaHPO (Na2HPO4) and \NadiHPO (NaH2PO4) commands to local_cmmds.tex.
authorW. Trevor King <wking@tremily.us>
Mon, 25 Jun 2012 23:21:44 +0000 (19:21 -0400)
committerW. Trevor King <wking@tremily.us>
Mon, 25 Jun 2012 23:21:56 +0000 (19:21 -0400)
Import fixltx2e in packages.tex to get \textsubscript used in defining
these commands.

src/local_cmmds.tex
src/packages.tex

index 8c72201aa406cd2a74f6ac9446ba1abc953ab28c..8813b90c8d15c6479a308bbf613df59d76224b12 100644 (file)
 
 \newcommand{\species}[1]{\emph{#1}} % \species{Homo sapiens}
 
+% Chemicals
+\newcommand{\diNaHPO}{Na\textsubscript{2}HPO\textsubscript{4}}
+\newcommand{\NadiHPO}{NaH\textsubscript{2}PO\textsubscript{4}}
+
 % Aliases for citations
 \defcitealias{calibcant}{calibcant}
 \defcitealias{comedi}{Comedi}
index ce6e2e757d95db8975c2ac0e07131620a31ac3f0..5314f4d59236371a49bf857552900bfcd53a246e 100644 (file)
@@ -36,6 +36,8 @@
   %\usepackage{showkeys} % Print labels in margins
 }
 
+% fix assorted LaTeX issues and defines \textsubscript
+\usepackage{fixltx2e}
 % environments for multiline displayed equations, and other enhancements
 \usepackage{amsmath}
 % proof environment and extensions for the \newtheorem command