-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpreamble.tex
More file actions
169 lines (122 loc) · 3.43 KB
/
preamble.tex
File metadata and controls
169 lines (122 loc) · 3.43 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
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
%\usepackage{kmath,kerkis} % The order of the packages matters; kmath changes the default text font
\usepackage{stix2}
\usepackage{gillius}
\usepackage[T1]{fontenc}
%\renewcommand{\theta}{\vartheta}
%% page layout
\usepackage[in,headings]{fullpage}
%\raggedright
\setlength\headheight{13.6pt} %% otherwise the headers hit the text.
%% semester watermark
\newcommand{\semester}{%
\ifcase\month
\or SP %1
\or SP %2
\or SP %3
\or SP %4
\or M %5
\or SU %6
\or SU %7
\or AU %8
\or AU %9
\or AU %10
\or AU %11
\or AU %12
\fi
}
\usepackage{draftwatermark}
\SetWatermarkText{\bfseries\ttfamily
\semester \the\year}
\SetWatermarkScale{5}
\SetWatermarkLightness{.98}
% this is a hack -- I should do a massive search/replace for \subsection to \section
\let\subsection\section
\usepackage{tikz}
\usepackage{tkz-euclide}
\usepackage{tikz-cd}
\usetikzlibrary{patterns}
%\usetkzobj{all}
\tikzset{>=stealth}
\tikzset{/tkzmkangle/mark=none} % no annoy tick in every angle
\tikzstyle geometryDiagrams=[rounded corners=.5pt,ultra thick,color=black]
\colorlet{penColor}{black} % Color of a curve in a plot
%% \hypersetup{
%% colorlinks = false,
%% }
\tikzset{%% partial ellipse
partial ellipse/.style args={#1:#2:#3}{
insert path={+ (#1:#3) arc (#1:#2:#3)}
}
}
\graphicspath{
{./}
{sphericalLunesAndTriangles/}
{hyperbolicLunesAndTriangles/}
{centralProjection/}
{stereographicProjection/}
{linesAnglesAndAreasInCentralProjection/}
{linesAnglesAndAreasInStereographicProjection/}
{stereographicProjection/}
{centralProjectionInHG/}
{stereographicProjectionInHG/}
{linesInSphericalGeometry/}
{linesInHyperbolicGeometry/}
{theArtOfEscher/}
}
\newcommand{\transpose}{\intercal}
\newcommand{\eval}[1]{\bigg[ #1 \bigg]}
\renewcommand{\epsilon}{\varepsilon}
\renewcommand{\l}{\ell}
\renewcommand{\d}{\,d}
\DeclareMathOperator{\arccosh}{arccosh}
\DeclareMathOperator{\arctanh}{arctanh}
\renewcommand{\tilde}{\widetilde}
\newcommand{\R}{\mathbb R}
\newcommand{\dd}[2][]{\frac{d #1}{d #2}}
\newcommand{\pp}[2][]{\frac{\partial #1}{\partial #2}}
\newcommand{\dfn}{\textbf}
\renewcommand{\bar}{\overline}
\renewcommand{\hat}{\widehat}
\newcommand{\grad}{\boldsymbol\nabla}
\newcommand{\jac}{\mathbf{Jac}}
\renewcommand{\dot}{\bullet}
\newcommand{\toE}{\mathcal{E}_R}
\newcommand{\toH}{\mathcal{H}_K}
\newcommand{\toS}{\mathcal{S}_R}
\newcommand{\toGc}{\mathcal{G}_c}
\newcommand{\toGs}{\mathcal{G}_s}
\let\image\relax
\let\endimage\relax
\NewEnviron{image}{
\begin{center}
\BODY
\end{center}
}
\NewEnviron{listOutcomes}{
After answering the following questions, students should be able to:
\begin{itemize}
\BODY
\end{itemize}
}
%% thm like environments
\let\problem\relax
\let\endproblem\relax
\makeatletter\let\c@problem\relax\makeatother
\let\endproblem\relax
%% \newtheoremstyle{GeometryStyle}{\topsep}{\topsep}%%% space between body and thm
%% {} %%% Thm body font
%% {} %%% Indent amount (empty = no indent)
%% {\bfseries} %%% Thm head font
%% {\quad} %%% Punctuation after thm head
%% { } %%% Space after thm head
%% {Problem~\thmnumber{#2}\thmnote{ \bfseries(#3)}}%%% Thm head spec
%% \theoremstyle{GeometryStyle}
%% \newtheorem{problem}{}
\newcounter{problem}
\setcounter{problem}{1}
\NewEnviron{problem}{
\addtocounter{problem}{1}
\noindent\textbf{Problem~\theproblem}\quad
\BODY
\ifnewpage\newpage\else\fi
}