-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmacros.tex
More file actions
21 lines (19 loc) · 723 Bytes
/
Copy pathmacros.tex
File metadata and controls
21 lines (19 loc) · 723 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
% General stuff
% Category specific notation
\newcommand{\cat}[1]{\mathbf{{#1}}}
\newcommand{\catObjs}[1]{\lvert{#1}\rvert}
\newcommand{\catArrs}[1]{{#1}^{2}}
\newcommand{\sliceCat}[2]{{#1}\downarrow{#2}}
\newcommand{\arrow}[3]{{#2}: {#1} \to {#3}}
\newcommand{\arrowalt}[3]{{#1} \overset{#2}{\to} {#3}}
\newcommand{\arrowaltalt}[3]{\xymatrix{{#1} \ar[r]|{#2} & {#3}}}
%Special categories
\newcommand{\catSET}{\cat{Set}}
\newcommand{\catPAR}{\cat{Par}}
\newcommand{\catINCL}{\cat{Incl}}
\newcommand{\catREL}{\cat{Rel}}
\newcommand{\catPROP}{\cat{Prop}}
\newcommand{\catMult}{\cat{Mult}}
\newcommand{\catALGOMEGA}{\cat{Alg}(\Omega)}
\newcommand{\catALGSIGMA}{\cat{Alg}(\Sigma)}
\newcommand{\catSYSSIGMA}{\cat{Sys}(\Sigma)}