From b8fb8ad8ab2e5cbb245b35f20d050d50be2842d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Thu, 24 Jun 2021 16:25:32 +0200 Subject: Change name to mu It turns out that Heirloom troff includes an (m)g macro set for groff compatibility. I liked the name mg, because of the association with milligram, but mu is pretty good too. (And mu is the symbol for the SI micro prefix, which is even smaller than milli!) --- ux.tmac | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 ux.tmac (limited to 'ux.tmac') diff --git a/ux.tmac b/ux.tmac new file mode 100644 index 0000000..caace60 --- /dev/null +++ b/ux.tmac @@ -0,0 +1,61 @@ +.\" "/. +.\" extra stuff for mu "/. +.\" "/. +.\" Permission to use, copy, modify and/or "/. +.\" distribute this software for any purpose "/. +.\" with or without fee is hereby granted. "/. +.\" "/. +. +.eo +. +.\" he -- toc-enabled heading +.de he +. h +\$* +. te .the \n% \$* +.. +. +.\" se -- toc-enabled subheading +.de se +. s +\$* +. te .the \n% \\h'18p'\$* +.. +. +.\" the -- toc entry +.de the +. nr _ \$1 +. shift +. ta \n(.luR +. tc . +\$* \n_ +. tc +. br +.. +. +.\" n -- numbered list item +.de n +. if !'\$1'' \{\ +. nr ni \$1-1 +. af ni 0 +. if !'\$2'' .af ni \$2 +. ds n. . +. if !'\$3'' .ds n. \$3 +. \} +. nr ni +1 +. br +. @e n +. ti \n(tiu +\n(ni\*(n. \c +.. +. +.am @a +. @e n +. @c p +. nr sq \n(sp +. nr sp 0 +. ta 3n +3n +3n +3n +. @e +.. +. +.ec -- cgit v1.2.3