]> gitweb.michael.orlitzky.com - mjotex.git/blobdiff - mjo-topology.tex
Wrap all mjotex files in conditionals to prevent double-loading.
[mjotex.git] / mjo-topology.tex
index 574506c7379102db1aa326b1cb211671310d3cf2..c7f50373ad8e98320f25088b2644e72828c1195b 100644 (file)
@@ -1,12 +1,23 @@
 %
 % Standard topological operations.
 %
+\ifx\havemjotopology\undefined
+\def\havemjotopology{1}
+
+
+% Needed for \operatorname.
+\usepackage{amsopn}
+
+\input{mjo-common}
 
 % 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