groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: .TQ to replace .PD 0


From: Ralph Corderoy
Subject: Re: .TQ to replace .PD 0
Date: Mon, 23 May 2022 10:34:44 +0100

Hi Ingo,

> The typical use case is in a tagged list that uses normal vertical
> spacing in general, but contains a few entries that need two or more
> tags for a few of the list entries.  For example, in a csh(1)
> manual page, you might say something like:
>
>   .TP
>   \fBcd\fP [\fIname\fP]
>   .TQ
>   \fBchdir\fP [\fIname\fP]
>   Change the shell's working directory to ...
>   .TP
>   .B continue
>   Continue execution of the nearest enclosing
>   .B while
>   or ...
>
> to format as:
>
>     cd [name]
>     chdir [name]
>         Change the shell's working directory to ...
>
>     continue
>         Continue execution of the nearest enclosing while or ...

Wouldn't one just wrap the .TP paragraph in a pair of .PDs?

    .TP
    \fBbreak\fR \*(OK\fIn\fR\*(CK
    Exit from the enclosing...
    .
    .TP
    \fBcd\fP [\fIname\fP]
    .PD 0
    .TP
    \fBchdir\fP [\fIname\fP]
    Change the shell's working directory to...
    .PD
    .
    .TP
    .B continue
    Continue execution of the nearest enclosing...

-- 
Cheers, Ralph.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]