1<TeXmacs|1.0.3.10>
2
3<style|tmdoc>
4
5<\body>
6  <tmdoc-title|Indentation primitives>
7
8  There are two main ways to distinguish between successive paragraphs:
9  separate them by a small vertical space, or use an indentation for each new
10  paragraph. The indentation can be explicitly controlled using the
11  <markup|no-indent>, <markup|yes-indent>, <markup|no-indent*> and
12  <markup|yes-indent*> tags. The <markup|no-indent> and <markup|yes-indent>
13  primitives apply to the current paragraph, while the <markup|no-indent*>
14  and <markup|yes-indent*> apply the next paragraph.
15
16  <\explain>
17    <explain-macro|no-indent>
18
19    <explain-macro|yes-indent>
20  <|explain>
21    Disable or enable indentation for the current paragraph. For instance,
22    the code
23
24    <\tm-fragment>
25      <\inactive*>
26        <no-indent>This is a long paragraph which demonstrates the disabling
27        indentation using the <markup|no-indent> primitive.
28
29        <yes-indent>This is a long paragraph which demonstrates enabling
30        indentation using the <markup|yes-indent> primitive.
31      </inactive*>
32    </tm-fragment>
33
34    typically produces
35
36    <\tm-fragment>
37      <\with|par-first|2fn>
38        <no-indent>This is a long paragraph which demonstrates the disabling
39        indentation using the <markup|no-indent> primitive.
40
41        <yes-indent>This is a long paragraph which demonstrates enabling
42        indentation using the <markup|yes-indent> primitive.
43      </with>
44    </tm-fragment>
45  </explain>
46
47  <\explain>
48    <explain-macro|no-indent*>
49
50    <explain-macro|yes-indent*>
51  <|explain>
52    Disable or enable indentation for the next paragraph. For instance,
53
54    <\tm-fragment>
55      <\inactive*>
56        A first paragraph.<yes-indent*>
57
58        A second paragraph.
59      </inactive*>
60    </tm-fragment>
61
62    typically produces
63
64    <\tm-fragment>
65      <\with|par-first|2fn>
66        A first paragraph.<yes-indent*>
67
68        A second paragraph.
69      </with>
70    </tm-fragment>
71
72    Notice that <markup|no-indent> and <markup|yes-indent> override
73    <markup|no-indent*> and <markup|yes-indent*> directives in the previous
74    paragraph.
75
76    Currently, the <markup|no-indent*> and <markup|yes-indent*> tags are
77    mainly used in order to control the indentation after section titles or
78    environments like <markup|equation> which usually correspond to paragraph
79    units. In the future, when sectional tags will take the section bodies as
80    arguments, and when the <markup|paragraph> tag will be correctly
81    implemented, the <markup|no-indent*> and <markup|yes-indent*> will become
82    deprecated.
83  </explain>
84
85  <tmdoc-copyright|2004|Joris van der Hoeven>
86
87  <tmdoc-license|Permission is granted to copy, distribute and/or modify this
88  document under the terms of the GNU Free Documentation License, Version 1.1
89  or any later version published by the Free Software Foundation; with no
90  Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
91  Texts. A copy of the license is included in the section entitled "GNU Free
92  Documentation License".>
93</body>