groff-commit
[Top][All Lists]
Advanced

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

[groff] 05/14: doc/ms.ms: Tweak font handling in nroff mode.


From: G. Branden Robinson
Subject: [groff] 05/14: doc/ms.ms: Tweak font handling in nroff mode.
Date: Fri, 7 May 2021 10:29:44 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit d66526b184b0bc185fc290ea9ce2860b1c2ae9d8
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri May 7 20:19:18 2021 +1000

    doc/ms.ms: Tweak font handling in nroff mode.
    
    Use bold instead of Courier roman on nroff devices so that a font change
    is visible.  This won't be appropriate for every ms document because the
    distinction between CR and CB is thus lost, but it works for this
    document.
---
 doc/ms.ms | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/ms.ms b/doc/ms.ms
index a43be89..3a78985 100644
--- a/doc/ms.ms
+++ b/doc/ms.ms
@@ -1,9 +1,11 @@
 .\" Handle font requests with families, for instance in tbl(1) tables.
 .if n \{\
-.  ftr CR R
+.  ftr CR B \" for a visible distinction from roman
 .  ftr CB B
 .  ftr CI I
 .  ftr CBI BI
+.  \" Redefine CW so to use bold instead for a visible font change.
+.  als CW B
 .\}
 .fchar \[dg] *
 .fchar \[ps] paragraph



reply via email to

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