mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2025-10-21 20:10:41 +00:00
169 lines
6.2 KiB
TeX
169 lines
6.2 KiB
TeX
%%%%%%%%%%%%%%%%%%%%%%%% PREAMBLE %%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
%%% FORMATTING %%%
|
|
\documentclass[11pt]{article} %%Font size and document presets
|
|
\usepackage[top=1in, bottom=1in, left=1.25in, right=1.25in]{geometry} %%Margins
|
|
\usepackage[protrusion=true,expansion=true]{microtype} %% Makes subtle line spacing shifts
|
|
\usepackage{enumitem} %%Enables control over enumerate and itemize environments
|
|
\setenumerate{label=(\arabic*), wide=\parindent} %%Changes enumeration style: use \begin{enumerate}
|
|
\usepackage{setspace} %%Enables \doublespacing command for double linespacing
|
|
\expandafter\def\expandafter\quote\expandafter{\quote\onehalfspacing} %%Makes 1.5 quote spacing
|
|
%\usepackage{mdwlist} %% Compressed lists, use star: \begin{enumerate*} \end{'' *}
|
|
%\usepackage{indentfirst} %%Indents first line of first paragraph of each section
|
|
%\raggedbottom %% Lose the constraint on equalising page content
|
|
%\frenchspacing %%Makes the sentence spacing single spaced
|
|
%\usepackage{multicol} %% Use \begin{multicols}{3} for three columns and \end{multicols} after
|
|
|
|
|
|
%%% HEADER %%%
|
|
\usepackage{fancyhdr} %%Permits \pagestyle{fancy}
|
|
\pagestyle{fancy} %%Header style
|
|
\usepackage{titlesec} %%Header style
|
|
\titlespacing*{\subsection}{\parindent}{.25in}{\wordsep}% Reduces spacing after headings
|
|
\rhead{Benjamin Brast-McKie} %%Right header
|
|
\renewcommand{\sectionmark}[1]{\markright{$\S$\thesection\ #1}} %%Left header command
|
|
\lhead{\nouppercase{$\S$\rightmark}} %%Left header
|
|
|
|
|
|
%%% SECTIONS %%%
|
|
\usepackage{hyperref}
|
|
%\renewcommand\thesubsubsection{P\arabic{subsubsection}}
|
|
\usepackage{tocloft}%change alignment of subsubsection in toc
|
|
\cftsetindents{subsubsection}{0.228in}{0.346in} %change alignment of subsubsection in toc
|
|
\newcommand{\hypsection}[1]{\section[#1]{\hyperlink{toc}{#1}}} %%use to jump back to toc
|
|
\newcommand{\hypsubsection}[1]{\subsection[#1]{\hyperlink{toc}{#1}}} %%use to jump back to toc
|
|
\newcommand{\hypsubsubsection}[1]{\subsubsection[#1]{\hyperlink{toc}{#1}}} %%use to jump back to toc
|
|
|
|
|
|
%%% FOOTNOTES %%%
|
|
\usepackage{scrextend} %%Allows for changes to foodnotes
|
|
\deffootnote[1em]{0in}{1em}{\textsuperscript{\thefootnotemark \ }} %%Footnote style
|
|
\setlength{\footnotesep}{0.125in} %%Space between footnotes
|
|
|
|
|
|
%%% SYMBOLS %%%
|
|
\usepackage{amssymb, amsmath, mathrsfs} %%Math packages
|
|
\usepackage{stmaryrd} %%Use \llbracket and \rrbracket for double brackets
|
|
%\usepackage{cancel} %%\cancel strikes out text diagonally
|
|
%\usepackage{fitch}
|
|
%\usepackage{turnstile}
|
|
%\usepackage{linguex}
|
|
%\usepackage{schemata}
|
|
|
|
|
|
%%% GRAPHICS %%%
|
|
%\usepackage{graphicx}
|
|
%\DeclareGraphicsExtensions{.pdf,.jpeg,.jpg}
|
|
%\usepackage{fancybox}
|
|
%\begin{figure}[ht]
|
|
%\shadowbox{\includegraphics{figure-file}}}
|
|
%\end{figure}
|
|
|
|
|
|
%%% CITATIONS %%%
|
|
%\usepackage{bibentry} %%Replace \bibliography{} with \nobibliography{} for no bib
|
|
%\usepackage{epigraph} %%Use \epigraph{text}{citation}
|
|
\usepackage[round]{natbib} %%Or change 'round' to 'square' for square backers
|
|
\setcitestyle{aysep={}}
|
|
% \citet{key} ==>> Jones et al. (1990)
|
|
% \citet*{key} ==>> Jones, Baker, and Smith (1990)
|
|
% \citep{key} ==>> (Jones et al., 1990)
|
|
% \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
|
|
% \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
|
|
% \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
|
|
% \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
|
|
% \citeauthor{key} ==>> Jones et al.
|
|
% \citeauthor*{key} ==>> Jones, Baker, and Smith
|
|
% \citeyear{key} ==>> 1990
|
|
\usepackage{etoolbox} %%For \citepos
|
|
\usepackage{xstring} %%For \citepos
|
|
|
|
\makeatletter %definition of \citepos
|
|
%\patchcmd{\NAT@test}{\else \NAT@nm}{\else \NAT@nmfmt{\NAT@nm}}{}{} %turn on for numeric citations
|
|
\DeclareRobustCommand\citepos % define \citepos
|
|
{\begingroup
|
|
\let\NAT@nmfmt\NAT@posfmt% same as for citet except with a different name format
|
|
\NAT@swafalse\let\NAT@ctype\z@\NAT@partrue
|
|
\@ifstar{\NAT@fulltrue\NAT@citetp}{\NAT@fullfalse\NAT@citetp}}
|
|
|
|
\let\NAT@orig@nmfmt\NAT@nmfmt %makes adapt to last names ending with an 's'.
|
|
\def\NAT@posfmt#1{%
|
|
\StrRemoveBraces{#1}[\NAT@temp]%
|
|
\IfEndWith{\NAT@temp}{s}
|
|
{\NAT@orig@nmfmt{#1'}}
|
|
{\NAT@orig@nmfmt{#1's}}}
|
|
\makeatother
|
|
|
|
|
|
%%% DEFINITIONS FOR LOGICAL SYMBOLS AND QUOTES %%%
|
|
%\newcommand{\corner}[1]{\ulcorner#1\urcorner} %%Corner quotes
|
|
%\newcommand{\tuple}[1]{\langle#1\rangle} %%Angle brackets
|
|
%\newcommand{\ttuple}[1]{$\langle$#1$\rangle$} %%Angle brackets
|
|
%\newcommand{\set}[1]{\lbrace#1\rbrace} %%Set brackets
|
|
%\newcommand{\interpret}[1]{\llbracket#1\rrbracket} %%Double brackets
|
|
%\newcommand{\sq}[1]{`#1'} %%Proper opened-closed single quotation marks
|
|
%\newcommand{\dq}[1]{``#1"} %%Proper opened-closed double quotation marks
|
|
%\newcommand{\qed}[0]{$\hfill\square$} %%Box at end of proofs
|
|
%\newcommand{\qed}[0]{$\hfill\Box$} %%Box at end of proofs
|
|
%\newcommand{\parteq}[0]{\sqsubseteq}
|
|
%\renewcommand{\part}[0]{\sqsubset}
|
|
%\newcommand{\ceil}[1]{\lceil#1\rceil} %%Corner quotes
|
|
%\newcommand{\lrceil}[1]{\llceil#1\rrceil} %%Corner quotes
|
|
%\DeclareSymbolFont{symbolsC}{U}{txsyc}{m}{n} %%For strictif
|
|
%\DeclareMathSymbol{\strictif}{\mathrel}{symbolsC}{74} %%For strictif
|
|
%\newcommand{\M}[0]{\mathcal{M}}
|
|
%\renewcommand{\L}[0]{\mathcal{L}}
|
|
|
|
|
|
%%% ENVIRONMENTS %%%
|
|
%\newenvironment{senum}[2][topsep=0in, itemsep=.05in]{\begin{enumerate}[#1,topsep=0in, itemsep=.05in]\begin{singlespace}#2}{\end{singlespace}\end{enumerate}\vspace{.175in}}
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%% TITLE %%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
|
|
\begin{document}
|
|
\title{TITLE}
|
|
\author{Benjamin Brast-McKie}
|
|
\date{\today}
|
|
\maketitle
|
|
\thispagestyle{empty}
|
|
|
|
\begin{abstract}
|
|
\noindent BEGIN ABSTRACT
|
|
\end{abstract}
|
|
|
|
\doublespacing
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%% NOTES %%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%% DOCUMENT %%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
|
|
\section{Section Title}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%% BIBLIOGRAPHY %%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
|
|
\newpage
|
|
\begin{small} %%Makes bib small text size
|
|
\singlespacing %%Makes single spaced
|
|
\bibliographystyle{Analysis} %%bib style found in bst folder, in bibtex folder, in texmf folder.
|
|
%\setlength{\bibsep}{0.5pt} %%Changes spacing between bib entries
|
|
\bibliography{Zotero} %%bib database found in bib folder, in bibtex folder
|
|
\thispagestyle{empty} %%Removes page numbers
|
|
\end{small} %%End makes bib small text size
|
|
|
|
\end{document} |