Reuben D Budiardja wrote:
> Hi,
> I have a lyx document that uses the default size, double spacing, for
> document type article. I'd like to include a source code of a c++ program as
> an appendix. So I use "Toggle Appendix", and then insert the c++ file with
> Insert -> "ASCII as lines" in Lyx-Code environment.
>
> Now I have the source code, but they are in double spacing. What I really
> want is to have that source code in single spacing, and even if possible
> makes the letter smaller to save pages.
use the package listings, looks nicer than verbatim
http://www.lyx.org/help/listings/listings.php3
Herbert