diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:59:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:59:26 +0000 |
commit | fde3e60c351583414e5ecf819e16485a2f1d66c5 (patch) | |
tree | 905ceaea40877057577959d8ccfd87fdbcde88fe /Master | |
parent | 5117d5c264e21bf3fd2016f0a4267abeebf15f9b (diff) |
mla-paper
git-svn-id: svn://tug.org/texlive/trunk@1100 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/tex/latex/mla-paper/mla.sty | 154 |
1 files changed, 154 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/mla-paper/mla.sty b/Master/texmf-dist/tex/latex/mla-paper/mla.sty new file mode 100644 index 00000000000..824c3b24e89 --- /dev/null +++ b/Master/texmf-dist/tex/latex/mla-paper/mla.sty @@ -0,0 +1,154 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% +% The MLA Package for LaTeX +% By Ryan Aycock +% Edited by Steven Wheelwright +% October 15, 2005 +% +% 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} + +\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} + +% +% Works Cited environment +% +\newcommand{\bibent}{\noindent \hangindent 40pt} +\newenvironment{workscited}{\newpage \begin{center} Works Cited \end{center}}{\newpage } + |