]> gitweb.michael.orlitzky.com - mjotex.git/blobdiff - mjo-common.tex
mjo-common: utilize \mathpzc to finally define \powerset{}.
[mjotex.git] / mjo-common.tex
index 27c4c7b3f3d8ee8e81f03bab8f5df3afa6102e3d..a8d9aaa50372ecd54ab4d75ff806bb02ad5981ad 100644 (file)
@@ -5,9 +5,7 @@
 \def\havemjocommon{1}
 
 
-\ifx\mathbb\undefined
-  \usepackage{amsfonts}
-\fi
+\input{mjo-font} % amsfonts and \mathpzc
 
 \ifx\bigtimes\undefined
   \usepackage{mathtools}
 \newcommand*{\directsummany}[3]{ \binopmany{\bigoplus}{#1}{#2}{#3} }
 \newcommand*{\unionmany}[3]{ \binopmany{\bigcup}{#1}{#2}{#3} }
 
+\newcommand*{\powerset}[1]{\mathpzc{P}\of{{#1}}}
+\ifdefined\newglossaryentry
+  \newglossaryentry{powerset}{
+    name={\ensuremath{\powerset{X}}},
+    description={the ``powerset,'' or set of all subsets of $X$},
+    sort=p
+  }
+\fi
 
 % The four standard (UNLESS YOU'RE FRENCH) types of intervals along
 % the real line.