groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 03/06: groff_ms(7): Reformat tables.


From: G. Branden Robinson
Subject: [groff] 03/06: groff_ms(7): Reformat tables.
Date: Sun, 14 Feb 2021 05:36:12 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 23cd1f89006c5683c8bfe5e0373eba46ea13bcd7
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Feb 14 10:02:09 2021 +1100

    groff_ms(7): Reformat tables.
    
    Instead of contriving an ad hoc sub-subsection heading with bold
    paragraph text and a relative inset for each table, center the same text
    and span the table width with it.  This makes the inset unnecessary and
    recovers precious horizontal space for the entries.
    
    Also ditch .ne requests, which are discouraged in groff man page style,
    which had fallen out of sync with the actual table lengths, and which
    are not reliable with boxed tables in nroff mode.
---
 tmac/groff_ms.7.man | 39 +++++++++++++--------------------------
 1 file changed, 13 insertions(+), 26 deletions(-)

diff --git a/tmac/groff_ms.7.man b/tmac/groff_ms.7.man
index 40c0cdf..1d55234 100644
--- a/tmac/groff_ms.7.man
+++ b/tmac/groff_ms.7.man
@@ -151,12 +151,11 @@ macro.
 .
 .
 .LP
-.ne 12
-.B Margin settings
-.RS
 .TS
+cb    s  s  s
 cb   cb cb cb
 lfCR lx  l  lfCR.
+Margin settings
 Register       Definition      Effective       Default
 _
 PO     Page offset (left margin)       next page       1i
@@ -166,15 +165,13 @@ HM        Top (header) margin     next page       1i
 FM     Bottom (footer) margin  next page       1i
 _
 .TE
-.RE
 .
 .LP
-.ne 12
-.B Text settings
-.RS
 .TS
+cb   s  s  s
 cb   cb cb cb
 lfCR lx l  lfCR.
+Text settings
 Register       Definition      Effective       Default
 _
 PS     Point size      next paragraph  10p
@@ -183,7 +180,6 @@ HY  Hyphenation mode        next paragraph  6
 \[rs]*[FAM]    Font family     next paragraph  T
 _
 .TE
-.RE
 .
 .
 .LP
@@ -194,12 +190,11 @@ request.
 .
 .
 .LP
-.ne 11
-.B Paragraph settings
-.RS
 .TS
+cb   s  s  s
 cb   cb cb cb
 lfCR lx l  lfCR.
+Paragraph settings
 Register       Definition      Effective       Default
 _
 PI     Initial indent  next paragraph  5n
@@ -208,33 +203,29 @@ QI        Quoted paragraph indent next paragraph  5n
 PORPHANS       # of initial lines kept next paragraph  1
 _
 .TE
-.RE
 .
 .
 .LP
-.ne 7
-.B Section heading settings
-.RS
 .TS
+cb   s  s  s
 cb   cb cb cb
 lfCR lx l  lfCR.
-String Definition      Effective       Default
+Section heading settings
+Register       Definition      Effective       Default
 _
 PSINCR Point size increment    next heading    1p
 GROWPS Size increase level limit       next heading    0
 HORPHANS       # of following lines kept       next heading    1
 _
 .TE
-.RE
 .
 .
 .LP
-.ne 7
-.B Footnote settings
-.RS
 .TS
+cb   s  s  s
 cb   cb cb cb
 lfCR lx  l  lfCR.
+Footnote settings
 Register       Definition      Effective       Default
 _
 FI     Indentation     next footnote   2n
@@ -245,7 +236,6 @@ FPD Paragraph spacing       next footnote   \[rs]n[PD]/2
 \[rs]*[FR]     Line length ratio       special 11/12
 _
 .TE
-.RE
 .
 .
 .LP
@@ -262,20 +252,17 @@ but on the next page in multiple-column contexts.
 .
 .
 .LP
-.ne 6
-.B Other settings
-.
-.RS
 .TS
+cb   s  s  s
 cb   cb cb cb
 lfCR lx  l  lfCR.
+Other settings
 Register       Definition      Effective       Default
 _
 DD     Display distance (spacing)      next paragraph  0.5v
 MINGW  Minimum gutter width    next page       2n
 _
 .TE
-.RE
 .
 .
 .LP



reply via email to

[Prev in Thread] Current Thread [Next in Thread]