]> gitweb.michael.orlitzky.com - mjotex.git/blobdiff - mjo-cone.tex
Wrap all mjotex files in conditionals to prevent double-loading.
[mjotex.git] / mjo-cone.tex
index b770d753ec3ad8855a0ab91081550ee106737056..35edc8e0199a34212a23011a15ef77ce2b9df2e9 100644 (file)
@@ -4,6 +4,9 @@
 % The operator families Z(K), LL(K), etc. can technically be defined on
 % sets other than cones, but nobody cares.
 %
+\ifx\havemjocone\undefined
+\def\havemjocone{1}
+
 
 \usepackage{amssymb} % \succcurlyeq and friends
 
 \newcommand*{\Lnplus}[1][n]{ \mathcal{L}^{{#1}}_{+} }
 
 % The PSD cone in a space of symmetric matrices.
-\newcommand*{\Snplus}[1][n]{ \mathcal{S}^{{#1}}_{+} }
+\newcommand*{\Snplus}[1][n]{ \Sn[#1]_{+} }
 
 % The PSD cone in a space of Hermitian matrices.
-\newcommand*{\Hnplus}[1][n]{ \mathcal{H}^{{#1}}_{+} }
+\newcommand*{\Hnplus}[1][n]{ \Hn[#1]_{+} }
 
 
 %
@@ -67,3 +70,6 @@
 \newcommand*{\gtcone}{\succ}
 \newcommand*{\lecone}{\preccurlyeq}
 \newcommand*{\ltcone}{\prec}
+
+
+\fi