groff
[Top][All Lists]
Advanced

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

[Groff] redefine .IP and .TP ?


From: Jonas Jermann
Subject: [Groff] redefine .IP and .TP ?
Date: Mon, 2 Sep 2002 13:05:20 +0200
User-agent: Mutt/1.4i

Hi

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.

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 couldn't produce such an output without ugly specific definitions
each time. I couldn't create a general solution. I tried sthg 
like this:

.I EXAMPLES:
.RS +10
.IP "\-alang de, hu"
description1
.IP "\-alang ja"
description2
.RE

But first: I'd like to be able to specify the .IP indentation in 
a macro definition or sthg like this (see above question). And 
2nd: It always adds a newline before .IP (logic) which makes it 
look a bit ugly:

EXAMPLES:

     -alang de,hu
               description1
     
     -alang ja
               description2
     ^^^^^^^^^^ <- I'd like to be able to specify this.


I don't want to use .TP as it's already used for the general 
options and I didn't wanted to mix it to avoid confusion.

Any ideas at least for the first question?


Regards
    Jonas

reply via email to

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