\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}
\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