aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-24 14:17:38 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-24 14:17:38 +0200
commit0209d29a4960f0abe844a3c9bdf98ba85f02c585 (patch)
tree4f05418c72697c282edf69e5bdc135d1066692dd
parent4ef9c2b48f9fcdc5b8c347367566a987a9893aa2 (diff)
downloadmk-0209d29a4960f0abe844a3c9bdf98ba85f02c585.tar.gz
Use floating-point division to set c point size, if available
-rw-r--r--g.tmac6
1 files changed, 4 insertions, 2 deletions
diff --git a/g.tmac b/g.tmac
index b61b8ba..098c010 100644
--- a/g.tmac
+++ b/g.tmac
@@ -255,12 +255,14 @@ ___________________
.
\&\$3\c
. ft \*[_fl]
-. ps +(\n[_sl]-\n[_s0])u
. ss 7
+. ie d nrf .nrf _s (\n(.s*(\n[_sl]/(\n[_s0])))
+. el .nr _s \n(.s+(\n[_sl]-\n[_s0])
+. ps \n(_sp
\&\$1\c
. ft
-. ps
. ss \n[_ss]
+. ps
\&\$2
..
.