groff
[Top][All Lists]
Advanced

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

[Groff] Re: Re: verbatim text in mom?


From: Manfred Lotz
Subject: [Groff] Re: Re: verbatim text in mom?
Date: Sat, 17 Jan 2004 15:38:01 +0100
User-agent: KMail/1.5.4

On Sat, 17 Jan 2004 01:03:35 -0500, Peter Schaffter wrote:

> On Sat, Jan 17, 2004, Manfred Lotz wrote:
>> On Fri, 16 Jan 2004 18:08:44 -0500, Peter Schaffter wrote:
>> 
>> > On Fri, Jan 16, 2004, Manfred Lotz wrote:
>> >> Does mom provide a possibility to set verbatim text?
>> > 
>> 
>> I mean like for instance having source code which will not be formatted in
>> any way. It should be in a non proportional font by default.
> 
> Yes, mom does this.  The macro for it is
> 
>     .QUOTE
>     line for line text of verbatim text
>     .QUOTE OFF
> 
> By default, mom sets the text in QUOTE in italic, or, if you're
> using PRINTSTYLE TYPEWRITE, underlined.  To get what you want (i.e.
> a roman, non-proportional font), do
> 
>     .QUOTE_FAMILY C \" Assuming you want courier
>     .QUOTE_FONT   R \" Assuming you want roman
> 
> before the first invocation of QUOTE.
> 
> See the document section "5.4.8 Quotes" for further explanation.

Thanks. That's what I was looking for. I didn't relaize that .QUOTE was it 
because from different contexts I know QUOTE to be something different.

Manfred


reply via email to

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