From b50205610465a38a05b9dc77b230deb478b61c8e Mon Sep 17 00:00:00 2001 From: Mauro Bieg Date: Thu, 10 May 2018 06:05:23 +0200 Subject: MANUAL: clarify pipe table width calculation (#4630) closes #4520 --- MANUAL.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/MANUAL.txt b/MANUAL.txt index 7a9871d8f..a363a20a7 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -2936,10 +2936,12 @@ legal (though ugly) pipe table: The cells of pipe tables cannot contain block elements like paragraphs and lists, and cannot span multiple lines. If a pipe table contains a row whose printable content is wider than the column width (see -`--columns`), then the cell contents will wrap, with the -relative cell widths determined by the widths of the separator -lines. (In this case, the table will take up the full text -width.) If no lines are wider than column width, then +`--columns`), then the table will take up the full text width and +the cell contents will wrap, with the relative cell widths determined +by the number of dashes in the line separating the table header from +the table body. (For example `---|-` would make the first column 3/4 +and the second column 1/4 of the full text width.) +On the other hand, if no lines are wider than column width, then cell contents will not be wrapped, and the cells will be sized to their contents. -- cgit v1.2.3