>On Feb 16 2008 12:08, rgheck wrote:
>>
>> LyX-Code just uses a typewriter font, etc. Program Listing uses the
>> LaTeX listings package, which provides a lot of other features,
>> which can be invoked by right-clicking in a Listing inset, or at
>> Document>Settings>Text Layout. There must be something about this
>> in the LyX manuals, but I don't know where. Bo Peng is the one who
>> implemented this, and he knows all about it.

If I had

        StandardEnvironment with textA
        LyxCodeEnv
        StandardEnv with textB

then the 2nd StandardEnv would begin unindented (with the default 
article.layout), while using

        StandardEnv with textA
        StandardEnv with ProgramListing object
        StandardEnv with textB

as well as

        StandardEnv with textA, ProgramListing object, textB

and

        StandardEnv with textA
        LyxCodeEnv with ProgramListing object
        StandardEnv with textB

indents the textB paragraph when it appears in the PDF. How could this 
be avoided?

Reply via email to