[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Nesting font macros in man pages
From: |
Bjarni Ingi Gislason |
Subject: |
Re: [Groff] Nesting font macros in man pages |
Date: |
Thu, 27 Apr 2017 04:00:29 +0000 |
User-agent: |
Mutt/1.5.20 (2009-12-10) |
On Mon, Apr 24, 2017 at 11:41:22AM -0400, G. Branden Robinson wrote:
> At 2017-04-24T16:22:37+0100, Ralph Corderoy wrote:
> > .SM affect the next input line as it uses an input trap, `.it'. `\c'
> > doesn't make an input line continue to the next as far as input traps
> > are concerned; groff has .itc for that. So the .SM is over by the `)'.
>
> That's exactly the hack I wanted to make to the TP macro. I want to
> change its .it to an itc, thus:
>
I have made a similar suggestion, see bug number #42907 (or look for
'itc').
[...]
>
> .TP
> .B \-scale \c
> .IR xfac [, yfac ]
> Multiply the horizontal and vertical window size by
> .I xfac
> and
> .IR yfac ,
> respectively.
>
One can use the transparent line indicator (\!) to use macros in a label,
without changing the '.TP' macro:
.TH testman 1 2017-04-DD
.TP
\!.B \-scale \c
.IR xfac [, yfac ]
Multiply the horizontal and vertical window size by
or a little different output (with a necessary longer indent):
.TH testman 1 2017-04-DD
.TP 20n
\!.B \-scale \c
\!.IR xfac [\c
\!.B ,\c
.IR yfac ]
Multiply the horizontal and vertical window size by
The difference in output (compared to a '.TP' with escapes in the label)
is a small increase in the horizontal space caused by the used italic
correction in the macro '.IR'.
--
Bjarni I. Gislason
- Re: [Groff] Nesting font macros in man pages, (continued)
- Re: [Groff] Nesting font macros in man pages, Ralph Corderoy, 2017/04/29
- Re: [Groff] Nesting font macros in man pages, Ingo Schwarze, 2017/04/29
- Re: [Groff] Nesting font macros in man pages, Ralph Corderoy, 2017/04/30
- Re: [Groff] Nesting font macros in man pages, John Gardner, 2017/04/30
- Re: [Groff] Nesting font macros in man pages, Ingo Schwarze, 2017/04/30
- Re: [Groff] Nesting font macros in man pages, Ralph Corderoy, 2017/04/30
- Re: [Groff] Nesting font macros in man pages, John Gardner, 2017/04/30
- Re: [Groff] Nesting font macros in man pages, G. Branden Robinson, 2017/04/26
- Re: [Groff] Nesting font macros in man pages, G. Branden Robinson, 2017/04/26
- Re: [Groff] Nesting font macros in man pages, Steffen Nurpmeso, 2017/04/25
- Re: [Groff] Nesting font macros in man pages,
Bjarni Ingi Gislason <=
- Re: [Groff] Nesting font macros in man pages, Ingo Schwarze, 2017/04/27
- Re: [Groff] Nesting font macros in man pages, G. Branden Robinson, 2017/04/27
Re: [Groff] Nesting font macros in man pages, Doug McIlroy, 2017/04/25
- [Groff] Applications of \c in man pages in the wild [LONG] (was: Nesting font macros in man pages), G. Branden Robinson, 2017/04/26
- Re: [Groff] Applications of \c in man pages in the wild [LONG] (was: Nesting font macros in man pages), G. Branden Robinson, 2017/04/26
- Re: [Groff] Applications of \c in man pages in the wild, Ingo Schwarze, 2017/04/27
- Re: [Groff] Applications of \c in man pages in the wild, G. Branden Robinson, 2017/04/27
- Re: [Groff] Applications of \c in man pages in the wild, aksr, 2017/04/27
- Re: [Groff] Applications of \c in man pages in the wild, G. Branden Robinson, 2017/04/27
- Re: [Groff] Applications of \c in man pages in the wild, Ingo Schwarze, 2017/04/27