[previous] [up] [next]     [index]
Next: set-paragraph-margins Up: text Previous: set-overwrite-mode

set-paragraph-alignment

Sets a paragraph-specific horizontal alignment. The alignment is only used when the editor has a maximum width, as set with set-max-width. Paragraphs are numbered starting with 0.

This method is experimental, and works reliably only when the paragraph is not merged or split. Merging or splitting a paragraph with alignment settings causes the settings to be transfered unpredictably (although other paragraphs in the editor can be safely split or merged). If the last paragraph in an editor is empty, settings assigned to it are ignored.



PLT