Macro Language Reference > PIs > Text > <?accolade>
  
<?accolade>
Description
Define an accolade to be applied to the selected text or frame. Use start and end <?accolade> commands to identify the boundaries of the accolade.
 
Example 431. Edit bar display of accolade code inserted via dialog box
The example below shows how options inserted from the dialog box on a selected block of text will actually appear in the text stream. The accolade control stream name, acc1, sets the following options:
Set a level 1 accolade
Display 20 - 80% of accolade
Use no percentage offset override
<?accolade "acc1",1,20>Apply the accolade to this text...
<?accolade 1,80>
Syntax
<?accolade cntr_strm:n level:n? display_pcnt:n? fpcnt_offset:n? draw_mode:n? draw_acc:n? layer:n? r1:L?
cntr_strm
Control stream name: only needed in the start <?accolade> command. Must be enclosed in double quotes.
level
Level of accolade - a number between 0 and 254.
display_pcnt
Percentage of accolade to display: set the from value in the start <?accolade> command, and the to value in the end <?accolade> command. For example, the code below will display 15–25% of the accolade:
<?accolade "acc1",0,15>Text.....<?accolade 0,25>
fpcnt_offset
Override the control stream field percentage offsets: set the Top field value in the start <?accolade> command, and the Bottom field value in the end command.
draw_mode
The condition under which the accolade will be drawn:
0
Normal (default)
1
Only draw if a single line
2
Only draw if multiple lines
3
Only draw partial lines
4
Only draw complete lines
5
Only draw solitary complete lines
6
Only draw multiple complete lines
draw_acc
Where the accolade is drawn:
0
Normal: draw at end of accolade, mid text (default)
1
Behind text, on top of all rules and backgrounds
2
Behind segmented rules, on top of segmented backgrounds
3
Behind segmented rules and backgrounds, on top of whole ones
4
Behind whole rules, on top of whole backgrounds
5
Behind all text and all rules and backgrounds
6
On top of all text and all rules and backgrounds
layer
Layer of accolade - a number between 0 and 22 (default 0)
r1
Include this option to prevent the accolade from repeating when flowing from one column to the next in a slim table or block. When this option is used the accolade will only repeat when changing frame or frame column.
For example:
<?accolade "acc1",r1>
For more information, see Technote 0097: Enhanced Accolades.