[Tugindia] How to indent the first line of a section.
Ragu
tugindia@tug.org
Fri, 24 Jan 2003 11:41:53 +0530
Hi
Please check the following macro to your file
\def\@startsection#1#2#3#4#5#6{%
\if@noskipsec \leavevmode \fi
\par
\@tempskipa #4\relax
\@afterindentfalse
\ifdim \@tempskipa <\z@
\@tempskipa -\@tempskipa \@afterindenttrue
\fi
\if@nobreak
\everypar{}%
\else
\addpenalty\@secpenalty\addvspace\@tempskipa
\fi
\@ifstar
{\@ssect{#3}{#4}{#5}{#6}}%
{\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}}
and
\def\section{\@startsection{section}{1}{0pt}%
{-20pt plus -3pt minus -2pt}%
{12pt}%
{\fontsize{12}{13}\selectfont}}
You can see the \@afterindenttrue to the section definition. If it is not
working, plesae let me know.
With Warm Regards
S.Ragu
----- Original Message -----
From: <indrajit@cal2.vsnl.net.in>
To: <tuglist@tug.org.in>; <tugindia@tug.org>
Sent: Friday, January 24, 2003 09:20
Subject: [Tugindia] How to indent the first line of a section.
> Dear Friends,
> When I try to indent the first line of a section in a Latex
> document by the command \par, it does not work but it works nicely in a
> AMS-Latex document. Please help me to start a paragraph in the first line
> of a section in a Latex document. Thanking all
> Yours sincerely
> Indrajit Lahiri
>
> _______________________________________________
> Home: http://www.tug.org.in/
> unsubscribe: http://tug.org/mailman/listinfo/tugindia