30 |
@section Using Multiple Typefaces |
@section Using Multiple Typefaces |
31 |
@cindex faces |
@cindex faces |
32 |
|
|
33 |
When using Emacs with a window system, you can set up multiple |
Emacs supports using multiple styles of displaying characters. Each |
34 |
styles of displaying characters. Each style is called a @dfn{face}. |
style is called a @dfn{face}. Each face can specify various @dfn{face |
35 |
Each face can specify various attributes, such as the height, weight |
attributes}, such as the font family, the height, weight and slant of |
36 |
and slant of the characters, the foreground and background color, and |
the characters, the foreground and background color, and underlining |
37 |
underlining. But it does not have to specify all of them. |
or overlining. A face does not have to specify all of these |
38 |
|
attributes; often it inherits many of them from another face. |
39 |
|
|
40 |
Emacs on a character terminal supports only part of face attributes. |
On a window system, all the Emacs face attributes are meaningful. |
41 |
Which attributes are supported depends on your display type, but many |
On a character terminal, only some of them work. Some character |
42 |
displays support inverse video, bold, and underline attributes, and |
terminals support inverse video, bold, and underline attributes; some |
43 |
some support colors. |
support colors. Character terminals generally do not support changing |
44 |
|
the height and width or the font family. |
45 |
|
|
46 |
Features which rely on text in multiple faces (such as Font Lock mode) |
Features which rely on text in multiple faces (such as Font Lock mode) |
47 |
will also work on non-windowed terminals that can display more than one |
will also work on non-windowed terminals that can display more than one |