-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpaper_preamble.tex
68 lines (58 loc) · 1.54 KB
/
paper_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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
%% General settings
\documentclass[sigplan,screen,authorversion=true]{acmart}
\settopmatter{printfolios=false,printccs=false,printacmref=false}
%% Packages
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{booktabs}
\usepackage{enumitem}
\usepackage{listings}
\usepackage{softdev}
%% Listings settings
\lstset{
basicstyle=\ttfamily\small,
xleftmargin=\parindent,
lineskip=-1pt,
numbers=left,
numbersep=.8em,
numberstyle=\tiny\tt\color{gray},
captionpos=b,
escapeinside={{<!}{!>}},
commentstyle=\color{gray}\itshape,
keywordstyle=\textbf,
}
% from https://tex.stackexchange.com/questions/264361/skipping-line-numbers-in-lstlisting#264373
\let\origthelstnumber\thelstnumber
\makeatletter
\newcommand*\Suppressnumber{%
\lst@AddToHook{OnNewLine}{%
\let\thelstnumber\relax%
\advance\c@lstnumber-\@ne\relax%
}%
}
\renewcommand{\sectionautorefname}{Section}
\newcommand\footnoteurl[2]{\footnote{\url{#1}, accessed {#2}}}
\setlist{topsep=0pt, leftmargin=*}
%% Specific settings and macros
%% Title
\title{Compartments and Processes: A CHERIfied approach}
%% Authors
\author{Andrei Lascu}
\affiliation{%
\institution{King's College London}
\city{London}
\country{United Kingdom}
}
\orcid{0000-0002-6623-2053}
\author{Laurence Tratt}
\affiliation{%
\institution{King's College London}
\city{London}
\country{United Kingdom}
}
\orcid{0000-0002-5258-3805}
%% Websites
\thanks{Authors' URLs: %
A.~Lascu~[\url{https://andreil.eu/}],
L.~Tratt~[\url{https://tratt.net/laurie/}].
}