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