From 84352cbd689fcae4c3b8a4d5590ff82b1309ecfc Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 25 Jun 2012 19:21:44 -0400 Subject: [PATCH] Add \diNaHPO (Na2HPO4) and \NadiHPO (NaH2PO4) commands to local_cmmds.tex. Import fixltx2e in packages.tex to get \textsubscript used in defining these commands. --- src/local_cmmds.tex | 4 ++++ src/packages.tex | 2 ++ 2 files changed, 6 insertions(+) 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 -- 2.26.2