Uwe Stöhr wrote:
Philippe Grosjean schrieb:

I am defining a new style that should contain some program code. I would like to get the same behavior as listings, i.e., keep line feed and allow entering tabulation. Is it a way to define my style so that it behaves that way?

I don't understand. What you want is what listings provide. What do you miss with listings?

regards Uwe

No, I want the same behavior as listings, but for other purposes that do not fit in it. Actually, I define a Schunk environment for using Sweave (literate programming). Thus, the content is evaluated in R and should not appear in a listing. Yet, I would like to get the same convenience for editing my R code inside LyX as I got in listings (keep line feed and use tabulations).
Thanks for your help.

Philippe

Reply via email to