Figure 24. Example1 With No :y-spacing

Figure 24. shows the result of evaluating the
example1
function call without providing the
:y-spacing
and
:x-spacing
keywords. The defaults for these keywords makes tables whose elements are characters look reasonable.

You can easily vary the number of columns, and the spacing between rows or between columns. In the following example, we provide keyword arguments that change the appearance of the table.

Evaluating this form

(example1 *alphabet* :stream *my-window*

:n-columns 10 :x-spacing 10

:y-spacing 10)

shows this table:

A B C D E F G H I J

K L M N O P Q R S T

U V W X Y Z

Figure 25. Example1 With :y-spacing

(Note that this example can be done with
formatting-item-list
as shown in
example4
.)