How would you input the \intertext command with lyx? I started with"\intertext " "\{with "and now I am out of the brackets. An other problem is the local math modein $z=...$.
Can't you just use something like "\textrm" or "\mathrm"? These both work in LyX math mode...