Added framework for note-taking with LaTeX.
[surreal-numbers] / notes / config.tex
diff --git a/notes/config.tex b/notes/config.tex
new file mode 100644 (file)
index 0000000..619418f
--- /dev/null
@@ -0,0 +1,61 @@
+\documentclass[11pt,english]{article}
+       
+% Packages to include, options to set
+\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
+\usepackage[authoryear,square]{natbib} % superscript citations
+\usepackage{graphicx} % to allow \includegraphics
+\usepackage[margin=10pt,labelfont=bf,labelsep=period]{caption} % to match the thrice damned chem department document standards. why do they hate me so much?
+\usepackage{amsmath, amssymb, amsthm} % for math stuff
+\usepackage{setspace} % easily set spacing of entire document
+       \singlespacing
+\usepackage{fancyhdr} % customize the header/footer
+       \pagestyle{fancy}
+       \fancyhf{}
+       \fancyhead[L,RO]{\bfseries\thepage}
+       \fancyhead[LO]{\bfseries Aaron Taylor - Surreal Numbers} 
+       \renewcommand{\headrulewidth}{0.5pt} 
+       \renewcommand{\footrulewidth}{0pt}
+    \setlength{\headheight}{14pt}
+       \fancypagestyle{plain}{% 
+               \fancyhead{} % get rid of headers on plain pages 
+               \renewcommand{\headrulewidth}{0pt}} % and the line 
+\usepackage{fancyvrb} %allow inclusion of external ASCII text files with \VerbatimInput{filename}
+\usepackage{indentfirst} %indent the first paragraph after a \section (or \subsection), contrary to standard LaTeX behaviour
+\setcounter{secnumdepth}{0}  % remove numbering from sections while still allowing them to appear in the ToC
+\setlength{\columnsep}{1cm} % for middle column separation in two column mode
+\usepackage{hyperref} % create hyperlinks in PDF docs via \url{}, can also color all types of links, including internal links
+       \hypersetup{colorlinks=true, allcolors=black} % enable link coloring, set default to black (later options take precedence)
+       \hypersetup{urlcolor=blue, linkcolor=blue} % change url color to blue 
+       \hypersetup{bookmarksopen=true} % enable sidebar bookmarks in PDF mode based on \[sub]section labels and expand by default
+\renewcommand{\arraystretch}{1.2} % I feel like most arrays/tables/etc in LaTeX could use a bit more room between cells
+       
+% My commands
+\newcommand{\sups}[1]{\ensuremath{^{\textrm{#1}}}}
+\newcommand{\subs}[1]{\ensuremath{_{\textrm{#1}}}}
+\newcommand{\abs}[1]{\left|#1\right|}
+\newcommand{\horzline}[1][350]{\begin{center} \line(1,0){#1} \end{center}}
+\renewcommand\maketitle{
+       \thispagestyle{plain}
+       \begin{center}
+       \begin{large} \textbf{Personal Notes Regarding Surreal Numbers} \end{large} \\[1em]
+       Aaron Taylor \\[1em]
+       \end{center}
+       \horzline
+       }
+% TODO: What do I want to define for things like bra-ket notation?
+\renewcommand*{\vec}[1]{\ensuremath{{\bf#1}}}
+\newcommand*{\norm}[1]{\ensuremath{\left\lVert#1 \right\rVert}}
+\newcommand*{\ip}[1]{\ensuremath{\langle#1\rangle}}
+\renewcommand*{\emph}[1]{\textbf{#1}}
+\newcommand\makeAbstract{%
+       \begin{center}\textbf{Abstract}\end{center}
+       \begin{list}{}{\leftmargin=6em\rightmargin=\leftmargin}\item\relax
+       \small
+       \blindtext % replace blindtext with text of abstract
+       \end{list}\par\vspace{6mm}%
+       }    
+\theoremstyle{definition}
+\newtheorem{defi}{Definition}
+\newtheorem{theorem}{Theorem}
+\newtheorem{lemma}[theorem]{Lemma}
+\newtheorem{problem}{Problem}