]> gitweb.michael.orlitzky.com - mjotex.git/blobdiff - mjo-convex.tex
mjo-algebra.tex: fix glossary sorting of \variety
[mjotex.git] / mjo-convex.tex
index a51011f4613ef1e0635d4f73e2b567b2afd3e598..5ac7dcb974ebaf1282c3506cc7e5840bc9777871 100644 (file)
@@ -1,11 +1,15 @@
 %
 % Operations that usually appear in convex optimization.
 %
+\ifx\havemjoconvex\undefined
+\def\havemjoconvex{1}
 
-% Needed for \operatorname.
-\usepackage{amsopn}
 
-\input{mjo-common}
+\ifx\operatorname\undefined
+  \usepackage{amsopn}
+\fi
+
+\input{mjo-common} % for \of, at least
 
 % The ``conic combination'' operator.
 \newcommand*{\cone}[1]{ \operatorname{cone} \of{{#1}} }
@@ -28,3 +32,6 @@
 % The "is a face of" and "is a proper face of" relations.
 \newcommand*{\faceof}{ \trianglelefteq }
 \newcommand*{\properfaceof}{ \triangleleft }
+
+
+\fi