neatroff icon indicating copy to clipboard operation
neatroff copied to clipboard

Add \D't' from groff for line thickness

Open Eolien55 opened this issue 5 months ago • 0 comments

A new drawing primitive, mirroring groff's, was introduced: \D't'. It allows directly setting line width using units. \D't 1i' has expected results (a line width of an inch), whereas

.nr a 1i .dv set linewidth \na

does not, because the argument of linewidth is in thousandths of ems. It's also arguably more cumbersome.

This requires matching changes in neatpost.

Eolien55 avatar Sep 14 '24 15:09 Eolien55