Commit | Line | Data |
---|---|---|
8484c2fd AT |
1 | \documentclass[11pt,english]{article} |
2 | ||
3 | % Packages to include, options to set | |
4 | \usepackage[top=3.3cm, bottom=2.8cm, left=2.8cm, right=2.8cm]{geometry} % for when I feel a burning need to change the margins | |
5 | \usepackage[authoryear,square]{natbib} % superscript citations | |
6 | \usepackage{graphicx} % to allow \includegraphics | |
7 | \usepackage[margin=10pt,labelfont=bf,labelsep=period]{caption} % to match the thrice damned chem department document standards. why do they hate me so much? | |
8 | \usepackage{amsmath, amssymb, amsthm} % for math stuff | |
9 | \usepackage{setspace} % easily set spacing of entire document | |
10 | \singlespacing | |
11 | \usepackage{fancyhdr} % customize the header/footer | |
12 | \pagestyle{fancy} | |
13 | \fancyhf{} | |
14 | \fancyhead[L,RO]{\bfseries\thepage} | |
15 | \fancyhead[LO]{\bfseries Aaron Taylor - Surreal Numbers} | |
16 | \renewcommand{\headrulewidth}{0.5pt} | |
17 | \renewcommand{\footrulewidth}{0pt} | |
18 | \setlength{\headheight}{14pt} | |
19 | \fancypagestyle{plain}{% | |
20 | \fancyhead{} % get rid of headers on plain pages | |
21 | \renewcommand{\headrulewidth}{0pt}} % and the line | |
22 | \usepackage{fancyvrb} %allow inclusion of external ASCII text files with \VerbatimInput{filename} | |
23 | \usepackage{indentfirst} %indent the first paragraph after a \section (or \subsection), contrary to standard LaTeX behaviour | |
24 | \setcounter{secnumdepth}{0} % remove numbering from sections while still allowing them to appear in the ToC | |
25 | \setlength{\columnsep}{1cm} % for middle column separation in two column mode | |
26 | \usepackage{hyperref} % create hyperlinks in PDF docs via \url{}, can also color all types of links, including internal links | |
27 | \hypersetup{colorlinks=true, allcolors=black} % enable link coloring, set default to black (later options take precedence) | |
28 | \hypersetup{urlcolor=blue, linkcolor=blue} % change url color to blue | |
29 | \hypersetup{bookmarksopen=true} % enable sidebar bookmarks in PDF mode based on \[sub]section labels and expand by default | |
30 | \renewcommand{\arraystretch}{1.2} % I feel like most arrays/tables/etc in LaTeX could use a bit more room between cells | |
975cf9ad | 31 | \usepackage{framed,color} |
8484c2fd AT |
32 | |
33 | % My commands | |
34 | \newcommand{\sups}[1]{\ensuremath{^{\textrm{#1}}}} | |
35 | \newcommand{\subs}[1]{\ensuremath{_{\textrm{#1}}}} | |
36 | \newcommand{\abs}[1]{\left|#1\right|} | |
cc0282e4 | 37 | \newcommand{\surreal}[2]{\ensuremath{\left\langle #1 \vert #2 \right\rangle}} |
420b0302 | 38 | \newcommand{\similar}[0]{\thicksim} |
975cf9ad | 39 | \newcommand{\set}[1]{\ensuremath{\{\,#1\,\}}} |
8484c2fd AT |
40 | \newcommand{\horzline}[1][350]{\begin{center} \line(1,0){#1} \end{center}} |
41 | \renewcommand\maketitle{ | |
42 | \thispagestyle{plain} | |
43 | \begin{center} | |
44 | \begin{large} \textbf{Personal Notes Regarding Surreal Numbers} \end{large} \\[1em] | |
45 | Aaron Taylor \\[1em] | |
46 | \end{center} | |
47 | \horzline | |
48 | } | |
8484c2fd AT |
49 | \renewcommand*{\vec}[1]{\ensuremath{{\bf#1}}} |
50 | \newcommand*{\norm}[1]{\ensuremath{\left\lVert#1 \right\rVert}} | |
51 | \newcommand*{\ip}[1]{\ensuremath{\langle#1\rangle}} | |
52 | \renewcommand*{\emph}[1]{\textbf{#1}} | |
53 | \newcommand\makeAbstract{% | |
54 | \begin{center}\textbf{Abstract}\end{center} | |
55 | \begin{list}{}{\leftmargin=6em\rightmargin=\leftmargin}\item\relax | |
56 | \small | |
57 | \blindtext % replace blindtext with text of abstract | |
58 | \end{list}\par\vspace{6mm}% | |
59 | } | |
60 | \theoremstyle{definition} | |
61 | \newtheorem{defi}{Definition} | |
cc0282e4 | 62 | \newtheorem{axiom}{Axiom} |
8484c2fd AT |
63 | \newtheorem{theorem}{Theorem} |
64 | \newtheorem{lemma}[theorem]{Lemma} | |
65 | \newtheorem{problem}{Problem} |