Contents Up << >>

### twocollist:1

A Tex2RTF environment for specifying a table of two columns, often used in manuals and help files (for example, for listing commands and their meanings). The first column should be one line only, and the second can be an arbitrary number of paragraphs.

The reason that a normal tabular environment cannot be used is that WinHelp does not allow borders in table cells, so a different method must be employed if any of the rows are to be ruled. In LaTeX, a table is used to implement this environment. In RTF, indentation is used instead.

Use this environment in conjunction with `\twocolitem` and `\twocolitemruled`. To set the widths of the first and second column, use `\twocolwidtha` and `\twocolwidthb`.

Example:

        \htmlignore{\begin{twocollist}}
        \twocolitemruled{{\bf Command}}{{\bf Description}}
        \twocolitem{File}{The file menu is used to select various
        file-related operations, such as saving and loading.}
        \twocolitem{Edit}{The Edit menu is used for
        selection, copying, pasting, etc.}
        \end{twocollist}

This produces:

Command | Description
File | The file menu is used to select various file-related operations, such as saving and loading.
Edit | The Edit menu is used for selection, copying, pasting, etc.