% \DoNotIndex{\parindent}
% \DoNotIndex{\parsep}
% \DoNotIndex{\penalty}
+% \DoNotIndex{\protected@xdef}
% \DoNotIndex{\relax}
% \DoNotIndex{\renewcommand}
% \DoNotIndex{\renewenvironment}
-% \DoNotIndex{\reset@font}
% \DoNotIndex{\rhead}
% \DoNotIndex{\selectfont}
% \DoNotIndex{\setlength}
% \end{macro}
% \subsubsection{Macros}
% \begin{macro}{\maketitle}
+% \begin{macro}{\and}
% |\maketitle| generates a heading in MLA format.
% \begin{macrocode}
\renewcommand{\maketitle}{\begin{flushleft}
\@date\end{flushleft}
\begin{center}\@title\end{center}\par
}
+ \let\and\par
% \end{macrocode}
% \end{macro}
+% \end{macro}
% \begin{macro}{\today}
% |\today| is redefined to DD~Mon.~YYYY format.
% \begin{macrocode}
% This first block is the beginnings of an implementation for
% \package{natbib}. Surely there is a better way.
% \begin{macrocode}
-\newif\ifmlastyle@pages
-\renewcommand\NAT@citetp
-{\@ifnextchar[{\mlastyle@pagestrue\NAT@@citetp}%
- {\mlastyle@pagesfalse\NAT@@citetp[]}}
\newcommand{\bibstyle@mlastyle}{%
\bibpunct[\mlastyle@space]{\mlastyle@brack(}{\mlastyle@brack)}%
{;}{a}{\mlastyle@comma}{,}
\def\mlastyle@notitle
{ \ \ \ \ \unskip\unskip\unskip\unskip\unskip\unskip}
\RequirePackage{natbib}
+\newif\ifmlastyle@pages
+\renewcommand\NAT@citetp
+{\@ifnextchar[{\mlastyle@pagestrue\NAT@@citetp}%
+ {\mlastyle@pagesfalse\NAT@@citetp[]}}
% \end{macrocode}
%\end{macro}
% \begin{macro}{\cite}
% executed.
% \begin{macrocode}
\ifmlastyle@style
+% \end{macrocode}
% If the \Lopt{bibstyle} option is set, specify the bibliography style.
% \begin{macrocode}
\ifmlastyle@bibstyle
% \end{macro}
% \begin{macrocode}
\let\cite\citep
+ \let\mlastyle@citequeue\empty
+ %\newcommand\citeflush{\ifx\mlastyle@citequeue\@empty\unskip
+ %\else\citetext{\mlastyle@citequeue}\global
+ %\let\mlastyle@citequeue\@empty\fi}
+ %\newcommand\citeadd[2][]{\ifx\mlastyle@citequeue\@empty
+ %\protected@xdef\mlastyle@citequeue{\citealp[#1]{#2}}\else
+ %\protected@xdef\mlastyle@citequeue{\mlastyle@citequeue\NAT@sep
+ %\ {\citealp[#1]{#2}}\fi}
\newcommand\citepage[2][]{\citeyearpar[#1]{#2}}
\newcommand\citepageM[2][]{\unskip{} \citeyearpar[#1]{#2}}
\newcommand\citeindirect[2][]{\citep[qtd.\ in][#1]{#2}}