Compare commits
4 Commits
9cee8a9bed
...
c93b9bf9c9
Author | SHA1 | Date | |
---|---|---|---|
c93b9bf9c9 | |||
dd882865d0 | |||
3ac8b64e3b | |||
57fcaf77f0 |
51
espdsect.sty
51
espdsect.sty
@ -83,12 +83,12 @@
|
||||
\setlength{\ESPDsectionSkipAfter}{5mm \@plus 1mm \@minus 2mm}
|
||||
\newlength{\ESPDsubsectionSkipBefore}
|
||||
\newlength{\ESPDsubsectionSkipAfter}
|
||||
\setlength{\ESPDsubsectionSkipBefore}{-6pt \@plus -3mm \@minus -2mm}
|
||||
\setlength{\ESPDsubsectionSkipAfter}{6pt \@plus 1mm \@minus 2mm}
|
||||
\setlength{\ESPDsubsectionSkipBefore}{-6pt \@plus -0mm \@minus -0mm}
|
||||
\setlength{\ESPDsubsectionSkipAfter}{6pt \@plus 0mm \@minus 0mm}
|
||||
\newlength{\ESPDsubsubsectionSkipBefore}
|
||||
\newlength{\ESPDsubsubsectionSkipAfter}
|
||||
\setlength{\ESPDsubsubsectionSkipBefore}{-6pt \@plus -3mm \@minus -2mm}
|
||||
\setlength{\ESPDsubsubsectionSkipAfter}{6pt \@plus 1mm \@minus 2mm}
|
||||
\setlength{\ESPDsubsubsectionSkipBefore}{-6pt \@plus -0mm \@minus -0mm}
|
||||
\setlength{\ESPDsubsubsectionSkipAfter}{6pt \@plus 0mm \@minus 0mm}
|
||||
|
||||
\providecommand{\plus}{\@plus}
|
||||
\providecommand{\minus}{\@minus}
|
||||
@ -113,9 +113,9 @@
|
||||
\let\oldsection\section
|
||||
\renewcommand\section{\clearpage\oldsection}
|
||||
|
||||
\renewcommand{\thesection}{\arabic{section}.}
|
||||
\renewcommand{\thesubsection}{\thesection\arabic{subsection}.}
|
||||
\renewcommand{\thesubsubsection}{\thesubsection\arabic{subsubsection}.}
|
||||
\renewcommand{\thesection}{\arabic{section}}
|
||||
\renewcommand{\thesubsection}{\thesection.\arabic{subsection}}
|
||||
\renewcommand{\thesubsubsection}{\thesubsection.\arabic{subsubsection}}
|
||||
\newif\ifESPD@point@style@single
|
||||
\ESPD@point@style@singlefalse
|
||||
|
||||
@ -155,27 +155,27 @@
|
||||
\newcounter{pointIII}[subsection]
|
||||
\newcounter{pointIV}[subsubsection]
|
||||
|
||||
\renewcommand{\thepointII}{\thesection\arabic{pointII}.}
|
||||
\renewcommand{\thepointIII}{\thesubsection\arabic{pointIII}.}
|
||||
\renewcommand{\thepointIV}{\thesubsubsection\arabic{pointIV}.}
|
||||
\renewcommand{\thepointII}{\thesection.\arabic{pointII}}
|
||||
\renewcommand{\thepointIII}{\thesubsection.\arabic{pointIII}}
|
||||
\renewcommand{\thepointIV}{\thesubsubsection.\arabic{pointIV}}
|
||||
|
||||
\newcommand{\pointII}{%
|
||||
\par\refstepcounter{pointII}\thepointII\hspace{0.45em}}
|
||||
\par\refstepcounter{pointII}\thepointII.\hspace{0.45em}}
|
||||
\newcommand{\pointIII}{%
|
||||
\par\refstepcounter{pointIII}\thepointIII\hspace{0.45em}}
|
||||
\par\refstepcounter{pointIII}\thepointIII.\hspace{0.45em}}
|
||||
\newcommand{\pointIV}{%
|
||||
\par\refstepcounter{pointIV}\thepointIV\hspace{0.45em}}
|
||||
\par\refstepcounter{pointIV}\thepointIV.\hspace{0.45em}}
|
||||
|
||||
\newcounter{subpointIII}[pointII]
|
||||
\newcounter{subpointIV}[pointIII]
|
||||
|
||||
\renewcommand{\thesubpointIII}{\thepointII\arabic{subpointIII}.}
|
||||
\renewcommand{\thesubpointIV}{\thepointIII\arabic{subpointIV}.}
|
||||
\renewcommand{\thesubpointIII}{\thepointII.\arabic{subpointIII}}
|
||||
\renewcommand{\thesubpointIV}{\thepointIII.\arabic{subpointIV}}
|
||||
|
||||
\newcommand{\subpointIII}{%
|
||||
\par\refstepcounter{subpointIII}\thesubpointIII\hspace{0.45em}}
|
||||
\par\refstepcounter{subpointIII}\thesubpointIII.\hspace{0.45em}}
|
||||
\newcommand{\subpointIV}{%
|
||||
\par\refstepcounter{subpointIV}\thesubpointIV\hspace{0.45em}}
|
||||
\par\refstepcounter{subpointIV}\thesubpointIV.\hspace{0.45em}}
|
||||
|
||||
|
||||
|
||||
@ -231,7 +231,7 @@
|
||||
\ESPDsectAlign{section}{Center}
|
||||
|
||||
\makeatletter
|
||||
\renewcommand*{\@seccntformat}[1]{\csname the#1\endcsname\hspace{0.45em}}
|
||||
\renewcommand*{\@seccntformat}[1]{\csname the#1\endcsname.\hspace{0.45em}}
|
||||
\makeatother
|
||||
|
||||
\RequirePackage[titles]{tocloft}
|
||||
@ -241,12 +241,15 @@
|
||||
\renewcommand{\cftsecpagefont}{\normalfont\normalsize}
|
||||
\renewcommand{\cftsubsecpagefont}{\normalfont\normalsize}
|
||||
\renewcommand{\cftsubsubsecpagefont}{\normalfont\normalsize}
|
||||
\renewcommand\cftsecafterpnum{\vskip0pt}
|
||||
\renewcommand\cftsubsecafterpnum{\vskip0pt}
|
||||
\renewcommand\cftsubsubsecafterpnum{\vskip0pt}
|
||||
\renewcommand\cftbeforesecskip{0pt}
|
||||
\renewcommand\cftbeforesubsecskip{0pt}
|
||||
\renewcommand\cftbeforesubsubsecskip{0pt}
|
||||
\renewcommand{\cftsecaftersnum}{.}
|
||||
\renewcommand{\cftsubsecaftersnum}{.}
|
||||
\renewcommand{\cftsubsubsecaftersnum}{.}
|
||||
\renewcommand{\cftsecafterpnum}{\vskip0pt}
|
||||
\renewcommand{\cftsubsecafterpnum}{\vskip0pt}
|
||||
\renewcommand{\cftsubsubsecafterpnum}{\vskip0pt}
|
||||
\renewcommand{\cftbeforesecskip}{0pt}
|
||||
\renewcommand{\cftbeforesubsecskip}{0pt}
|
||||
\renewcommand{\cftbeforesubsubsecskip}{0pt}
|
||||
|
||||
\renewcommand{\cftdot}{}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user