
diff -r 828303e8e4af -r f5ec7c597c5b coursework/cw01.tex
--- a/coursework/cw01.tex	Sun Dec 01 09:58:41 2013 +0000
+++ b/coursework/cw01.tex	Sun Dec 01 10:08:53 2013 +0000
@@ -1,8 +1,8 @@
 \documentclass{article}
-\usepackage{charter}
 \usepackage{hyperref}
 \usepackage{amssymb}
 \usepackage{amsmath}
+\usepackage{../langs}
 
 \newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}%
 \begin{document}
@@ -107,10 +107,10 @@
 wether the following four strings are matched by this regular expression. Answer yes or no.
 
 \begin{enumerate}
-\item "/**/"
-\item "/*foobar*/"
-\item "/*test*/test*/"
-\item "/*test/*test*/"
+\item \texttt{"/**/"}
+\item \texttt{"/*foobar*/"}
+\item \texttt{"/*test*/test*/"}
+\item \texttt{"/*test/*test*/"}
 \end{enumerate}
 
 \subsection*{Question 4 (marked with 1\%)}
@@ -125,15 +125,15 @@
 other character.
 
 \begin{enumerate}
-\item $"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\
+\item \texttt{"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\
 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\
-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"$
-\item $"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\ 
+aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
+\item \texttt{"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\ 
 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\ 
-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"$
-\item$"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\ 
+aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
+\item \texttt{"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\ 
 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\ 
-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"$
+aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
 \end{enumerate}
 
 




