summaryrefslogtreecommitdiff
path: root/provider/templates
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-02-03 19:15:38 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2016-02-03 19:15:38 +0100
commitd80fc58aab38a5af024e33f91a492c908fea94e2 (patch)
treeb596113f6d322095157379a36ef2d52515d74f02 /provider/templates
parent5c4377102f442208d844a3d42aa23a0d074b7257 (diff)
downloaddirty-haskell.org-d80fc58aab38a5af024e33f91a492c908fea94e2.tar
dirty-haskell.org-d80fc58aab38a5af024e33f91a492c908fea94e2.tar.gz
dirty-haskell.org-d80fc58aab38a5af024e33f91a492c908fea94e2.tar.bz2
dirty-haskell.org-d80fc58aab38a5af024e33f91a492c908fea94e2.tar.xz
dirty-haskell.org-d80fc58aab38a5af024e33f91a492c908fea94e2.zip
CatT 1.2.6
Diffstat (limited to 'provider/templates')
-rw-r--r--provider/templates/preamble.tex9
1 files changed, 5 insertions, 4 deletions
diff --git a/provider/templates/preamble.tex b/provider/templates/preamble.tex
index 1f2c1e4..541b415 100644
--- a/provider/templates/preamble.tex
+++ b/provider/templates/preamble.tex
@@ -8,15 +8,16 @@
8 8
9\usetikzlibrary{cd} 9\usetikzlibrary{cd}
10 10
11\newcommand*{\ca}[1]{\ensuremath{\mathbf{#1}}}
12\newcommand*{\idarr}[1]{\ensuremath{\mathrm{id}_{#1}}}
13
14\newcommand*{\id}{\ensuremath{\mathrm{id}}} 11\newcommand*{\id}{\ensuremath{\mathrm{id}}}
15\renewcommand{\implies}{\ensuremath{\rightarrow}} 12\renewcommand{\implies}{\ensuremath{\rightarrow}}
16 13
17\newcommand*{\N}{\ensuremath{\mathbb{N}}} 14\newcommand*{\N}{\ensuremath{\mathbb{N}}}
15\newcommand*{\powerset}[1]{\raisebox{.15\baselineskip}{\Large\ensuremath{\wp}} \left ( #1 \right )}
16
17\newcommand*{\ca}[1]{\ensuremath{\mathbf{#1}}}
18\newcommand*{\idarr}[1]{\ensuremath{\mathrm{id}_{#1}}}
18\newcommand*{\arr}[3]{\begin{tikzcd}[ampersand replacement=\&]{#1} \rar{#2} \& {#3}\end{tikzcd}} 19\newcommand*{\arr}[3]{\begin{tikzcd}[ampersand replacement=\&]{#1} \rar{#2} \& {#3}\end{tikzcd}}
19\newcommand*{\Hom}[3]{\ensuremath{\mathrm{Hom}_{#1} \left [ #2, #3 \right ]}} 20\newcommand*{\Hom}[3]{\ensuremath{\mathrm{Hom}_{#1} \left [ #2, #3 \right ]}}
20\newcommand*{\End}[2]{\ensuremath{\mathrm{End}_{#1} \left [ #2 \right ]}} 21\newcommand*{\End}[2]{\ensuremath{\mathrm{End}_{#1} \left [ #2 \right ]}}
21 22
22\newcommand*{\powerset}{\raisebox{.15\baselineskip}{\Large\ensuremath{\wp}}} 23\newcommand*{\rest}[2]{\ensuremath{#1 \upharpoonright #2}}