blob: 1c1b93a47bdeb4f939ebe2a55f8aef34f146e171 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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
|