\usepackage[compact]{titlesec} does exactly what I want, so
that was easy.
Thanks, it seems the titlesec package is quite flexible. The
secsty package seems limited; for example it cannot redefine
spacing before and after section headings, which was exactly
what I wanted here (I needed a document to fit 15 pages).
I will try to use the titlesec package.
On Thursday 17 December 2009 12:38:14 Anders Host-Madsen wrote:
> 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}\tmpsecti
st to
stick with sectsty.
Cheers,
Rob
-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of Anders Host-Madsen
Sent: Thursday, December 17, 2009 10:38 AM
To: lyx-users@lists.lyx.org
Subject: Redefining sections
This is really a latex question, but I hope someone can a
On 12/17/2009 12:38 PM, Anders Host-Madsen wrote:
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}}
, the basic syntax is the
same for the other latex engines as well.
Cheers,
Rob Oakes
-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of Anders Host-Madsen
Sent: Thursday, December 17, 2009 10:38 AM
To: lyx-users@lists.lyx.org
Subject: Redefining sections
This is rea
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 una