Update
[linuxnijmegen-make.git] / preamble.tex
1 \documentclass{beamer}
2
3 \usepackage{xcolor} % Used for listings
4 \usepackage{listings} % Source code highlighting
5 \usepackage[british]{isodate} % Dateformat
6 \usepackage[dutch]{babel} % Internationalized decorations
7 \usepackage{graphicx} % Include images
8 \usepackage{caption} % Customize figure captions
9 \usepackage{dirtree} % For the fancy directory structure
10
11 \newcommand{\Make}{\textsc{make}}
12
13 \AtBeginSection[]{
14 \begin{frame}
15 \frametitle{Table of Contents}
16 \tableofcontents[currentsection]
17 \end{frame}
18 }
19
20 %Graphicx
21 \graphicspath{{./img/}}
22 \DeclareGraphicsExtensions{.jpg}
23
24 %Caption
25 \captionsetup[figure]{name={},textfont={scriptsize,it}}
26 \captionsetup[code]{name={},textfont={scriptsize,it}}
27
28 %Listings
29 \lstset{
30 basicstyle=\scriptsize\ttfamily,
31 breaklines=true,
32 captionpos=b,
33 frame=L,
34 keepspaces=true,
35 columns=flexible,
36 language=[gnu]make,
37 commentstyle=\color{teal},
38 stringstyle=\color{olive},
39 keywordstyle=\color{brown},
40 showspaces=false,
41 showstringspaces=false,
42 tabsize=2
43 }
44
45 \author[Lubbers M]{Mart Lubbers\inst{1}}
46 \institute{\inst{1}\href{mailto:mart@martlubbers.net}{mart@martlubbers.net}}
47
48 \title[\Make]{(GNU) \Make{} (Files)}
49
50 \subtitle{%
51 \url{https://www.gnu.org/software/make/}\\
52 \url{https://git.martubbers.net/linuxnijmegen-make.git/}}
53 \date[LUGN50]{\printdate{08.11.2016}}