[texhax] using multirow and rowcolor together
Oleg Parashchenko
olpa at xmlhack.ru
Mon Nov 22 14:52:17 CET 2010
Hello Rob,
On Fri, 19 Nov 2010 20:23:32 -0800
Rob Messer <rmesser at intellisurvey.com> wrote:
> I'm trying to use multirow in a colored table, and I'm running into a
> problem ...I tried tabular, tabularx, longtable, and supertabular.
Some time ago I wrote and released a new package "cals", which natively
supports basic, but not so easy with the standard packages, table
formatting. Your test table can be coded as:
\begin{calstable}
\alignC
\makeatletter
\def\cals at framecs@width{.4pt }
\def\cals at framers@width{.4pt }
\def\cals at bgcolor{lightgray}
\brow
\nullcell{lrt}
\nullcell{lrt}
\nullcell{ltb}
\nullcell{rtb}\spancontent{Gender}
\erow
\brow
\nullcell{lrb}\alignL\spancontent{\vfil Results}
\nullcell{lrb}\alignC\spancontent{\vfil All records}
\cell{Male}
\cell{Female}
\erow
\def\cals at bgcolor{}
\brow
\alignL\cell{test}\alignC
\cell{75\%}
\cell{80\%}
\cell{70\%}
\erow
\end{calstable}
>
> Rob
>
>
--
Oleg Parashchenko olpa@ http://uucode.com/
http://uucode.com/blog/ XML, TeX, Python, Mac, Chess
-------------- next part --------------
A non-text attachment was scrubbed...
Name: table.pdf
Type: application/pdf
Size: 15896 bytes
Desc: not available
URL: <http://tug.org/pipermail/texhax/attachments/20101122/5e342702/attachment.pdf>
More information about the texhax
mailing list