From 223c4bc0db5406f00078e7d3e48a4eb06e30a93b Mon Sep 17 00:00:00 2001 From: Asumu Takikawa Date: Mon, 8 Oct 2012 23:10:52 -0400 Subject: [PATCH] Add examples for tabular in scribble reference original commit: 7826efcdf5985b3f2870eaaaed3ae160f3e3d310 --- collects/scribblings/scribble/base.scrbl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/collects/scribblings/scribble/base.scrbl b/collects/scribblings/scribble/base.scrbl index fef9ede8..e21c4b75 100644 --- a/collects/scribblings/scribble/base.scrbl +++ b/collects/scribblings/scribble/base.scrbl @@ -258,6 +258,20 @@ cell. A @racket['cont] must not appear as the first cell in a row. The @racket[style] argument is handled the same as @racket[para].} +Examples: +@codeblock[#:keep-lang-line? #f]|{ +#lang scribble/manual +@tabular[#:sep @hspace[1] + (list (list "soup" "gazpacho") + (list "soup" "tonjiru"))] + +@tabular[#:style 'boxed + (list (list @bold{recipe} @bold{vegetable}) + (list "caldo verde" "kale") + (list "kinpira gobō" "burdock") + (list "makizushi" 'cont))] +}| + @defproc[(verbatim [#:indent indent exact-nonnegative-integer? 0] [str string?] ...+) block?]{