[cl-typesetting-devel] Individual table cell borders enhancement

Dmitri Ivanov divanov at aha.ru
Sat Nov 6 06:12:20 UTC 2004


Hello,

The code attached facilitates entering individual borders for each table
cell separately.

The border slot should be given a quad specifying thickness values. The cell
border is being drawn between table border and cell padding. Borders of a
cell count for its external height (unless it is limited by the height of
the containing row) and tighten the width of its content box. Hence, they
participate in the calculation of total row or table height, but do not
increase column width.

General border drawing was also improved by taking into account the fact
that lines go through the middle of the points.

The sample code is included at the bottom of the tables.lisp file inside the
#| |# comment.

Please test and enjoy.
--
Sincerely,
Dmitri Ivanov
lisp.ystok.ru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tables.zip
Type: application/x-zip-compressed
Size: 5256 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cl-typesetting-devel/attachments/20041106/97f2a2d1/attachment.bin>


More information about the cl-typesetting-devel mailing list