Graphics, Figures & TablesIssue with Coloring Tables

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
nfarnoud
Posts: 5
Joined: Thu Jan 29, 2009 9:47 pm

Issue with Coloring Tables

Post by nfarnoud »

Hi All,
I have a document with a few tables, one of which requires colored rows. But when I use \usepackage{colortbl} in preamble to enable coloring rows, the other tables that have variable column width (p{width}) are not shown properly (the tables with p{width} go outside the margin). The margin problem seems to be resolved by eliminating '\usepackage{colortbl}' from preamble. But then I can not have colored rows!
Can somebody help me out to resolve this issue please?

Many Thanks
nfarnoud

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: Issue with Coloring Tables

Post by josephwright »

Post an example LaTeX document. There are a lot of low-level table things that could be going on.
Joseph Wright
Post Reply