Added first notes related to Chapter 3. Trying to define addition.
[surreal-numbers] / notes / config.tex
CommitLineData
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\,\}}}
065c48ee 40\newcommand{\sgkadd}[0]{\ensuremath{\oplus}}
8484c2fd
AT
41\newcommand{\horzline}[1][350]{\begin{center} \line(1,0){#1} \end{center}}
42\renewcommand\maketitle{
43 \thispagestyle{plain}
44 \begin{center}
45 \begin{large} \textbf{Personal Notes Regarding Surreal Numbers} \end{large} \\[1em]
46 Aaron Taylor \\[1em]
47 \end{center}
48 \horzline
49 }
8484c2fd
AT
50\renewcommand*{\vec}[1]{\ensuremath{{\bf#1}}}
51\newcommand*{\norm}[1]{\ensuremath{\left\lVert#1 \right\rVert}}
52\newcommand*{\ip}[1]{\ensuremath{\langle#1\rangle}}
53\renewcommand*{\emph}[1]{\textbf{#1}}
54\newcommand\makeAbstract{%
55 \begin{center}\textbf{Abstract}\end{center}
56 \begin{list}{}{\leftmargin=6em\rightmargin=\leftmargin}\item\relax
57 \small
58 \blindtext % replace blindtext with text of abstract
59 \end{list}\par\vspace{6mm}%
60 }
61\theoremstyle{definition}
62\newtheorem{defi}{Definition}
cc0282e4 63\newtheorem{axiom}{Axiom}
8484c2fd
AT
64\newtheorem{theorem}{Theorem}
65\newtheorem{lemma}[theorem]{Lemma}
66\newtheorem{problem}{Problem}