MLA Paper Template with title function and bib
Author
Joseph S. Finberg
Last Updated
2 yıl önce
License
Creative Commons CC BY 4.0
Abstract
This is an MLA paper template with a title function and Bibliography
\documentclass[12pt,letterpaper]{article}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=mla,backend=biber]{biblatex}
\usepackage[letterpaper]{geometry}
\usepackage{times}
\geometry{top=1.0in, bottom=1.0in, left=1.0in, right=1.0in}
\usepackage{lipsum}
%
%Doublespacing
%
\usepackage{setspace}
\doublespacing
%
%Rotating tables (e.g. sideways when too long)
%
\usepackage{rotating}
%
%Fancy-header package to modify header/page numbering (Put your surname in the surname field)
%
\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{}
\chead{}
\rhead{SURNAME \thepage}
\lfoot{}
\cfoot{}
\rfoot{}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
%To make sure we actually have header 0.5in away from top edge
%12pt is one-sixth of an inch. Subtract this from 0.5in to get headsep value
\setlength\headsep{0.333in}
%
%Works cited environment
%(to start, use \begin{workscited...}, each entry preceded by \bibent)
% - from Ryan Alcock's MLA style file
%
\newcommand{\bibent}{\noindent \hangindent 40pt}
\newenvironment{workscited}{\newpage \begin{center} Works Cited \end{center}}{\newpage }
%You put your name title and professor name in here
\renewcommand{\maketitle}{\makemlaheader}
\newcommand{\C}{\autocite}
\newcommand{\makemlaheader}{
YOUR NAME GOES HERE \\
PROFESSOR NAME GOES HERE\\
COURSE NAME GOES HERE\\
\today\\
\begin{center}\textnormal{Paper Title}\end{center}
% for some reason, this blank line is necessary
}
\addbibresource{refs.bib} % you would use your own bib file here
\begin{document}
\begin{flushleft}
%%%%First page name, class, etc
\maketitle
%%%%Title
Lorem ipsum dolor sit amet, \C{Kavanaugh1976} \\
Sed finibus, elit quis mattis suscipit, nisi nibh gravida orci, \C{Saussure1995}
\newpage
\printbibliography
\end{flushleft}
\end{document}