-
Notifications
You must be signed in to change notification settings - Fork 0
/
bbbq_header.tex
105 lines (85 loc) · 2.8 KB
/
bbbq_header.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
\documentclass{article}
% Just try to parse, do not ask for input
\nonstopmode
% Bibliography
% For Vancounter style:
\usepackage[numbers]{natbib}
% For regular style:
% \usepackage{natbib}
%\bibpunct{(}{)}{;}{a}{}{;}
% Use 'It was found that A is B (Name 1234)' style
%\setcitestyle{authoryear,open={},close={}}
% Affiliations
\usepackage{authblk}
\title{
Transmembrane helices are an over-presented and evolutionarily conserved
source of major histocompatibility complex class I and II epitopes
}
\author[1]{Richèl J.C. Bilderbeek}
\author[1]{Maksim V. Baranov}
\author[1]{Geert van den Bogaart}
\author[1]{Frans Bianchi}
\affil[1]{GBB, University of Groningen, Groningen, The Netherlands}
% Use double spacing
\usepackage{setspace}
\doublespacing
\usepackage{listings}
\usepackage{hyperref}
\usepackage{todonotes}
\usepackage{verbatim}
\usepackage{pgf}
\usepackage{bm}
\usepackage{multirow}
\usepackage{amsfonts}
\usepackage{array}
\usepackage{booktabs}
\newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}}
\newcolumntype{L}[1]{>{\raggedright\arraybackslash}p{#1}}
\usepackage{longtable}
% sidewaysfigure
\usepackage{rotating}
% Style of listings
% From http://r.789695.n4.nabble.com/
% How-to-nicely-display-R-code-with-the-LaTeX-package-listings-tp4648110.html
\usepackage{fancyvrb}
\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolor}{rgb}{0.95,0.95,0.92}
\lstdefinestyle{mystyle}{
language=R,% set programming language
basicstyle=\ttfamily\small,% basic font style
commentstyle=\color{gray},% comment style
numberstyle=\scriptsize,% use small line numbers
numbersep=10pt,% space between line numbers and code
tabsize=2,% sizes of tabs
showstringspaces=false,
captionpos=b,% positioning of the caption below
breaklines=true,% automatic line breaking
escapeinside={(*}{*)},% escaping to LaTeX
fancyvrb=true,% verbatim code is typset by listings
extendedchars=false,% prohibit extended chars (chars of codes 128--255)
alsoletter={.<-},% becomes a letter
alsoother={$},% becomes other
otherkeywords={!=, ~, $, \&, \%/\%, \%*\%, \%\%, <-, <<-, /},
deletekeywords={c}% remove keywords
}
\lstset{style=mystyle}
% Adds numbered lines
\usepackage{lineno}
\linenumbers
% Subfigures
\usepackage{subcaption}
% Subfigure numbers use uppercase,
% from https://tex.stackexchange.com/a/278140
\renewcommand{\thesubfigure}{\Alph{subfigure}}
%comments
\newcommand{\frans}[1]{\textcolor{blue}{\textbf{[FB: #1]}}}
\newcommand{\richel}[1]{\textcolor{orange}{\textbf{[RB: #1]}}}
\newcommand{\geert}[1]{\textcolor{red}{\textbf{[GVDB: #1]}}}
\newcommand{\maksim}[1]{\textcolor{blue}{\textbf{[MVB: #1]}}}
\newcommand{\maxim}[1]{\textcolor{blue}{\textbf{[MVB: #1]}}}
\begin{document}
\maketitle
\include{bbbq_article}
\end{document}