Document 476 The LaTeX colortbl packageVersion: 3.x, 4.x, 5.x - Scientific WorkPlace & Scientific Word The package produces colored background panels and rules for specified columns or rows of a table or array. Colortbl implements LaTeX support for color when the active typeset output driver can produce colored text. You can add color to a row in a table by inserting a package command in the table. Adding color to a column is more complex: you must enter the colortbl package commands, along with commands for the entire tabular environment, in an encapsulated TeX field. You indicate the size of each color panel and the corresponding color you want with commands placed at the start of the tabular environment. The basic command syntax is as follows: \columncolor[w]{x}[y][z] or \rowcolor[w]{x}[y][z] where
See the package documentation for instructions and for additional examples of package effects. How to add color to a table row
How to add color to a table column
Many driver options are available through the Options and Packages command on the Typeset menu. The package is installed in the TCITeX/TeX/LaTeX/contrib/carlisle directory. It should work successfully with other packages that have syntax compatible to that of the array package, such as longtable and dcolumn. Last revised 02/07/06 This document was created with Scientific WorkPlace. |