summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/mla-paper
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/mla-paper
Initial commit
Diffstat (limited to 'macros/latex/contrib/mla-paper')
-rw-r--r--macros/latex/contrib/mla-paper/README73
-rw-r--r--macros/latex/contrib/mla-paper/mla.sty175
2 files changed, 248 insertions, 0 deletions
diff --git a/macros/latex/contrib/mla-paper/README b/macros/latex/contrib/mla-paper/README
new file mode 100644
index 0000000000..9d0a3450da
--- /dev/null
+++ b/macros/latex/contrib/mla-paper/README
@@ -0,0 +1,73 @@
+===============================
+|
+| The MLA Package
+| for LaTeX and pdfLaTeX
+|
+| By Ryan Aycock
+|
+| with contributions by Steven Wheelwright,
+| Edward Z. Yang, and Teddy Bradford
+|
+| Last updated on December 29, 2010
+|
+===============================
+
+LaTeX is a wonderful tool that has long been known for typesetting scientific papers books. Unfortunately, when it comes to the humanities, writers are left out in the cold due to the lack of packages for writing in the MLA style. The aim of this work is to allow students and other academics properly typeset their materials with minimal effort on their part.
+
+The MLA Package is released under the LaTeX license. Visit www.ctan.org for more information.
+
+To learn LaTeX, start with "The Not So Short Introduction to LaTeX" by Tobias Oetiker. It is available online at CTAN:/tex-archive/info/lshort . Or you can search Google for any results.
+
+===============================
+
+
+To use this package,
+1. Put \usepackage{ifpdf} and \usepackage{mla} in the preamble
+2. After the \begin{document}, put \begin{mla}{Firstname}{Lastname}{Prof's lastname}{class name}{date}{Paper title}
+3. Immediately - the next line - start typing your paper.
+4. Put \end{mla} just before \end{document}
+
+To use the bibliography feature,
+1. Use \begin{workscited} to start the bibliography. There is no need to declare a new page or even type "Works Cited" at the top of the page.
+2. Use \bibent before each entry.
+3. Put \end{workscited} at the end.
+4. There is no reason to use BiBTeX or any of the other bibliography packages.
+
+Tips for writing MLA:
+1. I strongly recommend using \documentclass[12pt,letterpaper]{article}
+2. Some professors require block quotes to be singled space. To accomplish this with the MLA package, use the blocks and blockm environments for single paragraph and multiple paragraph cites, respectively.
+3. LaTeX will not tab the first paragraph after new sections. To get around this, use \tab
+4. LaTeX does not allow double spaces after periods like most term and research papers require.
+5. When typing your paper, hit the spacebar twice as normal. After you are finished with your project, do a find/replace by changing all double spaces into (space)\(space).
+
+===============================
+
+The following template is what I use:
+
+\documentclass[12pt,letterpaper]{article}
+\usepackage{ifpdf}
+\usepackage{mla}
+\begin{document}
+\begin{mla}{Ryan}{Aycock}{Professor's last name}{Class name}{\today}{Really Cool Title}
+Start typing paragraph 1 here.
+
+Continue the rest of the paper as normal.
+
+\begin{workscited}
+
+\bibent
+author's last name, first name. ``Paper Title." \textit{Book Title}. Date of publication.
+
+\end{workscited}
+\end{mla}
+\end{document}
+
+===============================
+
+Other notes:
+1. Don't forget to format symbols correctly (e.g., & should really be \&). This will save you hours of headaches.
+2. Either replace (space)(space) with (space)\(space) or eliminate the \frenchspacing command in the package file.
+3. I added (and commented out) several commands that you may find useful such as the graphics and index packages. Just delete the % and away you go.
+4. In my example template, I used italics for the book titles. Official MLA guidelines suggest underlining a book's title. I have found that italics is easier to read and that most professors prefer italics anyway.
+
+If you have any more questions -- about the package, not about LaTeX -- write to me at raycock@med.miami.edu
diff --git a/macros/latex/contrib/mla-paper/mla.sty b/macros/latex/contrib/mla-paper/mla.sty
new file mode 100644
index 0000000000..4c705704c2
--- /dev/null
+++ b/macros/latex/contrib/mla-paper/mla.sty
@@ -0,0 +1,175 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+%
+% The MLA Package for LaTeX
+% By Ryan Aycock
+%
+% with contributions by Steven Wheelwright,
+% Edward Z. Yang, and Teddy Bradford
+%
+% Last updated on December 29, 2010
+%
+% For use with LaTeX and pdflatex.
+%
+% To use,
+% 1. Put \usepackage{mla} in the preamble
+% 2. After the \begin{document}, put \begin{mla}{Firstname}{Lastname}{Prof's lastname}{class name}{date}{Paper title}
+% 3. Immediately - the next line - start typing your paper.
+% 4. Put \end{mla} just before \end{document}
+%
+% To use the bibliography feature,
+% 1. Use \begin{workscited} to start the bibliography. There is no need to
+% declare a new page or even type "Works Cited" at the top of the page.
+% 2. Use \bibent before each entry.
+% 3. Put \end{workscited} at the end.
+%
+%
+%
+%
+% The following template is what I use:
+%
+% \documentclass[12pt,letterpaper]{article}
+% \usepackage{mla}
+% \begin{document}
+% \begin{mla}{Ryan}{Aycock}{Professor's last name}{Class name}{\today}{Really Cool Title}
+% Start typing paragraph 1 here.
+%
+% Continue the rest of the paper as normal.
+%
+% \begin{workscited}
+%
+% \bibent
+% author's last name, first name. ``Paper Title." \textit{Book Title}. Date of publication.
+%
+% \end{workscited}
+% \end{mla}
+% \end{document}
+%
+%
+% Tips for writing MLA:
+% I strongly recommend using \documentclass[12pt,letterpaper]{article}
+% Some professors require block quotes to be singled space. To accomplish this with
+% the MLA package, use the blocks and blockm environments for single paragraph and
+% multiple paragraph cites, respectively.
+% LaTeX will not tab the first paragraph after new sections. To get around this, use \tab
+% LaTeX does not allow double spaces after periods like most term and research papers require.
+% When typing your paper, hit the spacebar twice as normal. After you are finished with your project,
+% do a find/replace by changing all double spaces into (space)\(space).
+%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+\ProvidesPackage{mla}
+\typeout{MLA Package - by Ryan Aycock}
+
+% New code thanks to Edward Z. Yang
+\ifpdf % We're generating a pdf
+ \usepackage[pdftex]{color,graphicx}
+ \pdfpagewidth=\paperwidth
+ \pdfpageheight=\paperheight
+ \usepackage{thumbpdf}
+ %\pdfcompresslevel=9
+\else
+ \usepackage[dvips]{graphicx}
+\fi
+
+% The old code
+% \ifx\pdfoutput\undefined % We're not running pdftex
+% \usepackage[dvips]{graphicx}
+% \else
+% \usepackage[pdftex]{color,graphicx}
+% \pdfpagewidth=\paperwidth
+% \pdfpageheight=\paperheight
+% \usepackage{thumbpdf}
+% %\pdfcompresslevel=9
+% \fi
+
+\usepackage{times}
+
+%
+% fixes headings
+%
+\pagestyle{headings}
+
+%
+% correct page size
+%
+\setlength{\paperheight}{11in}
+\setlength{\paperwidth}{8.5in}
+\setlength{\textwidth}{6.5in}
+\setlength{\textheight}{9in}
+\setlength{\footskip}{40pt}
+
+%
+% One inch borders
+%
+\setlength{\hoffset}{0in}
+\setlength{\voffset}{-1in}
+
+%
+% eliminates margin notes
+%
+\setlength{\oddsidemargin}{0in}
+\setlength{\evensidemargin}{0in}
+\setlength{\marginparwidth}{0in}
+\setlength{\marginparpush}{0in}
+\setlength{\marginparsep}{0in}
+
+%
+% Double space
+%
+\linespread{2}
+
+%
+% Places heading 1/2 inch from top of page
+%
+\setlength{\topmargin}{.5in}
+\setlength{\headsep}{18pt}
+
+%
+% Last name and page number on every page
+%
+\usepackage{fancyhdr}
+\fancypagestyle{norule}{ %
+ \renewcommand{\headrulewidth}{0pt}
+ \renewcommand{\footrulewidth}{0pt}
+}
+\fancyhf{}
+\pagestyle{headings}
+\pagestyle{norule}
+
+%
+% If you want an index, uncomment the lines below
+%
+% \usepackage{makeidx}
+% \makeindex
+
+%
+% Other new commands
+%
+\newcommand{\tab}{\hspace{0.5in}}
+
+%
+% MLA environment
+%
+\newenvironment{mla}[6]{\newcommand{\lastname}{#2} \fancyhead[RO]{\lastname\ \thepage} \raggedright #1\ #2 \\ #3 \\ #4 \\ #5 \\ \centering #6 \\ \frenchspacing\raggedright\setlength{\parindent}{.5in}}{\newpage}
+
+%
+% Block quote environment
+%
+\newenvironment{blocks}{\begin{quote} \linespread{1} \small \normalsize}{\end{quote} \linespread{2} \small \normalsize}
+\newenvironment{blockm}{\begin{quotation} \linespread{1} \small \normalsize}{\end{quotation} \linespread{2} \small \normalsize}
+
+%
+% Russ Ault's mla quote environment
+%
+\newenvironment{mlaquote}{\list{}{\leftmargin=1in}\item[]}{\endlist}
+\newenvironment{mlaquotation}{\list{}{\leftmargin=1in}\item[]\parindent=0.5in}{\endlist}
+
+
+%
+% Works Cited environment
+%
+\newcommand{\bibent}{\noindent \hangindent 40pt}
+\newenvironment{workscited}{\newpage {\centering Works Cited\\}}{\newpage} \ No newline at end of file