]> gitweb.michael.orlitzky.com - mjotex.git/blobdiff - mjo-algebra.tex
mjo-algebra: add the \ideal{} generated by a set.
[mjotex.git] / mjo-algebra.tex
index 88523456235e4bde91b99d9f99f1fcd41280588c..4f3f79cd5dab03694d66be516bb4b157c7c1e1c9 100644 (file)
@@ -5,8 +5,9 @@
 \def\havemjoalgebra{1}
 
 
-% Needed for \operatorname.
-\usepackage{amsopn}
+\ifx\operatorname\undefined
+  \usepackage{amsopn}
+\fi
 
 % The fraction field of its argument, an integral domain. The name
 % "Frac" was chosen here instead of "Quot" because the latter
 % some cases for... a quotient field (something mod something).
 \newcommand*{\Frac}[1]{\operatorname{Frac}\of{{#1}}}
 
+% The ideal generated by its argument, a subset consisting of ring or
+% algebra elements.
+\newcommand*{\ideal}[1]{\operatorname{ideal}\of{{#1}}}
+
 % The polynomial ring whose underlying commutative ring of
 % coefficients is the first argument and whose indeterminates (a
 % comma-separated list) are the second argumnt.