Next: Format Colors, Previous: Editing Format Info, Up: Formatted Text
The Faces submenu lists various Emacs faces including bold
,
italic
, and underline
. Selecting one of these adds the
chosen face to the region. See Faces. You can also specify a face
with these keyboard commands:
default
face
(facemenu-set-default
).
bold
face
(facemenu-set-bold
).
italic
face
(facemenu-set-italic
).
bold-italic
face
(facemenu-set-bold-italic
).
underline
face
(facemenu-set-underline
).
facemenu-set-face
).
If you use these commands with a prefix argument—or, in Transient Mark mode, if the region is not active—then these commands specify a face to use for any immediately following self-inserting input. See Transient Mark. This applies to both the keyboard commands and the menu commands.
Specifying the default
face also resets foreground and
background color to their defaults.(see Format Colors).
Any self-inserting character you type inherits, by default, the face properties (as well as most other text properties) of the preceding character. Specifying any face property, including foreground or background color, for your next self-inserting character will prevent it from inheriting any face properties from the preceding character, although it will still inherit other text properties. Characters inserted by yanking do not inherit text properties.
Enriched mode defines two additional faces: excerpt
and
fixed
. These correspond to codes used in the text/enriched file
format.
The excerpt
face is intended for quotations. This face is the
same as italic
unless you customize it (see Face Customization).
The fixed
face means, “Use a fixed-width font for this part
of the text.” Applying the fixed
face to a part of the text
will cause that part of the text to appear in a fixed-width font, even
if the default font is variable-width. This applies to Emacs and to
other systems that display text/enriched format. So if you
specifically want a certain part of the text to use a fixed-width
font, you should specify the fixed
face for that part.
By default, the fixed
face looks the same as bold
.
This is an attempt to distinguish it from default
. You may
wish to customize fixed
to some other fixed-width medium font.
See Face Customization.
If your terminal cannot display different faces, you will not be able to see them, but you can still edit documents containing faces, and even add faces and colors to documents. The faces you specify will be visible when the file is viewed on a terminal that can display them.