[texhax] colortbl pdf problem
George Kalpakis
kalpakis at gmail.com
Fri Jan 30 12:14:20 CET 2009
I am converting it through winedt with the dvi2pdf button
this is an example code
\newcommand{\rhline}%
{\arrayrulecolor[cmyk]{1 0 0 0}\hline}
\begin{document}
\begin{tabular}%
{|>{\columncolor{blue}\color{white}\bfseries}lr|}
\rhline
\rowcolor[gray]{0.8}
\color{black} Day & \bfseries Attendance\\[2pt]\rhline
Monday & 57 \\
Tuesday & 11 \\
Wednesday & 96 \\
\rhline
Thursday & 122 \\
Friday & 210 \\
Saturday & 198 \\
Sunday & 40 \\ \rhline
\cellcolor[gray]{0.8}\color{black} Total & 724 \\
\rhline
\end{tabular}
\end{document}
2009/1/30 Lars Madsen <daleif at imf.au.dk>
> George Kalpakis wrote:
>
>> I would be gratefull if anybody could help me with my problem.
>>
>> I am using the colortbl package in order to add colors to the table of my
>> book. Despite the fact that when I produce the dvi file everything looks
>> fine
>> when I convert it to pdf most of the hline of the tabular enviroment do
>> not
>> appear right. I am using miktex 2.7 and winedt. Does anybody know how I
>> can
>> resolve
>> it?
>>
>> Thanks
>>
>>
>>
> how do you convert to pdf?
> and could you provide a minimal example?
>
>
> --
>
> /daleif
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texhax/attachments/20090130/109fba7e/attachment.html
More information about the texhax
mailing list