# A space-separated list of the mjotex files that you use. The path to
# mjotex must be contain in your $TEXINPUTS environment variable.
-MJOTEX = mjo-algorithm.tex mjo-arrow.tex mjo-calculus.tex mjo-common.tex
-MJOTEX += mjo-complex.tex mjo-cone.tex mjo-convex.tex mjo-font.tex
-MJOTEX += mjo-linear_algebra.tex mjo-listing.tex mjo-misc.tex
+#
+# MJOTEX = mjotex.sty
+#
+MJOTEX = mjo-algebra.tex mjo-algorithm.tex mjo-arrow.tex mjo-calculus.tex
+MJOTEX += mjo-common.tex mjo-complex.tex mjo-cone.tex mjo-convex.tex
+MJOTEX += mjo-font.tex mjo-linear_algebra.tex mjo-listing.tex mjo-misc.tex
MJOTEX += mjo-proof_by_cases.tex mjo-theorem.tex mjo-theorem-star.tex
MJOTEX += mjo-topology.tex mjo.bst
\begin{document}
+ \begin{section}{Algebra}
+ If $R$ is a commutative ring, then $\polyring{R}{X,Y,Z}$ is a
+ multivariate polynomial ring with indeterminates $X$, $Y$, and
+ $Z$, and coefficients in $R$. If $R$ is a moreover an integral
+ domain, then its fraction field is $\Frac{R}$.
+ \end{section}
+
\begin{section}{Algorithm}
An example of an algorithm (bogosort) environment.
--- /dev/null
+% Needed for \operatorname.
+\usepackage{amsopn}
+
+% The fraction field of its argument, an integral domain. The name
+% "Frac" was chosen here instead of "Quot" because the latter
+% corresponds to the term "quotient field," which can be mistaken in
+% some cases for... a quotient field (something mod something).
+\newcommand*{\Frac}[1]{\operatorname{Frac}\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.
+\newcommand*{\polyring}[2]{{#1}\left[{#2}\right]}
+\input{mjo-algebra}
\input{mjo-algorithm}
\input{mjo-arrow}
\input{mjo-calculus}