diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2013-08-08 20:07:47 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2013-08-08 20:07:47 +0000 |
commit | 35783c93c6366fa20e6ed5149c9c25091d01a222 (patch) | |
tree | 4266ad56af17b4c240366f90f69b31b3faa383b4 /roff.7 | |
parent | 20b1a5ef7f370e238b774d0fb38b8cb6bedae40f (diff) | |
download | mandoc-35783c93c6366fa20e6ed5149c9c25091d01a222.tar.gz |
Implement the roff(7) font-escape sequence \f(BI "bold+italic".
This improves the formatting of about 40 base manuals
and reduces groff-mandoc formatting differences in base by about 5%.
Diffstat (limited to 'roff.7')
-rw-r--r-- | roff.7 | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -146,12 +146,19 @@ respectively) may be used instead. The indicator or numerical representative may be preceded by C (constant-width), which is ignored. .Pp +The two-character indicator +.Sq BI +requests a font that is both bold and italic. +It may not be portable to old roff implementations. +.Pp Examples: .Bl -tag -width Ds -offset indent -compact .It Li \efBbold\efR -Write in bold, then switch to regular font mode. +Write in \fBbold\fP, then switch to regular font mode. .It Li \efIitalic\efP -Write in italic, then return to previous font mode. +Write in \fIitalic\fP, then return to previous font mode. +.It Li \ef(BIbold italic\efP +Write in \f(BIbold italic\fP, then return to previous font mode. .El .Pp Text decoration is |