skeleton, update makefile, add example
[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
10 \newcommand{\Make}{\textsc{make}}
11
12 \AtBeginSection[]{
13 \begin{frame}
14 \frametitle{Table of Contents}
15 \tableofcontents[currentsection]
16 \end{frame}
17 }
18
19 %Graphicx
20 \graphicspath{{img/}}
21 \DeclareGraphicsExtensions{.eps}
22
23 %Caption
24 \captionsetup[figure]{name={},textfont={scriptsize,it}}
25 \captionsetup[code]{name={},textfont={scriptsize,it}}
26
27 %Listings
28 \lstset{
29 basicstyle=\footnotesize\ttfamily,
30 breaklines=true,
31 captionpos=b,
32 frame=L,
33 keepspaces=true,
34 columns=flexible,
35 language=[gnu]make,
36 commentstyle=\color{green},
37 stringstyle=\color{olive},
38 keywordstyle=\color{brown},
39 showspaces=false,
40 showstringspaces=false,
41 tabsize=2
42 }
43
44 \author[Lubbers M]{Mart Lubbers\inst{1}}
45 \institute{\inst{1}\href{mailto:mart@martlubbers.net}{mart@martlubbers.net}}
46
47 \title[\Make]{(GNU) \Make{} (Files)}
48
49 \subtitle{\url{https://www.gnu.org/software/make/}}
50 \date[LUGN50]{\printdate{08.11.2016}}