Next / Previous / Contents / NM Tech homepage

11.2. \section

For design considerations of the \section command, see Section 3.1, “Sectioning commands”. For the internal command \@startsection, see Section 14, “Calling \@startsection.

We'll define internal lengths \pre@sectionskip and \post@sectionskip that are used in both \section and \subsection.

nmtthesis2015.sty
%
% - - -   \ s e c t i o n
%
\newlength{\pre@sectionskip}%
\setlength{\pre@sectionskip}{2.5em plus1em minus0.5em}%
\newlength{\post@sectionskip}%
\setlength{\post@sectionskip}{1em plus0.3em minus0.1em}%
\renewcommand{\section}%
{%
  \@startsection{section}{1}{\z@}%
    {\pre@sectionskip}%
    {\post@sectionskip}%
    {\normalsize\bfseries}%
}% End \section