tabularx und cline command
Verfasst: So 27. Jun 2010, 17:25
hallo, bei folgendem code wird der command cline ignoriert und die horizontale linie nicht gezeichnet. Wie kann man zudem die Schriftgröße für Tabelleninhalte ändern? \small wird ignoriert...
\begin{table}
\begin{mytabx}{\textwidth}{{}*{3}{lXX}{}} \firsthline
\rowcolor{mylightgray} Measure && Complexity \\\hline
\rowcolor{mylightgray} aaa && bbb \\
\multicolumn{1}{>{\columncolor {mylightgray}}r}{Pros} &\multicolumn{2}{>{\columncolor {mylightgray}}l}{aaaaaa} \\\cline{2-3}
\multicolumn{1}{>{\columncolor {mylightgray}}r}{Cons} &\multicolumn{2}{>{\columncolor {mylightgray}}l}{bbbbbbb} \\
\end{mytabx}
\end{table}
danke!\newenvironment{mytabx}[2]{%
\setlength{\arrayrulewidth}{0.6pt}
\renewcommand{\arraystretch}{1}
\small
\tabularx{#1}{#2}
}{%
\endtabularx
\normalsize
}