Search Locate Previous Next Contents

nltBorders

Define cell borders within table.

nltBorders 5 4½20†0 0 0 0,0 0 0 0,0 1111 0 0

Argument gives borders LRBT in points as an integer matrix. For example 2040 is l=2 b=4 points (maximum line width 9 pt). This will be reshaped to match the shape of your data. The example will box the second column of rows 3, 8 and so on with a 1-point line all around. The box is drawn entirely inside the cell, so if you box 2 adjacent cells the line on the boundary will appear twice as heavy as the line-weight you give. A likely value is 10 which could be used to underline totals in an otherwise plain grid.

A likely future extension is to treat this as an index to a 9-element vector of line widths (default setting 1-9) so that border weights may be completely customised. Currently the border style is always ‘solid’ and the colour is black.

Note that heavy use of this capability will greatly add to rendering times both in print-preview and on paper. Use gridlines and rules where possible.


Continue to: nltCaption – set table caption
© Copyright Causeway Graphical Systems Ltd 2001