From 68d190c048db3d0f29bd0c0d9895b83d229928ae Mon Sep 17 00:00:00 2001 From: "John Ankarstr\\xf6m" Date: Wed, 2 Jun 2021 16:55:26 +0200 Subject: Add re.tmac --- greet.ms | 31 +------------------------------ re.tmac | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 30 deletions(-) create mode 100644 re.tmac diff --git a/greet.ms b/greet.ms index 6a18efe..99c9de1 100644 --- a/greet.ms +++ b/greet.ms @@ -1,33 +1,4 @@ -.eo -.de Sr -.sp \n[dn]u-2v -.br -.ev (d -.evc 0 -.par@reset -.ta 8n +8n +8n +8n +8n -.nf -.ft C -.ps -2p -.di @d -.. -.de Se -.br -.ev -.di -.box -.in 2.3i -.@d -.sp -\n[dn]u-0.2v -.br -.rr @s -.rm @s -.rm @d -.nr LL 2i -.. -.de Ex -.. -.ec +.so re.tmac .TL .BI greet , an example C program diff --git a/re.tmac b/re.tmac new file mode 100644 index 0000000..6b8f0ad --- /dev/null +++ b/re.tmac @@ -0,0 +1,22 @@ +.eo +.de Sr +. mk c +. if (\nb > \nc) .sp (\nbu - \ncu - 1v) +. if (\nb > 0) .if (\nc > \nb) .sp (\ncu - \nbu - 0.5v) +. nf +. ft C +. ps -1p +. vs -1p +. ta 8n +8n +8n +8n +8n +. in 2.2i +. mk a +.. +.de Se +. mk b +. rt (\nau - 0.5v) +. br +. rm @d +. nr LL 2i +. LP +.. +.ec -- cgit v1.2.3