[plt-scheme] scribbling - tables, definition lists

From: Geoffrey S. Knauth (geoff at knauth.org)
Date: Sun Feb 10 18:59:39 EST 2008

On Feb 10, 2008, at 17:44, Matthias Felleisen wrote:
> See struct.ss. Use @make-table with lists and flows, like this:
> @make-table['center]{
>     @list[@list[@make-flow{@list[@t{hello} @t{world} @t{bye} @t{boy}]}
>                     @make-flow{@list[@t{1}      @t{2}         
> @t{3}    @t{4}]}]]}
> OR, which is what I was about to do: define a function in your  
> document (which is a program after all) that consumes a bunch of  
> stuff and arranges it for you
> @(define (table . stuff) ...)

Thanks.  I also found exactly what I need in scribblings/guide/io.scrbl:

@define[(twocolumn a b)
         (make-table #f
          (list (list (make-flow (list a))
                      (make-flow (list (make-paragraph (list (hspace  
                      (make-flow (list b)))))]

Posted on the users mailing list.