[racket-dev] scribble tables with centered cells

From: Stephen Chang (stchang at ccs.neu.edu)
Date: Tue Jun 15 11:24:23 EDT 2010

This seems to do the trick:

(table 3
       (list (t "Header1") (t "Header2") (t "Header3")
             (t "11") (t "17") (t "29"))
       cc-superimpose
       cc-superimpose
       gap-size
       gap-size)



On Tue, Jun 15, 2010 at 11:01 AM, Sam Tobin-Hochstadt <samth at ccs.neu.edu>
wrote:
> I'd like to produce, with scribble, output similar to what this latex
produces:
>
> \begin{tabular}{|c|c|c|}
> Header1 & Header2 & Header3
> 11 & 17 & 29
> \end{tabular}
>
> However, I can't seem to figure out how.  First, how can I make the
> elements centered?  There doesn't seem to be a way to control the
> generated column attributes - putting the 'center style in the
> `table-columns' style property just wraps the *entries* in \center{},
> which produces bizarre latex errors instead.  Second, how can I insert
> the dividers?
> --
> sam th
> samth at ccs.neu.edu
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20100615/6aea22d8/attachment.html>

Posted on the dev mailing list.