X-Git-Url: http://git.tpope.net/?p=latex-mlastyle.git;a=blobdiff_plain;f=mlastyle.dtx;h=1b08bef00ba8ee2c2995a2cc0ce2db7fb473a79b;hp=3b84a1c3f3c331a8ec436a977d8081bb12b61479;hb=961ab376b9f1bba70fcbf82d052a7970f4b5d34c;hpb=2ad77387b5fe38fa970037a791995fad800cb848 diff --git a/mlastyle.dtx b/mlastyle.dtx index 3b84a1c..1b08bef 100644 --- a/mlastyle.dtx +++ b/mlastyle.dtx @@ -947,7 +947,9 @@ Schlegl", % \begin{macro}{\and} % |\maketitle| generates a heading in MLA format. % \begin{macrocode} - \renewcommand{\maketitle}{\begin{flushleft} + \renewcommand{\maketitle}{% + \global\@topnum\z@ + \begin{flushleft}% \@author\par \@ifundefined{mlastyle@instructor}{}{\mlastyle@instructor}\par \@ifundefined{mlastyle@course}{}{\mlastyle@course}\par @@ -976,6 +978,12 @@ Schlegl", % ^^A \def\mlastyle@slashx{\ifx\mlastyle@slashnext/\else % ^^A \penalty\exhyphenpenalty\fi} % \end{macro} +% \begin{macro}{\@makecaption} +% |\@makecaption| should left align its contents. +% \begin{macrocode} +\long\def\@makecaption#1#2{\noindent #1\par\noindent #2\strut\par} +% \end{macrocode} +% \end{macro} % \begin{macro}{\section} % \begin{macro}{\subsection} % \begin{macro}{\subsubsection} @@ -987,7 +995,7 @@ Schlegl", \renewcommand{\subsection}{\@startsection{subsection}{2}{\z@ }{0pt}{1sp}{\centering}} \renewcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@ - }{0pt}{1sp}{\centering}} + }{0pt}{1sp}{\noindent}} % \end{macrocode} % ^^A\let\mlastyle@vfont\verbatim@font % ^^A\def\verbatim@font{\mlastyle@qspread\mlastyle@vfont}