Contents Up << >>

tabular:2

Tabular environment: an attempt is made to output something reasonable in RTF and HTML formats, although currently only simple tables will work. The first argument specifies the column formatting. a pipe symbol (|) denotes a vertical border, one of l, r, c signifies a normal column of default width, and p followed by a dimension specifies a column of given width. It is recommended that the p is used since Tex2RTF cannot deduce a column width in the same way that LaTeX can.

Horizontal rules are achieved with \hline; two together signify a double rule. Note that in HTML, all rows and the table itself are bordered automatically.

Use the Tex2RTF \row and \ruledrow commands for best effect.

For two-column tables that work in WinHelp files, use \twocollist instead.

Example:

    \begin{tabular}{|l|p{8.5cm}|}\hline
    \row{{\bf A.I.}&{\bf Simulation}}\hline\hline
    \row{rules&constraints/methods}
    \row{planning&design of experiments}
    \row{diagnosis&analysis of results}
    \ruledrow{learning&detection of connections}
    \end{tabular}
This produces:

A.I.Simulation
rulesconstraints/methods
planningdesign of experiments
diagnosisanalysis of results
learningdetection of connections