groff-commit
[Top][All Lists]
Advanced

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

[groff] 10/16: doc/groff.texi.in: Improve tab/leader example.


From: G. Branden Robinson
Subject: [groff] 10/16: doc/groff.texi.in: Improve tab/leader example.
Date: Sat, 16 Mar 2024 01:48:52 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit e7201b6a194f883e5b2ccf448e8f5d02255b118b
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Mar 15 23:29:16 2024 -0500

    doc/groff.texi.in: Improve tab/leader example.
    
    Make it more illustrative of (1) the point about the tab stops being
    measured from the drawing position corresponding to the beginning of the
    input line and (2) the fact that a input line break (when filling) is
    equivalent to a space.
    
    Also drop spaces from input.  They could be misleading.
---
 doc/groff.texi.in | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/doc/groff.texi.in b/doc/groff.texi.in
index 06dc0a036..0eead3534 100644
--- a/doc/groff.texi.in
+++ b/doc/groff.texi.in
@@ -5397,10 +5397,13 @@ arrows @arrow{} and bullets @bullet{} to indicate input 
tabs and
 leaders, respectively.
 
 @Example
+A@arrow{}B@arrow{}C@bullet{}D@arrow{}@bullet{}E
+.br
 1
-@arrow{} 2 @arrow{} 3 @bullet{} 4
-@arrow{} @bullet{} 5
-@result{} 1         2       3.......4         ........5
+@arrow{}2@arrow{}3@bullet{}4
+@arrow{}@bullet{} 5
+    @result{} A       B       C.......D       ........E
+    @result{} 1         2       3       4                 5
 @endExample
 
 Tabs and leaders lend themselves to table construction.@footnote{``Tab''



reply via email to

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