summaryrefslogtreecommitdiff
path: root/docs/tutorial.tex
diff options
context:
space:
mode:
authorPeter Ward <peteraward@gmail.com>2012-09-06 15:18:18 +1000
committerPeter Ward <peteraward@gmail.com>2012-09-06 15:18:18 +1000
commit7aa825614c88a2bb73989d8d938f078a6c7391b8 (patch)
tree64a65b12c66cf69ee3356502e08cc0b934a0a5db /docs/tutorial.tex
parentc791414f04dd72e28db4d26d0c1126d4927b1247 (diff)
Stuff.
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}