|
179 | 179 | \usepackage[framemethod=TikZ]{mdframed} % MDFramed
|
180 | 180 | \ifdocisbeamer\else
|
181 | 181 | % enum customization; breaks beamer
|
182 |
| - \usepackage{enumitem} |
| 182 | + \usepackage[shortlabels]{enumitem} % \begin{enumerate}[(a)] |
183 | 183 | \fi
|
184 | 184 | \usepackage{mathtools} % Math tools
|
185 | 185 | \usepackage{epigraph} % Quotes!
|
|
223 | 223 | \newcommand{\vphi}{\varphi}
|
224 | 224 | \newcommand{\veps}{\varepsilon}
|
225 | 225 | \newcommand{\CC}{\mathbb C}
|
226 |
| -\newcommand{\FF}{\mathbb F} |
| 226 | +\ifchessdiagenabled |
| 227 | +\else |
| 228 | + \newcommand{\FF}{\mathbb F} |
| 229 | +\fi |
227 | 230 | \newcommand{\NN}{\mathbb N}
|
228 | 231 | \newcommand{\QQ}{\mathbb Q}
|
229 | 232 | \newcommand{\RR}{\mathbb R}
|
|
243 | 246 | \rule{0.95\linewidth}{.7pt}\hspace{\fill}
|
244 | 247 | \end{center}
|
245 | 248 | }
|
246 |
| -\newenvironment{moral}{% |
247 |
| - \begin{mdframed}[linecolor=green!70!black]% |
248 |
| - \bfseries\color{green!70!black}}% |
249 |
| -{\end{mdframed}} |
| 249 | +\ifboxthmon |
| 250 | + \ifcolorthmon |
| 251 | + \else |
| 252 | + \newenvironment{moral}{% |
| 253 | + \begin{mdframed}[linecolor=green!70!black]% |
| 254 | + \bfseries\color{green!70!black}}% |
| 255 | + {\end{mdframed}} |
| 256 | + \fi |
| 257 | +\fi |
250 | 258 | \DeclareMathOperator*{\lcm}{lcm}
|
251 | 259 | \DeclareMathOperator{\cis}{cis}
|
252 | 260 | \DeclareMathOperator{\ord}{ord}
|
|
258 | 266 | \DeclareMathOperator{\tr}{tr}
|
259 | 267 | \DeclareMathOperator{\rank}{rank}
|
260 | 268 | \DeclareMathOperator{\img}{im}
|
| 269 | +\DeclareMathOperator{\Var}{Var} |
| 270 | +\DeclareMathOperator{\Cov}{Cov} |
261 | 271 |
|
262 | 272 | % PROMYS Rational Points on Hyperelliptic Curves
|
263 | 273 | % taught by Jennifer Balakrishnan
|
|
274 | 284 | \DeclareMathOperator{\Gal}{Gal}
|
275 | 285 | \DeclareMathOperator{\supp}{supp}
|
276 | 286 |
|
| 287 | +% WVM Linalg |
| 288 | +\newenvironment{amatrix}[1]{% |
| 289 | + \left[\begin{array}{@{}*{#1}{c}|c@{}} |
| 290 | + }{% |
| 291 | + \end{array}\right] |
| 292 | +} |
| 293 | + |
| 294 | +% 18.06 ASE HW |
| 295 | +\renewcommand*\env@matrix[1][*\c@MaxMatrixCols c]{% |
| 296 | + \hskip -\arraycolsep |
| 297 | + \let\@ifnextchar\new@ifnextchar |
| 298 | +\array{#1}} |
| 299 | + |
| 300 | +% 18.225 |
| 301 | +\DeclareMathOperator{\ex}{ex} |
| 302 | + |
| 303 | +% 6.046 |
| 304 | +\DeclareMathOperator{\Prob}{Pr} |
| 305 | + |
277 | 306 | % \wideparen for good-looking arc symbols
|
278 | 307 | \DeclareFontFamily{OMX}{yhex}{}
|
279 | 308 | \DeclareFontShape{OMX}{yhex}{m}{n}{<->yhcmex10}{}
|
|
336 | 365 | \ifcolorsecstyle
|
337 | 366 | \hypersetup{
|
338 | 367 | colorlinks,
|
339 |
| - citecolor=ForestGreen, |
340 |
| - filecolor=RubineRed, |
| 368 | + %citecolor=ForestGreen, |
| 369 | + %filecolor=RubineRed, |
| 370 | + citecolor=RoyalBlue, |
| 371 | + filecolor=RoyalBlue, |
341 | 372 | linkcolor=RoyalBlue,
|
342 |
| - urlcolor=RubineRed |
| 373 | + %urlcolor=RubineRed |
| 374 | + urlcolor=RoyalBlue |
343 | 375 | }
|
344 | 376 |
|
345 | 377 | \newcommand{\announcefont}{\bfseries
|
|
584 | 616 | headpunct={.\;},
|
585 | 617 | ]{thminlineorangebox}
|
586 | 618 |
|
| 619 | + % lol oops this is not yellow |
| 620 | + \mdfdefinestyle{mdinlineyellowbox}{% |
| 621 | + skipabove=8pt, |
| 622 | + linewidth=3pt, |
| 623 | + rightline=false, |
| 624 | + leftline=false, |
| 625 | + %leftline=true, |
| 626 | + topline=false, |
| 627 | + bottomline=false, |
| 628 | + linecolor=black, |
| 629 | + linecolor=RubineRed!70!black, |
| 630 | + nobreak=true, |
| 631 | + backgroundcolor=RubineRed!5, |
| 632 | + } |
| 633 | + \declaretheoremstyle[ |
| 634 | + headfont=\sffamily\bfseries\color{Dandelion}, |
| 635 | + spaceabove=0pt, |
| 636 | + spacebelow=0pt, |
| 637 | + mdframed={style=mdinlineyellowbox}, |
| 638 | + %headpunct={.\;}, |
| 639 | + headpunct={}, |
| 640 | + ]{thminlineyellowbox} |
| 641 | + |
587 | 642 | \mdfdefinestyle{mdgreenbox}{%
|
588 | 643 | skipabove=8pt,
|
589 | 644 | linewidth=2pt,
|
|
727 | 782 | \declaretheorem[style=thmblackbox,sibling=theorem,name=Fact]{fact}
|
728 | 783 | \declaretheorem[style=thmpurplebox,sibling=theorem,name=Definition]{definition}
|
729 | 784 | \declaretheorem[style=thmpurplebox,numbered=no,name=Definition]{definition*}
|
| 785 | + \newenvironment{moral}{% |
| 786 | + \begin{mdframed}[style=mdinlineyellowbox]% |
| 787 | + \bfseries |
| 788 | + \sffamily |
| 789 | + \color{RubineRed} |
| 790 | + }% |
| 791 | + {\end{mdframed}} |
| 792 | + |
730 | 793 |
|
731 | 794 | \declaretheorem[style=thmbluebox,name=Theorem]{innercustomthm}
|
732 | 795 | \newenvironment{customthm}[1]{
|
|
778 | 841 | \declaretheorem[style=thmbox,name=Problem]{boxprob}
|
779 | 842 | \declaretheorem[style=thmbox,name=Lemma]{lemma}
|
780 | 843 | \fi
|
781 |
| - \declaretheorem[style=thmbox,numbered=no,name=Problem]{problem*} |
| 844 | + \declaretheorem[style=thmbox,numbered=no,name=Problem]{boxprob*} |
782 | 845 | \declaretheorem[style=thmbox,numbered=no,name=Lemma]{lemma*}
|
783 | 846 | \declaretheorem[style=thmbox,parent=section,name=Problem]{secprob}
|
784 | 847 | \declaretheorem[style=thmbox,sibling=theorem,name=Example]{example}
|
|
793 | 856 | \declaretheorem[style=thmbox,numbered=no,name=Note]{note}
|
794 | 857 | \declaretheorem[style=thmbox,sibling=theorem,name=Definition]{definition}
|
795 | 858 | \declaretheorem[style=thmbox,numbered=no,name=Definition]{definition*}
|
| 859 | + \newenvironment{moral}{% |
| 860 | + \begin{mdframed}% |
| 861 | + \bfseries}% |
| 862 | + {\end{mdframed}} |
| 863 | + |
796 | 864 | \fi
|
797 | 865 | %%fakesection STANDARD THEOREMS
|
798 | 866 | \else
|
|
0 commit comments