Dear all,

I am trying to use the package listings.sty in LyX. 

1. In the example document listings.dvi, the format of
a floating listing is very nice (page 6 in
listings-1.3.pdf). It has two lines that encapsulates
the codes that are inserted. However, I cannot get
these two lines. Can anyone tell me how to do that in
LyX ?


2. Moreover, how to put another line above the
caption?
like this:

------------------------------------------------
              Listing 1: My codes
------------------------------------------------
    line 1 of codes
    line 2 of codes
    ...
------------------------------------------------

3. How to change the fonts of the inserted codes?

Thanks for your help in advance! ^_^

Peter Chan





                
__________________________________ 
Discover Yahoo! 
Find restaurants, movies, travel and more fun for the weekend. Check it out! 
http://discover.yahoo.com/weekend.html 

Reply via email to