[texhax] help redefining section

Paul Tremblay phthenry at iglou.com
Sun Feb 11 00:20:26 CET 2007


I used the code below to redefine my section, but it didn't work when I
used \section*:

\let\OldSection=\section
\renewcommand{\section}[1]{\singlespacing\OldSection{#1}\doublespacing} 

The problem is that Latex sees the "*" as the first argument. I am
trying to get my titles to be only single spaced, though I might also
want to customized my sections in different ways, so I would like a more
general solution to customizing \sections.

Thanks

Paul


More information about the texhax mailing list