skeleton, update makefile, add example
[linuxnijmegen-make.git] / preamble.tex
index bda3f32..744cec5 100644 (file)
@@ -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}}
 
        \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}}