Basic file structure created with makefiles and gitignore file.
In script.tex and in syntax.tex are some examples for beamer, furthermore you
can look at http://en.wikibooks.org/wiki/LaTeX/Presentations#The_Beamer_package
for a comprehensive tutorial for beamer.
--- /dev/null
+*.aux
+*.log
+*.nav
+*.out
+*.pdf
+*.snm
+*.toc
+*.vrb
--- /dev/null
+Bash presentatie
+================
+Requires LaTeX and Beamer to compile.
--- /dev/null
+SHELL:=/bin/bash
+
+all:
+ pdflatex part1.tex
+ pdflatex part1.tex
+
+clean:
+ rm -v part1.{pdf,aux,log,nav,out,snm,toc,vrb}
--- /dev/null
+\documentclass{beamer}
+
+% Voor het weergeven van code, we moeten maar even kijken naar de precieze
+% stijl opties die we willen.
+\usepackage{listings}
+\lstset{
+ language=bash,
+ basicstyle=\footnotesize,
+ breaklines=true,
+ tabsize=2,
+ breakatwhitespace=true,
+ showspaces=false
+}
+\lstdefinestyle{bashregel}{
+ frame=L
+}
+\lstdefinestyle{bashscript}{
+ numbers=left,
+ frame=single
+}
+
+\author{Felix Stegerman \and Mart Lubbers}
+\title{Bash workshop part 1}
+\date{\today}
+
+\begin{document}
+\begin{frame}
+ \maketitle
+\end{frame}
+
+\begin{frame}
+\tableofcontents
+\end{frame}
+
+\section{Syntax}
+\input{syntax.tex}
+
+\section{Exit codes}
+\input{exit.tex}
+
+\section{Basis commando's}
+\input{basis.tex}
+
+\section{Pipes en streams}
+\input{stream.tex}
+
+\section{Scripten}
+\input{script.tex}
+
+\end{document}
--- /dev/null
+\begin{frame}[fragile]
+ \begin{lstlisting}[style=bashscript]
+foo() {
+ echo "bar"
+}
+
+barbaz=$(foo | sed 's/r/z/g')
+ \end{lstlisting}
+\end{frame}
--- /dev/null
+% een frame moet fragile als het listings bevat
+\begin{frame}[fragile]
+ \begin{lstlisting}[style=bashregel]
+$ cd ..
+ \end{lstlisting}
+\end{frame}
--- /dev/null
+SHELL:=/bin/bash
+
+all:
+ pdflatex part2.tex
+ pdflatex part2.tex
+
+clean:
+ rm -v part2.{pdf,aux,log,nav,out,snm,toc,vrb}
--- /dev/null
+\documentclass{beamer}
+
+\author{Felix Stegerman \and Mart Lubbers}
+\title{Bash workshop part 2}
+\date{\today}
+
+\begin{document}
+\begin{frame}
+ Hello world!
+\end{frame}
+
+\end{document}
+