diff -r 3dd550b9b0e3 -r a9d84442fb65 style.sty --- a/style.sty Wed Jan 02 21:12:32 2019 +0000 +++ b/style.sty Wed Jan 02 22:01:20 2019 +0000 @@ -21,28 +21,6 @@ %%% for trees %% http://anorien.csc.warwick.ac.uk/mirrors/CTAN/graphics/pgf/contrib/forest/forest.pdf -\newcommand\grid[1]{% -\begin{tikzpicture}[baseline=(char.base)] - \path[use as bounding box] - (0,0) rectangle (1em,1em); - \draw[red!50, fill=red!20] - (0,0) rectangle (1em,1em); - \node[inner sep=1pt,anchor=base west] - (char) at (0em,\gridraiseamount) {#1}; -\end{tikzpicture}} -\newcommand\gridraiseamount{0.12em} - -\makeatletter -\newcommand\Grid[1]{% - \@tfor\z:=#1\do{\grid{\z}}} -\makeatother - -\newcommand\Vspace[1][.3em]{% - \mbox{\kern.06em\vrule height.3ex}% - \vbox{\hrule width#1}% - \hbox{\vrule height.3ex}} - -\def\VS{\Vspace[0.6em]} \newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}} @@ -55,25 +33,19 @@ \def\fnote{\gdef\@thefnmark{}\@footnotetext} \makeatother -\newcommand{\HEADER}{{\bf Please submit your solutions via email. Please submit -only ASCII text or PDFs. Every solution should be preceeded by the corresponding -question text, like: +% CW deadlines +\def\cwSIX{15 November} +\def\cwSIXa{20 December} + +\def\cwSEVEN{15 November} +\def\cwSEVENa{20 December} -\begin{center} -\begin{tabular}{ll} -Q$n$: & \ldots a difficult question from me\ldots\\ -A: & \ldots an answer from you \ldots\\ -Q$n+1$ & \ldots another difficult question\ldots\\ -A: & \ldots another brilliant answer from you\ldots -\end{tabular} -\end{center} +\def\cwEIGHT{15 November} +\def\cwEIGHTa{20 December} -\noindent Solutions will only be accepted until 20th December! Please send only -one homework per email.}\bigskip} +\def\cwNINE{15 November} +\def\cwNINEa{20 December} -\newcommand{\POSTSCRIPT}{ -{\bf (Optional)} This question is for you to provide -regular feedback to me: for example -what were the most interesting, least interesting, or confusing -parts in this lecture? Any problems with my Scala code? Please -feel free to share any other questions or concerns.} +\def\cwTEN{15 November} +\def\cwTENa{20 December} +