[texhax] colortbl pdf problem

George Kalpakis kalpakis at gmail.com
Sat Jan 31 12:47:24 CET 2009


I have tried both ways as well as a third one the pdflatex. I tried it not
only through winedt but also through command line. The best result was
through dvips+ps2pdf where the hlines appear but not on all the tables.

2009/1/30 Lars Madsen <daleif at imf.au.dk>

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texhax/attachments/20090131/d1c5428d/attachment.html 


More information about the texhax mailing list