aboutsummaryrefslogtreecommitdiff
path: root/exercises.tex
diff options
context:
space:
mode:
authorCamil Staps2015-08-30 21:47:43 +0200
committerCamil Staps2015-08-30 21:47:43 +0200
commit27914510eb1cad054e54578d301e51a3e85e670e (patch)
treef7651bd9b090879d2dd51aa87805e72bc577e85b /exercises.tex
parentInitial commit (diff)
Ex 9.1 start
Diffstat (limited to 'exercises.tex')
-rw-r--r--exercises.tex39
1 files changed, 39 insertions, 0 deletions
diff --git a/exercises.tex b/exercises.tex
new file mode 100644
index 0000000..ce25ccd
--- /dev/null
+++ b/exercises.tex
@@ -0,0 +1,39 @@
+\documentclass[10pt,a4paper,twocolumn]{article}
+
+\usepackage[margin=2cm]{geometry}
+\usepackage{fourier}
+
+\usepackage{enumitem}
+\setenumerate[1]{label=\alph*)}
+
+% textcomp package is not available everywhere, and we only need the Copyright symbol
+% taken from http://tex.stackexchange.com/a/1677/23992
+\DeclareTextCommandDefault{\textregistered}{\textcircled{\check@mathfonts\fontsize\sf@size\z@\math@fontsfalse\selectfont R}}
+
+\usepackage{fancyhdr}
+\renewcommand{\headrulewidth}{0pt}
+\renewcommand{\footrulewidth}{0pt}
+\fancyhead{}
+\fancyfoot[C]{Copyright \textcopyright 2015 Camil Staps}
+\pagestyle{fancy}
+
+\usepackage{amsmath}
+
+% Solution environment
+\newenvironment{solution}[1]{\medskip\noindent{\textbf{Exercise \thesection.#1}\rm\par}{\medskip}}
+
+\parindent0pt
+
+\title{Solutions to selected exercises from Thomas Sudkamp, \textit{Languages and Machines} (second edition)}
+\author{Camil Staps}
+
+\begin{document}
+
+\maketitle
+
+\setcounter{section}{8}
+\section{Turing machines}
+\input{ex9-1.tex}
+
+\end{document}
+