[Tugindia] Section spacing
Ragu.solaiappan, Integra
ragu.solaiappan at integra-india.com
Tue Jul 20 13:42:01 CEST 2004
Dear Suresh Kumar,
Thanks to have a valuable suggestion from you. I have tested your macro, i
works to me (hope to everyone).
\def\@startsection#1#2#3#4#5#6{%
\if at noskipsec \leavevmode \fi
\par
\@tempskipa #4\relax
\@afterindentfalse
\ifdim \@tempskipa <\z@
\@tempskipa -\@tempskipa \@afterindentfalse
\fi
\if at nobreak
\ifnum#2=2 %
\vskip6pt % required space between 2 heads
\fi
\ifnum#2=3 % 3 for subsubsection etc
\vskip3pt % required space between 2 heads
\fi
\everypar{}%
\else
\addpenalty\@secpenalty\addvspace\@tempskipa
\fi
\@ifstar
{\@ssect{#3}{#4}{#5}{#6}}%
{\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}}
Thanks for your help.
Regards
Ragu
More information about the tugindia
mailing list