Bo Peng schrieb:
This is the way I am using. It is kind of 'real ERT' in math mode. Why cannot we use ERT in math mode? Currently, TeX botton only insert a \ in math mode.
look at attached file. the only problem are the spaces. You still have to insert them as \<space> because you cant switch to textmode inside intertext.
Herbert
#LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \language ngerman \inputencoding latin1 \fontscheme default \graphics default \paperfontsize 10 \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \paperwidth 17cm \paperheight 22cm \leftmargin 1.2cm \topmargin 1.4cm \rightmargin 1.7cm \bottommargin 1.4cm \headsep 1cm \secnumdepth 4 \tocdepth 4 \paragraph_separation indent \defskip medskip \quotes_language german \quotes_times 2 \papercolumns 1 \papersides 2 \paperpagestyle default \layout Standard Mathmode and intertext \begin_inset Formula \begin{align*} x & =y+z\\ \intertext{text\ in\ mathmode\ with\ spaces}y & =-2y-z\\ z & =-x-y\end{align*} \end_inset \the_end
