From: "Anthony J. Bentley" <anthony@anjbe.name> To: tech@mandoc.bsd.lv Subject: Improper formatting of table with T& Date: Fri, 05 Mar 2021 21:54:13 -0700 [thread overview] Message-ID: <36636-1615006453.870094@W8oS.rk2z.-A1C> (raw) Hi, mairix(1) contains this table: .TS box tab(&); lb | lb | lb | lb. letter & short for & example & meaning = .T& l | l | l | l. d & days & 3d & 3 days w & weeks & 2w & 2 weeks (14 days) m & months & 5m & 5 months (150 days) y & years & 4y & 4 years (4*365 days) .TE groff renders it like so: +--------+-------------+-----------+-----------------------+ |letter | short for | example | meaning | +--------+-------------+-----------+-----------------------+ |d | days | 3d | 3 days | |w | weeks | 2w | 2 weeks (14 days) | |m | months | 5m | 5 months (150 days) | |y | years | 4y | 4 years (4*365 days) | +--------+-------------+-----------+-----------------------+ mandoc renders it similarly, but bolds both the header's bottom border and the first line following (the 'days' line): +--------+-------------+-----------+-----------------------+ |letter | short for | example | meaning | +========+=============+===========+=======================+ |d | days | 3d | 3 days | |w | weeks | 2w | 2 weeks (14 days) | |m | months | 5m | 5 months (150 days) | |y | years | 4y | 4 years (4*365 days) | +--------+-------------+-----------+-----------------------+ I couldn't find any explanation in our tbl(7) page of what T& does, although it's mentioned briefly in the "Layout" section. We should probably document it somewhere. -- Anthony J. Bentley -- To unsubscribe send an email to tech+unsubscribe@mandoc.bsd.lv
next reply other threads:[~2021-03-06 4:54 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-03-06 4:54 Anthony J. Bentley [this message] 2021-03-28 20:36 ` Ingo Schwarze 2021-03-29 0:33 ` Ingo Schwarze 2021-04-07 9:34 ` Anthony J. Bentley
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=36636-1615006453.870094@W8oS.rk2z.-A1C \ --to=anthony@anjbe.name \ --cc=tech@mandoc.bsd.lv \ --subject='Re: Improper formatting of table with T&' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).