groff-commit
[Top][All Lists]
Advanced

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

[groff] 11/17: grn(1): Improve table layout.


From: G. Branden Robinson
Subject: [groff] 11/17: grn(1): Improve table layout.
Date: Fri, 13 Nov 2020 21:58:43 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 7b9ef330dd1412c1245dcc606cf34164ec8c354e
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Nov 14 13:40:19 2020 +1100

    grn(1): Improve table layout.
    
    * Stop using a minus sign as a horizontal separator.  Use colons or
      columnation instead.
    * Set table caption on a single line since it fits.
    * Set grn language literals in bold.
    * Refer specifically to the troff formatter (possibly
      configuration-prefixed) when translating font positions.
---
 src/preproc/grn/grn.1.man | 33 ++++++++++++++++-----------------
 1 file changed, 16 insertions(+), 17 deletions(-)

diff --git a/src/preproc/grn/grn.1.man b/src/preproc/grn/grn.1.man
index bd31417..e6efc77 100644
--- a/src/preproc/grn/grn.1.man
+++ b/src/preproc/grn/grn.1.man
@@ -622,9 +622,9 @@ the type of the element (AED) or its name (Sun/X11).
 center, tab(@);
 css
 ccc
-nll.
-\fIgremlin\fP File Format \[mi] Object Type Specification
-.sp
+nBlBl.
+\f[I]gremlin\f[] File Format: Object Type Specification
+_
 AED Number@Sun/X11 Name@Description
 0@BOTLEFT@bottom-left-justified text
 1@BOTRIGHT@bottom-right-justified text
@@ -644,8 +644,7 @@ AED Number@Sun/X11 Name@Description
 .T&
 css.
 .sp
-Table 2.
-Type Specifications in \fIgremlin\fP Files
+Table 2.  Type Specifications in \f[I]gremlin\f[] Files
 .TE
 .sp
 .
@@ -676,13 +675,13 @@ and curves there are six valid brush values.
 .sp
 .TS
 center, tab(@);
-ncw(0.1i)l.
-1 \[mi]@@thin dotted lines
-2 \[mi]@@thin dot-dashed lines
-3 \[mi]@@thick solid lines
-4 \[mi]@@thin dashed lines
-5 \[mi]@@thin solid lines
-6 \[mi]@@medium solid lines
+nB l.
+1@thin dotted lines
+2@thin dot-dashed lines
+3@thick solid lines
+4@thin dashed lines
+5@thin solid lines
+6@medium solid lines
 .TE
 .sp
 For polygons,
@@ -697,11 +696,11 @@ the brush selects a font as follows.
 .sp
 .TS
 center, tab(@);
-ncw(0.1i)l.
-1 \[mi]@@roman (R font in groff)
-2 \[mi]@@italics (I font in groff)
-3 \[mi]@@bold (B font in groff)
-4 \[mi]@@special (S font in groff)
+nB l.
+1@roman (R font in \f[I]@g@troff\f[])
+2@italics (I font in \f[I]@g@troff\f[])
+3@bold (B font in \f[I]@g@troff\f[])
+4@special (S font in \f[I]@g@troff\f[])
 .TE
 .sp
 If you're using



reply via email to

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