Added LaTeX templates and more

This commit is contained in:
Kristofers Solo
2023-09-01 01:01:16 +03:00
parent 5f9133e67d
commit 39d3cbc3cf
53 changed files with 3175 additions and 611 deletions

144
templates/Glossary.tex Normal file
View File

@@ -0,0 +1,144 @@
%%% GLOSSARY %%%
% Add to main file
% \usepackage[automake,nogroupskip,
% postpunc={dot},% full stop after description
% nostyles,% don't load default style packages
% % load glossaries-extra-stylemods.sty and glossary-tree.sty:
% stylemods={tree}
% ]{glossaries-extra}
% % \usepackage{glossary-superragged}
% \loadglsentries{Glossary}
% \newcommand{\g}{\glssymbol*}
% \makeglossaries
% \printglossary[style={index}]
%%% ENTRIES %%%
\newglossaryentry{Q}{% settings:
name = {Operator},
symbol = {\ensuremath{\mathcal{Q}}},
description = {stands for any $n$-place sentential operator.}
}
\newglossaryentry{L}{% settings:
name = {Language},
symbol = {\ensuremath{\mathcal{L}}},
description = {includes a set of sentence letters and operators}
}
\newglossaryentry{part}{% settings:
name = {Proper parthood},
symbol = {\ensuremath{\sqsubset}},
description = {is defined in terms of improper parthood}
}
\newglossaryentry{wfas}{% settings:
name = {Well-formed atomic sentences},
symbol = {\ensuremath{\operatorname{\texttt{wfas}}}},
description = {generated from a stock of sentence letters}
}
\newglossaryentry{wfs}{% settings:
name = {Well-formed sentences},
symbol = {\ensuremath{\operatorname{\texttt{wfs}}}},
description = {generated from a stock of sentence letters}
}
\newglossaryentry{ext}{% settings:
name = {Extensional sentences},
symbol = {\ensuremath{\operatorname{\texttt{ext}}}},
description = {generated from a stock of sentence letters}
}
\newglossaryentry{id}{% settings:
name = {Identity sentences},
symbol = {\ensuremath{\operatorname{\texttt{id}}}},
description = {generated from a stock of sentence letters}
}
\newglossaryentry{nid}{% settings:
name = {Non-identity sentences},
symbol = {\ensuremath{\operatorname{\texttt{nid}}}},
description = {generated from a stock of sentence letters}
}
\newglossaryentry{eq}{% settings:
name = {Equivalence sentences},
symbol = {\ensuremath{\operatorname{\texttt{eq}}}},
description = {generated from a stock of sentence letters}
}
\newglossaryentry{comp}{% settings:
name = {Complexity},
symbol = {\ensuremath{\operatorname{\texttt{comp}}}},
description = {of a sentence}
}
\newglossaryentry{lit}{% settings:
name = {Sentence letters},
symbol = {\ensuremath{\mathbb{L}}},
description = {make up the atoms of the language}
}
\newglossaryentry{glb}{% settings:
name = {Greatest lower bound},
symbol = {\ensuremath{\operatorname{\texttt{glb}}}},
description = {with respect to a given order}
}
\newglossaryentry{lub}{% settings:
name = {Least upper bound},
symbol = {\ensuremath{\operatorname{\texttt{lub}}}},
description = {with respect to a given order}
}
\newglossaryentry{s}{% settings:
name = {State space},
symbol = {\ensuremath{\mathcal{S}}},
description = {consisting of a set of states and partial order}
}
\newglossaryentry{M}{% settings:
name = {Model},
symbol = {\ensuremath{\mathcal{M}}},
description = {of the language assigns sentence letters to propositions}
}
\newglossaryentry{N}{% settings:
name = {Normal models},
symbol = {\ensuremath{\mathcal{N}}},
description = {is the class of all models in which sentence letter are assigned to normal propositions}
}
\newglossaryentry{C}{% settings:
name = {Contents},
symbol = {\ensuremath{\mathbb{C}}},
description = {defined over a state space}
}
\newglossaryentry{P}{% settings:
name = {Propositions},
symbol = {\ensuremath{\mathbb{P}}},
description = {defined over a state space}
}
\newglossaryentry{B}{% settings:
name = {Bilattice},
symbol = {\ensuremath{\mathcal{B}}},
description = {of propositions defined over a state space}
}
\newglossaryentry{R}{% settings:
name = {Regular models},
symbol = {\ensuremath{\mathcal{R}}},
description = {is the class of all models in which sentence letter are assigned to regular propositions}
}
\newglossaryentry{parteq}{% settings:
name = {Improper parthood},
symbol = {\ensuremath{\sqsubseteq}},
description = {is a partial order over a space of states}
}

81
templates/HandOut.tex Normal file
View File

@@ -0,0 +1,81 @@
\documentclass[a4paper, 11pt]{article} % Font size (can be 10pt, 11pt or 12pt) and paper size (remove a4paper for US letter paper)
\usepackage[protrusion=true,expansion=true]{microtype} % Better typography
\usepackage{graphicx} % Required for including pictures
\usepackage{wrapfig} % Allows in-line images
\usepackage{enumitem} %%Enables control over enumerate and itemize environments
\usepackage{setspace}
\usepackage{amssymb, amsmath, mathrsfs} %%Math packages
\usepackage{stmaryrd}
\usepackage{mathtools}
\usepackage{mathpazo} % Use the Palatino font
\usepackage[T1]{fontenc} % Required for accented characters
\usepackage{array}
\usepackage{bibentry}
\usepackage[round]{natbib} %%Or change 'round' to 'square' for square backers
\setcitestyle{aysep={}}
\linespread{1.05} % Change line spacing here, Palatino benefits from a slight increase by default
\newcommand{\corner}[1]{\ulcorner#1\urcorner} %%Corner quotes
\newcommand{\tuple}[1]{\langle#1\rangle} %%Angle brackets
\newcommand{\set}[1]{\lbrace#1\rbrace} %%Set brackets
\newcommand{\interpret}[1]{\llbracket#1\rrbracket} %%Double brackets
%\DeclarePairedDelimiter\ceil{\lceil}{\rceil}
\makeatletter
\renewcommand\@biblabel[1]{\textbf{#1.}} % Change the square brackets for each bibliography item from '[1]' to '1.'
\renewcommand{\@listI}{\itemsep=0pt} % Reduce the space between items in the itemize and enumerate environments and the bibliography
\renewcommand{\maketitle}{ % Customize the title - do not edit title and author name here, see the TITLE block below
\begin{flushright} % Right align
{\LARGE\@title} % Increase the font size of the title
\vspace{10pt} % Some vertical space between the title and author name
{\@author} % Author name
\\\@date % Date
\vspace{30pt} % Some vertical space between the author block and abstract
\end{flushright}
}
%----------------------------------------------------------------------------------------
% TITLE
%----------------------------------------------------------------------------------------
\title{\textbf{Handout Title}} % Subtitle
\author{\textsc{CLASS OR TOPIC}\\ \em Benjamin Brast-McKie} % Institution
\date{\today} % Date
%----------------------------------------------------------------------------------------
\begin{document}
\maketitle % Print the title section
\thispagestyle{empty}
%----------------------------------------------------------------------------------------
\section*{First Section}
\begin{enumerate}[leftmargin=1.2in,labelsep=.15in] %,label=(\arabic*)]%,label=\roman*]
\item[\bf Definition:] Begin definition\dots
\end{enumerate}
\vfill
\bibliographystyle{Phil_Review} %%bib style found in bst folder, in bibtex folder, in texmf folder.
\bibliography{Zotero} %%bib database found in bib folder, in bibtex folder
\end{document}

65
templates/Letter.tex Normal file
View File

@@ -0,0 +1,65 @@
\documentclass[a4paper, 11pt]{article} % Font size (can be 10pt, 11pt or 12pt) and paper size (remove a4paper for US letter paper)
\usepackage[protrusion=true,expansion=true]{microtype} % Better typography
\usepackage{graphicx} % Required for including pictures
\usepackage{wrapfig} % Allows in-line images
\usepackage[top=1.25in, bottom=1in, left=1.65in, right=1.65in]{geometry} %%Margins
\usepackage{mathpazo} % Use the Palatino font
\usepackage[T1]{fontenc} % Required for accented characters
\linespread{1.05} % Change line spacing here, Palatino benefits from a slight increase by default
\makeatletter
\renewcommand\@biblabel[1]{\textbf{#1.}} % Change the square brackets for each bibliography item from '[1]' to '1.'
\renewcommand{\@listI}{\itemsep=0pt} % Reduce the space between items in the itemize and enumerate environments and the bibliography
\renewcommand{\maketitle}{ % Customize the title - do not edit title and author name here, see the TITLE block below
\begin{flushright}
{\large\@author} % Author name
\\\@date % Date
\end{flushright}
\begin{flushleft} % Right align
{\Large\@title} % Increase the font size of the title
\end{flushleft}
}
%----------------------------------------------------------------------------------------
% TITLE
%----------------------------------------------------------------------------------------
\title{\textbf{Dear NAME,}} % Subtitle
\author{DATE} % Author
\date{} % Date
%----------------------------------------------------------------------------------------
\begin{document}
\maketitle % Print the title section
%----------------------------------------------------------------------------------------
% ABSTRACT AND KEYWORDS
%----------------------------------------------------------------------------------------
%\renewcommand{\abstractname}{Summary} % Uncomment to change the name of the abstract to something else
\pagenumbering{gobble}
\vspace{0pt} % Some vertical space between the abstract and first section
\noindent Begin document...
\end{document}

View File

@@ -0,0 +1,169 @@
%%%%%%%%%%%%%%%%%%%%%%%% 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}

View File

@@ -0,0 +1,147 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Short Sectioned Assignment
% LaTeX Template
% Version 1.0 (5/5/12)
%
% This template has been downloaded from:
% http://www.LaTeXTemplates.com
%
% Original author:
% Frits Wenneker (http://www.howtotex.com)
%
% License:
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
\documentclass[paper=a4, fontsize=11pt]{scrartcl} % A4 paper and 11pt font size
\usepackage[T1]{fontenc} % Use 8-bit encoding that has 256 glyphs
\usepackage{fourier} % Use the Adobe Utopia font for the document - comment this line to return to the LaTeX default
\usepackage[english]{babel} % English language/hyphenation
\usepackage{amsmath,amsfonts,amsthm} % Math packages
\usepackage{lipsum} % Used for inserting dummy 'Lorem ipsum' text into the template
\usepackage{sectsty} % Allows customizing section commands
\allsectionsfont{\centering \normalfont\scshape} % Make all sections centered, the default font and small caps
\usepackage{fancyhdr} % Custom headers and footers
\pagestyle{fancyplain} % Makes all pages in the document conform to the custom headers and footers
\fancyhead{} % No page header - if you want one, create it in the same way as the footers below
\fancyfoot[L]{} % Empty left footer
\fancyfoot[C]{} % Empty center footer
\fancyfoot[R]{\thepage} % Page numbering for right footer
\renewcommand{\headrulewidth}{0pt} % Remove header underlines
\renewcommand{\footrulewidth}{0pt} % Remove footer underlines
\setlength{\headheight}{13.6pt} % Customize the height of the header
\numberwithin{equation}{section} % Number equations within sections (i.e. 1.1, 1.2, 2.1, 2.2 instead of 1, 2, 3, 4)
\numberwithin{figure}{section} % Number figures within sections (i.e. 1.1, 1.2, 2.1, 2.2 instead of 1, 2, 3, 4)
\numberwithin{table}{section} % Number tables within sections (i.e. 1.1, 1.2, 2.1, 2.2 instead of 1, 2, 3, 4)
\setlength\parindent{0pt} % Removes all indentation from paragraphs - comment this line for an assignment with lots of text
%----------------------------------------------------------------------------------------
% TITLE SECTION
%----------------------------------------------------------------------------------------
\newcommand{\horrule}[1]{\rule{\linewidth}{#1}} % Create horizontal rule command with 1 argument of height
\title{
\normalfont \normalsize
\textsc{university, school or department name} \\ [25pt] % Your university, school and/or department name(s)
\horrule{0.5pt} \\[0.4cm] % Thin top horizontal rule
\huge Assignment Title \\ % The assignment title
\horrule{2pt} \\[0.5cm] % Thick bottom horizontal rule
}
\author{John Smith} % Your name
\date{\normalsize\today} % Today's date or a custom date
\begin{document}
\maketitle % Print the title
%----------------------------------------------------------------------------------------
% PROBLEM 1
%----------------------------------------------------------------------------------------
\section{Problem title}
\lipsum[2] % Dummy text
\begin{align}
\begin{split}
(x+y)^3 &= (x+y)^2(x+y)\\
&=(x^2+2xy+y^2)(x+y)\\
&=(x^3+2x^2y+xy^2) + (x^2y+2xy^2+y^3)\\
&=x^3+3x^2y+3xy^2+y^3
\end{split}
\end{align}
Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies
%------------------------------------------------
\subsection{Heading on level 2 (subsection)}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
\begin{align}
A =
\begin{bmatrix}
A_{11} & A_{21} \\
A_{21} & A_{22}
\end{bmatrix}
\end{align}
Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.
%------------------------------------------------
\subsubsection{Heading on level 3 (subsubsection)}
\lipsum[3] % Dummy text
\paragraph{Heading on level 4 (paragraph)}
\lipsum[6] % Dummy text
%----------------------------------------------------------------------------------------
% PROBLEM 2
%----------------------------------------------------------------------------------------
\section{Lists}
%------------------------------------------------
\subsection{Example of list (3*itemize)}
\begin{itemize}
\item First item in a list
\begin{itemize}
\item First item in a list
\begin{itemize}
\item First item in a list
\item Second item in a list
\end{itemize}
\item Second item in a list
\end{itemize}
\item Second item in a list
\end{itemize}
%------------------------------------------------
\subsection{Example of list (enumerate)}
\begin{enumerate}
\item First item in a list
\item Second item in a list
\item Third item in a list
\end{enumerate}
%----------------------------------------------------------------------------------------
\end{document}

63
templates/NiceArticle.tex Normal file
View File

@@ -0,0 +1,63 @@
\documentclass[a4paper, 11pt]{article} % Font size (can be 10pt, 11pt or 12pt) and paper size (remove a4paper for US letter paper)
\usepackage[protrusion=true,expansion=true]{microtype} % Better typography
\usepackage{graphicx} % Required for including pictures
\usepackage{wrapfig} % Allows in-line images
\usepackage{mathpazo} % Use the Palatino font
\usepackage[T1]{fontenc} % Required for accented characters
\linespread{1.05} % Change line spacing here, Palatino benefits from a slight increase by default
\makeatletter
\renewcommand\@biblabel[1]{\textbf{#1.}} % Change the square brackets for each bibliography item from '[1]' to '1.'
\renewcommand{\@listI}{\itemsep=0pt} % Reduce the space between items in the itemize and enumerate environments and the bibliography
\renewcommand{\maketitle}{ % Customize the title - do not edit title and author name here, see the TITLE block below
\begin{flushright} % Right align
{\LARGE\@title} % Increase the font size of the title
\vspace{50pt} % Some vertical space between the title and author name
{\large\@author} % Author name
\\\@date % Date
\vspace{40pt} % Some vertical space between the author block and abstract
\end{flushright}
}
%----------------------------------------------------------------------------------------
% TITLE
%----------------------------------------------------------------------------------------
\title{\textbf{Unnecessarily Long Essay Title}\\ % Title
Focused and Deliciously Witty Subtitle} % Subtitle
\author{\textsc{Ford Prefect} % Author
\\{\textit{Interstellar University}}} % Institution
\date{\today} % Date
%----------------------------------------------------------------------------------------
\begin{document}
\maketitle % Print the title section
%----------------------------------------------------------------------------------------
% ABSTRACT AND KEYWORDS
%----------------------------------------------------------------------------------------
%\renewcommand{\abstractname}{Summary} % Uncomment to change the name of the abstract to something else
\begin{abstract}
\end{abstract}
\hspace*{3,6mm}\textit{Keywords:}% Keywords
\vspace{30pt} % Some vertical space between the abstract and first section
\end{document}

168
templates/PhilBeamer.tex Normal file
View File

@@ -0,0 +1,168 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Beamer Presentation
% LaTeX Template
% Version 1.0 (10/11/12)
%
% This template has been downloaded from:
% http://www.LaTeXTemplates.com
%
% License:
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%----------------------------------------------------------------------------------------
% PACKAGES AND THEMES
%----------------------------------------------------------------------------------------
\documentclass{beamer}
\mode<presentation> {
% The Beamer class comes with a number of default slide themes
% which change the colors and layouts of slides. Below this is a list
% of all the themes, uncomment each in turn to see what they look like.
%\usetheme{default}
%\usetheme{AnnArbor}
%\usetheme{Antibes}
%\usetheme{Bergen}
%\usetheme{Berkeley}
%\usetheme{Berlin}
%\usetheme{Boadilla}
%\usetheme{CambridgeUS}
%\usetheme{Copenhagen}
%\usetheme{Darmstadt} %Nice
%\usetheme{Dresden} %Nice
\usetheme{Frankfurt} %Nice
%\usetheme{Goettingen} %Sidebar
%\usetheme{Hannover}
%\usetheme{Ilmenau}
%\usetheme{JuanLesPins}
%\usetheme{Luebeck}
%\usetheme{Madrid}
%\usetheme{Malmoe}
%\usetheme{Marburg}
%\usetheme{Montpellier}
%\usetheme{PaloAlto}
%\usetheme{Pittsburgh}
%\usetheme{Rochester}
%\usetheme{Singapore}
%\usetheme{Szeged}
%\usetheme{Warsaw}
% As well as themes, the Beamer class has a number of color themes
% for any slide theme. Uncomment each of these in turn to see how it
% changes the colors of your current slide theme.
%\usecolortheme{albatross}
%\usecolortheme{beaver}
%\usecolortheme{beetle}
%\usecolortheme{crane}
%\usecolortheme{dolphin}
%\usecolortheme{dove}
%\usecolortheme{fly}
%\usecolortheme{lily}
%\usecolortheme{orchid}
%\usecolortheme{rose}
%\usecolortheme{seagull}
%\usecolortheme{seahorse}
%\usecolortheme{whale}
%\usecolortheme{wolverine}
%\setbeamertemplate{footline} % To remove the footer line in all slides uncomment this line
%\setbeamertemplate{footline}[page number] % To replace the footer line in all slides with a simple slide count uncomment this line
%\setbeamertemplate{navigation symbols}{} % To remove the navigation symbols from the bottom of all slides uncomment this line
}
%%% SYMBOLS AND STYLES %%%
\DeclareSymbolFont{symbolsC}{U}{txsyc}{m}{n}
\DeclareMathSymbol{\strictif}{\mathrel}{symbolsC}{74}
\usepackage{multicol}
\newcommand{\tuple}[1]{\langle#1\rangle} %%Angle brackets
\setbeamercovered{transparent}
\usepackage{graphicx}
%%% CITATIONS %%%
\usepackage[round]{natbib} %%Or change 'round' to 'square' for square backers
\setcitestyle{aysep={}}
\newcommand\citeapl[2][]{\citeauthor{#2}'s#1} %%Use \citeapl is for possessive author name only.
\newcommand\citea[2][]{\citeauthor{#2}#1} %%Use \citea is for author name only, with optional page numbers.
\newcommand\citepl[2][]{\citeauthor{#2}'s (\citeyear[#1]{#2})}%%The command \citepl is for possessive citations.
\usepackage{bibentry}
\usepackage{graphicx} % Allows including images
\usepackage{booktabs} % Allows the use of \toprule, \midrule and \bottomrule in tables
%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------
\title[Short title]{Early Interpretations of the Barcan Formula} % The short title appears at the bottom of every slide, the full title is only on the title page
\author{Benjamin Brast-McKie} % Your name
\institute[Oxford] % Your institution as it will appear on the bottom of every slide, may be shorthand to save space
{
University of Oxford \\ % Your institution for the title page
\medskip
\textit{benjamin.brast-mckie@philosophy.ox.ac.uk} % Your email address
}
\date{\today} % Date, can be changed to a custom date
\begin{document}
\begin{frame}
\titlepage % Print the title page as the first slide
\end{frame}
\begin{frame}
\frametitle{Plan}
\tableofcontents[hideallsubsections]
\end{frame}
%----------------------------------------------------------------------------------------
% PRESENTATION SLIDES
%----------------------------------------------------------------------------------------
%%% NOTES %%%
%Recall: \pause for
%Recall: ITEMIZE
%\begin{itemize}
%\item<1->
%\end{itemize}
%\onslide<1->{ SLIDE }
%\begin{itemize}[<+(1)->]
%\begin{itemize}[<+->]
%------------------------------------------------
\section{FIRST}
%------------------------------------------------
\subsection{FIRST SUB}
\begin{frame}
\frametitle{FRAME TITLE}
\end{frame}
%----------------------------------------------------------------------------------------
\nobibliography{Zotero}
\bibliographystyle{Phil_Review}
\end{document}

245
templates/PhilPaper.tex Normal file
View File

@@ -0,0 +1,245 @@
%%%%%%%%%%%%%%%%%%%%%%%% PREAMBLE %%%%%%%%%%%%%%%%%%%%%%%%
%%% FORMATTING %%%
\documentclass[11pt]{article} %%Font size and document presets
\usepackage[a4paper, margin=4cm]{geometry} %Annina style
\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
% \usepackage{multicol} %% Use \begin{multicols}{3} for three columns and \end{multicols} after
% \usepackage{adjmulticol}
\usepackage{verbatim} %% Enables \begin{comment} ... \end{comment}
% \usepackage{rotating} %% Enables rotating symbols
% \usepackage{lplfitch} %% logic package
% \usepackage{bold-extra} %% bold+small caps
% \usepackage{bussproofs}
%%% 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{\thesection\ #1}} %%Left header command
\lhead{\nouppercase{$\S$\rightmark}} %%Left header
%%% SECTIONS %%%
\usepackage{hyperref}
% \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,mathabx,colonequals} %%Math packages
\usepackage{tipa}
%%% GLOSSARY %%%
% \usepackage[automake,%builds index
% nogroupskip,% makes spacing of entries uniform
% postpunc={dot},% full stop after description
% nostyles,% don't load default style packages
% % load glossaries-extra-stylemods.sty and glossary-tree.sty:
% stylemods={tree}
% ]{glossaries-extra}
% \loadglsentries{Glossary}% sources file from local project folder
% \newcommand{\g}{\glssymbol*}% unstar to allow hyperlinks
% \makeglossaries
% \printglossary[style={index}] %Add to end
%%% 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[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{\set}[1]{\lbrace#1\rbrace} %%Set brackets
% \newcommand{\qedp}[0]{$\hfill\Diamond$} %%Box at end of proofs
% \newcommand{\ceil}[1]{\lceil#1\rceil} %%Corner quotes
% \newcommand{\floor}[1]{\lfloor#1\rfloor} %%Corner quotes
%%% ENVIRONMENTS %%%
\usepackage{amsthm}
\newtheoremstyle{theorem}
{} % Space above
{} % Space below
{\normalfont} % Theorem body font % (default is "\upshape")
{} % Indent amount
{\bfseries} % Theorem head font % (default is \mdseries)
{} % Punctuation after theorem head % default: no punctuation
{.18in} % Space after theorem head
{} % Theorem head spec
\theoremstyle{theorem}
\newtheorem{theorem}{}% theorem counter resets every \subsection
\renewcommand{\thetheorem}{T\arabic{theorem}}% Remove subsection from theorem counter representation
\newtheoremstyle{Lthm}
{} % Space above
{} % Space below
{\normalfont} % Theorem body font % (default is "\upshape")
{} % Indent amount
{\bfseries} % Theorem head font % (default is \mdseries)
{} % Punctuation after theorem head % default: no punctuation
{.18in} % Space after theorem head
{} % Theorem head spec
\theoremstyle{Lthm}
\newtheorem{Lthm}{}[subsection]% theorem counter resets every \subsection
\renewcommand{\theLthm}{L\arabic{Lthm}}% Remove subsection from theorem counter representation
\newtheoremstyle{Pthm}
{} % Space above
{} % Space below
{\normalfont} % Theorem body font % (default is "\upshape")
{} % Indent amount
{\bfseries} % Theorem head font % (default is \mdseries)
{} % Punctuation after theorem head % default: no punctuation
{.18in} % Space after theorem head
{} % Theorem head spec
\theoremstyle{Pthm}
\newtheorem{Pthm}{}[subsection]% theorem counter resets every \subsection
\renewcommand{\thePthm}{P\arabic{Pthm}}% Remove subsection from theorem counter representation
\usepackage{calc}
\makeatletter
\newcommand{\labelalign@original@item}{}
\let\labelalign@original@item\item
\newcommand*{\labelalign@envir}{labelalign}
\newlength{\labelalign@totalleftmargin}
\newlength{\labelalign@linewidth}
\newcommand{\labelalign@makelabel}[1]{\llap{#1}}%
\newcommand{\labelalign@item}[1][]{%
\setlength{\@totalleftmargin}%
{\labelalign@totalleftmargin+\widthof{\textbf{#1 }}+.25in-\leftmargin}%
\setlength{\linewidth}
{\labelalign@linewidth-\widthof{\textbf{#1 }}-.25in+\leftmargin}%
\par\parshape \@ne \@totalleftmargin \linewidth
\labelalign@original@item[\textbf{#1}]%
}
\newenvironment{labelalign}
{\list{}{\setlength{\labelwidth}{0in}%
\let\makelabel\labelalign@makelabel}%
\setlength{\labelalign@totalleftmargin}{\@totalleftmargin}%
\setlength{\labelalign@linewidth}{\linewidth}%
\renewcommand{\item}{\ifx\@currenvir\labelalign@envir
\expandafter\labelalign@item
\else
\expandafter\labelalign@original@item
\fi}}
{\endlist}
\makeatother
%%% CROSS REFERENCES %%%
\newcounter{acount}
\newcommand{\aitem}[1]{%
\item[\bf #1] \refstepcounter{acount}\label{#1}
}
\newcommand{\aref}[1]{\hyperref[#1]{#1}}
%%%%%%%%%%%%%%%%%%%%%%%%% TITLE %%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\title{\sc TITLE} %\thanks{}
\author{\it Benjamin Brast-McKie}
\date{\today}
\maketitle
\thispagestyle{empty}
% \vspace{.1in}
\begin{abstract}
\noindent
ABSTRACT
\end{abstract}
%%%%%%%%%%%%%%%%%%%%%%%%% DOCUMENT %%%%%%%%%%%%%%%%%%%%%%%%%
\hypsection{Introduction}\label{Intro}
%%%%%%%%%%%%%%%%%%%%%%%%% GLOSSARY %%%%%%%%%%%%%%%%%%%%%%%%%
% \printglossary[style={index}] %Add to end
%%%%%%%%%%%%%%%%%%%%%%% BIBLIOGRAPHY %%%%%%%%%%%%%%%%%%%%%%%
\newpage
\begin{footnotesize} %%Makes bib footnotesize text size
\singlespacing %%Makes single spaced
\bibliographystyle{Phil_Review} %%bib style found in bst folder, in bibtex folder, in texmf folder.
\setlength{\bibsep}{5pt} %%Changes spacing between bib entries
\bibliography{Zotero} %%bib database found in bib folder, in bibtex folder
\thispagestyle{empty} %%Removes page numbers
\end{footnotesize} %%End makes bib small text size
\end{document}

207
templates/Root.tex Normal file
View File

@@ -0,0 +1,207 @@
%%%%%%%%%%%%%%%%%%%%%%%% PREAMBLE %%%%%%%%%%%%%%%%%%%%%%%%
%%% FORMATTING %%%
\documentclass[11pt]{report} %%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
%%% MULTIPLE FILES %%%
\usepackage{subfiles}
\usepackage{hyperref}
\usepackage{bibentry}
%%% HYPER SECTIONS %%%
\usepackage{bold-extra} %% bold+small caps
\usepackage{titlesec}
\usepackage{tocloft} %% change alignment of subsubsection in toc
%\cftsetindents{subsubsubsection}{0.228in}{0.346in} %change alignment of subsubsection in toc
\newcommand{\hypsection}[1]{\section[\bfseries{\scshape{#1}}]{\hyperlink{toc}{\sc \textbf{#1}}}} %%use to jump back to toc
\newcommand{\schapter}[1]{\chapter[\bfseries{\scshape{#1}}]{\hyperlink{toc}{\LARGE#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
\newcommand{\hypasubsubsection}[1]{\subsubsection[#1]{\hyperlink{toc}{#1}}} %%use to jump back to toc
\newcommand{\Psubsection}[2][]{\subsubsubsection[\normalfont{#2}]{\hyperlink{#1}{\normalfont{#2}}}\label{#1}} %%use to jump back to toc
\newcommand{\Lsubsection}[2][]{\Lthm[\normalfont{#2}]{\hyperlink{#1}{\normalfont{#2}}}\label{#1}} %%use to jump back to toc
% \renewcommand{\href}[1]{\hypertarget{#1}{\ref{#1}}} %%use to jump back to toc
\makeatletter
\renewcommand{\href}[1]{\Hy@raisedlink{\hypertarget{#1}{}}\ref{#1}}
\makeatother
\titleclass{\subsubsubsection}{straight}[\subsection]
\newcounter{subsubsubsection}[subsubsection]
\renewcommand\thesubsubsubsection{\arabic{section}.\arabic{subsubsubsection}}
\renewcommand\theparagraph{\arabic{section}.\arabic{paragraph}} % optional; useful if paragraphs are to be numbered
\titleformat{\subsubsubsection}
{\normalfont\normalsize\bfseries}{\thesubsubsubsection}{1em}{}
\titlespacing*{\subsubsubsection}
{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}
\titleformat{\paragraph}
{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}
\titlespacing*{\paragraph}
{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}
\makeatletter
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
{-2.5ex\@plus -1ex \@minus -.25ex}%
{1.25ex \@plus .25ex}%
{\normalfont\normalsize\bfseries}}
\def\toclevel@subsubsubsection{2}
\def\toclevel@paragraph{4}
\def\l@subsubsubsection{\@dottedtocline{2}{1.5em}{2.3em}}
\def\l@paragraph{\@dottedtocline{4}{10em}{5em}}
\makeatother
\setcounter{secnumdepth}{2}
\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{1}
%\renewcommand\thesection{\sc\LARGE Chapter \arabic{section}:}
%\renewcommand\thesubsection{\arabic{section}.\arabic{subsection}}
\renewcommand\thesubsubsubsection{P\arabic{subsubsubsection}}
\renewcommand\theparagraph{L\arabic{paragraph}}
%%% 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
\renewcommand{\chaptermark}[1]{\markright{#1}{}}
\lhead{\nouppercase{\rightmark}} %%Left header
%%% 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={}}
\newcommand\citepl[2][]{\citeauthor{#2}'s (\citeyear[#1]{#2})} %%Use \citepl for possessive citation.
\newcommand\citea[2][]{\citeauthor{#2}#1} %%Use \citea is for author name only, with optional page numbers.
\newcommand\citeapl[2][]{\citeauthor{#2}'s#1} %%Use \citeapl is for possessive author name only.
% \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
%%% 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
%%% 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}
\setlength\cftaftertoctitleskip{10pt}
\addtocontents{toc}{\protect\hypertarget{toc}{}}
\renewcommand{\contentsname}{\LARGE\sc Table of Contents}
\strut\vspace{-50pt}
\tableofcontents
\thispagestyle{empty}
\pagebreak
%%%%%%%%%%%%%%%%%%%%%%% DOCUMENT %%%%%%%%%%%%%%%%%%%%%%%
\doublespacing
% \section*{Introduction} % Turn on to included introduction in TOC
% \addcontentsline{toc}{chapter}{\protect\numberline{}Introduction}%
\subfile{Chapters/Ch1/Ch1}
\subfile{Chapters/Ch2/Ch2}
% \section*{Conclusion}
% \addcontentsline{toc}{chapter}{\protect\numberline{}Conclusion}%
%%%%%%%%%%%%%%%%%%%%%% BIBLIOGRAPHY %%%%%%%%%%%%%%%%%%%%%%
\newpage
\begin{small} %%Makes bib small text size
\singlespacing %%Makes single spaced
\bibliographystyle{Phil_Review} %%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}

43
templates/SubFile.tex Normal file
View File

@@ -0,0 +1,43 @@
%NOTE: to be used with \usepackage{subfiles} in the main file.
%Subfiles go in folders which live with the main file.
%Bibliography and preamble go in the main file.
%%%%%%%%%%%%%%%%%%%%%%%% PREAMBLE %%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[../../Root.tex]{subfiles} %Each instance of `../' elevates one folder to find the main file
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%% DOCUMENT %%%%%%%%%%%%%%%%%%%%%%%
% \tableofcontents % Can be useful to load a TOC while writing
\doublespacing
\schapter{TITLE}
\hypsection{TITLE}
\hypsubsection{TITLE}
\bibliographystyle{Phil_Review} %%bib style found in bst folder, in bibtex folder, in texmf folder.
\nobibliography{Zotero} %%bib database found in bib folder, in bibtex folder
\end{document}

View File

@@ -0,0 +1,41 @@
%NOTE: to be used with \usepackage{subfiles} in the main file.
%Subfiles go in folders which live with the main file.
%Bibliography and preamble go in the main file.
%%%%%%%%%%%%%%%%%%%%%%%% PREAMBLE %%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[../../Root.tex]{subfiles} %Each instance of `../' elevates one folder to find the main file
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%% DOCUMENT %%%%%%%%%%%%%%%%%%%%%%%
\tableofcontents
\doublespacing
\section{TITLE}
\bibliographystyle{Phil_Review} %%bib style found in bst folder, in bibtex folder, in texmf folder.
\nobibliography{Zotero} %%bib database found in bib folder, in bibtex folder
\end{document}

View File

@@ -0,0 +1,43 @@
%NOTE: to be used with \usepackage{subfiles} in the main file.
%Subfiles go in folders which live with the main file.
%Bibliography and preamble go in the main file.
%%%%%%%%%%%%%%%%%%%%%%%% PREAMBLE %%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[../../Root.tex]{subfiles} %Each instance of `../' elevates one folder to find the main file
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%% DOCUMENT %%%%%%%%%%%%%%%%%%%%%%%
\tableofcontents
\doublespacing
\schapter{TITLE}
\section{TITLE}
\bibliographystyle{Phil_Review} %%bib style found in bst folder, in bibtex folder, in texmf folder.
\nobibliography{Zotero} %%bib database found in bib folder, in bibtex folder
\end{document}

155
templates/Subfiles/Root.tex Normal file
View File

@@ -0,0 +1,155 @@
%%%%%%%%%%%%%%%%%%%%%%%% PREAMBLE %%%%%%%%%%%%%%%%%%%%%%%%
%%% FORMATTING %%%
\documentclass[11pt]{report} %%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
%%% MULTIPLE FILES %%%
\usepackage{subfiles}
\usepackage{hyperref}
\usepackage{bibentry}
%%% HYPER SECTIONS %%%
\usepackage{bold-extra} %% bold+small caps
\usepackage{titlesec}
\usepackage{tocloft} %% change alignment of subsubsection in toc
%\cftsetindents{subsubsubsection}{0.228in}{0.346in} %change alignment of subsubsection in toc
\newcommand{\hypsection}[1]{\section[\bfseries{\scshape{#1}}]{\hyperlink{toc}{\sc \textbf{#1}}}} %%use to jump back to toc
\newcommand{\schapter}[1]{\chapter[\bfseries{\scshape{#1}}]{\hyperlink{toc}{\LARGE#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
%%% 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{\rightmark}} %%Left header
%%% 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={}}
\newcommand\citepl[2][]{\citeauthor{#2}'s (\citeyear[#1]{#2})} %%Use \citepl for possessive citation.
\newcommand\citea[2][]{\citeauthor{#2}#1} %%Use \citea is for author name only, with optional page numbers.
\newcommand\citeapl[2][]{\citeauthor{#2}'s#1} %%Use \citeapl is for possessive author name only.
% \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
%%% 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
%%% 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}
\tableofcontents
\pagebreak
%%%%%%%%%%%%%%%%%%%%%%% DOCUMENT %%%%%%%%%%%%%%%%%%%%%%%
\doublespacing
\section*{Introduction}
\addcontentsline{toc}{section}{\protect\numberline{}Introduction}%
\subfile{Chapters/Ch1/Ch1}
\subfile{Chapters/Ch2/Ch2}
\section*{Conclusion}
\addcontentsline{toc}{section}{\protect\numberline{}Conclusion}%
%%%%%%%%%%%%%%%%%%%%%% BIBLIOGRAPHY %%%%%%%%%%%%%%%%%%%%%%
\newpage
\begin{small} %%Makes bib small text size
\singlespacing %%Makes single spaced
\bibliographystyle{PhilReview} %%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}

154
templates/Thesis.tex Normal file
View File

@@ -0,0 +1,154 @@
%%%%%%%%%%%%%%%%%%%%%%%% PREAMBLE %%%%%%%%%%%%%%%%%%%%%%%%
%%% FORMATTING %%%
\documentclass[11pt]{report} %%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
%%% MULTIPLE FILES %%%
\usepackage{subfiles}
\usepackage{hyperref}
\usepackage{bibentry}
%%% HYPER SECTIONS %%%
\usepackage{bold-extra} %% bold+small caps
\usepackage{titlesec}
\usepackage{tocloft} %% change alignment of subsubsection in toc
%\cftsetindents{subsubsubsection}{0.228in}{0.346in} %change alignment of subsubsection in toc
\newcommand{\hypsection}[1]{\section[\bfseries{\scshape{#1}}]{\hyperlink{toc}{\sc \textbf{#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
%%% 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{\rightmark}} %%Left header
%%% 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={}}
\newcommand\citepl[2][]{\citeauthor{#2}'s (\citeyear[#1]{#2})} %%Use \citepl for possessive citation.
\newcommand\citea[2][]{\citeauthor{#2}#1} %%Use \citea is for author name only, with optional page numbers.
\newcommand\citeapl[2][]{\citeauthor{#2}'s#1} %%Use \citeapl is for possessive author name only.
% \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
%%% 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
%%% 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}
\tableofcontents
\pagebreak
%%%%%%%%%%%%%%%%%%%%%%% DOCUMENT %%%%%%%%%%%%%%%%%%%%%%%
\doublespacing
\section*{Introduction}
\addcontentsline{toc}{section}{\protect\numberline{}Introduction}%
\subfile{Chapters/Ch1/FirstFile}
\subfile{Chapters/Ch2/SecondFile}
\section*{Conclusion}
\addcontentsline{toc}{section}{\protect\numberline{}Conclusion}%
%%%%%%%%%%%%%%%%%%%%%% BIBLIOGRAPHY %%%%%%%%%%%%%%%%%%%%%%
\newpage
\begin{small} %%Makes bib small text size
\singlespacing %%Makes single spaced
\bibliographystyle{Phil_Review} %%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}

243
templates/TikZArc.tex Normal file
View File

@@ -0,0 +1,243 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%% TikZ Example %%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[11pt]{article}
%################################################
%######## Packages ########
%################################################
\usepackage{tikz} % Diagrams
\usetikzlibrary{positioning,arrows,shadows,shapes,patterns,decorations.pathmorphing} % Some TikZ libraries
%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
%>>>>>> Setup >>>>>>
%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
\tikzset{
modal/.style={
>=stealth',
shorten >=1pt,
shorten <=1pt,
auto,
node distance=2cm,
semithick
},
state/.style={
circle,
draw,
minimum size=0.5cm,
fill=gray!15
},
point/.style={
circle,
draw,
inner sep=0.5mm,
fill=black
},
sees/.style={
->
},
seen/.style={
<-
},
seens/.style={
<->
},
rfl/.style={
->,
in=120,
out=60,
loop,
looseness=5
}}
\newcommand{\stack}[1]{{\def\arraystretch{0.6}\begin{array}{c} #1 \end{array}}}
%::::::::::::::::::::::::::::::::::::::::::::::::
%:::::: Front Matter ::::::
%::::::::::::::::::::::::::::::::::::::::::::::::
\begin{document}
\textbf{Example 1:}
\begin{center}
\begin{tikzpicture}[modal, node distance=1cm]
\node[point] (p1) [label=above:$p_1$] {};
\node[point] (p2) [right of=p1, label=above:$\stack{p_1 \\ p_2}$] {};
\node[point] (p3) [right of=p2, label=above:$\stack{p_1 \\ p_2 \\ p_3}$] {};
\node[point] (r) [below of=p2, label=below:$t_\mathsf{root}$] {};
\node (con) [right of=p3] {$\cdots$};
\node[point] (pw) [right of=con, label=above:$\stack{p_1 \\ p_2 \\ p_3 \\ \vdots}$, label=right:``$t_\omega$''] {};
\node (T') [below of=r] {$\mathcal{T}$};
\path (r) edge[sees] (p1);
\path (r) edge[sees] (p2);
\path (r) edge[sees] (p3);
\path (r) edge[sees,dashed, bend right=25] (pw);
\end{tikzpicture}
\end{center}
\textbf{Example 2:}
\begin{center}
\begin{tikzpicture}[modal, node distance=1.5cm]
\node[point] (0) [label=above:$p_1$, label=below:$0$] {};
\node[point] (1) [right of=0, label=above:$p_2$, label=below:$1$] {};
\node[point] (2) [right of=1, label=above:$p_1$, label=below:$2$] {};
\node[point] (3) [right of=2, label=above:$p_2$, label=below:$3$] {};
\node (r) [right of=3] {$\cdots$};
\node[point] (-1) [left of=0, label=above:$p_2$, label=below:$-1$] {};
\node[point] (-2) [left of=-1, label=above:$p_1$, label=below:$-2$] {};
\node[point] (-3) [left of=-2, label=above:$p_2$, label=below:$-3$] {};
\node (l) [left of=-3] {$\cdots$};
\path (l) edge[sees] (-3);
\path (-3) edge[sees] (-2);
\path (-2) edge[sees] (-1);
\path (-1) edge[sees] (0);
\path (0) edge[sees] (1);
\path (1) edge[sees] (2);
\path (2) edge[sees] (3);
\path (3) edge[sees] (r);
\end{tikzpicture}
\end{center}
\textbf{Example 3:}
\begin{center}
\begin{tikzpicture}[modal, node distance=1.5cm]
\node[point] (e) [label=above:$p_1$, label=below:$e$] {};
\node[point] (m) [right of=e, label=below:$m$] {};
\node[point] (o) [right of=m, label=above:$p_2$, label=below:$o$] {};
\path (e) edge[sees, bend left=25] (m);
\path (m) edge[sees, bend left=25] (e);
\path (o) edge[sees, bend left=25] (m);
\path (m) edge[sees, bend left=25] (o);
\path (m) edge[rfl, in=60, out=120, looseness=30] (m);
\end{tikzpicture}
\end{center}
\textbf{Example 4:}
\begin{center}
\begin{tikzpicture}[modal]
\node (r) {$t_\mathsf{root}$};
\node (1p1) [above left=5mm of r] {$p_1$};
\node (1p2) [above left=5mm of 1p1] {$p_2$};
\node (1p3) [above left=5mm of 1p2] {$p_3$};
\node (1pd) [above left=-2mm of 1p3] {\rotatebox[origin=c]{-10}{$\ddots$}};
\node (2p1) [above=5mm of r] {$p_1$};
\node (2p2) [above=5mm of 2p1] {$p_1$};
\node (2p3) [above=5mm of 2p2] {$p_2$};
\node (2p4) [above=5mm of 2p3] {$p_3$};
\node (2pd) [above=1mm of 2p4] {$\vdots$};
\node (3p1) [above right=5mm of r] {$p_1$};
\node (3p2) [above right=5mm of 3p1] {$p_1$};
\node (3p3) [above right=5mm of 3p2] {$p_1$};
\node (3p4) [above right=5mm of 3p3] {$p_2$};
\node (3p5) [above right=5mm of 3p4] {$p_3$};
\node (3pd) [above right=-2mm of 3p5] {\rotatebox[origin=c]{80}{$\ddots$}};
\node (con) [below right=1mm of 3p3] {$\ddots$};
\node (cont) [below right=1mm of con] {$\vdots$};
\node (wp1) [right=5mm of r] {$p_1$};
\node (wp2) [right=5mm of wp1] {$p_1$};
\node (wp3) [right=5mm of wp2] {$p_1$};
\node (wp4) [right=5mm of wp3] {$p_1$};
\node (wpd) [right=0mm of wp4] {$\dots$};
\path (r) edge[sees] (1p1);
\path (r) edge[sees] (2p1);
\path (r) edge[sees] (3p1);
\path (r) edge[sees] (wp1);
\path (1p1) edge[sees] (1p2);
\path (1p2) edge[sees] (1p3);
\path (2p1) edge[sees] (2p2);
\path (2p2) edge[sees] (2p3);
\path (2p3) edge[sees] (2p4);
\path (3p1) edge[sees] (3p2);
\path (3p2) edge[sees] (3p3);
\path (3p3) edge[sees] (3p4);
\path (3p4) edge[sees] (3p5);
\path (wp1) edge[sees] (wp2);
\path (wp2) edge[sees] (wp3);
\path (wp3) edge[sees] (wp4);
\end{tikzpicture}
\end{center}
\pagebreak
\textbf{Example 5:}
\begin{center}
\begin{tikzpicture}[modal]
\node[state] (h1) {H};
\node[state] (h2) [right of = h1] {H};
\node[state] (h3) [right of = h2] {H};
\node[state] (t1) [above right of = h1] {T};
\node[state] (t2) [above right of = h2] {T};
\node[state] (t3) [above right of = h3] {T};
\node (e) [right of = h3] {\dots};
\path (h1) edge[rfl, in=150, out=210] (h1);
\path (t1) edge[rfl] (t1);
\path (h1) edge[sees] (h2);
\path (h2) edge[sees] (h3);
\path (h3) edge[sees] (e);
\path (h1) edge[sees,dashed] (t1);
\path (h2) edge[sees,dashed] (t2);
\path (h3) edge[sees,dashed] (t3);
\end{tikzpicture}
\end{center}
\textbf{Example 6:}
\begin{center}
\begin{tikzpicture}[node distance=1ex]
\node (A->B) {$A \rightarrow B$};
\node (A&-B) [below=of A->B] {$A \wedge \neg B$};
\node (-A) [below left=7mm of A&-B] {$\neg A$};
\node (A) [below=of -A] {$A$};
\node (x-A) [below=of A] {$\times$};
\node (B) [below right=7mm of A&-B] {$B$};
\node (A2) at (x-A -| B) [yshift=-7mm] {$A$};
\node (-B) [below=of A2] {$\neg B$};
\node (x-B) [below=of -B] {$\times$};
\path (A&-B) edge[-] (-A);
\path (A&-B) edge[-] (B);
\path (B) edge[-] (A2);
\node (1) [left=2cm of A->B] {1.};
\node (2) at (1 |- A&-B) {2.};
\node (3) at (1 |- -A) {3.};
\node (4) at (1 |- A) {4.};
\node (5) at (1 |- A2) {5.};
\node (6) at (1 |- -B) {6.};
\path (5) edge[-,dashed] (A2);
\path (6) edge[-,dotted] (-B);
\node (r1) [right=2cm of A->B] {P};
\node (r2) at (r1 |- A&-B) {P};
\node (r3) at (r1 |- -A) {($\rightarrow$), 1};
\node (r4) at (r1 |- A) {($\wedge$), 2};
\node (r5) at (r1 |- A2) {($\wedge$), 2};
\node (r6) at (r1 |- -B) {($\wedge$), 2};
\end{tikzpicture}
\end{center}
\end{document}

300
templates/TuftsSample.tex Normal file
View File

@@ -0,0 +1,300 @@
\documentclass{tufte-handout}
%\geometry{showframe}% for debugging purposes -- displays the margins
\usepackage{amsmath}
% Set up the images/graphics package
\usepackage{graphicx}
\setkeys{Gin}{width=\linewidth,totalheight=\textheight,keepaspectratio}
\graphicspath{{graphics/}}
\title{An Example of the Usage of the Tufte-Handout Style\thanks{Inspired by Edward~R. Tufte!}}
\author[The Tufte-LaTeX Developers]{The Tufte-\LaTeX\ Developers}
\date{24 January 2009} % if the \date{} command is left out, the current date will be used
% The following package makes prettier tables. We're all about the bling!
\usepackage{booktabs}
% The units package provides nice, non-stacked fractions and better spacing
% for units.
\usepackage{units}
% The fancyvrb package lets us customize the formatting of verbatim
% environments. We use a slightly smaller font.
\usepackage{fancyvrb}
\fvset{fontsize=\normalsize}
% Small sections of multiple columns
\usepackage{multicol}
% Provides paragraphs of dummy text
\usepackage{lipsum}
% These commands are used to pretty-print LaTeX commands
\newcommand{\doccmd}[1]{\texttt{\textbackslash#1}}% command name -- adds backslash automatically
\newcommand{\docopt}[1]{\ensuremath{\langle}\textrm{\textit{#1}}\ensuremath{\rangle}}% optional command argument
\newcommand{\docarg}[1]{\textrm{\textit{#1}}}% (required) command argument
\newenvironment{docspec}{\begin{quote}\noindent}{\end{quote}}% command specification environment
\newcommand{\docenv}[1]{\textsf{#1}}% environment name
\newcommand{\docpkg}[1]{\texttt{#1}}% package name
\newcommand{\doccls}[1]{\texttt{#1}}% document class name
\newcommand{\docclsopt}[1]{\texttt{#1}}% document class option name
\begin{document}
\maketitle% this prints the handout title, author, and date
\begin{abstract}
\noindent This document describes the Tufte handout \LaTeX\ document style.
It also provides examples and comments on the style's use. Only a brief
overview is presented here; for a complete reference, see the sample book.
\end{abstract}
%\printclassoptions
The Tufte-\LaTeX\ document classes define a style similar to the
style Edward Tufte uses in his books and handouts. Tufte's style is known
for its extensive use of sidenotes, tight integration of graphics with
text, and well-set typography. This document aims to be at once a
demonstration of the features of the Tufte-\LaTeX\ document classes
and a style guide to their use.
\section{Page Layout}\label{sec:page-layout}
\subsection{Headings}\label{sec:headings}
This style provides \textsc{a}- and \textsc{b}-heads (that is,
\Verb|\section| and \Verb|\subsection|), demonstrated above.
The Tufte-\LaTeX\ classes will emit an error if you try to use
\linebreak\Verb|\subsubsection| and smaller headings.
% let's start a new thought -- a new section
\newthought{In his later books},\cite{Tufte2006} Tufte
starts each section with a bit of vertical space, a non-indented paragraph,
and sets the first few words of the sentence in \textsc{small caps}. To
accomplish this using this style, use the \Verb|\newthought| command:
\begin{docspec}
\doccmd{newthought\{In his later books\}, Tufte starts\ldots}
\end{docspec}
\subsection{Sidenotes}\label{sec:sidenotes}
One of the most prominent and distinctive features of this style is the
extensive use of sidenotes. There is a wide margin to provide ample room
for sidenotes and small figures. Any \Verb|\footnote|s will automatically
be converted to sidenotes.\footnote{This is a sidenote that was entered
using the \texttt{\textbackslash footnote} command.} If you'd like to place ancillary
information in the margin without the sidenote mark (the superscript
number), you can use the \Verb|\marginnote| command.\marginnote{This is a
margin note. Notice that there isn't a number preceding the note, and
there is no number in the main text where this note was written.}
The specification of the \Verb|\sidenote| command is:
\begin{docspec}
\doccmd{sidenote[\docopt{number}][\docopt{offset}]\{\docarg{Sidenote text.}\}}
\end{docspec}
Both the \docopt{number} and \docopt{offset} arguments are optional. If you
provide a \docopt{number} argument, then that number will be used as the
sidenote number. It will change of the number of the current sidenote only and
will not affect the numbering sequence of subsequent sidenotes.
Sometimes a sidenote may run over the top of other text or graphics in the
margin space. If this happens, you can adjust the vertical position of the
sidenote by providing a dimension in the \docopt{offset} argument. Some
examples of valid dimensions are:
\begin{docspec}
\ttfamily 1.0in \qquad 2.54cm \qquad 254mm \qquad 6\Verb|\baselineskip|
\end{docspec}
If the dimension is positive it will push the sidenote down the page; if the
dimension is negative, it will move the sidenote up the page.
While both the \docopt{number} and \docopt{offset} arguments are optional, they
must be provided in order. To adjust the vertical position of the sidenote
while leaving the sidenote number alone, use the following syntax:
\begin{docspec}
\doccmd{sidenote[][\docopt{offset}]\{\docarg{Sidenote text.}\}}
\end{docspec}
The empty brackets tell the \Verb|\sidenote| command to use the default
sidenote number.
If you \emph{only} want to change the sidenote number, however, you may
completely omit the \docopt{offset} argument:
\begin{docspec}
\doccmd{sidenote[\docopt{number}]\{\docarg{Sidenote text.}\}}
\end{docspec}
The \Verb|\marginnote| command has a similar \docarg{offset} argument:
\begin{docspec}
\doccmd{marginnote[\docopt{offset}]\{\docarg{Margin note text.}\}}
\end{docspec}
\subsection{References}
References are placed alongside their citations as sidenotes,
as well. This can be accomplished using the normal \Verb|\cite|
command.\sidenote{The first paragraph of this document includes a citation.}
The complete list of references may also be printed automatically by using
the \Verb|\bibliography| command. (See the end of this document for an
example.) If you do not want to print a bibliography at the end of your
document, use the \Verb|\nobibliography| command in its place.
To enter multiple citations at one location,\cite{Tufte2006,Tufte1990} you can
provide a list of keys separated by commas and the same optional vertical
offset argument: \Verb|\cite{Tufte2006,Tufte1990}|.
\begin{docspec}
\doccmd{cite[\docopt{offset}]\{\docarg{bibkey1,bibkey2,\ldots}\}}
\end{docspec}
\section{Figures and Tables}\label{sec:figures-and-tables}
Images and graphics play an integral role in Tufte's work.
In addition to the standard \docenv{figure} and \docenv{tabular} environments,
this style provides special figure and table environments for full-width
floats.
Full page--width figures and tables may be placed in \docenv{figure*} or
\docenv{table*} environments. To place figures or tables in the margin,
use the \docenv{marginfigure} or \docenv{margintable} environments as follows
(see figure~\ref{fig:marginfig}):
\begin{marginfigure}%
%\includegraphics[width=\linewidth]{helix}
\caption{This is a margin figure. The helix is defined by
$x = \cos(2\pi z)$, $y = \sin(2\pi z)$, and $z = [0, 2.7]$. The figure was
drawn using Asymptote (\url{http://asymptote.sf.net/}).}
\label{fig:marginfig}
\end{marginfigure}
\begin{Verbatim}
\begin{marginfigure}
\includegraphics{helix}
\caption{This is a margin figure.}
\end{marginfigure}
\end{Verbatim}
The \docenv{marginfigure} and \docenv{margintable} environments accept an optional parameter \docopt{offset} that adjusts the vertical position of the figure or table. See the ``\nameref{sec:sidenotes}'' section above for examples. The specifications are:
\begin{docspec}
\doccmd{begin\{marginfigure\}[\docopt{offset}]}\\
\qquad\ldots\\
\doccmd{end\{marginfigure\}}\\
\mbox{}\\
\doccmd{begin\{margintable\}[\docopt{offset}]}\\
\qquad\ldots\\
\doccmd{end\{margintable\}}\\
\end{docspec}
Figure~\ref{fig:fullfig} is an example of the \Verb|figure*|
environment and figure~\ref{fig:textfig} is an example of the normal
\Verb|figure| environment.
\begin{figure*}[h]
% \includegraphics[width=\linewidth]{sine.pdf}%
\caption{This graph shows $y = \sin x$ from about $x = [-10, 10]$.
\emph{Notice that this figure takes up the full page width.}}%
\label{fig:fullfig}%
\end{figure*}
\begin{figure}
% \includegraphics{hilbertcurves.pdf}
% \checkparity This is an \pageparity\ page.%
\caption{Hilbert curves of various degrees $n$.
\emph{Notice that this figure only takes up the main textblock width.}}
\label{fig:textfig}
%\zsavepos{pos:textfig}
\setfloatalignment{b}
\end{figure}
Table~\ref{tab:normaltab} shows table created with the \docpkg{booktabs}
package. Notice the lack of vertical rules---they serve only to clutter
the table's data.
\begin{table}[ht]
\centering
\fontfamily{ppl}\selectfont
\begin{tabular}{ll}
\toprule
Margin & Length \\
\midrule
Paper width & \unit[8\nicefrac{1}{2}]{inches} \\
Paper height & \unit[11]{inches} \\
Textblock width & \unit[6\nicefrac{1}{2}]{inches} \\
Textblock/sidenote gutter & \unit[\nicefrac{3}{8}]{inches} \\
Sidenote width & \unit[2]{inches} \\
\bottomrule
\end{tabular}
\caption{Here are the dimensions of the various margins used in the Tufte-handout class.}
\label{tab:normaltab}
%\zsavepos{pos:normaltab}
\end{table}
\section{Full-width text blocks}
In addition to the new float types, there is a \docenv{fullwidth}
environment that stretches across the main text block and the sidenotes
area.
\begin{Verbatim}
\begin{fullwidth}
Lorem ipsum dolor sit amet...
\end{fullwidth}
\end{Verbatim}
\begin{fullwidth}
\small\itshape\lipsum[1]
\end{fullwidth}
\section{Typography}\label{sec:typography}
\subsection{Typefaces}\label{sec:typefaces}
If the Palatino, \textsf{Helvetica}, and \texttt{Bera Mono} typefaces are installed, this style
will use them automatically. Otherwise, we'll fall back on the Computer Modern
typefaces.
\subsection{Letterspacing}\label{sec:letterspacing}
This document class includes two new commands and some improvements on
existing commands for letterspacing.
When setting strings of \allcaps{ALL CAPS} or \smallcaps{small caps}, the
letter\-spacing---that is, the spacing between the letters---should be
increased slightly.\cite{Bringhurst2005} The \Verb|\allcaps| command has proper letterspacing for
strings of \allcaps{FULL CAPITAL LETTERS}, and the \Verb|\smallcaps| command
has letterspacing for \smallcaps{small capital letters}. These commands
will also automatically convert the case of the text to upper- or
lowercase, respectively.
The \Verb|\textsc| command has also been redefined to include
letterspacing. The case of the \Verb|\textsc| argument is left as is,
however. This allows one to use both uppercase and lowercase letters:
\textsc{The Initial Letters Of The Words In This Sentence Are Capitalized.}
\section{Installation}\label{sec:installation}
To install the Tufte-\LaTeX\ classes, simply drop the
following files into the same directory as your \texttt{.tex}
file:
\begin{quote}
\ttfamily
tufte-common.def\\
tufte-handout.cls\\
tufte-book.cls
\end{quote}
% TODO add instructions for installing it globally
\section{More Documentation}\label{sec:more-doc}
For more documentation on the Tufte-\LaTeX{} document classes (including commands not
mentioned in this handout), please see the sample book.
\section{Support}\label{sec:support}
The website for the Tufte-\LaTeX\ packages is located at
\url{http://code.google.com/p/tufte-latex/}. On our website, you'll find
links to our \smallcaps{svn} repository, mailing lists, bug tracker, and documentation.
\bibliography{sample-handout}
\bibliographystyle{plainnat}
\end{document}

View File

@@ -0,0 +1,131 @@
%%%%%%%%%%%%%%%%%%%%%%%% 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{\rightmark}} %%Left header
%%% 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={}}
\newcommand\citepl[2][]{\citeauthor{#2}'s (\citeyear[#1]{#2})} %%Use \citepl for possessive citation.
\newcommand\citea[2][]{\citeauthor{#2}#1} %%Use \citea is for author name only, with optional page numbers.
\newcommand\citeapl[2][]{\citeauthor{#2}'s#1} %%Use \citeapl is for possessive author name only.
% \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
%%% 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
%%% 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
%%%%%%%%%%%%%%%%%%%%%%% DOCUMENT %%%%%%%%%%%%%%%%%%%%%%%
\section{Section Title}
%%%%%%%%%%%%%%%%%%%%%% BIBLIOGRAPHY %%%%%%%%%%%%%%%%%%%%%%
\newpage
\begin{small} %%Makes bib small text size
\singlespacing %%Makes single spaced
\bibliographystyle{C:/texmf/bibtex/bst/Analysis} %%bib style found in bst folder, in bibtex folder, in texmf folder.
%\setlength{\bibsep}{0.5pt} %%Changes spacing between bib entries
\bibliography{C:/texmf/bibtex/bib/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}