Finished TMAM hanout

This commit is contained in:
2023-03-16 19:36:13 -07:00
parent 9b55f682ce
commit 8d27bf87ce
4 changed files with 211 additions and 56 deletions

View File

@ -7,6 +7,9 @@
\usepackage{mathtools} % for \coloneqq
%\usepackage{lua-visual-debug}
\usepackage{censor}
\usepackage{alltt}
@ -37,10 +40,24 @@
}
% Logic block comment
\newcommand{\cmnt}[1]{
\textcolor{gray}{\# #1}
\newcommand{\cmnt}[1]{\textcolor{gray}{\# #1}}
\newcounter{allttLineCounter}
\setcounter{allttLineCounter}{0}
\newcommand{\linenoref}[1]{\colorbox{gray!30!white}{#1}}
\newcommand{\lineno}{
\stepcounter{allttLineCounter}%
\linenoref{\ifnum\value{allttLineCounter}<10 0\fi\arabic{allttLineCounter}}%
}
% Redefine alltt so it automatically
% resets allttLineCounter
\let\oldalltt\alltt
\renewenvironment{alltt}
{\setcounter{allttLineCounter}{0}\begin{oldalltt}}
{\end{oldalltt}}
\newcommand{\thus}{\(\Rightarrow\)}
\newcommand{\qed}{\(\blacksquare\)}
@ -59,5 +76,5 @@
\input{parts/00 intro}
\input{parts/01 tmam}
\input{parts/02 kestrel}
\end{document}