-
Notifications
You must be signed in to change notification settings - Fork 12
/
config.tex
36 lines (28 loc) · 1.02 KB
/
config.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
% === Config ===
\let\oldproofname=\proofname
\renewcommand{\proofname}{\color{red}{\rm\bf{\oldproofname}}}
\newenvironment{solution}
{\begin{proof}[\color{red}{$\mathbf{Solution}$}]}
{\end{proof}}
\newenvironment{sketch}
{\begin{proof}[$\mathbf{Sketch}$]}
{\end{proof}}
\newenvironment{answer}
{\begin{proof}[\color{purple}{$\mathbf{Answer}$}]\renewcommand{\qedsymbol}{}}
{\end{proof}}
\newtheorem{theorem}{Theorem}[chapter]
\newtheorem{lemma}[theorem]{\color{blue}{Lemma}}
\pagestyle{fancy}
\fancyhf{}
\rhead{\rightmark}
\rfoot{\thepage}
\renewcommand{\dateseparator}{/}
\renewcommand{\qedsymbol}{$\blacksquare$}
\def\upint{\mathchoice%
{\mkern13mu\overline{\vphantom{\intop}\mkern7mu}\mkern-20mu}
{\mkern7mu\overline{\vphantom{\intop}\mkern7mu}\mkern-14mu}
{\mkern7mu\overline{\vphantom{\intop}\mkern7mu}\mkern-14mu}
{\mkern7mu\overline{\vphantom{\intop}\mkern7mu}\mkern-14mu}
\int}
\def\lowint{\mkern3mu\underline{\vphantom{\intop}\mkern7mu}\mkern-10mu\int}
\DeclareMathOperator{\ii}{\mathrm{i}}