diff options
| author | Glenn Morris | 2012-06-16 19:07:26 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-06-16 19:07:26 -0700 |
| commit | 82a25657c58b7a5ad2f6d247aa91e11f0b2a783b (patch) | |
| tree | 27590923898d1bd6fbe2d765e0573469105c16ca /doc | |
| parent | db80bdc86f7aac0e85244e48675758e10d78d86f (diff) | |
| download | emacs-82a25657c58b7a5ad2f6d247aa91e11f0b2a783b.tar.gz emacs-82a25657c58b7a5ad2f6d247aa91e11f0b2a783b.zip | |
Minor edits for Face Attributes section of display.texi
* display.texi (Face Attributes): Copyedits. Add a few cindex entries.
Overlining no longer behaves exactly like underlining.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 32 |
2 files changed, 22 insertions, 15 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 1157c39dd06..b1ec6b7dfbf 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-06-17 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * display.texi (Face Attributes): Copyedits. Add a few cindex entries. | ||
| 4 | Overlining no longer behaves exactly like underlining. | ||
| 5 | |||
| 1 | 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com> | 6 | 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com> |
| 2 | 7 | ||
| 3 | * display.texi (Face Attributes): | 8 | * display.texi (Face Attributes): |
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 60e14b6b85b..2e9be1e3201 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -2113,6 +2113,7 @@ variable-brightness text, any weight greater than normal is displayed | |||
| 2113 | as extra bright, and any weight less than normal is displayed as | 2113 | as extra bright, and any weight less than normal is displayed as |
| 2114 | half-bright. | 2114 | half-bright. |
| 2115 | 2115 | ||
| 2116 | @cindex italic text | ||
| 2116 | @item :slant | 2117 | @item :slant |
| 2117 | Font slant---one of the symbols @code{italic}, @code{oblique}, | 2118 | Font slant---one of the symbols @code{italic}, @code{oblique}, |
| 2118 | @code{normal}, @code{reverse-italic}, or @code{reverse-oblique}. On | 2119 | @code{normal}, @code{reverse-italic}, or @code{reverse-oblique}. On |
| @@ -2129,10 +2130,10 @@ stipple patterns. | |||
| 2129 | Background color, a string. The value can be a system-defined color | 2130 | Background color, a string. The value can be a system-defined color |
| 2130 | name, or a hexadecimal color specification. @xref{Color Names}. | 2131 | name, or a hexadecimal color specification. @xref{Color Names}. |
| 2131 | 2132 | ||
| 2133 | @cindex underlined text | ||
| 2132 | @item :underline | 2134 | @item :underline |
| 2133 | Whether or not characters should be underlined, and in what | 2135 | Whether or not characters should be underlined, and in what |
| 2134 | color. Here are the possible values of the @code{:underline} | 2136 | way. The possible values of the @code{:underline} attribute are: |
| 2135 | attribute, and what they mean: | ||
| 2136 | 2137 | ||
| 2137 | @table @asis | 2138 | @table @asis |
| 2138 | @item @code{nil} | 2139 | @item @code{nil} |
| @@ -2142,28 +2143,29 @@ Don't underline. | |||
| 2142 | Underline with the foreground color of the face. | 2143 | Underline with the foreground color of the face. |
| 2143 | 2144 | ||
| 2144 | @item @var{color} | 2145 | @item @var{color} |
| 2145 | Underline in color @var{color}. | 2146 | Underline in color @var{color}; which should be either a string |
| 2146 | 2147 | specifying a color, or the symbol @code{foreground-color}, meaning the | |
| 2147 | @item @code{(:color @var{color} :style @var{style})} | ||
| 2148 | If @var{color} is a string, underline in it. | ||
| 2149 | If @var{color} is @code{foreground-color}, underline with the | ||
| 2150 | foreground color of the face. | 2148 | foreground color of the face. |
| 2151 | 2149 | ||
| 2152 | If @var{style} is @code{wave} underline with a wave. | 2150 | @item @code{(:color @var{color} :style @var{style})} |
| 2153 | If @var{style} is @code{line} underline with a line. | 2151 | @var{color} is as described above. Omitting the attribute |
| 2154 | 2152 | @code{:color} means to use the foreground color of the face. | |
| 2155 | If the attribute @code{:color} is omited, underline with the | 2153 | @var{style} should be a symbol @code{line} or @code{wave}, meaning to |
| 2156 | foreground color of the face. | 2154 | use a straight or wavy line. Omitting the attribute @code{:style} |
| 2157 | If the attribute @code{:style} is omited, underline with a line. | 2155 | means to use a straight line. |
| 2158 | @end table | 2156 | @end table |
| 2159 | 2157 | ||
| 2158 | @cindex overlined text | ||
| 2160 | @item :overline | 2159 | @item :overline |
| 2161 | Whether or not characters should be overlined, and in what color. | 2160 | Whether or not characters should be overlined, and in what color. |
| 2162 | The value is used like that of @code{:underline}. | 2161 | If the value is @code{t}, overlining uses the foreground color of the |
| 2162 | face. If the value is a string, overlining uses that color. The | ||
| 2163 | value @code{nil} means do not overline. | ||
| 2163 | 2164 | ||
| 2165 | @cindex strike-through text | ||
| 2164 | @item :strike-through | 2166 | @item :strike-through |
| 2165 | Whether or not characters should be strike-through, and in what | 2167 | Whether or not characters should be strike-through, and in what |
| 2166 | color. The value is used like that of @code{:underline}. | 2168 | color. The value is used like that of @code{:overline}. |
| 2167 | 2169 | ||
| 2168 | @item :box | 2170 | @item :box |
| 2169 | Whether or not a box should be drawn around characters, its color, the | 2171 | Whether or not a box should be drawn around characters, its color, the |