[vox-tech] How to Generate Colorized Table Slides for Presentation?

Bill Kendrick vox-tech@lists.lugod.org
Thu, 4 Mar 2004 17:25:36 -0800


On Thu, Mar 04, 2004 at 01:46:57PM -0500, Mike Simons wrote:
> Hi all,
> 
> I'm looking for a way to:
>   generate good looking Tables,
>   from a Text file source,
>   which allows easy Colorization of rows, columns, or single elements
>   that outputs a common image format (PNG) or PDF.

One idea is to use plain HTML tables with 'bgcolor' tags for
certain rows and/or columns.

For example:

  <table border=1 cellspacing=0 cellpadding-1>

  <tr bgcolor="#DDDDDD"> <!-- grey row -->
    <th rowspan=2>Run ID</th>
    <th colspan=2>Before</th>  <!-- cells spanning two columns ... -->
    <th colspan=2>After</th>
  </tr>
  <tr bgcolor="#DDDDDD">
    <th>Megs</th>
    <th>Time</th>
    <th>Megs</th>
    <th>Time</th>
  </tr>

and then your rows of data:

  <tr>
    <td>123</td>

    <td>4.56</td>
    <td>63.20</td>

    <td>0.52</td>
    <td bgcolor="#FF0000">12.45</td>  <!-- highlight in obnoxious red -->
  </tr>

...etc.


I agree, though, that LaTeX is probably the way to go.

But HTML might work in a pinch...


-bill!