Paragraph formatting

Last update: 2021-07-12
  • Created for:
  • Developer
    User

The following paragraph formatting commands are supported.

Command

Description

Notes

\pard

Reset paragraph formatting to default.

textPs= only

\ql

Left-align text.

Default.

\qr

Right-align text.

\qc

Center text horizontally.

\qj

Justify text horizontally.

textPs= only

\lastql

Left-align the last line of a paragraph.

Default; textPs= only; ignored if \qj is not active.

\lastqr

Right-align the last line of a justified paragraph.

textPs= only; ignored if \qj is not active.

\lastqc

Center the last line of a justified paragraph.

textPs= only; ignored if \qj is not active.

\lastqj

Sustify (stretch) the last line of a justified paragraph.

textPs= only; ignored if \qj is not active.

\fi N

First line indent.

Twips; textPs= only.

\li N

Left indent.

Twips; textPs= only.

\ri N

Right indent.

Twips; textPs= only.

\sl N

Space between lines.

0 (default) for automatic line spacing; positive values to only use value if larger than default line spacing; negative value to force spacing.

\slmult N

Line spacing multiple flag.

Set to 0 (default) if \sl is in twips, to 1 if \sl is in multiples of the default spacing.

\sb N

Extra space before paragraph.

Twips; text= applies \sb to the first paragraph in the text box, textPs= does not.

\sa N

Extra space after paragraph.

Twips; text= applies \sa to the last paragraph in the text box, textPs= does not.

On this page