GNU Emacs Manual. Node: Formatted Text

PREVNroff Mode UPText next

19.11: Editing Formatted Text

Enriched mode is a minor mode for editing files that contain formatted text in WYSIWYG fashion, as in a word processor. Currently, formatted text in Enriched mode can specify fonts, colors, underlining, margins, and types of filling and justification. In the future, we plan to implement other formatting features as well.

Enriched mode is a minor mode (see Minor Modes). Typically it is used in conjunction with Text mode (see Text Mode). However, you can also use it with other major modes such as Outline mode and Paragraph-Indent Text mode.

Potentially, Emacs can store formatted text files in various file formats. Currently, only one format is implemented: text/enriched format, which is defined by the MIME protocol. See Format Conversion, for details of how Emacs recognizes and converts file formats.

The Emacs distribution contains a formatted text file that can serve as an example. Its name is `etc/enriched.doc'. It contains samples illustrating all the features described in this section. It also contains a list of ideas for future enhancements.

  • Requesting Formatted Text Entering and exiting Enriched mode.
  • Hard and Soft Newlines There are two different kinds of newlines.
  • Editing Format Info How to edit text properties.
  • Faces Bold, italic, underline, etc.
  • Color Changing the color of text.
  • Indent Changing the left and right margins.
  • Justification Centering, setting text flush with the left or right margin, etc.
  • Other The "special" text properties submenu.
  • Forcing Enriched Mode How to force use of Enriched mode.
  • PREVNroff Mode UPText next