2 Aug 2005 17:39
Re: any solution to the problem?
Indridi H. Indridason <ihi <at> hi.is>
2005-08-02 15:39:17 GMT
2005-08-02 15:39:17 GMT
Hi,
the solution is to use \hhline {hhline package}. Below is your table
with some fixes - you may need to add some fixes (e.g. width of lines)
but this should give you the general idea. You can find some examples
here: http://www.tug.org.in/tutorial/chap08-scr.pdf
\begin{table} [h!]
\begin{tabular}{cccc}
\cline{3-4}
& & \multicolumn{2}{|c|}{\textbf{Y AXIS}} \\\hhline{~~--}
% \hline
% \cline{3-4}
& &
\multicolumn{1}{|>{\columncolor[gray]{0.8}}c|}{\textbf{Yes}} &
\multicolumn{1}{|>{\columncolor[gray]{0.8}}c|}{\textbf{No}}
\\\hhline{----}
% \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}
(Continue reading)
RSS Feed