Ben
2003-09-11 18:18:38 UTC
Hi all,
I have a problem with a table the uses both \multirow and
\backslashbox. It seems to happen only if the argument of the
\multirow is not 2.
Compiling the following source to a DVI output will produce a
\backslash-ed line that begins lower than it should and end higher
than it should, thus, not covering the whole cell.
Reading previous threads, I've learnt that both packages have
their share of problems. Is there a workaround? another package?
or is it simply a misuse on my behalf?
Thanks in advance, Ben
\documentclass{article}
\usepackage{slashbox}
\usepackage{multirow}
\begin{document}
\begin{tabular}{|c|c|c|c|c|c|} \hline
\multirow{3}*{\backslashbox{a}{b}} & \multirow{3}*{c} &
\multicolumn{4}{|c|}{d} \\ \cline{3-6}
& & \multicolumn{2}{|c|}{e} & \multicolumn{2}{|c|}{f} \\
\cline{3-6}
& & g & h & i & j \\ \hline
k & & & & & \\ \hline
l & & & & & \\ \hline
\end{tabular}\\
\end{document}
(NO SPAM - omit the number in my email)
I have a problem with a table the uses both \multirow and
\backslashbox. It seems to happen only if the argument of the
\multirow is not 2.
Compiling the following source to a DVI output will produce a
\backslash-ed line that begins lower than it should and end higher
than it should, thus, not covering the whole cell.
Reading previous threads, I've learnt that both packages have
their share of problems. Is there a workaround? another package?
or is it simply a misuse on my behalf?
Thanks in advance, Ben
\documentclass{article}
\usepackage{slashbox}
\usepackage{multirow}
\begin{document}
\begin{tabular}{|c|c|c|c|c|c|} \hline
\multirow{3}*{\backslashbox{a}{b}} & \multirow{3}*{c} &
\multicolumn{4}{|c|}{d} \\ \cline{3-6}
& & \multicolumn{2}{|c|}{e} & \multicolumn{2}{|c|}{f} \\
\cline{3-6}
& & g & h & i & j \\ \hline
k & & & & & \\ \hline
l & & & & & \\ \hline
\end{tabular}\\
\end{document}
(NO SPAM - omit the number in my email)