From 90f73298ec65ab89af5131ec8473f9c5909d333c Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sun, 5 Jun 2016 15:02:52 -0400 Subject: [PATCH] Add \cartprodthree command to avoid nesting \cartprod. --- mjo-common.tex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mjo-common.tex b/mjo-common.tex index 8dae2cf..26e761b 100644 --- a/mjo-common.tex +++ b/mjo-common.tex @@ -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 % -- 2.44.2