[BACK]Return to span.in CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / tbl / layout

File: [cvsweb.bsd.lv] / mandoc / regress / tbl / layout / span.in (download)

Revision 1.6, Tue Sep 7 14:56:37 2021 UTC (2 years, 8 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6, HEAD
Changes since 1.5: +11 -2 lines

Correctly calculate required column widths for tables containing
cells that horizontally span columns which contains "n" (number)
formatted cells on other rows.  This requires updating total column
widths from "n" formatted cells before starting width distribution
from the spanning cells to their constituent columns.

.\" $OpenBSD: span.in,v 1.6 2021/09/07 14:50:56 schwarze Exp $
.TH TBL-LAYOUT-SPAN 1 "September 7, 2021"
.SH NAME
tbl-layout-span \- alignment of spanned cells
.SH DESCRIPTION
normal text
.TS
box tab(:);
L L L L
L S L L
L L S L
L L L S.
a:b:c:d
s:c:d
a:s:d
a:b:s
.TE
.sp
.TS
box tab(:);
C C C C
C S C C
C C S C
C C C S.
a:b:c:d
s:c:d
a:s:d
a:b:s
.TE
.sp
.TS
box tab(:);
R R R R
R S R R
R R S R
R R R S.
a:b:c:d
s:c:d
a:s:d
a:b:s
.TE
.sp
.TS
allbox tab(:);
L L L L L
C S S C S
R R R R R.
a:b:c:d:e
s1:s2
a:b:c:d:e
.TE
.sp
.TS
allbox tab(:);
L S
L N.
x***nnnnn
a:0.01
b:10.0
.TE
.sp
leaked tab settings:
.br
a	b	c	d	e	f