aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tbl.7
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-11-25 21:17:34 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-11-25 21:17:34 +0000
commitc262512cda526a647bc53812a01794100b385be9 (patch)
tree8a04143cfc733ffea91a3343b24547e43eb83308 /tbl.7
parente30a05d61589276c015f65e4ac75df70040c3808 (diff)
downloadmandoc-c262512cda526a647bc53812a01794100b385be9.tar.gz
mandoc-c262512cda526a647bc53812a01794100b385be9.tar.zst
mandoc-c262512cda526a647bc53812a01794100b385be9.zip
Let cells containing nothing but \^ extend the cell above.
Missing feature reported by Pali dot Rohar at gmail dot com.
Diffstat (limited to 'tbl.7')
-rw-r--r--tbl.722
1 files changed, 14 insertions, 8 deletions
diff --git a/tbl.7 b/tbl.7
index 3883b409..6c1df147 100644
--- a/tbl.7
+++ b/tbl.7
@@ -1,7 +1,7 @@
-.\" $Id: tbl.7,v 1.29 2017/10/17 23:19:12 schwarze Exp $
+.\" $Id: tbl.7,v 1.30 2018/11/25 21:17:34 schwarze Exp $
.\"
.\" Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
-.\" Copyright (c) 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
+.\" Copyright (c) 2014, 2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 17 2017 $
+.Dd $Mdocdate: November 25 2018 $
.Dt TBL 7
.Os
.Sh NAME
@@ -147,9 +147,9 @@ The combined cell as a whole consumes only one cell
of the corresponding data line.
.It Cm a
Left-justify a string and pad with one space.
-.It Cm ^
+.It Cm \(ha
Vertically span rows from the last
-.Pf non- Cm ^
+.Pf non- Cm \(ha
layout cell.
It is an error to invoke a vertical span on the first layout line.
Unlike a horizontal span, a vertical span consumes a data cell
@@ -231,7 +231,13 @@ Each data line consists of one or more data cells, delimited by
.Cm tab
characters.
.Pp
-If a data cells contains only the single character
+If a data cell contains only the two bytes
+.Ql \e\(ha ,
+the cell above spans to this row, as if the layout specification
+of this cell were
+.Cm \(ha .
+.Pp
+If a data cell contains only the single character
.Ql _
or
.Ql = ,
@@ -332,8 +338,8 @@ Spans and skipping width calculations:
\&.TS
box tab(:);
lz s | rt
-lt| cb| ^
-^ | rz s.
+lt| cb| \(ha
+\(ha | rz s.
left:r
l:center:
:right