From: Bradley M. <ma...@cs...> - 2005-07-27 20:18:46
|
Hello, this is a repost because no one has been able to solve it yet. It appears the problem may be PdfTex (since Corentin Fontaine was able to get the correct result, quote "I use myself TeXnicCenter to run Miktex and I first tried with LaTeX =3D> DVI which returns no problems. But LaTeX =3D> PDF does indeed erase the horizontal lines...") So, I'm trying to make a table with several cells colored gray. I also want to control where column and horizontal lines are added. The code below makes the correct color show up, but it overwrights where the lines are supposed to be. Does anyone know how to make sure the lines typeset over the color? \begin{table} [h!] \begin{tabular}{cccc} \cline{3-4} & & \multicolumn{2}{|c|}{\textbf{Y AXIS}} \\ % \hline \cline{3-4} & & \multicolumn{1}{|>{\columncolor[gray]{0.8}}c|}{\textbf{Yes}} & \multicolumn{1}{|>{\columncolor[gray]{0.8}}c|}{\textbf{No}} \\ % \hline \cline{1-4} \multicolumn{1}{|c|}{\textbf{X}} & \multicolumn{1}{|>{\columncolor[gray]{0.8}}c|}{\textbf{Good}} & \multicolumn{1}{|c|}{\emph{a}} & \multicolumn{1}{|c|}{\emph{b}} \\ \cline{2-4} \multicolumn{1}{|c|}{\textbf{AXIS}} & \multicolumn{1}{|>{\columncolor[gray]{0.8}}c|}{\textbf{Bad}} & \multicolumn{1}{|c|}{\emph{c}} & \multicolumn{1}{|c|}{\emph{d}} \\ \cline{1-4} % \hline \end{tabular} \end{table} thanks alot, Brad |