summaryrefslogtreecommitdiff
path: root/macros/latex209/contrib/misc/parskip.sty
blob: 8b29613cf5611093bc527119f96baf738c1edf97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
% This is PARSKIP.STY by H.Partl, TU Wien, as of 19 Jan 1989.
% Document Style Option to be used with any style and with any size.
% It produces the following Paragraph Layout:
%     Zero Parindent and non-zero Parskip. The stretchable glue in \parskip
%     helps LaTeX in finding the best place for page breaks.
     
\parskip=0.5\baselineskip \advance\parskip by 0pt plus 2pt
\parindent=\z@
     
% To accompany this, the vertical spacing in the list environments is changed
% to use the same as \parskip in all relevant places (for normalsize only):
%   \parsep = \parskip
%   \itemsep = \z@ % add nothing to \parskip between items
%   \topsep = \z@ % add nothing to \parskip before first item
     
\def\@listI{\leftmargin\leftmargini
   \topsep\z@ \parsep\parskip \itemsep\z@}
\let\@listi\@listI
\@listi
     
\def\@listii{\leftmargin\leftmarginii
   \labelwidth\leftmarginii\advance\labelwidth-\labelsep
   \topsep\z@ \parsep\parskip \itemsep\z@}
     
\def\@listiii{\leftmargin\leftmarginiii
    \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
    \topsep\z@ \parsep\parskip \itemsep\z@}
     
% Note that listiv, listv and listvi don't change vertical parameters.
     
\endinput