From: Michael Orlitzky Date: Wed, 25 May 2016 17:13:17 +0000 (-0400) Subject: Add \Nn macro for cartesian products of the natural numbers. X-Git-Tag: posZ-submitted-laa~37 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=d68f72131f53a417de8f30a1475fb5c234ca3e75;p=mjotex.git Add \Nn macro for cartesian products of the natural numbers. --- diff --git a/mjo-common.tex b/mjo-common.tex index 40a7d6c..a445788 100644 --- a/mjo-common.tex +++ b/mjo-common.tex @@ -32,6 +32,11 @@ % will be omitted entirely. % +% The natural n-space, N x N x N x ... x N. +\providecommand*{\Nn}[1][n]{ + \mathbb{N}\if\detokenize{#1}\detokenize{1}{}\else^{#1}\fi +} + % The integral n-space, Z x Z x Z x ... x Z. \providecommand*{\Zn}[1][n]{ \mathbb{Z}\if\detokenize{#1}\detokenize{1}{}\else^{#1}\fi