summaryrefslogtreecommitdiff
path: root/docs/tutorial.tex
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tutorial.tex')
-rw-r--r--docs/tutorial.tex11
1 files changed, 8 insertions, 3 deletions
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}