It is possible to customise the way your section, subsection etc
headings appear by redefining the corresponding commands
\section, \subsection etc using the command:
\@startsection{<type>}{<level>}{<indent>}{<beforeskip>}{<afterskip>}{<style>}
The six arguments are as follows:
\itshape for an italic heading.) Note that
the last command in <style> may be a command which takes a
single argument, but all the others must be declarations.
(Remember that \paragraph and \subparagraph
produce sub-sub-sub-sections and sub-sub-sub-sub-sections,
respectively, though most class files suppress their numbering
and give them a negative <afterskip>.[How to create a
\subsubsubsection])
As an example, suppose you want to change the section headings so that they appear in a large italic font, you could do something like:
\renewcommand{\section}{\@startsection
{section}% % the name
{1}% % the level
{0mm}% % the indent
{-\baselineskip}% % the before skip
{0.5\baselineskip}% % the after skip
{\normalfont\large\itshape}} % the style
As mentioned above, the final command within the <style> argument
may be a command which takes an argument, so you could also do
something like:
\renewcommand{\section}{\@startsection
{section}% % the name
{1}% % the level
{0mm}% % the indent
{-\baselineskip}% % the before skip
{0.5\baselineskip}% % the after skip
{\normalfont\large\MakeUppercase}} % the style
which would convert the section heading to uppercase.
See A Guide to LaTeX [2] for further information.
There is a counter called secnumdepth that controls
what level the sections have numbers. The levels correspond to those shown in
Table 4.2. By default this value is 2, so only
parts, chapters, sections and subsections have associated numbers.
You can use \setcounter to change the value of secnumdepth.
So, for example, if you want the \paragraph command to produce a number, do
\settocounter{secnumdepth}{4}