]> gitweb.michael.orlitzky.com - mjotex.git/blobdiff - mjo-topology.tex
mjo-algebra.tex: fix glossary sorting of \variety
[mjotex.git] / mjo-topology.tex
index 9ea5ff1d99f60e273dcb511b88049aa859a57291..040a432b5b6c48926b9c2af15eefbe949edc23a0 100644 (file)
@@ -1,17 +1,24 @@
 %
 % Standard topological operations.
 %
+\ifx\havemjotopology\undefined
+\def\havemjotopology{1}
 
-% Needed for \operatorname.
-\usepackage{amsopn}
 
-\input{mjo-common}
+\ifx\operatorname\undefined
+  \usepackage{amsopn}
+\fi
+
+\input{mjo-common} % for \of, at least
 
 % The ``interior of'' operator.
-\newcommand*{\interior}[1]{ \operatorname{int} \of{{#1}} }
+\newcommand*{\interior}[1]{ \operatorname{int}\of{{#1}} }
 
 % The ``closure of'' operator.
-\newcommand*{\closure}[1]{ \overline{{#1}} }
+\newcommand*{\closure}[1]{ \operatorname{cl}\of{{#1}} }
+
+% And the ``boundary of'' operator.
+\newcommand*{\boundary}[1]{ \operatorname{bdy}\of{{#1}} }
+
 
-% And the boundary operator.
-\newcommand*{\boundary}[1]{ \partial \of{{#1}} }
+\fi