]> gitweb.michael.orlitzky.com - mjotex.git/blobdiff - mjo-convex.tex
mjo-arrow: add the constant function \const.
[mjotex.git] / mjo-convex.tex
index a51011f4613ef1e0635d4f73e2b567b2afd3e598..5a930fcf34ec9531f9d5b7af792d75b1c3be055c 100644 (file)
@@ -1,9 +1,13 @@
 %
 % Operations that usually appear in convex optimization.
 %
+\ifx\havemjoconvex\undefined
+\def\havemjoconvex{1}
 
-% Needed for \operatorname.
-\usepackage{amsopn}
+
+\ifx\operatorname\undefined
+  \usepackage{amsopn}
+\fi
 
 \input{mjo-common}
 
@@ -28,3 +32,6 @@
 % The "is a face of" and "is a proper face of" relations.
 \newcommand*{\faceof}{ \trianglelefteq }
 \newcommand*{\properfaceof}{ \triangleleft }
+
+
+\fi