• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 5. Tabular Material > 5.5. Color in tables

5.5. Color in tables

The LaTeX color commands provided by the color package are modeled on the font commands and may be used freely within tables. In particular, it is often convenient to use the array package preamble option > in order to apply a color to a whole column.

5-5-1
Image

It is perhaps more common to use color as a background to highlight certain rows or columns. In this case using the \fcolorbox command from the color package does not give the desired result, as typically the background should cover the full extent of the table cell. The colortbl package (by David Carlisle) provides several commands to provide colored backgrounds and rules in tables.

5-5-2
Image

PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint