summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mlacls/mla.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/mlacls/mla.cls')
-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}