Added subsections when they appear, added all of the appendices, and finished the packet
This commit is contained in:
@@ -55,8 +55,36 @@
|
||||
\newcommand{\F}{\mathbb{F}}
|
||||
|
||||
% Theorem Styles
|
||||
\declaretheorem[numberwithin=chapter, style=definition]{theorem, definition, notation, lemma, corollary, remark, example}
|
||||
\declaretheorem[numberwithin=chapter, style=definition]{theorem, definition, notation, lemma, corollary, remark}
|
||||
|
||||
% Formatting
|
||||
\setlist[enumerate]{font=\bfseries}
|
||||
\newcounter{alphasect}
|
||||
\def\alphainsection{0}
|
||||
|
||||
\let\oldsection=\section
|
||||
\def\section{%
|
||||
\ifnum\alphainsection=1%
|
||||
\addtocounter{alphasect}{1}
|
||||
\fi%
|
||||
\oldsection}%
|
||||
|
||||
\renewcommand\thesection{%
|
||||
\ifnum\alphainsection=1%
|
||||
\Alph{alphasect}
|
||||
\else%
|
||||
\arabic{section}
|
||||
\fi%
|
||||
}%
|
||||
|
||||
\newenvironment{alphasection}{%
|
||||
\ifnum\alphainsection=1%
|
||||
\errhelp={Let other blocks end at the beginning of the next block.}
|
||||
\errmessage{Nested Alpha section not allowed}
|
||||
\fi%
|
||||
\setcounter{alphasect}{0}
|
||||
\def\alphainsection{1}
|
||||
}{%
|
||||
\setcounter{alphasect}{0}
|
||||
\def\alphainsection{0}
|
||||
}%
|
||||
Reference in New Issue
Block a user