SetParagraphLeading Text Command

SETPARAGRAPHLEADING Text Commands

Sets the inter-paragraph spacing for the paragraph at the insertion point, for selected paragraphs or for a style tag.

setparagraphleading [BEFORE ] [AFTER ] [DOCUMENT name | WINDOW name | STYLETAG name]

BEFORE Specifies space before the paragraph.

AFTER Specifies space after the paragraph.

type/k The leading method.

Options: AUTOMATIC Automatic line spacing.
FIXED Fixed leading.
RELATIVE Relative leading.
LOCALGRID The local leading grid. No interface equivalent. amount/d The leading amount.
GLOBALGRID Locks text to the global leading grid.

DOCUMENT/s The document name.

WINDOW/s The window name.

STYLETAG/s Sets the attribute for a style tag.

Notes:

Automatic, fixed and grid leading are measured in the text measurement system unless specified otherwise, while relative leading is a percentage of the type size.

A local leading grid is one that can be set for a block of text to align it to a grid offset from the ruler origin. A global leading grid is set for the document as a whole and works in a similar manner.

Examples:

setparagraphleading before globalgrid styletag ¨
'Body Text'

setparagraphleading after relative 120 'project.doc'

setparagraphleading before fixed '14pt' after ¨
sameasleading

 

SetParagraphLeading  Command Definition  url:PGScmd/setparagraphleading
  created:2006-03-31 10:52:57   last updated:2006-03-31 10:52:57
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SetParagraphLeading
Dan Kilroy wrote...2006-05-04 17:07:04

Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above.

Gets the {...} .

SetParagraphLeading ([BEFORE [NONE | FIXED value | RELATIVE %value | LOCALGRID value | GLOBALGRID]] [AFTER <NONE | FIXED value | RELATIVE %value | LOCALGRID value | GLOBALGRID>] [DOCUMENT document | WINDOW document-window | STYLETAG document:...-tagname])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For SetParagraphLeading