]> gitweb.michael.orlitzky.com - mjotex.git/blobdiff - mjo-algebra.tex
mjo-*: add comments where mjo-common is used for \of.
[mjotex.git] / mjo-algebra.tex
index 71ba6221a1b9f0859fcbcb1530a251f7234e93af..fb930279e46e851855845e6e32820e9504ec20a8 100644 (file)
@@ -9,10 +9,21 @@
   \usepackage{amsopn}
 \fi
 
+\input{mjo-common} % for \of, at least
+
+
 % The (sub)algebra generated by its argument, a subset of some ambient
 % algebra. By definition this is the smallest subalgebra (of the
 % ambient one) containing that set.
 \newcommand*{\alg}[1]{\operatorname{alg}\of{{#1}}}
+\ifdefined\newglossaryentry
+  \newglossaryentry{alg}{
+    name={\ensuremath{\alg{X}}},
+    description={the (sub)algebra generated by $X$},
+    sort=a
+  }
+\fi
+
 
 % The fraction field of its argument, an integral domain. The name
 % "Frac" was chosen here instead of "Quot" because the latter
 % The ideal generated by its argument, a subset consisting of ring or
 % algebra elements.
 \newcommand*{\ideal}[1]{\operatorname{ideal}\of{{#1}}}
+\ifdefined\newglossaryentry
+  \newglossaryentry{ideal}{
+    name={\ensuremath{\ideal{X}}},
+    description={the ideal generated by $X$},
+    sort=i
+  }
+\fi
+
 
 % The polynomial ring whose underlying commutative ring of
 % coefficients is the first argument and whose indeterminates (a