From bc84dd1eab78e96ccc7dabd7561cfaf57f165951 Mon Sep 17 00:00:00 2001 From: John Ankarstrom Date: Sat, 3 Jul 2021 19:56:16 +0200 Subject: Move mk into separate directory --- mk/kx.tmac | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 mk/kx.tmac (limited to 'mk/kx.tmac') diff --git a/mk/kx.tmac b/mk/kx.tmac new file mode 100644 index 0000000..1122bf8 --- /dev/null +++ b/mk/kx.tmac @@ -0,0 +1,59 @@ +.\" "/. +.\" extra stuff for mk "/. +.\" "/. +.\" 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 \$*\t\n% +.. +. +.\" se -- toc-enabled subheading +.de se +. s +\$* +. te .the \\h'18p'\$*\t\n% +.. +. +.\" the -- toc entry +.de the +. ta \n(.luR +. tc . +\$* +. 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