(See also: New Paragraph and New Line & Set Margin)
Codes Used: [svprgN:L:M] [p] [indP]
Keystroke: (None at present)
What does it do?
Where the default for a New Paragraph is inappropriate, various attributes can be changed.
Where would it be used?
To lay out paragraphs as required.
Usage in DBT:
[svprg5:1:1]
[p][svprgN:L:M] -- Set paragraph treatment values, i.e.
the parameters for the [p] command.
[ind3]
[p]N determines the position at which
to begin a new paragraph; the default value is 3 for braille, and 0 for
print.[svprg5:1:0]
[p]L determines how many lines to skip
before a paragraph; the default is 0 for braille and 1 for print.
[p]M is 0 (the default) if N is to be
an absolute position, or is 1 if N is to be relative to the current left
margin (i.e. the left margin reckoned as position 1). If all values are
omitted, the values are reset to their values at the beginning of the
file.
Produces in Braille:
,7svprg,n3;,l3,m7' --
,set p>agraph tr1t;t values1
i4e4 ! p>amet]s =! ,7p7'
-m&4
;,n det]m9es ! posi;n
at : 62g9 a new p>agraph2
! default value is #c =
brl1 & #j = pr9t4
;,l det]m9es h[ _m l9es
6skip 2f a p>agraph2 !
default is #j = brl & #a =
pr9t4
;,m is #j 7! default7 if
;,n is 6be an absolute
posi;n1 or is #a if ;,n is
6be relative 6! curr5t
left m>g9 7i4e4 ! left
m>g9 reckon$ z posi;n #a74
,if all values >e omitt$1
! values >e reset 6_!
values at ! 2g9n+ (! file4
The [svprgN:L:M] code has three parameters.
N determines in which cell the paragraph starts, relative to either the left of the page, or the left margin. (See M below)
L is the number of blank lines required BEFORE each paragraph
M a value of 1 means that the value of N above will be relative to the left margin of the paragraph itself. A value of 0 (zero) means that the value if N will be relative to the left hand side of the page.
With the first occurrence of this Code, we have set it to put a blank line above the paragraph and Indent to cell 5 relative to our left margin.
We have then used the [ind3] code (See New Line & Set Margin) to set the margin to cell 3. Note how the second paragraph's margin and indent have moved together.
The second [svprg...] code changes the paragraph indent relative to the page margin.
For the more technical:
[svprgN:L:M] -- Set paragraph treatment values, i.e. the parameters for the [p] command.
N determines the position at which to begin a new paragraph; the default value is 3 for braille and 0 for print.
L determines how many lines to skip before a paragraph; the default is 0 for braille and 1 for print.
M is 0 (the default) if N is to be an absolute position, or is 1 if N is to be relative to the current left margin (i.e. the left margin reckoned as position 1). If all values are omitted, the values are reset to their values at the beginning of the file.