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.<br><br>
<div class="gmail_quote">2009/1/30 Lars Madsen <span dir="ltr"><<a href="mailto:daleif@imf.au.dk" target="_blank">daleif@imf.au.dk</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>George Kalpakis wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am converting it through winedt with the dvi2pdf button<br>
<br>
</blockquote>
<br></div>
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)<div><div></div><div><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
this is an example code<br>
<br>
\newcommand{\rhline}%<br>
{\arrayrulecolor[cmyk]{1 0 0 0}\hline}<br>
<br>
\begin{document}<br>
\begin{tabular}%<br>
{|>{\columncolor{blue}\color{white}\bfseries}lr|}<br>
\rhline<br>
\rowcolor[gray]{0.8}<br>
\color{black} Day & \bfseries Attendance\\[2pt]\rhline<br>
Monday & 57 \\<br>
Tuesday & 11 \\<br>
Wednesday & 96 \\<br>
\rhline<br>
Thursday & 122 \\<br>
Friday & 210 \\<br>
Saturday & 198 \\<br>
Sunday & 40 \\ \rhline<br>
\cellcolor[gray]{0.8}\color{black} Total & 724 \\<br>
\rhline<br>
\end{tabular}<br>
\end{document}<br>
<br>
2009/1/30 Lars Madsen <<a href="mailto:daleif@imf.au.dk" target="_blank">daleif@imf.au.dk</a>><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
George Kalpakis wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I would be gratefull if anybody could help me with my problem.<br>
<br>
I am using the colortbl package in order to add colors to the table of my<br>
book. Despite the fact that when I produce the dvi file everything looks<br>
fine<br>
when I convert it to pdf most of the hline of the tabular enviroment do<br>
not<br>
appear right. I am using miktex 2.7 and winedt. Does anybody know how I<br>
can<br>
resolve<br>
it?<br>
<br>
Thanks<br>
<br>
<br>
<br>
</blockquote>
how do you convert to pdf?<br>
and could you provide a minimal example?<br>
<br>
<br>
--<br>
<br>
/daleif<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
<br></div></div><font color="#888888">
-- <br>
<br>
/daleif<br>
</font></blockquote></div><br>