On Sat, 18 Jun 2005, Paul Smith wrote:
I think it is a problem of LyX: it separates the ERT lines with a blank line, when it internally converts to LaTeX. Your way works too, as long as you use control-enter instead of enter to change to the next line (inside ERT).
Paul, Aha! Knowing what LyX is doing internally clears up my confusion. I don't know that it's a "problem" as much as it requires a different line break than does plain LaTeX. Thanks so much for the lesson. I know I'll come up against this many times when I use examples written in LaTeX or code written by someone else. Rich -- Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) <http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863
