From 5c4377102f442208d844a3d42aa23a0d074b7257 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 3 Feb 2016 18:23:10 +0100 Subject: Fixed tex \end fuckup --- provider/templates/preamble.tex | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'provider') diff --git a/provider/templates/preamble.tex b/provider/templates/preamble.tex index 0d76503..1f2c1e4 100644 --- a/provider/templates/preamble.tex +++ b/provider/templates/preamble.tex @@ -11,11 +11,12 @@ \newcommand*{\ca}[1]{\ensuremath{\mathbf{#1}}} \newcommand*{\idarr}[1]{\ensuremath{\mathrm{id}_{#1}}} -\newcommand{\id}{\ensuremath{\mathrm{id}}} +\newcommand*{\id}{\ensuremath{\mathrm{id}}} \renewcommand{\implies}{\ensuremath{\rightarrow}} -\newcommand{\N}{\ensuremath{\mathbb{N}}} -\newcommand{\arr}[3]{\begin{tikzcd}[ampersand replacement=\&]{#1} \rar{#2} \& {#3}\end{tikzcd}} -\renewcommand{\hom}[3]{\ensuremath{\mathrm{hom}_{#1} \left [ #2, #3 \right ]}} +\newcommand*{\N}{\ensuremath{\mathbb{N}}} +\newcommand*{\arr}[3]{\begin{tikzcd}[ampersand replacement=\&]{#1} \rar{#2} \& {#3}\end{tikzcd}} +\newcommand*{\Hom}[3]{\ensuremath{\mathrm{Hom}_{#1} \left [ #2, #3 \right ]}} +\newcommand*{\End}[2]{\ensuremath{\mathrm{End}_{#1} \left [ #2 \right ]}} -\newcommand{\powerset}{\raisebox{.15\baselineskip}{\Large\ensuremath{\wp}}} +\newcommand*{\powerset}{\raisebox{.15\baselineskip}{\Large\ensuremath{\wp}}} -- cgit v1.2.3