-
Notifications
You must be signed in to change notification settings - Fork 9
/
solutions.tex
114 lines (92 loc) · 2.26 KB
/
solutions.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
\input{prelude}
% Import all our custom macros
\input{macros}
\title{
\booktitle \\
\ \\
Solutions Manual \\
\ \\
\ \\
by Dan Whitman
}
% So pages will break inside long equation environments
\allowdisplaybreaks
% Lemmas/Corollaries environments
\newtheorem{lem}{Lemma}[subsubsection]
\newtheorem{defin}[lem]{Definition}
\newtheorem{cor}[lem]{Corollary}
\newtheorem{thrm}[lem]{Theorem}
\newtheorem*{thrm*}{Theorem}
\begin{document}
% Redefine numbering labels so it does not include section numbers
\renewcommand\thesubsection{\arabic{subsection}}
% Setup section (chapter) format
\titleformat{\section} % command
[hang] % shape
{\bfseries \Large} % format
{Chapter \thesection} % label
{12pt} % sep
{} % before-code
{} % after-code
% Setup subsection format
\titleformat{\subsection} % command
[hang] % shape
{\bfseries \large} % format
{\S \thesubsection} % label
{12pt} % sep
{} % before-code
{} % after-code
% Question label format
\newcommand\setqf[1]{\qformat{\hspace{0.5cm} \textbf{Exercise \thesubsection.\thequestion #1} \hfill \vrule depth 1em width 0pt}}
\setqf{}
% Title page
\begin{titlingpage}
\maketitle
\end{titlingpage}
\newpage
\section*{Copyright}
\textcopyright{} \the\year{} by Dan Whitman
\newline
\newline
\def\liclink{http://creativecommons.org/licenses/by-nc-sa/4.0/}
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
To view a copy of this license, visit \href{\liclink}{\liclink} or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
\begin{center}
\ccbyncsa
\end{center}
\newpage
\tableofcontents
\newpage
% Apparently need this to get page number on the first real page
\cfoot{Page \thepage}
\setcounter{page}{1}
% Start content
\begin{questions}
% Macro to avoid a bunch of duplication
\newcommand\insec[1]{\input{sections/sec_#1}}
% Chapters (sections are used since the exam class has no chapters)
\section{Set Theory and Logic}
\insec{01}
\insec{02}
\insec{03}
\insec{04}
\insec{05}
\insec{06}
\insec{07}
\insec{08}
\insec{09}
\insec{10}
\insec{11}
\insec{11_WO}
\section{Topological Spaces and Continuous Functions}
\insec{13}
\insec{16}
\insec{17}
\insec{18}
\insec{19}
\insec{20}
\insec{21}
\insec{22}
\insec{22_TG}
\end{questions}
\end{document}