]> gitweb.michael.orlitzky.com - mjotex.git/blobdiff - examples.tex
Add \cartprodmany and \directsummany to mjo-common.
[mjotex.git] / examples.tex
index 6edd5381ba8349d0ad7bb9aea9acfa763c7c345d..f33ed747d4f5e03dd3cb33f7106e9a417d8f2748 100644 (file)
     The function $f$ applied to $x$ is $f\of{x}$. We can group terms
     like $a + \qty{b - c}$ or $a + \qty{b - \sqty{c - d}}$. Here's a
     set $\set{1,2,3} = \setc{n \in \Nn[1]}{ n \le 3 }$. Here's a pair
-    of things $\pair{1}{2}$ or a triple of them
-    $\triple{1}{2}{3}$. The Cartesian product of two sets $A$ and $B$
-    is $\cartprod{A}{B}$; if we take the product with $C$ as well,
-    then we obtain $\cartprodthree{A}{B}{C}$. The direct sum of $V$
-    and $W$ is $\directsum{V}{W}$ and the factorial of the number $10$
-    is $\factorial{10}$.
-
+    of things $\pair{1}{2}$ or a triple of them $\triple{1}{2}{3}$,
+    and the factorial of the number $10$ is $\factorial{10}$.
+
+    The Cartesian product of two sets $A$ and $B$ is
+    $\cartprod{A}{B}$; if we take the product with $C$ as well, then
+    we obtain $\cartprodthree{A}{B}{C}$. The direct sum of $V$ and $W$
+    is $\directsum{V}{W}$. Or three things,
+    $\directsumthree{U}{V}{W}$. How about more things? Like
+    $\directsummany{k=1}{\infty}{V_{k}} \ne
+    \cartprodmany{k=1}{\infty}{V_{k}}$. Those direct sums and
+    cartesian products adapt nicely to display equations:
+    %
+    \begin{equation*}
+      \directsummany{k=1}{\infty}{V_{k}} \ne \cartprodmany{k=1}{\infty}{V_{k}}.
+    \end{equation*}
     Here are a few common tuple spaces that should not have a
     superscript when that superscript would be one: $\Nn[1]$,
     $\Zn[1]$, $\Qn[1]$, $\Rn[1]$, $\Cn[1]$. However, if the
@@ -61,7 +69,6 @@
     \begin{equation*}
       \unionmany{k=1}{\infty}{A_{k}} = \intersectmany{k=1}{\infty}{B_{k}}
     \end{equation*}
-    %
   \end{section}
 
   \begin{section}{Cone}