summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mlacls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-05-18 21:15:28 +0000
committerKarl Berry <karl@freefriends.org>2019-05-18 21:15:28 +0000
commit5b2ab1c7e44689b07f900be82bcc32899b6acf48 (patch)
tree15b82485066ebf322c62c20a3a8a60a3f99cd1d5 /Master/texmf-dist/tex/latex/mlacls
parent20bfb136906fc9e1af89bf0acd394849ed222944 (diff)
mlacls (18may19)
git-svn-id: svn://tug.org/texlive/trunk@51157 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/mlacls')
-rw-r--r--Master/texmf-dist/tex/latex/mlacls/mla.cls35
1 files changed, 28 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/mlacls/mla.cls b/Master/texmf-dist/tex/latex/mlacls/mla.cls
index d8162b7f259..c47907b8a52 100644
--- a/Master/texmf-dist/tex/latex/mlacls/mla.cls
+++ b/Master/texmf-dist/tex/latex/mlacls/mla.cls
@@ -23,7 +23,7 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{mla}
- [2019/05/07 v0.3 MLA Paper Class]
+ [2019/05/18 v0.4.1 MLA Paper Class]
\LoadClass[letterpaper,12pt]{article}
\newcommand{\mladate}{%
@@ -52,10 +52,12 @@
\ExecuteOptions{mla8}
\ProcessOptions\relax
\RequirePackage{enotez}
+\RequirePackage{enumitem}
\RequirePackage{fancyhdr}
\RequirePackage{fullpage}
\RequirePackage{indentfirst}
\RequirePackage{ragged2e}
+\RequirePackage{microtype}
\RequirePackage{newtxtext}
\RequirePackage{titlesec}
\RequirePackage{xstring}
@@ -75,7 +77,8 @@
showmedium=false,backend=biber]{biblatex}
\fi\fi
\fi
-\linespread{1.99}
+\microtypesetup{activate=false}
+\linespread{1.905}
\hyphenpenalty 10000
\pretolerance 10000
\setlength{\parindent}{0.5in}
@@ -112,13 +115,13 @@
\author{}
\professor{}
\course{}
-\date{\today}
+\date{\mladate}
\newcommand{\makemlaheader}{%
\begin{noindent}
\@author \\
\@professor \\
\@course \\
- \mladate \\
+ \@date \\
\begin{center}\@title\end{center}
\end{noindent}
}
@@ -133,6 +136,18 @@
\titlespacing*{\subsection}{0pt}{0pt}{0pt}
\titlespacing*{\subsubsection}{0pt}{0pt}{0pt}
\titlelabel{\thetitle. }
+\setlist[itemize]{%
+ parsep=0pt,
+ itemsep=0pt,
+ topsep=0pt,
+ leftmargin=\parindent
+}
+\setlist[enumerate]{%
+ parsep=0pt,
+ itemsep=0pt,
+ topsep=0pt,
+ leftmargin=\parindent
+}
\renewenvironment{blockquote}{%
\list{}{\leftmargin 0.5in}
\item[]
@@ -152,16 +167,22 @@
\pdfbookmark[0]{Notes}{notes}
\begin{center}Notes\end{center}
\end{noindent}
- \vspace{-16pt} % XXX to counter unexplained space
}{%
\newpage
}
-\setenotez{list-name={}}
+\newlist{mlanotes}{description}{1}
+\setlist[mlanotes]{%
+ parsep=0pt,
+ itemsep=0pt,
+ topsep=0pt,
+ leftmargin=\parindent
+}
\DeclareInstance{enotez-list}{mla}{list}{%
heading = {},
format = \normalsize\normalfont,
- list-type = description
+ list-type = mlanotes
}
+\setenotez{list-name={},list-style=mla,backref}
\newenvironment{workscited}{%
\begin{noindent}
\pdfbookmark[0]{Works Cited}{workscited}