]> gitweb.michael.orlitzky.com - mjotex.git/blobdiff - mjo-algebra.tex
Add \unit{} for the multiplicative identity element.
[mjotex.git] / mjo-algebra.tex
index 7ff7b5ae737ac2c14cbe4eda7af0a4f72fde2a5d..36ad4bd64888c1b2926ff2d454c989e3a561a6aa 100644 (file)
 \input{mjo-common} % for \of, and \binopmany
 
 
 \input{mjo-common} % for \of, and \binopmany
 
 
+% 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} }
 
 % The direct sum of two things.
 \newcommand*{\directsum}[2]{ {#1}\oplus{#2} }