|
Indentation primitives |
|
Operator |
Arity |
Accessible |
|
Process |
Usage |
|
|
border |
children |
|
|
no-indent |
0 |
Yes |
- |
Typesetting |
Physical |
yes-indent |
0 |
Yes |
- |
Typesetting |
Physical |
no-indent* |
0 |
Yes |
- |
Typesetting |
Physical |
yes-indent* |
0 |
Yes |
- |
Typesetting |
Physical |
|
|
Table 1. Indentation primitives
|
Disable or enable indentation for the current
paragraph.
Disable or enable indentation for the next
paragraph.
The indentation of a paragraph is the horizontal white space inserted
before the first line of the paragraph. Indentation directives can be
used to locally enable or disable indentation: no-indent and yes-indent
apply to the current paragraph, no-indent*
and yes-indent* apply the next
physical paragraph. Only the last indentation directive for a given
paragraph is effective.
(document
(concat "This " (yes-indent) "indents me." (yes-indent*))
(concat "Indented by yes-indent* on previous paragraph.")
(concat "Though " (yes-indent) "I'm not indented." (no-indent))
(concat "Try to indent next paragraph." (yes-indent*))
(concat "No, I do not want to be indented." (no-indent)))
|
In this example, no-indent
overrides yes-indent* in the
previous paragraph because it comes later.
© 2004 David Allouche
Permission is
granted to copy, distribute and/or modify this document under the terms of
the GNU Free Documentation License, Version 1.1 or any later version
published by the Free Software Foundation; with no Invariant Sections,
with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the
license is included in the section entitled "GNU Free Documentation
License".