[Tugindia] Line break between section number and section title

Ragu ragu.solaiappan at integra-india.com
Wed Jul 26 08:41:01 CEST 2006


Dear Dr. Raju,

Please check the changes to your book.cls

\def\@sect#1#2#3#4#5#6[#7]#8{\ifnum #2>\c at secnumdepth
     \let\@svsec\@empty\else
     \refstepcounter{#1}\edef\@svsec{\csname the#1\endcsname\hskip 1em}\fi
     \@tempskipa #5\relax
      \ifdim \@tempskipa>\z@
        \begingroup #6\relax
          \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty
\@M\par\noindent#8\par}% Changes to your book.cls
        \endgroup
       \csname #1mark\endcsname{#8}\addcontentsline
         {toc}{#1}{\ifnum #2>\c at secnumdepth \else
                      \protect\numberline{\csname the#1\endcsname}\fi
                    #7}\else
        \def\@svsechd{#6\hskip #3\relax
                   \@svsec #8\csname #1mark\endcsname
                        {#7}\addcontentsline
                           {toc}{#1}{\ifnum #2>\c at secnumdepth \else
                             \protect\numberline{\csname the#1\endcsname}\fi
                       #7}}\fi
     \@xsect{#5}}

Regards
Ragu



-----Original Message-----
From: tugindia-bounces at tug.org [mailto:tugindia-bounces at tug.org]On
Behalf Of Dr C. K. Raju
Sent: Wednesday, July 26, 2006 10:36 AM
To: tugindia at tug.org
Subject: [Tugindia] Line break between section number and section title


Hi,

Does anyone know how to put in a line or paragraph break between the section
number and the section title?

CKR


_______________________________________________
Home:        http://www.tug.org.in/
TeX FAQ:     http://www.tex.ac.uk/faq
unsubscribe: http://tug.org/mailman/listinfo/tugindia



More information about the tugindia mailing list