op.col

Command/Output Processor: Commands, Releases: AP

Formats text in colums.

Syntax

.col number text {.col number+1 text} {...}

Description

uses the column headings and spacing specified with the last '.columns set' or '.variable columns' command to determine the position of the specified column number.

If the column number is less than the previous column number, the columns are printed and a new paragraph begins.

A maximum of seven columns are available.

Example

01 .columns set Name,10,5;Phone,10,1
02 .col1 Fred .col2 555-1212
03 .col1 Barney .col2 555-2121

This produces the output:

name Phone
Fred 555-1212
Barney 555-2121

See Also

Command Name Type Description
op.xcolumns Command Turns off column heading, width and spacing.
op.commands Definition Summary of OP commands.
op Introductory Text formatting

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.