-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpygrate_paper_preamble.ltx
47 lines (40 loc) · 1.16 KB
/
pygrate_paper_preamble.ltx
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
\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{booktabs}
\usepackage{courier}
\usepackage{hyperref}
\usepackage{cleveref} % must be loaded after hyperref
\usepackage{listings}
\usepackage{microtype}
\usepackage[numbers]{natbib}
\usepackage{softdev}
\usepackage{tikz}
\usepackage{xspace}
\usepackage{subcaption}
\usetikzlibrary{automata, positioning, arrows}
\lstset{
basicstyle=\ttfamily,
xleftmargin=\parindent,
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%
}%
}
\newcommand\pygrate{Pygrate\xspace}
\newcommand\pygratetwo{Pygrate2\xspace}
\newcommand\pygratethree{Pygrate3\xspace}
\title{Reducing Migration Friction in the Face of Disruptive Language Changes}
\author{Joannah Nanjekye, Laurence Tratt}