[Tugindia] Centering a Section title

Kapil Hari Paranjape kapil at imsc.res.in
Mon Feb 11 08:23:37 CET 2008


Hello,

On Sun, 10 Feb 2008, kvmadhav wrote:
> it is not wrong,
> i use it everyday and the the table of contents updates itself after u run
> latex. use recent latex versions for effective performance.

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}

OK. So I took "small2e.tex" and modified the line
	\section{Simple Text}
to read
	\begin{center}
	\pageheading{Simple Text}
	\end{center}
After this I ran
	pdflatex small2e
and I got an error message about "Undefined control sequence".

This leads me to conclude that your suggestion was at least incomplete
if not wrong. 

I admit that I did not use "gedit" but "vi" though this is not
relevant to the question in any way :-)

Regards,

Kapil.
--



More information about the tugindia mailing list