summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mla-paper
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2007-12-10 09:18:49 +0000
committerNorbert Preining <preining@logic.at>2007-12-10 09:18:49 +0000
commit51f226b3375ae65d6fdb4b4c85b7f20a351554c8 (patch)
treee4e10cc4da8cc4e560941e51241aef36cc782c29 /Master/texmf-dist/tex/latex/mla-paper
parent9ee0a684da21291e0fb6c160cbd4a576ef5fcdeb (diff)
mla-paper update from ctan, 07-12-09
git-svn-id: svn://tug.org/texlive/trunk@5741 c570f23f-e606-0410-a88d-b1316a301751
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
%