Next: Format Properties, Previous: Format Indentation, Up: Formatted Text
When editing formatted text, you can specify various styles of justification for a paragraph. The style you specify automatically affects the Emacs fill commands.
The Justification submenu provides a convenient interface for specifying the style. The submenu contains five items:
Left
Right
Full
Center
Unfilled
In Enriched mode, you can also specify justification from the keyboard using the M-j prefix character:
set-justification-left
).
set-justification-right
).
set-justification-full
).
set-justification-center
).
set-justification-none
).
Justification styles apply to entire paragraphs. All the justification-changing commands operate on the paragraph containing point, or, if the region is active, on all paragraphs which overlap the region.
The default justification style is specified by the variable
default-justification
. Its value should be one of the symbols
left
, right
, full
, center
, or none
.
This is a per-buffer variable. Setting the variable directly affects
only the current buffer. However, customizing it in a Custom buffer
sets (as always) the default value for buffers that do not override it.
See Locals, and Easy Customization.