-
Notifications
You must be signed in to change notification settings - Fork 0
/
preamble.tex
48 lines (40 loc) · 1.23 KB
/
preamble.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[backend=biber]{biblatex}
\addbibresource{references.bib}
\usepackage{alltt}
\usepackage{booktabs}
\usepackage[scaled=0.8]{beramono} % our monospace font
\usepackage[T1]{fontenc} % this is necessary for beramo to work
\usepackage{listings}
\usepackage{upquote}
\lstdefinelanguage{hol4}{
%alsoletter={@=>},
morekeywords={
Definition, End, Theorem, Proof, QED},
% fun, let, val, in, end, if, then, else, case, of},
%sensitive=true,
%morecomment=[l]{//},
morecomment=[s]{(*}{*)},
commentstyle=\color{gray},
showstringspaces=false,
columns=fullflexible,
mathescape=true,
numberstyle=\tiny,
basicstyle=\ttfamily,
numbersep=5pt,
stepnumber=2,
numbers=none, % where to put the line-numbers
morestring=[b]"
}
\lstset{language=hol4, breaklines=true}
\usepackage{listings}
\usepackage{hyperref}
\usepackage{todonotes}
\newcommand{\heiko}[1]{\todo[inline,author=Heiko,bordercolor=red!20,color=orange!20]{#1}}
\newcommand{\IG}[1]{\todo[inline,author=Ivan,bordercolor=blue!20,color=orange!20]{#1}}
\newcommand{\ekey}[1]{\texttt{#1}}
\addto\extrasenglish{
\def\sectionautorefname{Section}
\def\subsectionautorefname{Section} % intentional
}