[texhax] colortbl pdf problem
Lars Madsen
daleif at imf.au.dk
Fri Jan 30 12:48:29 CET 2009
George Kalpakis wrote:
> I am converting it through winedt with the dvi2pdf button
>
well there are at least two ways of getting from dvi to pdf, so we might
need to know what exactly that button does (dvipdfm(x) or dvips + ps2pdf)
> 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
>>
>
--
/daleif
More information about the texhax
mailing list