gbranden pushed a commit to branch master
in repository groff.
commit d66526b184b0bc185fc290ea9ce2860b1c2ae9d8
Author: G. Branden Robinson <[email protected]>
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
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit