diff options
Diffstat (limited to 'Master/texmf-dist/doc/metapost/metauml/metauml_manual/macro.tex')
-rw-r--r-- | Master/texmf-dist/doc/metapost/metauml/metauml_manual/macro.tex | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/metapost/metauml/metauml_manual/macro.tex b/Master/texmf-dist/doc/metapost/metauml/metauml_manual/macro.tex new file mode 100644 index 00000000000..dc6bee1a4d5 --- /dev/null +++ b/Master/texmf-dist/doc/metapost/metauml/metauml_manual/macro.tex @@ -0,0 +1,11 @@ +% $Id$ +% This file defines some useful macros + +\def\newop#1 {\expandafter\def\csname #1\endcsname{\mathop{\rm #1}\nolimits}} + +\newop{Operator} % use with \Operator + +\def\fn(#1:#2->#3){#1:#2 \rightarrow #3} +\def\set(#1,#2...#3){\{#1,#2,\ldots,#3\}} +\def\enum(#1,#2...#3){#1,#2,\ldots,#3} +\def\ssets{\cal{P}}
\ No newline at end of file |