On Tue, 4 Nov 2008, Siegfried MEUNIER-GUTTIN-CLUZEL wrote:

To: Md. Golam Parvez <[EMAIL PROTECTED]>
From: Siegfried MEUNIER-GUTTIN-CLUZEL <[EMAIL PROTECTED]>
Subject: Re: How to insert colored program listing in LYX

Hello,

You can use the listings package ( Insert > Listings ).
If you right-clic on the listing insert box, you can choose the language you use and the syntax will be highlighted. In the listings manual there are many options, so I suppose you can change the colors if you really want.

Hope it helps.

Siegfried.

Hi Siegfried. Would the listings package insert some code verbatim, without affecting the layout or format of the code?

Regards,

Keith

-----------------------------------------------------------------
Websites:
http://www.php-debuggers.net
http://www.karsites.net
http://www.raised-from-the-dead.org.uk

Where will you spend Eternity?
http://www.fellowshiptractleague.org/tracts/images/PDF/tract_130.pdf

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-----------------------------------------------------------------


Reply via email to