CVSROOT:        /cvsroot/groff
Module name:    groff
Changes by:     Werner LEMBERG <wl>     11/07/12 18:11:59

Modified files:
        .              : ChangeLog 
        src/preproc/tbl: tbl.man 

Log message:
        * src/preproc/tbl/tbl.man: Mention trick to get abutting rules.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog?cvsroot=groff&r1=1.1301&r2=1.1302
http://cvs.savannah.gnu.org/viewcvs/groff/src/preproc/tbl/tbl.man?cvsroot=groff&r1=1.31&r2=1.32

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog,v
retrieving revision 1.1301
retrieving revision 1.1302
diff -u -b -r1.1301 -r1.1302
--- ChangeLog   3 Jul 2011 19:33:57 -0000       1.1301
+++ ChangeLog   12 Jul 2011 18:11:58 -0000      1.1302
@@ -1,3 +1,8 @@
+2011-07-12  Ted Harding  <[email protected]>
+           Werner LEMBERG  <[email protected]>
+
+       * src/preproc/tbl/tbl.man: Mention trick to get abutting rules.
+
 2011-07-03  Ben Laurie  <[email protected]>
 
        Fix clang warnings.

Index: src/preproc/tbl/tbl.man
===================================================================
RCS file: /cvsroot/groff/groff/src/preproc/tbl/tbl.man,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -b -r1.31 -r1.32
--- src/preproc/tbl/tbl.man     11 Apr 2011 07:28:25 -0000      1.31
+++ src/preproc/tbl/tbl.man     12 Jul 2011 18:11:59 -0000      1.32
@@ -814,6 +814,48 @@
 .EE
 .
 .
+.LP
+A leading and/or trailing `|' in a format line, such as
+.
+.IP
+.EX
+|l r|.
+.EE
+.
+.LP
+gives output which has a 1n\~space between the resulting
+bordering vertical rule and the content of the adjacent column,
+as in
+.
+.IP
+.EX
+\&.TS
+\&tab(#);
+\&|l r|.
+\&left column#right column
+\&.TE
+.EE
+.
+.LP
+If it is desired to have zero space (so that the rule touches
+the content), this can be achieved by introducing extra \[lq]dummy\[rq]
+columns, with no content and zero separation, before and/or after,
+as in
+.
+.IP
+.EX
+\&.TS
+\&tab(#);
+\&r0|l r0|l.
+\&#left column#right column#
+\&.TE
+.EE
+.
+.LP
+The resulting \[lq]dummy\[rq] columns are invisible and have zero width;
+note that such columns usually don't work with TTY devices.
+.
+.
 .SH REFERENCE
 Lesk, M.E.: "TBL \[en] A Program to Format Tables".
 For copyright reasons it cannot be included in the groff distribution,

_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to