Search Locate Previous Next Contents

nltFillchar – set fill character

It is sometimes helpful to fill a cell from the last character to the cell boundary. This can be used to provide ‘dot leaders’ in tables of contents or to make it easy to follow across the lines in a wide table. You can provide a vector of fill characters which will be used in turn for each column in the table.

nltFillchar '*'
nltSet ('grid' 0)('align' 'le' 'ri')('fillchar' '.')
nltList TOC
Chapter 1 ........... 2
Next Section ........ 3
Summary ............ 99

This provides a simple way to format a table of contents with dot leaders.



Continue to: nltFit – set ‘fit to page’ parameters
© Copyright Causeway Graphical Systems Ltd 2001