summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mla-paper
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/mla-paper')
-rw-r--r--Master/texmf-dist/tex/latex/mla-paper/mla.sty36
1 files changed, 28 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/mla-paper/mla.sty b/Master/texmf-dist/tex/latex/mla-paper/mla.sty
index 824c3b24e89..a0e65760d50 100644
--- a/Master/texmf-dist/tex/latex/mla-paper/mla.sty
+++ b/Master/texmf-dist/tex/latex/mla-paper/mla.sty
@@ -4,7 +4,8 @@
% The MLA Package for LaTeX
% By Ryan Aycock
% Edited by Steven Wheelwright
-% October 15, 2005
+% and Edward Z. Yang
+% December 09, 2007
%
% For use with LaTeX and pdflatex.
%
@@ -60,16 +61,28 @@
\ProvidesPackage{mla}
\typeout{MLA Package - by Ryan Aycock}
-\ifx\pdfoutput\undefined % We're not running pdftex
-\usepackage[dvips]{graphicx}
+% 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[pdftex]{color,graphicx}
-\pdfpagewidth=\paperwidth
-\pdfpageheight=\paperheight
-\usepackage{thumbpdf}
-%\pdfcompresslevel=9
+ \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}
%
@@ -146,6 +159,13 @@
\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
%