[Tugindia] Centering a Section title

Sridhar M.A. sridharma at gmail.com
Sat Feb 9 04:26:21 CET 2008


On Feb 9, 2008 7:51 AM, Kapil Hari Paranjape <kapil at imsc.res.in> wrote:
>
> On Fri, 08 Feb 2008, David Owen wrote:
> > Thanks for the help. I have two more little problems:
> > 1)   I have tried to center on a page,  say,  the title "Introduction" by
> > using
> > \centerline{\section{Introduction}}
>
> Note that "\section{...}" is not a "change-text-font" type of command
> but is a very different kind of beast. If you want section headers to
> appear centred then you need to use a different style (i.e. not
> article style) like amsart. Alternatively, you can create your own
> style after looking at how article defines "\section".
>
\usepackage{sectsty}. Look up the documentation for how to get
centered section headings.

HTH,

-- 
Sridhar M.A.


More information about the tugindia mailing list