diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-03-17 06:57:48 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-03-17 06:57:48 +0000 |
commit | 411db9009e20a1bef940842644da635f9c013d34 (patch) | |
tree | cbcc0d3ff7e6121ae858d1d127ae45dc5dc75641 | |
parent | d8c40dbb7a90802c294a84afbbb0ecadbafae87b (diff) | |
download | mandoc-411db9009e20a1bef940842644da635f9c013d34.tar.gz |
sync to OpenBSD: .ft is a roff(7) request, not a man(7) macro,
and it is not even used frequently in man(7)
-rw-r--r-- | man.7 | 6 | ||||
-rw-r--r-- | roff.7 | 28 |
2 files changed, 28 insertions, 6 deletions
@@ -686,11 +686,6 @@ See also .Ss \&fi End literal mode begun by .Sx \&nf . -.Ss \&ft -Change the current font mode. -See -.Sx Text Decoration -for a listing of available font modes. .Ss \&in Indent relative to the current indentation: .Pp @@ -787,7 +782,6 @@ The syntax is as follows: .It Sx \&UC Ta <=1 Ta current Ta \& .It Sx \&br Ta 0 Ta current Ta compat .It Sx \&fi Ta 0 Ta current Ta compat -.It Sx \&ft Ta 1 Ta current Ta compat .It Sx \&in Ta 1 Ta current Ta compat .It Sx \&na Ta 0 Ta current Ta compat .It Sx \&nf Ta 0 Ta current Ta compat @@ -659,6 +659,34 @@ This line-scoped request is intended to have one argument specifying the font family to be selected. It is a groff extension, and currently, it is ignored including its arguments, and the number of arguments is not checked. +.Ss \&ft +Change the font. +Its syntax is as follows: +.Pp +.D1 Pf . Cm \&ft Op Ar font +.Pp +The following +.Ar font +arguments are supported: +.Bl -tag -width 4n -offset indent +.It Cm B , BI , 3 , 4 +switches to +.Sy bold +font +.It Cm I , 2 +switches to +.Em underlined +font +.It Cm R , CW , 1 +switches to normal font +.It Cm P No "or no argument" +switches back to the previous font +.El +.Pp +This request takes effect only locally, may be overridden by macros +and escape sequences, and is only supported in +.Xr man 7 +for now. .Ss \&hw Specify hyphenation points in words. This line-scoped request is currently ignored. |