X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=mjo-arrow.tex;h=60530cb71020f3902e3b4c11f9a6498814241f5e;hb=71b85fe2012cdf733f6e72137038d7d9960ddf08;hp=6f26207b728ed4ecf9e49a38a0cb9d946017e076;hpb=38147a40c34416d5dbd87f44d8786e3dd73a132f;p=mjotex.git diff --git a/mjo-arrow.tex b/mjo-arrow.tex index 6f26207..60530cb 100644 --- a/mjo-arrow.tex +++ b/mjo-arrow.tex @@ -1,6 +1,15 @@ % % Things dealing with arrows in a category. Or functions, basically. % +\ifx\havemjoarrow\undefined +\def\havemjoarrow{1} + + +\input{mjo-common} % for \of, at least. + +\ifx\operatorname\undefined + \usepackage{amsopn} +\fi % The identity operator/arrow on its argument. \newcommand*{\identity}[1]{ \operatorname{id}_{{#1}} } @@ -8,3 +17,12 @@ % The composition of two arrows/functions. For example, the % composition of g with f is \compose{g}{f}\of{x} === g\of{f\of{x}}. \newcommand*{\compose}[2]{ {#1}\circ{#2} } + +% The inverse of an arrow, function, or whatever. +\newcommand*{\inverse}[1]{ #1^{-1} } + +% The preimage of the second argument (a set) under the first (a function). +\newcommand*{\preimage}[2]{ #1^{-1}\of{#2} } + + +\fi