diff options
| author | Eli Zaretskii | 2020-09-19 22:22:08 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2020-09-19 22:22:08 +0300 |
| commit | 082d8a21b1751d7e5e5ca5cfcd6112da23f928ff (patch) | |
| tree | 03369a58a62a51f19ea6cca207ce9e64fa0911a0 | |
| parent | 5b23393bcc0293c61eedd21690a4024efb25d955 (diff) | |
| download | emacs-082d8a21b1751d7e5e5ca5cfcd6112da23f928ff.tar.gz emacs-082d8a21b1751d7e5e5ca5cfcd6112da23f928ff.zip | |
Minor copyedits in 'line-height' documentation
* doc/lispref/display.texi (Line Height): Describe the possible
values of the 'line-height' property in a more consistent format.
| -rw-r--r-- | doc/lispref/display.texi | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 2ef27c00b8e..6f0e8c1ad2c 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -2188,21 +2188,24 @@ actual line height can never be less than the default. | |||
| 2188 | @kindex line-height @r{(text property)} | 2188 | @kindex line-height @r{(text property)} |
| 2189 | A newline can have a @code{line-height} text or overlay property | 2189 | A newline can have a @code{line-height} text or overlay property |
| 2190 | that controls the total height of the display line ending in that | 2190 | that controls the total height of the display line ending in that |
| 2191 | newline. | 2191 | newline. The property value can be one of several forms: |
| 2192 | 2192 | ||
| 2193 | If the property value is @code{t}, the newline character has no | 2193 | @table @code |
| 2194 | @item t | ||
| 2195 | If the property value is @code{t}, the newline character has no | ||
| 2194 | effect on the displayed height of the line---the visible contents | 2196 | effect on the displayed height of the line---the visible contents |
| 2195 | alone determine the height. The @code{line-spacing} property, | 2197 | alone determine the height. The @code{line-spacing} property, |
| 2196 | described below, is also ignored in this case. This is useful for | 2198 | described below, is also ignored in this case. This is useful for |
| 2197 | tiling small images (or image slices) without adding blank areas | 2199 | tiling small images (or image slices) without adding blank areas |
| 2198 | between the images. | 2200 | between the images. |
| 2199 | 2201 | @item (@var{height} @var{total}) | |
| 2200 | If the property value is a list of the form @code{(@var{height} | 2202 | If the property value is a list of the form shown, that adds extra |
| 2201 | @var{total})}, that adds extra space @emph{below} the display line. | 2203 | space @emph{below} the display line. First Emacs uses @var{height} as |
| 2202 | First Emacs uses @var{height} as a height spec to control extra space | 2204 | a height spec to control extra space @emph{above} the line; then it |
| 2203 | @emph{above} the line; then it adds enough space @emph{below} the line | 2205 | adds enough space @emph{below} the line to bring the total line height |
| 2204 | to bring the total line height up to @var{total}. In this case, any | 2206 | up to @var{total}. In this case, any value of @code{line-spacing} |
| 2205 | value of @code{line-spacing} property for the newline is ignored. | 2207 | property for the newline is ignored. |
| 2208 | @end table | ||
| 2206 | 2209 | ||
| 2207 | @cindex height spec | 2210 | @cindex height spec |
| 2208 | Any other kind of property value is a height spec, which translates | 2211 | Any other kind of property value is a height spec, which translates |