X-Git-Url: http://git.tpope.net/?p=latex-mlastyle.git;a=blobdiff_plain;f=mlastyle.dtx;h=d70be821ebcb279f81b6b69bb529b8e8f60ecb3c;hp=65efad8c5b1b480224272e7732c18be44dd2d37e;hb=8b116f969b8cd1d1365f7c6551a1ee17ccee970c;hpb=ef43a4f8f8f1714e08728f7cebb406da12b91d80 diff --git a/mlastyle.dtx b/mlastyle.dtx index 65efad8..d70be82 100644 --- a/mlastyle.dtx +++ b/mlastyle.dtx @@ -24,10 +24,10 @@ \documentclass[draft]{ltxdoc} \iftrue \usepackage[compat]{mlastyle} - \addtolength{\headsep}{-25pt} - \addtolength{\headheight}{-12pt} + \addtolength{\headsep}{-5pt} + %\addtolength{\headheight}{-12pt} \addtolength{\topmargin}{-17pt} - \addtolength{\textheight}{58pt} + \addtolength{\textheight}{22pt} \IfFileExists{ulem.sty}{\usepackage[normalem]{ulem}}{\let\uline\emph} \else \usepackage[mla]{mlastyle} @@ -395,7 +395,7 @@ % |\cite|\oarg{pages}|{|\meta{marker % 1}\texttt{,}\penalty\exhyphenpenalty\meta{marker 2}\ldots|}|; however, page % numbers can currently be specified only for the last referenced source. -% To work around this limitation |\citeN|, explained below, can be used. +% To work around this limitation, use |\citeN|, explained below. % % Three additional citation commands are provided, all of which take the % same arguments as |\cite|. To omit the author information from the @@ -445,15 +445,15 @@ % \StopEventually{\PrintChanges\PrintIndex} % % \section{Implementation} -% \iffalse +% \begin{macrocode} %<*package> -% \fi -% \subsection{Options} +% \end{macrocode} % +% \subsection{Options} % \begin{macro}{\ifmlastyle@*} % \begin{macro}{\mlastyle@*true} % \begin{macro}{\mlastyle@*false} -% Most options are implemented by modifying a |\newif| declared for this +% Most options are implemented by modifying a |\newif| declared for that % purpose. % \begin{macrocode} \newif\ifmlastyle@bibstyle @@ -514,12 +514,18 @@ \fi \fi % \ifmlastyle@bibstyle % \end{macrocode} +% \begin{macro}{\UL@onin} % Load the \package{ulem} package if the \Lopt{underline} option is set. +% By default, \package{ulem} does multiple underlining for nested +% emphasis. This is changed to MLA-style behavior with the redefinition +% of |\UL@onin|. % \begin{macrocode} \ifmlastyle@underline \RequirePackage{ulem} + \def\UL@onin#1{\egroup\UL@stop#1\UL@start} \fi % \ifmlastyle@underline % \end{macrocode} +% \end{macro} % Load the \package{times} package if the \Lopt{times} option is set. % \begin{macrocode} \ifmlastyle@times @@ -906,9 +912,9 @@ % ^^A\end{macro} % \end{macro} % \end{macro} -% \iffalse +% \begin{macrocode} % -% \fi +% \end{macrocode} % % \Finale \endinput