summaryrefslogtreecommitdiff
path: root/tmac/doc-ditroff
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-03-24 15:04:41 +0000
committerwlemb <wlemb>2001-03-24 15:04:41 +0000
commitbb7f02eaa4aff2763e0869da3b32722aa2042d2b (patch)
tree1b8edb1fb087d532b3377574164131635ec47f5b /tmac/doc-ditroff
parent800c6f39a745ebf6b41d9f1c516dd11e66567c88 (diff)
downloadgroff-bb7f02eaa4aff2763e0869da3b32722aa2042d2b.tar.gz
* tmac/doc-nroff, tmac/doc-ditroff: Implement -rSxx switch for
selecting the font size. * tmac/groff_mdoc.man, NEWS: Document it. * tmac/groff_mdoc.reference.man: Small updates and renamed to ... * tmac/groff_mdoc.man: This. The quick reference has been removed. * tmac/Makefile.sub, NEWS: Updated.
Diffstat (limited to 'tmac/doc-ditroff')
-rw-r--r--tmac/doc-ditroff19
1 files changed, 19 insertions, 0 deletions
diff --git a/tmac/doc-ditroff b/tmac/doc-ditroff
index d3fed917..45b0f76e 100644
--- a/tmac/doc-ditroff
+++ b/tmac/doc-ditroff
@@ -48,9 +48,28 @@
.
.if !r cR .nr cR 0
.
+.\" use -rS={11,12} to change the font size from 10pt to 11pt or 12pt.
+.
+.if !r S .nr S 10
+.
.
.ec
.
+.
+.ie (\n[S] == 11) \{\
+. ps 10.95z
+. vs 13.6p
+.\}
+.el \{ .ie (\n[S] == 12) \{\
+. ps 12z
+. vs 14.5p
+.\}
+.el \{\
+. ps 10z
+. vs 12p
+.\}\}
+.
+.
.\" the `doc-xx-font' strings must not be empty!
.
.ds doc-caption-font \f[R]\s[\n[.ps]u]