X-Git-Url: https://git.martlubbers.net/?p=linuxnijmegen-make.git;a=blobdiff_plain;f=preamble.tex;h=744cec545317616a6819b642a5b070f1c8450ba0;hp=bda3f32bdb32890d9f354f4a11a5ad64c79ca0f7;hb=c543cff53548d9647211b8f13e1817d3e4b34b15;hpb=305fcfdc2031aff0f53aabe787c282b699fe2ac3 diff --git a/preamble.tex b/preamble.tex index bda3f32..744cec5 100644 --- a/preamble.tex +++ b/preamble.tex @@ -1,8 +1,11 @@ \documentclass{beamer} -\usepackage{geometry} -\usepackage{hyperref} -\usepackage[british]{isodate} +\usepackage{xcolor} % Used for listings +\usepackage{listings} % Source code highlighting +\usepackage[british]{isodate} % Dateformat +\usepackage[dutch]{babel} % Internationalized decorations +\usepackage{graphicx} % Include images +\usepackage{caption} % Customize figure captions \newcommand{\Make}{\textsc{make}} @@ -13,6 +16,31 @@ \end{frame} } +%Graphicx +\graphicspath{{img/}} +\DeclareGraphicsExtensions{.eps} + +%Caption +\captionsetup[figure]{name={},textfont={scriptsize,it}} +\captionsetup[code]{name={},textfont={scriptsize,it}} + +%Listings +\lstset{ + basicstyle=\footnotesize\ttfamily, + breaklines=true, + captionpos=b, + frame=L, + keepspaces=true, + columns=flexible, + language=[gnu]make, + commentstyle=\color{green}, + stringstyle=\color{olive}, + keywordstyle=\color{brown}, + showspaces=false, + showstringspaces=false, + tabsize=2 +} + \author[Lubbers M]{Mart Lubbers\inst{1}} \institute{\inst{1}\href{mailto:mart@martlubbers.net}{mart@martlubbers.net}}