groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff] mom: UNDERSCRORE


From: Ellam ByDefault
Subject: [Groff] mom: UNDERSCRORE
Date: Wed, 11 Mar 2015 09:24:31 +0700

Hi Peter,

I see that UNDERSCORE macro definition has been made shorter in code
repository. But it still brings an extra unwanted space after the
underscored text, which becomes more visible and annoying especially when
followed by a punctuation, e.g.

one
.UNDERSCORE "uno"
, two

My suggestion is to put a \c after the \Z lines, i.e.

\Z'\\$1'\
\Z'\D't \\n[#UNDERSCORE_WEIGHT]''\
\v'\\*[$UNDERSCORE_GAP]+\\n[#UNDERSCORE_WEIGHT_ADJ]u'\
\D'l \\n[#TEXT_WIDTH]u 0'\
\Z'\D't \\n[#RULE_WEIGHT]''\
\v'-(\\*[$UNDERSCORE_GAP]+\\n[#UNDERSCORE_WEIGHT_ADJ]u)'\
\c\" This is it!

The annoying extra space is then gone, and the punctuation is correctly
positioned.

Cheers from Indonesia,
Ellam ByDefault


reply via email to

[Prev in Thread] Current Thread [Next in Thread]