groff
[Top][All Lists]
Advanced

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

Re: [Groff] Simple question ...


From: Colin Watson
Subject: Re: [Groff] Simple question ...
Date: Fri, 27 Sep 2002 15:19:50 +0100
User-agent: Mutt/1.4i

On Fri, Sep 27, 2002 at 04:09:49PM +0200, Sigfrid Lundberg, NetLab wrote:
> On Fri, 27 Sep 2002, Lars Segerlund wrote:
> >   I have a silly question, I would like to include command lines in
> > fixed  width type, without any special typesetting.
> >
> >   For example :
> >
> >   >cd /
> >   >rm -rf *
> 
> What about
> 
> \f(CR cd /
> .br
> rm -rf *\fP

Or you could avoid the need for .br:

  .ft CR
  .nf
  >cd /
  >rm -rf *
  .fi
  .ft P

-- 
Colin Watson                                  address@hidden

reply via email to

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