Hi Anders,

I forgot to add an important detail.  If you redefine the section
definitions, you will need to do that in a dedicated style.  It uses the
\...@startsection macro, which can't appear in a normal LaTeX document.

If you are going to just add the new definitions to the preamble, best to
stick with sectsty.

Cheers,

Rob

-----Original Message-----
From: news [mailto:[email protected]] On Behalf Of Anders Host-Madsen
Sent: Thursday, December 17, 2009 10:38 AM
To: [email protected]
Subject: Redefining sections

This is really a latex question, but I hope someone can answer anyway.

I redefine sections with the latex preamble
\newcommand{\tmpsection}[1]{}
\let\tmpsection=\section
\renewcommand{\section}[1]{\vspace{-0.15in}\tmpsection{#1}\vspace{-0.1in}}

It works as it's supposed to, but it makes latex unable to make a table
of contents, and the 'references' heading comes out strangely (7 * in large
and then references in small on the next line).

What do I do wrong?


Reply via email to