[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] redefine .IP and .TP ?
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] redefine .IP and .TP ? |
Date: |
Wed, 04 Sep 2002 23:06:22 +0200 (CEST) |
> How does one redefine the indent value of .IP or .TP? .TP was no
> problem, but unfortunately .IP has an argument between the indent
> value and .IP, so .de didn't work.
You can say e.g.
.IP "" 8n
to set IP's indentation value without a label.
To redefine the default indentation value, say e.g.
.nr IN 10n
before the first `.SH'. IMHO you shouldn't do that in general.
> I have a 2nd small problem. I'd like an output like this:
>
> -option1=<value>
> Balds fkjsd dfksjdfksjd fsdfkj.
>
> EXAMPLES: -alang de,hu description1
> (^no spaces ^italic ^not italic ^always same indentation)
> -alang ja description2
>
> -option2=<value>
> dkflsdkfösldkfösl sdlfkö lsdkf.
I would do this:
.IP "\-option1=<value>"
Balds fkjsd dfksjdfksjd fsdfkj.
.RS
.TP
EXAMPLES:
.RS
.PD 0
.IP "\-alang de,hu" 20n
description1
.IP "\-alang ja" 20n
description2
.PD
.RE
.RE
.IP "\-option2=<value>"
dkflsdkfösldkfösl sdlfkö lsdkf.
which produces this:
-option1=<value>
Balds fkjsd dfksjdfksjd fsdfkj.
EXAMPLES:
-alang de,hu description1
-alang ja description2
-option2=<value>
dkflsdkfösldkfösl sdlfkö lsdkf.
Werner