diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/epslatex-fr/indentondemand.sty')
-rw-r--r-- | Master/texmf-dist/doc/latex/epslatex-fr/indentondemand.sty | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/epslatex-fr/indentondemand.sty b/Master/texmf-dist/doc/latex/epslatex-fr/indentondemand.sty new file mode 100644 index 00000000000..1c1b93a47bd --- /dev/null +++ b/Master/texmf-dist/doc/latex/epslatex-fr/indentondemand.sty @@ -0,0 +1,61 @@ +%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: <yhug2706zah.fsf@styx.lep-philips.fr> +%References: <jbailie-836757699-jazzturk@wwdc.com> +% <yhud927gn9d.fsf@styx.lep-philips.fr> <udvifyn6al.fsf@vummath> +% <wz4tnhstub.fsf@stego.cs.ruu.nl> +%Reply-To: Benjamin BAYART <bayart@lep-philips.fr> +%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 <carlisle@ma.man.ac.uk> (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 |