From 7aa825614c88a2bb73989d8d938f078a6c7391b8 Mon Sep 17 00:00:00 2001 From: Peter Ward Date: Thu, 6 Sep 2012 15:18:18 +1000 Subject: Stuff. --- docs/tutorial.tex | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'docs/tutorial.tex') diff --git a/docs/tutorial.tex b/docs/tutorial.tex index e67b824..a76760b 100644 --- a/docs/tutorial.tex +++ b/docs/tutorial.tex @@ -16,20 +16,24 @@ \usepackage{minted} \usemintedstyle{tango} -\newmint[pyinline]{python}{} +\newmint[py]{python}{} \newminted{python}{} \newmintedfile{python}{} +\newminted[shell]{sh}{} + \setmainfont{Linux Libertine O} \setmonofont[AutoFakeBold]{Inconsolata} \setlength\parskip{2ex} \setlength\parindent{0mm} -\widowpenalty=1000 -\clubpenalty=1000 +%\widowpenalty=1000 +%\clubpenalty=1000 \newcommand\fasttrack[1]{\vspace{-2ex}\hfill\emph{Fast track: #1}\nopagebreak} +\newcommand\footnoteurl[1]{\footnote{\url{#1}}} + \begin{document} \title{Writing SnakeGame bots} @@ -51,6 +55,7 @@ \input{look_ahead.tex} +\break \input{closest_apple.tex} \end{document} -- cgit v1.2.3