latex-paper/paper/header.tex

50 lines
1.1 KiB
TeX

\usepackage[english]{babel}
\usepackage{lmodern} % The best LaTeX font
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathtools}
\usepackage{graphicx}
\usepackage{xspace}
\usepackage{hyperref}
\usepackage[kerning=true]{microtype} % Cool typography twiks
%\usepackage{epigraph} % Badass epigraphs
%\usepackage{csquotes} % Multi-lingual quotes
%\usepackage{booktabs} % Stylish tables
%\usepackage{pifont} % For special characters e.g. checkbox
%%%%%%%%%%%%%%%%%%
%% Bibliography %%
%%%%%%%%%%%%%%%%%%
\usepackage[
style=numeric-comp,
sorting=none,
hyperref,
singletitle=true,
backend=biber]{biblatex}
\addbibresource{bib/introduction.bib}
%%%%%%%%%%%%
%% Macros %%
%%%%%%%%%%%%
\newcommand{\annote}[3]{{%
\footnotesize\sffamily%
\colorbox{#3}{\bfseries\textcolor{white}{#2}}\hspace{-0.2ex}%
{\color{#3}%
$\blacktriangleright$%
\textit{#1}%
$\blacktriangleleft$%
}%
}}
% List of available colors:
% https://www.w3.org/TR/SVG11/types.html#ColorKeywords
\usepackage[svgnames]{xcolor}
\newcommand{\todo}[1]{\annote{#1}{Todo}{teal}}