]> gitweb.michael.orlitzky.com - mjotex.git/commitdiff
Add \cartprodthree command to avoid nesting \cartprod.
authorMichael Orlitzky <michael@orlitzky.com>
Sun, 5 Jun 2016 19:02:52 +0000 (15:02 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sun, 5 Jun 2016 19:02:52 +0000 (15:02 -0400)
mjo-common.tex

index 8dae2cff42f0d75693f2a01b3c853c74b526ef9b..26e761bda919ae79d587a16e8b435f49cd019694 100644 (file)
@@ -26,6 +26,9 @@
 % The Cartesian product of two things.
 \providecommand*{\cartprod}[2]{ {#1} \times {#2} }
 
+% The Cartesian product of three things.
+\providecommand*{\cartprodthree}[3]{ \cartprod{{#1}}{\cartprod{{#2}}{{#3}}} }
+
 %
 % Product spaces
 %