i'm at word 0

This commit is contained in:
2025-09-13 14:02:59 -05:00
parent 9d464c0e34
commit 7e6eae35e9
14 changed files with 3638 additions and 0 deletions

BIN
mla-template/Documentation.pdf Executable file

Binary file not shown.

48
mla-template/document.tex Normal file
View File

@@ -0,0 +1,48 @@
\documentclass{article}
\usepackage{mla13}
% ========== Note to users =========
% Remove these two packages after
% you remove the example text.
\usepackage{blindtext}
\usepackage{lipsum}
\title{Example Paper Title} % Title for the paper
\firstname{John} % Author's first name
\lastname{Smith} % Author's last name
\professor{Dr. Doctore} % Last Name of the professor
\class{Example Class} % Name of the class
%\date{10 April 2017} % Uncomment to change due-date
\sources{references.bib} % File holding all the sources
\begin{document}
% First create the title page on its own.
\maketitlepage
\newpage
% Then create the table of contents on its own.
\tableofcontents
\newpage
% Finally create the abstract on its own.
\begin{abstract}
\blindtext[3] % Replace this line with the abstract.
\end{abstract}
\newpage
% Paper content begins here.
\makeheader % Adds the MLA-Style information
\maketitle % Redefined to use MLA-Style
% Put paper here.
% Begin example text.
This is here just so I can cite this thingy \cite{Kavanaugh1976} and also this thingy \cite{Saussure1995} so there can be some examples of bibliography and such. Usually this is where you'd put your introduction or something.
\blinddocument
% End example text.
% Put the works-cited on a separate page.
\newpage
\makeworkscited
\end{document}

191
mla-template/mla13.sty Normal file
View File

@@ -0,0 +1,191 @@
\ProvidesPackage{mla13}
%\usepackage{fullpage}
\usepackage[letterpaper]{geometry}
%\usepackage[style=mla,backend=biber]{biblatex}
%\usepackage{biblatex}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage{setspace}
\setlength{\parindent}{0.5in}
\usepackage[style=mla,mladraft=true,annotation=true,hyperref=false]{biblatex}
\usepackage{color}
\newcommand{\sources}[1]{
\def\@sources{#1}
\bibliography{#1}
}
%removes the space added to the center enviornment
\newenvironment{nospacecenter}{\parskip=0pt\par\nopagebreak\centering}{\par\noindent\ignorespacesafterend}
%Formatting Commands
\renewcommand \thesection {\@arabic\c@section.}
\renewcommand\thesubsection {\thesection\@arabic\c@subsection}
\renewcommand\section{\@startsection{section}{1}{\z@}%
{\z@}%
{\lineskip}%
{\normalfont}}
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
{\z@}%
{\lineskip}%
{\normalfont}}
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
{\z@}%
{\lineskip}%
{\normalfont}}
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
{\z@}%
{\lineskip}%
{\normalfont}}
\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
{\z@}%
{\lineskip}%
{\normalfont}}
%Bibliography Commands
\DeclareFieldFormat{ibidpostnote}{#1}%
\renewbibmacro*{cite:idem}{%
\ifsingletitle%
{\iffieldundef{postnote}%
{\usebibmacro{cite:name}}%
{\unspace\global\boolfalse{cbx@named}}}%
{\addspace\global\boolfalse{cbx@named}}}
\renewbibmacro*{cite:mla:title:internal}{% 0.7.1 new internal macro
\ifbool{cbx@named}%
{\unspace\addcomma\addspace}%
{}%
\iffieldundef{title}%
{\iffieldequalstr{entrytype}{review}%
{\printtext[bibhyperref]{\printtext{\bibstring{reviewof}%
\addspace\printfield{booktitle}}}}%
{\ifthenelse{\iffieldequalstr{entrytype}{suppbook}% 0.7.1
\OR\iffieldequalstr{entrytype}{suppcollection}}%
{\printtext[bibhyperref]{%
\printfield[mla:capital]{entrysubtype}}}%
{}}}%
{\printtext[bibhyperref]{%
\printfield[citetitle:\strfield{entrytype}]{labeltitle}}}}%
\renewbibmacro*{cite:mla:title}{% 0.7.1 tidied up
\unspace%
\ifnameundef{labelname}%
{\unspace%
\printtext[bibhyperref]{%
\printfield[citetitle:\strfield{entrytype}]{labeltitle}}%
\iffieldundef{postnote}%
{}%
{\addspace}}%
{\ifsingletitle%
{}%
{\usebibmacro{cite:mla:title:internal}\addspace}}%
\ifthenelse{\iffieldequalstr{entrytype}{review}%
\and\ifnameundef{author}%
\and\iffieldundef{title}}%
{\printtext[bibhyperref]%
{\unspace\printtext{\bibcpstring{reviewof}%
\addspace\printfield{booktitle}}}}%
{}}%
\DeclareCiteCommand{\cite}[\mkbibparens]
{\usebibmacro{prenote}}%
{\usebibmacro{citeindex}%
\usebibmacro{cite:mla}}{}
{\usebibmacro{postnote}}
\defbibheading{apa}[\refname]{}
%Annotations for the Bibliography
\renewbibmacro{finentry}{%Renew the annotation macro
\finentry
\iffieldundef{annotation}%
{}%
{\ifbool{bbx@annotation}%
{\begin{quotation}\noindent%Make the annotation look like a quotation and remove the indent
\printfield{annotation}%
\end{quotation}}%
{}}%
}
%End Annotation Section
% Formatting Section Headings
\def\section{\@startsection{section}{1}{\z@}{-5.25ex plus -1ex minus
-.2ex}{1.5ex plus .2ex}{\center}}
\def\thesection{\arabic{section}.}
% End Formatting Section Headings
%End Bibliography Commands
%remove parenthesis from bibliography
%\renewbibmacro*{issue+date}{%
% \setunit{\addcomma\space}% NEW
% \printtext[parens]{% DELETED
% \iffieldundef{issue}
% {\usebibmacro{date}}
% {\printfield{issue}%
% \setunit*{\addspace}%
% \usebibmacro{date}}}% DELETED
% \usebibmacro{date}}% NEW
% \newunit}
%end section
\geometry{top=1.0in,bottom=1.0in,left=1.0in,right=1.0in}
\usepackage{datetime}
\usepackage{fancyhdr}
\linespread{2}
\def\@firstname{ }
\newcommand{\firstname}[1]{
\def\@firstname{#1}
}
\def\@lastname{ }
\newcommand{\lastname}[1]{
\def\@lastname{#1}
}
\newcommand{\professor}[1]{
\def\@professor{#1}
}
\newcommand{\class}[1]{
\def\@class{#1}
}
\pagestyle{empty}
\pagestyle{fancy}
\fancyhf{}
\fancyhead{}
\renewcommand{\headrulewidth}{0pt}
\rhead{\@lastname\ \thepage}
\newdateformat{datef}{\THEDAY\ \monthname[\THEMONTH] \THEYEAR}
\renewcommand{\maketitle}
{\begin{nospacecenter}
\@title
\end{nospacecenter}}
\newcommand*{\makeheader}
{\begingroup
\rmfamily
\fontsize{12}{2}
\noindent \@firstname\ \@lastname\\
\@professor\\
\@class\\
\datef\@date
\endgroup}
\newcommand*{\makeworkscited}
{\addcontentsline{toc}{section}{Works Cited}
\begingroup
\pagebreak
\begin{center}
Works Cited
\end{center}
\printbibliography[heading=apa]
\endgroup}
\newcommand*{\maketitlepage}
{\begingroup
\pagebreak
\linespread{1}\vspace*{3in}\centering\huge\@title\normalsize \\
\vspace{4in} \centering {\@firstname\ \@lastname} \\
\@professor \\
\@class \\
\datef\@date \\
\endgroup}
% Make abstract add itself to the table of contents.
\renewenvironment{abstract}
{\addcontentsline{toc}{section}{Abstract}
\small
\begin{center}
\bfseries \abstractname\vspace{-.5em}\vspace{0pt}
\end{center}
\quotation}
{\endquotation}

98
mla-template/references.bib Executable file
View File

@@ -0,0 +1,98 @@
@misc{unWater,
organization={United Nations},
title="We Can End Poverty 2015",
year="2010",
month=oct,
}
@Article{planetArk,
author={{Planet Ark}},
title={Greywater: The Basics},
year={2007},
annotation={Work baby work}
}
@Article{pacificInst2010,
author={Allen, Lucy},
organization={Pacific Institute},
title={Overview of Greywater Reuse: The potential of Greywater Systems to Aid Sustainable Water Management},
month=nov,
year={2010},
annotation = {Will this work like a charm or will it not?}
}
@Article{usaToday2012,
author={Keen, Judy},
publisher={USA Today},
title={Midwest drought and heat increase water supply worries},
month=jul,
year={2012},
}
@Article{mcgill2008,
author={Finley, Sara},
publisher={McGill University},
title={Reuse of Domestic Greywater for the Irrigation of Food Crops},
month=aug,
year={2008},
}
@Article{twente2011,
author={Ercin, Ertug and Aldaya, Maite and Hoekstra, Arjen},
publisher={United Nations Environment Programme},
title={The water footprint of soy milk and soy burger and equivalent animal products},
month=dec,
year={2011},
}
@Article{inspect2012,
author={Gromicko, Nick and London, Elise},
publisher={International Association of Certified Home Inspectors},
title={Greywater Inspection},
year={2012},
}
@Article{sustainLaw2011,
author={Unger, Lysan},
publisher={Lewis & Clark Law School},
title={Greywater is Great Water for your Plants},
year={2011},
month=apr,
}
@Article{ucdavis,
author={Reschke, Erin},
publisher={UC Davis},
title={Greywater Systems - Benefits, Drawbacks and Uses of greywater},
year={2003},
}
@Article{graywaterguide,
author={Little, Val},
publisher={Water Conservation Alliance},
title={Gray Water Guide},
year={2004},
}
@Article{newTimes,
author={Johnston, Kathy},
publisher={New Times Los Angeles},
title={From laundry to landscaping},
year={2009},
month=jul,
}
@Article{worldWaterCouncil,
organization={World Water Council},
title={Water Crisis},
year={2012},
}
@Article{nytimes,
author={Marlow, Jeffery},
publisher={The New York Times},
title={The Pursuit of Cost-Effective Desalination},
year={2009},
month=sep,
}
@Article{epa,
author={McGovern, Cheryl},
publisher={Environmental Protection Agency},
title={Water Recycling and Reuse: The Environmental Benefits},
year={2011},
month=sep,
}
@Article{rcap,
author={Adams, Randolph},
publisher={Rural Community Assistance Partnership},
title={Still Living Without the Basics in the 21st Century},
year={2009},
}