]> gitweb.michael.orlitzky.com - mjotex.git/blobdiff - mjo-common.tex
mjo-common: add higher tuples, up to septuple.
[mjotex.git] / mjo-common.tex
index e74648416d8a02bb7128c7f50275daecb5e7d3a8..27c4c7b3f3d8ee8e81f03bab8f5df3afa6102e3d 100644 (file)
 % A triple of things.
 \newcommand*{\triple}[3]{ \left({#1},{#2},{#3}\right) }
 
+% A four-tuple of things.
+\newcommand*{\quadruple}[4]{ \left({#1},{#2},{#3},{#4}\right) }
+
+% A five-tuple of things.
+\newcommand*{\quintuple}[5]{ \left({#1},{#2},{#3},{#4},{#5}\right) }
+
+% A six-tuple of things.
+\newcommand*{\sextuple}[6]{ \left({#1},{#2},{#3},{#4},{#5},{#6}\right) }
+
+% A seven-tuple of things.
+\newcommand*{\septuple}[7]{ \left({#1},{#2},{#3},{#4},{#5},{#6},{#7}\right) }
+
 % The Cartesian product of two things.
 \newcommand*{\cartprod}[2]{ {#1}\times{#2} }