groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leaders


From: Tadziu Hoffmann
Subject: Re: Leaders
Date: Wed, 6 Sep 2023 13:01:53 +0200
User-agent: Mutt/1.11.4 (2019-03-13)

> The example was enormously helpful.  There's light at the end
> of my TOC multi-line entry tunnel.

Happy to be of help!  Note that the example was simplified to
illustrate the principle, and would need some (minor) aesthetic
tweaks for practical application.  Most importantly, you will
want the leaders of different TOC entries to align vertically:

  .de PG
  \\a\\t\\$1
  .br
  .di
  .in
  .ll
  .nf
  .ta \w'\\$1'u%\w'\(LC'u+\\n(.lu-\w'\\$1'u-\w'\(LC'u \\n(.luR
  .XX
  ..

(and if you're using different fonts/sizes, making sure the
leaders are always the same width).


Attachment: leaders.pdf
Description: Adobe PDF document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]