From e8086631ecabb0018062c1b8a519a2fa265c92f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Thu, 24 Jun 2021 22:38:08 +0200 Subject: Split q macro into " (inline) and q (block-level) --- u.tmac | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) (limited to 'u.tmac') diff --git a/u.tmac b/u.tmac index 52bfbab..2091474 100644 --- a/u.tmac +++ b/u.tmac @@ -243,6 +243,11 @@ ___________________ . .\" Inline macros ------------------------------ . +.\" " -- inline quotation +.de " +\&\$3\(lq\$1\(rq\$2 +.. +. .\" b -- bold font .de b \&\$3\fB\$1\fP\$2 @@ -287,23 +292,6 @@ ___________________ .. . . -.\" Hybrid macros ------------------------------ -. -.\" q -- quotation -.de q -. -. \" inline -. ie !'\$1'' \&\$3\(lq\$1\(rq\$2 -. -. \" block -. el \{\ -. br -. @e q -. ti \n(tiu -. \} -.. -. -. .\" Environment macros ------------------------- . . @@ -335,6 +323,13 @@ ___________________ . if '\*[%penv]'p' .ti \n(tiu .. . +.\" q -- quotation +.de q +. br +. @e q +. ti \n(tiu +.. +. .\" s -- subheading .de s . br -- cgit v1.2.3