From d4712abb88a2f342f31bbd60426d1a983df05ac2 Mon Sep 17 00:00:00 2001
From: Michael Orlitzky <michael@orlitzky.com>
Date: Sat, 7 Sep 2019 09:20:36 -0400
Subject: [PATCH] mjo-eja.tex: new file for Euclidean Jordan algebras.

---
 GNUmakefile  |  6 +++---
 examples.tex |  5 +++++
 mjo-eja.tex  | 20 ++++++++++++++++++++
 mjotex.sty   |  1 +
 4 files changed, 29 insertions(+), 3 deletions(-)
 create mode 100644 mjo-eja.tex

diff --git a/GNUmakefile b/GNUmakefile
index 26bb59f..799b6db 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -27,9 +27,9 @@ PN = examples
 #
 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
+MJOTEX += mjo-eja.tex mjo-font.tex mjo-linear_algebra.tex mjo-listing.tex
+MJOTEX += mjo-misc.tex mjo-proof_by_cases.tex mjo-theorem.tex
+MJOTEX += mjo-theorem-star.tex mjo-topology.tex mjo.bst
 
 # Compile a list of raw source code listings (*.listing) and their
 # associated output files (*.py) that will be tested by check-sage.
diff --git a/examples.tex b/examples.tex
index b6c4ae1..cdf2359 100644
--- a/examples.tex
+++ b/examples.tex
@@ -116,6 +116,11 @@
     proper face, then we write $F \properfaceof K$.
   \end{section}
 
+  \begin{section}{Euclidean Jordan algebras}
+    The Jordan product of $x$ and $y$ in some Euclidean Jordan algebra
+    is $\jp{x}{y}$.
+  \end{section}
+
   \begin{section}{Font}
     We can write things like Carathéodory and Güler and $\mathbb{R}$.
   \end{section}
diff --git a/mjo-eja.tex b/mjo-eja.tex
new file mode 100644
index 0000000..0408bea
--- /dev/null
+++ b/mjo-eja.tex
@@ -0,0 +1,20 @@
+%
+% Euclidean Jordan algebras.
+%
+
+% The jordan product of its two arguments.
+%
+% The choice of \circ here (as opposed to, say, \bullet) was a tough
+% one. On the one hand, the \circ operator already means function
+% composition, and function composition does appear in the context of
+% (Euclidean) Jordan algebras. On the other hand, the meaning would
+% be unambiguous to a mathematician. Perhaps more importantly -- the
+% \circ is much easier to write on the board if one intends to teach
+% this material. Finally, the \circ is used by Koecher, Alizadeh,
+% Baes, Gowda, et cetera and seems to be more popular. Full
+% disclosure: the \bullet is used by McCrimmon.
+%
+% It is for this reason that we have segregated the Jordan product
+% into its own LaTeX file; we probably wouldn't want to use \circ as
+% a (bilinear) algebra multiplication in any other context.
+\newcommand*{\jp}[2]{{#1} \circ {#2}}
diff --git a/mjotex.sty b/mjotex.sty
index 39792d5..43fdfd7 100644
--- a/mjotex.sty
+++ b/mjotex.sty
@@ -6,6 +6,7 @@
 \input{mjo-complex}
 \input{mjo-cone}
 \input{mjo-convex}
+\input{mjo-eja}
 \input{mjo-font}
 \input{mjo-linear_algebra}
 \input{mjo-listing}
-- 
2.45.3