]> gitweb.michael.orlitzky.com - mjotex.git/blobdiff - mjo-algebra.tex
Add \zero{R} for the additive identity element in R.
[mjotex.git] / mjo-algebra.tex
index 7ff7b5ae737ac2c14cbe4eda7af0a4f72fde2a5d..25b96d9f8a184edc051ed2867bc8fa9b4b0a269b 100644 (file)
 \input{mjo-common} % for \of, and \binopmany
 
 
+% The additive identity element of its argument, which should be
+% an algebraic structure.
+\newcommand*{\zero}[1]{ 0_{{#1}} }
+
+\ifdefined\newglossaryentry
+  \newglossaryentry{zero}{
+    name={\ensuremath{\zero{R}}},
+    description={the additive identity element of $R$},
+    sort=z
+  }
+\fi
+
+% The multiplicative identity element of its argument, which should be
+% an algebraic structure.
+\newcommand*{\unit}[1]{ 1_{{#1}} }
+
+\ifdefined\newglossaryentry
+  \newglossaryentry{unit}{
+    name={\ensuremath{\unit{R}}},
+    description={the multiplicative identity (unit) element of $R$},
+    sort=u
+  }
+\fi
+
 % The direct sum of two things.
 \newcommand*{\directsum}[2]{ {#1}\oplus{#2} }