summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mlacls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-08-17 20:58:59 +0000
committerKarl Berry <karl@freefriends.org>2020-08-17 20:58:59 +0000
commit2ff9e7ba2af23df82fe7cb10c125b3e0cdf5b1e4 (patch)
tree7f80e8de81be6328c0b13e7c75ca406ba6b0f953 /Master/texmf-dist/tex/latex/mlacls
parent6df02fac79cff54b64d93b90e234904331b6d7bf (diff)
mlacls (17aug20)
git-svn-id: svn://tug.org/texlive/trunk@56126 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/mlacls')
-rw-r--r--Master/texmf-dist/tex/latex/mlacls/mla.cls34
1 files changed, 18 insertions, 16 deletions
diff --git a/Master/texmf-dist/tex/latex/mlacls/mla.cls b/Master/texmf-dist/tex/latex/mlacls/mla.cls
index 2d88ba69bb6..6f77f45ef7e 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/29 v0.6 MLA Paper Class]
+ [2020/08/16 v0.8 MLA Paper Class]
\LoadClass[letterpaper,12pt]{article}
\newcommand{\mladate}{%
@@ -36,6 +36,7 @@
\or May
\or June
\or July
+ \or August
\or September
\or October
\or November
@@ -93,10 +94,8 @@
\linespread{1.905}
\hyphenpenalty=10000
\pretolerance=10000
-\newlength{\MLA@indent}
-\setlength{\MLA@indent}{0.5in}
-\setlength{\parindent}{\MLA@indent}
-\setlength{\RaggedRightParindent}{\MLA@indent}
+\setlength{\parindent}{0.5in}
+\setlength{\RaggedRightParindent}{\parindent}
\setlength{\parskip}{0em}
\setlength{\topsep}{0em}
\setlength{\partopsep}{0em}
@@ -147,29 +146,32 @@
\renewcommand{\thesection}{\@arabic\c@section}
\renewcommand{\thesubsection}{\thesection.\@arabic\c@subsection}
\renewcommand{\thesubsubsection}{\thesubsection.\@arabic\c@subsubsection}
-\titleformat*{\section}{\normalsize\sc}
-\titleformat*{\subsection}{\normalsize\sc}
-\titleformat*{\subsubsection}{\normalsize\sc}
+\titleformat{\section}[block]{\normalsize\sc}{\thetitle.\enspace}{0pt}{}[]
+\titleformat{\subsection}[block]{\normalsize\sc}{\thetitle.\enspace}{0pt}{}[]
+\titleformat{\subsubsection}[block]{\normalsize\sc}{\thetitle.\enspace}{0pt}{}[]
\titlespacing*{\section}{0pt}{0pt}{0pt}
\titlespacing*{\subsection}{0pt}{0pt}{0pt}
\titlespacing*{\subsubsection}{0pt}{0pt}{0pt}
-\titlelabel{\thetitle. }
+\titlelabel{}
+\patchcmd{\ttl@select}{\strut}{}{}{}
+\patchcmd{\ttlh@hang}{\strut}{}{}{}
+\patchcmd{\ttlh@hang}{\strut}{}{}{}
\setlist[itemize]{%
parsep=0pt,
itemsep=0pt,
topsep=0pt,
- leftmargin=\MLA@indent
+ leftmargin=\parindent
}
\setlist[enumerate]{%
parsep=0pt,
itemsep=0pt,
topsep=0pt,
- leftmargin=\MLA@indent
+ leftmargin=\parindent
}
\renewenvironment{blockquote}{%
- \list{}{\leftmargin \MLA@indent}
+ \list{}{\leftmargin 0.5in}
\item[]
- \setlength{\parindent}{\MLA@indent}
+ \setlength{\parindent}{0.5in}
\vspace{-\topsep}
}{%
\endlist
@@ -207,7 +209,7 @@
parsep=0pt,
itemsep=0pt,
topsep=0pt,
- leftmargin=\MLA@indent
+ leftmargin=\parindent
}
\DeclareInstance{enotez-list}{mla}{list}{%
heading = {},
@@ -221,9 +223,9 @@
\pdfbookmark[0]{Works Cited}{workscited}
\begin{center}Works Cited\end{center}
\end{noindent}
- \vspace{-16pt} % XXX to counter unexplained space
+ \vspace{-10pt} % XXX to counter unexplained space
}{}
-\setlength{\bibhang}{\MLA@indent}
+\setlength{\bibhang}{\parindent}
\endinput
%%
%% End of file `mla.cls'.