# [Tugindia] Centering a Section title

S. venkataraman svenkat at ignou.ac.in
Sat Feb 9 13:38:38 CET 2008



-----Original Message-----
From:	tugindia-bounces at tug.org on behalf of David Owen
Sent:	Fri 2/8/2008 6:48 PM
To:	tugindia at tug.org
Cc:
Subject:	[Tugindia] Centering a Section title

Hi, Everyone,
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}}
but it does not work. I am using Winedt and it gives the message
"Something's wrong. Perhaps a missing \item".
If I use
\centerline{  \bf{ Introduction} }
this does not give me what I want.
Can someone tell me what I am doing wrong?

2) Can someone tell me how to leave a space of say, 3.5cm, at the top of the
first page of a document but leave a margin of 4cm on all other pages?
Thanks again for everything.
D.O.
_______________________________________________
Home:        http://www.tug.org.in/
TeX FAQ:     http://www.tex.ac.uk/faq
unsubscribe: http://tug.org/mailman/listinfo/tugindia

Regarding 1) the package titlesec package is
a very comprehensive package
for customising chapter and section headings.
Regarding leaving space on the first page,

Regarding 2) there is a possible way.
If you want to do it manually then use
the \changepage{} command in the chngpage.sty
which is part of ltxmisc to
change the textheight for the first page.  Then, add
a command  \afterpage{\changepage{}} commands to change the
textheight for the remaining pages. You need to load the
package afterpage.sty to use the \afterpage command.
Note:The documentation for \changepage command is
in the file chngpage.sty.
Best regards,
S. Venkataraman