Finished TMAM hanout
This commit is contained in:
@ -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}
|
Reference in New Issue
Block a user