diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/mlacls/mla.cls | 34 |
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'. |