Thread (9 messages) 9 messages, 3 authors, 2021-07-30

Re: [PATCH] termios.3: Use bold style for Bnn and EXTn macro constants

flat view

From: Alejandro Colomar (man-pages) <hidden>
Date: 2021-07-29 23:41:54

Hi Branden,

On 7/30/21 1:04 AM, G. Branden Robinson wrote:
At 2021-07-29T19:23:20+0200, Pali Rohár wrote:
quoted
How do you prefer to format this part? \fBB0\fP, ..., \fBB9600\fP
I'd use the B or BR macro to set the literals, depending on whether they
are directly followed by something that should be in the roman style,
and I would definitely set the ellipsis in roman; when used as such,
it should never be set in bold or italics.  Use of the ellipsis in *roff
input requires some care, which is unfortunately often neglected.

.BR B0 ,
\&.\|.\|.\|,
.B 9600

(I dithered over inclusion of the thin space escape sequence \| between
the ellipsis and the comma.  I can see arguments either way, and a quick
Internet search does not suggest to me a strong wind in either
direction.  Since its presence or absence makes no difference for
terminal output, I expect most writers of man pages won't care.)

Thanks again for your input!
Good to know that.


Cheers,

Alex


-- 
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help