diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-23 00:42:00 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-23 00:42:00 +0000 |
commit | 1c07d0670659745601b58f021984f85c38c41f44 (patch) | |
tree | 1659ee382e2cc118df5cf22df6423e8ac1e2b902 /roff.7 | |
parent | 8a2f1706fd6632a3035d5145d1d04c67148824c6 (diff) | |
download | mandoc-1c07d0670659745601b58f021984f85c38c41f44.tar.gz |
Wonders of roff(7): Integer numbers in numerical expressions can carry
scaling units, and some manuals (e.g. in devel/grcs) actually use that,
so let's support it. Missing feature reported by naddy@.
Diffstat (limited to 'roff.7')
-rw-r--r-- | roff.7 | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1715,6 +1715,14 @@ prefixed by an optional sign .Sq + or .Sq - . +Each number may be followed by one optional scaling unit described below +.Sx Scaling Widths . +The following equations hold: +.Bd -literal -offset indent +1i = 6v = 6P = 10m = 10n = 72p = 1000M = 240u = 240 +254c = 100i = 24000u = 24000 +1f = 65536u = 65536 +.Ed .Pp The following binary operators are implemented. Unless otherwise stated, they behave as in the C language: |