-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSectionTemplate.tex
More file actions
24 lines (23 loc) · 1.16 KB
/
SectionTemplate.tex
File metadata and controls
24 lines (23 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
\ifshow
\newenvironment{answer}{\begingroup \color{NavyBlue} \vspace{1em}}{\vspace{1em}\endgroup}
\newenvironment{floatInSolutions}[3][5.5in]{\begin{textblock*}{#1}(#2,#3) \begingroup \color{NavyBlue}}{\endgroup \end{textblock*}}
\newenvironment{showInSolutions}{\begingroup \color{NavyBlue}}{\endgroup}
\newenvironment{mcbox}[3][16]{\begin{pspicture}(0, 0)\psframe[linecolor = NavyBlue](0, #2)(#1, #3)}{\end{pspicture}}
\newcommand{\exercisesOrSolutions}{Solutions}
\newcommand{\correctOption}{\item[\rlap{$\bigcirc$}\ \textcolor{NavyBlue}{$\bullet$}\ ]}
\newcommand{\incorrectOption}{\item [\rlap{$\bigcirc$}\ \textcolor{white}{$\bullet$}\ ]}
\else
\excludecomment{answer}
\excludecomment{floatInSolutions}
\excludecomment{showInSolutions}
\excludecomment{mcbox}
\newcommand{\exercisesOrSolutions}{Exercises}
\newcommand{\correctOption}{\item[$\bigcirc$]}
\newcommand{\incorrectOption}{\item[$\bigcirc$]}
\fi
\title{Section \lectureNumber \ \exercisesOrSolutions{}: \topic{}}
\date{Unit \unitNumber{}: \unitTitle}
\author{Stanford University | \course{} | Prof. Christopher Makler}
\begin{document}
\maketitle
\begin{enumerate}[label=\bfseries S \lectureNumber{}.\arabic*:]