Graphics, Figures & Tablesborder missing with \columncolor in table

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
ytsage
Posts: 2
Joined: Wed Jul 01, 2009 10:17 pm

border missing with \columncolor in table

Post by ytsage »

Hi,

When i generate the following e.g. for table, i get the colored cell with no borders; not sure why...

Appreciate any help.

\documentclass{article}
\usepackage[table]{xcolor}
\begin{document}
\begin{tabular}{|c|c|c|c|}
\hline
rc1&rc2&rc3&rc4 \\ \hline
rc2&\multicolumn{1}{|>{\columncolor[rgb]{0.721569,0.52549, 0.0431373}}c|}{color fill}&rc2&rc2 \\ \hline
\multicolumn{1}{|>{\columncolor[rgb]{0.721569,0.52549, 0.0431373}}c|}{color fill}&rc3&rc3&rc3 \\ \hline
\end{tabular}
\end{document}
Attachments
LaTeX1.pdf
(5.87 KiB) Downloaded 330 times

Recommended reading 2024:

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

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

ytsage
Posts: 2
Joined: Wed Jul 01, 2009 10:17 pm

Re: border missing with \columncolor in table

Post by ytsage »

using TeXnicCenter and tried the following:-
a. LaTeX->PS file shows no issue with table color
b. LaTeX->PS->PDF cell border lines are overwritten by the color.

Any idea what this could be?

Thanks
Post Reply