%From cict.fr!ws41.cnusc.fr!univ-lyon1.fr!jussieu.fr!oleane!lep-philips.fr!news Thu Jul 11 07:58:02 1996 %Article: 70636 of comp.text.tex %Path: cict.fr!ws41.cnusc.fr!univ-lyon1.fr!jussieu.fr!oleane!lep-philips.fr!news %From: bayart@styx.lep-philips.fr (Benjamin Bayart) %Newsgroups: comp.text.tex %Subject: Re: Forcing first paragraph indentation %Date: 10 Jul 1996 14:57:58 +0200 %Organization: LEP, France. %Lines: 45 %Sender: bayart@styx.lep-philips.fr %Message-ID: %References: % % %Reply-To: Benjamin BAYART %NNTP-Posting-Host: styx.lep-philips.fr %In-reply-to: piet@cs.ruu.nl's message of 09 Jul 1996 10:40:12 +0200 %X-Newsreader: Gnus v5.1 % %piet@cs.ruu.nl (Piet van Oostrum) writes: % % % >>>>> David Carlisle (DC) writes: % % >> Just have a look at the few lines in indentfirst.sty... % % DC> or the last few. % %As you noticed later on in private e-mail to me David, I said ``the %few lines'' and not ``the first few lines'', but it doesn't mind. :-) % % But these are not suitable for indenting specific after-section-header % paragraphs, which was the original question. Especially the line % \let\@afterindentfalse\@afterindenttrue is difficult to undo. % % Probably an \@afterindenttrue at the appropriate point will have only % effect on the next paragraph. % %Ok, so try this: \let\standardlatex\@afterindentfalse \let\frenchlatex\@afterindenttrue % %And then: \def\notindenting{\let\@afterindentfalse\standardlatex} \def\indenting{\let\@afterindentfalse\frenchlatex} % %Then, when you want first paragraphs to be indented, call \indenting, %and when you don't want them to be indented, call \notindenting. Easy, %isn't it? % %Just put those 4 lines in a file indentondemand.sty and you will %create a package at least as interesting as indentfirst is :-) And %indentfirst IS vital for french documents which require first %paragraphs to be indented... % %So the given line is not so difficult to undo, and you knew it :-) % %Regards, % Benjamin. %-- %Benjamin BAYART