4.8 Formatting Commands ↑
4.8.8 End a Segment
The endsegment command ends a segment of some sort that was previously begun by a segment command.
The command would be coded as follows.
{:end-segment}
Note that the command takes no parameters, and will simply close whatever segment element was last started.