[Tugindia] Centering a Section title

Kapil Hari Paranjape kapil at imsc.res.in
Sat Feb 9 08:07:13 CET 2008


Hello,

On Fri, 08 Feb 2008, kvmadhav wrote:
> why dont you try this out. it always works out for me...for a change try
> using gedit.
> \begin{center}
> \pageheading{introduction}
> \end{center}

And what will happen to the section numbering and table of contents?
I personally think the above suggestion is plain wrong.

I think it is much much better to follow Sridhar's suggestions:

On Sat, 09 Feb 2008, Sridhar M.A. wrote:
> \usepackage{sectsty}. Look up the documentation for how to get
> centered section headings.

It is very likely that a "standard" style file like "sectsty" 
will handle all the connotations of the "\section" command
and not just hack away at changing fonts.

Regards,

Kapil.
--



More information about the tugindia mailing list