groff-commit
[Top][All Lists]
Advanced

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

[groff] 32/40: doc/ms.ms: Fix ugly tables.


From: G. Branden Robinson
Subject: [groff] 32/40: doc/ms.ms: Fix ugly tables.
Date: Wed, 10 Feb 2021 01:32:22 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit cb588c126d1ec7034f8dc711567fd814bfa41db5
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue Feb 9 18:50:27 2021 +1100

    doc/ms.ms: Fix ugly tables.
    
    * Drop "expand" global option and absolute column width specifications
      in favor of adding "x" modifier to one column and letting the machine
      figure out the widths.
    * Move commentary out of source/rendered example table and into
      subsequent paragraph.
    * Lightly recast commentary.
---
 doc/ms.ms | 29 ++++++++++++++++-------------
 1 file changed, 16 insertions(+), 13 deletions(-)

diff --git a/doc/ms.ms b/doc/ms.ms
index 6468b74..822352a 100644
--- a/doc/ms.ms
+++ b/doc/ms.ms
@@ -606,9 +606,9 @@ using the same font family and point size as the body text.
 .PP
 The following table describes the heading macros:
 .TS
-box expand;
+box;
 cb cb
-afCRw(0.75i) lw(5i) .
+afCR lx .
 Macro  Description
 _
 \&.NH \fIxx\fP T{
@@ -885,12 +885,6 @@ lawyers
 guns
 .IP \n+[step].
 money
-.
-.
-.LP
-Note the use of the auto-incrementing
-.br
-register in this example.
 T}
 _
 T{
@@ -918,13 +912,22 @@ Gotta pay for those lawyers and guns!
 T}
 .TE
 .KE
+.
+.
 .PP
-In the last example, note how the
+The second example sets up an auto-incrementing register,
+.CW step .
+.
+In the last example,
+observe how the
 .CW .IP
-macro places the definition on the same line as the term
-if it has enough space.
-This may or may not be the effect you want.
-The following example shows two possible workarounds:
+macro places the definition on the same line as the term if it has
+enough space.
+.
+If this is not what you want,
+there are a couple of workarounds.
+.
+.
 .TS
 box expand;
 cb cb



reply via email to

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