[texhax] redefine section heading in memoir class

Uwe Lück uwe.lueck at web.de
Mon Apr 10 23:37:50 CEST 2006

At 01:39 10.04.06, Paul Tremblay wrote:
>Can someone tell me how to create a hanging title when creating a
>title with the \section* command in the memoir class?

Lars Madsen may be able to (so in my Cc), not me for some time.

If he won't respond, I would suggest
and replacing \emph by \justasis in your working version.
(\justasis is just LaTeX's internal \@firstofone .)

In general, I might be able to tell you about LaTeX's internal
\@hangfrom doing these things.

Best wishes,

>% set this to a positive value
>% the amount to indent the section head
>% before the heading
>% after the heading
>% define the section
>\renewcommand{\secheadstyle} {\mysec}
>% renew the section command
>%write the section
>%\section*{1.1 This is  the section which is a long section about 
>modernizing and so fourth}
>Notice the \parindent in the \newcommand above. It has no effect.
>However, if I use this command:
>Then I get a perfect hanging title.

More information about the texhax mailing list