Advanced handouts
Add missing file Co-authored-by: Mark <mark@betalupi.com> Co-committed-by: Mark <mark@betalupi.com>
This commit is contained in:
85
src/Advanced/Mock a Mockingbird/main.tex
Executable file
85
src/Advanced/Mock a Mockingbird/main.tex
Executable file
@ -0,0 +1,85 @@
|
||||
% use [nosolutions] flag to hide solutions.
|
||||
% use [solutions] flag to show solutions.
|
||||
\documentclass[
|
||||
solutions,
|
||||
singlenumbering
|
||||
]{../../../lib/tex/ormc_handout}
|
||||
\usepackage{../../../lib/tex/macros}
|
||||
|
||||
|
||||
\usepackage{mathtools} % for \coloneqq
|
||||
|
||||
%\usepackage{lua-visual-debug}
|
||||
|
||||
\usepackage{censor}
|
||||
\usepackage{alltt}
|
||||
|
||||
|
||||
\newenvironment{helpbox}[1][0.5]{
|
||||
\begin{center}
|
||||
\begin{tcolorbox}[
|
||||
colback=white!90!black,
|
||||
colframe=white!90!black,
|
||||
coltitle=black,
|
||||
center title,
|
||||
width = #1\textwidth,
|
||||
leftrule = 0mm,
|
||||
rightrule = 0mm,
|
||||
toprule = 0mm,
|
||||
bottomrule = 0mm,
|
||||
left = 1mm,
|
||||
right = 1mm,
|
||||
top = 1mm,
|
||||
bottom = 1mm,
|
||||
toptitle = 1mm,
|
||||
lefttitle = 1mm,
|
||||
titlerule = 1pt,
|
||||
title={\textbf{Things you will need:}}
|
||||
]
|
||||
}{
|
||||
\end{tcolorbox}
|
||||
\end{center}
|
||||
}
|
||||
|
||||
% Logic block comment
|
||||
\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\)}
|
||||
|
||||
|
||||
|
||||
\uptitlel{Advanced 2}
|
||||
\uptitler{\smallurl{}}
|
||||
\title{To Mock a Mockingbird}
|
||||
\subtitle{
|
||||
Prepared by Mark on \today \\
|
||||
Based on a book of the same name.
|
||||
}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\maketitle
|
||||
|
||||
\input{parts/00 intro}
|
||||
\input{parts/01 tmam}
|
||||
\input{parts/02 kestrel}
|
||||
|
||||
\end{document}
|
Reference in New Issue
Block a user