-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.tex
32 lines (25 loc) · 934 Bytes
/
config.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
\usepackage{classicthesis}
\usepackage{polyglossia}
\usepackage[natbib=true, style=authoryear]{biblatex}
\usepackage{booktabs}
\usepackage{relsize}
\usepackage{setspace}
\usepackage{graphicx}
\setdefaultlanguage[variant=uk]{english}
\setmainfont[Mapping=tex-text, Numbers=OldStyle]{TeX Gyre Pagella}
\setsansfont[Mapping=tex-text, Numbers=OldStyle]{Droid Sans}
\setmonofont{Droid Sans Mono}
\addbibresource{references.bib}
% Set the line spread (height). Be careful here, use too small rather than too
% large value. Also: double-spaced lines correspond to a value of ~1.3,
% depending on the font, NOT to 2.0
\setstretch{1.1}
\graphicspath{{gfx/}}
%% Custom macros
\newcommand*\captitle[1]{\textbf{#1}}
\newcommand*\todo[1]{%
\graffito{\textcolor{red}{TO\ DO: #1}}}
\newcommand*\gene[1]{\textit{#1}}
\newcommand*\ko[1]{\textit{#1\textsuperscript{\(-/-\)}}}
\newcommand*\protein[1]{#1}
\newcommand*\species[1]{\textit{#1}}