[texhax] underline problem

Uwe Lück uwe.lueck at web.de
Sat Dec 2 13:36:31 CET 2006


At 01:10 02.12.06, E. Krishnan wrote:
>On Fri, 1 Dec 2006, LB Yang wrote:
>
> > I need change section title to be centered, and underlined (including
> > section #),
>
>...........................................
>
> > I also have another similar problem with subsection. It requires
> > left-aligned and underlined.
>
>
>I think it'd be better to use the "sectsty" and "ulem" package to do
>this, as in
>
>\usepackage[normalem]{ulem}
>\usepackage{sectsty}
>
>\sectionfont{\centering\underline}
>\subsectionfont{\centering\underline}

I agree on preferring ulem to \underline.
I also know of nccsect in the ncctools bundle.
You find much more by entering "sect"
(or even "sec") into the CTAN search:

HTH -- Uwe. 



More information about the texhax mailing list