Fixed \lineskip and \lineskiplimit (and this time I mean it)
[latex-mlastyle.git] / mlastyle.dtx
index 82440355b59b89db630ba9270952dff0a42b484c..06f8a6b82e45f028da8df2b363f48b2405c5eeb2 100644 (file)
@@ -175,7 +175,7 @@ Schlegl",
 % \DoNotIndex{\belowdisplayshortskip,\belowdisplayskip}
 % \DoNotIndex{\addtolength}
 % \DoNotIndex{\advance}
-% \DoNotIndex{\baselineskip}
+% \DoNotIndex{\baselineskip,\lineskip,\lineskiplimit}
 % \DoNotIndex{\bibpreamble,\bibpunct,\bibsep}
 % \DoNotIndex{\begin}
 % \DoNotIndex{\bfseries}
@@ -995,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}
@@ -1092,6 +1092,12 @@ Schlegl",
    \let\@listi\@listI}\normalsize
   \fi
   \linespread{2}
+  \ifx\relax\mlastyle@qspread
+    \lineskiplimit=.5\baselineskip
+  \else
+    \lineskiplimit=.2\baselineskip
+  \fi
+  \lineskip=\lineskiplimit
   \leftmargini\parindent
   \def\@listi{\leftmargin\leftmargini
   \parsep\z@\itemsep\z@\topsep -3\p@\relax}