summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwl <wl>2011-07-12 18:11:58 +0000
committerwl <wl>2011-07-12 18:11:58 +0000
commit3df90f649357af2674af74cc14bdbfe633102379 (patch)
tree5f49a8f1ac326edf062a5dfc0b06eb8d2024d153
parentbd05661fc1383f4f7e34deec55124d321354523e (diff)
downloadgroff-3df90f649357af2674af74cc14bdbfe633102379.tar.gz
* src/preproc/tbl/tbl.man: Mention trick to get abutting rules.
-rw-r--r--ChangeLog5
-rw-r--r--src/preproc/tbl/tbl.man42
2 files changed, 47 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b2a7641b..ac43bf8b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-12 Ted Harding <ted.harding@wlandres.net>
+ Werner LEMBERG <wl@gnu.org>
+
+ * src/preproc/tbl/tbl.man: Mention trick to get abutting rules.
+
2011-07-03 Ben Laurie <benl@FreeBSD.org>
Fix clang warnings.
diff --git a/src/preproc/tbl/tbl.man b/src/preproc/tbl/tbl.man
index 50e6b1ed..cd4b6e70 100644
--- a/src/preproc/tbl/tbl.man
+++ b/src/preproc/tbl/tbl.man
@@ -814,6 +814,48 @@ this:
.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,