Skip to content

Commit b4d6f05

Browse files
committed
add table example
1 parent 0e90d64 commit b4d6f05

File tree

1 file changed

+24
-1
lines changed
  • pkgs/pict-pkgs/pict-doc/pict/scribblings

1 file changed

+24
-1
lines changed

pkgs/pict-pkgs/pict-doc/pict/scribblings/pict.scrbl

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,30 @@ list items that were expected. The @racket[col-aligns] and
669669
@racket[row-aligns] procedures are used to superimpose all of the
670670
cells in a column or row; this superimposition determines the total
671671
width or height of the column or row, and also determines the
672-
horizontal or vertical placement of each cell in the column or row.}
672+
horizontal or vertical placement of each cell in the column or row.
673+
674+
@defexamples[#:eval
675+
ss-eval
676+
(table 4
677+
(map (λ (x) (text (format "~a" x)))
678+
(list 1 2 3 4
679+
5 6 7 8
680+
9000 10 11 12))
681+
cc-superimpose
682+
cc-superimpose
683+
10
684+
10)
685+
686+
(table 4
687+
(map (λ (x) (text (format "~a" x)))
688+
(list 1 2 3 4
689+
5 6 7 8
690+
9000 10 11 12))
691+
rc-superimpose
692+
cc-superimpose
693+
10
694+
10)]
695+
}
673696

674697
@; ------------------------------------------------------------------------
675698

0 commit comments

Comments
 (0)