From 51f226b3375ae65d6fdb4b4c85b7f20a351554c8 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 10 Dec 2007 09:18:49 +0000 Subject: mla-paper update from ctan, 07-12-09 git-svn-id: svn://tug.org/texlive/trunk@5741 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/mla-paper/mla.sty | 36 +++++++++++++++++++++------ 1 file changed, 28 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/tex/latex/mla-paper') 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 % -- cgit v1.2.3