Macro Language Reference > PIs > Text > <?keep>
  
<?keep>
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 469. 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]>
Syntax
<?keep show:sw?>
<?keep>
show
This command 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. As a default, the begin-keep show string is $262# (to insert a soft return), written as <?bk $262#>). If the text in the block can be kept together, the show string will be ignored.
Related Links