Macro Language Reference > PIs > Text > <?ek>
  
<?ek>
Description
This command can be used to bracket a section of text that must stay together in one segment. The begin-keep command, <?keep> (or <?bk>), is placed at the start of the text block that needs to be kept together. The end-keep command, <?endkeep> (or <?ek>), appears at the end of the text block to signify that normal processing should recommence.
 
Example 453. Line justify with keeps
The default break with this command is the soft return: this only breaks to the next line, however, which would leave the current line unjustified. To justify the line, use:
<?bk [?up][?tjl=1000]$262#[?down]>
 
Example 454. Use show strings with keeps to make text fit
Another use for the show strings parameter might be to change the text attributes to make the text fit:
<?bk [?up][?tw=.7h]>....<?ek [?down]>
Syntax
<?ek show:sw?>
<?ek>
show
The <?bk> and <?ek> commands can also take an optional show string. If it is impossible for the text to be kept together in a segment, the specified show string will be processed. There is no default show string for the end-keep command.
Related Links