From: W. Trevor King Date: Mon, 25 Jun 2012 23:21:44 +0000 (-0400) Subject: Add \diNaHPO (Na2HPO4) and \NadiHPO (NaH2PO4) commands to local_cmmds.tex. X-Git-Tag: v1.0~330 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=84352cbd689fcae4c3b8a4d5590ff82b1309ecfc;p=thesis.git Add \diNaHPO (Na2HPO4) and \NadiHPO (NaH2PO4) commands to local_cmmds.tex. Import fixltx2e in packages.tex to get \textsubscript used in defining these commands. --- diff --git a/src/local_cmmds.tex b/src/local_cmmds.tex index 8c72201..8813b90 100644 --- a/src/local_cmmds.tex +++ b/src/local_cmmds.tex @@ -85,6 +85,10 @@ \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} diff --git a/src/packages.tex b/src/packages.tex index ce6e2e7..5314f4d 100644 --- a/src/packages.tex +++ b/src/packages.tex @@ -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