Manual updated.
[eskdx.git] / source / eskdpara.sty.in
blob5c4b2c7ef1a3ca19f8623b41e0fc28e2e41ffe30
1 % Copyright 2006 Konstantin Korikov <lostclus@ua.fm>
3 % This work may be distributed and/or modified under the
4 % conditions of the LaTeX Project Public License, either version 1.3
5 % of this license or (at your option) any later version.
6 % The latest version of this license is in
7 % http://www.latex-project.org/lppl.txt
8 % and version 1.3 or later is part of all distributions of LaTeX
9 % version 2003/12/01 or later.
11 % This work has the LPPL maintenance status "maintained".
13 % This Current Maintainer of this work is Konstantin Korikov.
15 % This work consists of all files listed in manifest.txt.
18 m4_ESKDX_INIT
19 m4_FILE_INIT
20 \NeedsTeXFormat{LaTeX2e}
21 \ProvidesPackage{eskdpara}[m4_dnl
22 m4_FILE_ID([[$Date:: $]]) Paragraphs]
24 \RequirePackage{eskdsect}
26 \newcommand{\ESKDparagraphAlign}{\ESKDsectAlignLeft}
27 \newcommand{\ESKDsubparagraphAlign}{\ESKDsectAlignLeft}
29 \newcommand{\ESKDparagraphStyle}{\normalfont\normalsize\bfseries}
30 \newcommand{\ESKDsubparagraphStyle}{\normalfont\normalsize\bfseries}
32 \newlength{\ESKDparagraphSkipBefore}
33 \newlength{\ESKDparagraphSkipAfter}
34 \setlength{\ESKDparagraphSkipBefore}{-15mm \@plus -3mm \@minus -2mm}
35 \setlength{\ESKDparagraphSkipAfter}{15mm \@plus 1mm \@minus 2mm}
36 \newlength{\ESKDsubparagraphSkipBefore}
37 \newlength{\ESKDsubparagraphSkipAfter}
38 \setlength{\ESKDsubparagraphSkipBefore}{-15mm \@plus -3mm \@minus -2mm}
39 \setlength{\ESKDsubparagraphSkipAfter}{15mm \@plus 1mm \@minus 2mm}
41 \renewcommand\paragraph{\@startsection{paragraph}{4}{\parindent}%
42 {\ESKDparagraphSkipBefore}%
43 {\ESKDparagraphSkipAfter}%
44 {\ESKDparagraphAlign\ESKDparagraphStyle}}
45 \renewcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
46 {\ESKDsubparagraphSkipBefore}%
47 {\ESKDsubparagraphSkipAfter}%
48 {\ESKDsubparagraphAlign\ESKDsubparagraphStyle}}