[Tugindia] Colored tables in LaTeX involving multirow

Venkatesh Choppella choppell at gmail.com
Tue Jan 31 15:38:08 CET 2006


Oops!  The attachment seems to have gotten lost in the transit.  Here
it is again.

Thanks.
- venkatesh


On 1/31/06, CV Radhakrishnan <cvr at tug.org> wrote:
> From: Venkatesh Choppella <choppell at gmail.com>
> To: tugindia at tug.org
> Date: Tue, 31 Jan 2006 16:56:59 +0530
> Subject: Colored tables in LaTeX involving multirow
>
> Are there a set of good examples of doing colored tables that have
> cells spanning multiple rows (multirow).  I can't seem to find any
> that cover this case.  [There's a small example in multirow.sty, but
> that doesn't work for the more general case I need.]
>
> More specifically, how do I generate a colored table with multirow and
> multicolumn with indicated background color (and text)
> entries drawn  schematically (in ascii) in the attached file.  [To
> view the table, set your font to a fixed width font, otherwise the
> table will appear jumbled.]
>
> Any help will be greatly appreciated.
>
> - venkatesh
> choppell at gmail.com
>
>
> _______________________________________________
> Home:        http://www.tug.org.in/
> TeX FAQ:     http://www.tex.ac.uk/faq
> unsubscribe: http://tug.org/mailman/listinfo/tugindia
>


--
Venkatesh Choppella
choppell at gmail.com
-------------- next part --------------
How do I generate a colored table with multirow and
multicolumn with indicated background color (and text)
entries indicated schematically below. 

(In general, the alternating blue-white rows below could be many.)
 ________________________________
|             |                  |
|  Yellow     |    Green         |
|_____________|__________________|
|             |         |        |
|             |  blue   |  blue  |
|             |_________|________|  
|             |         |        |
|             |  white  | white  |
|   Red       |_________|________|
|             |         |        |
|             |  blue   |  blue  |
|             |_________|________| 
|             |         |        |
|             |  white  | white  |
|_____________|_________|________|
|             |         |        |
|             |  blue   |  blue  |
|             |_________|________|  
|             |         |        |
|             |  white  | white  |
|   White     |_________|________|
|             |         |        |
|             |  blue   |  blue  |
|             |_________|________| 
|             |         |        |
|             |  white  | white  |
|_____________|_________|________|

I've tried the \multirow option, but it seems to work poorly
with colors.  It ends up hiding the text.  Any help will be
deeply appreciated.

Thanks.
- venkatesh


More information about the tugindia mailing list