On Mon, Jun 16, 2008 at 09:34:39AM -0600, James Sutherland wrote:
>>
>> 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 mode
>> in $z=...$.
>>
>
> Can't you just use something like "\textrm" or "\mathrm"?  These both work
> in LyX math mode...

Yes, but only for the case

  \intertext{\textrm{blah blah blah}}

             ^^^^^^^
             This is only a workaround for the lyx input!

and not for the case

  \intertext{with substitution $z=x^2$}

I cant input the $z=...$.

The problem is that the argument of \intertext is real text and not
typesetted in math mode. But lyx interpreted the argument of {...} as
math commands.

The easiest solution would be a ERT environment in the math mode to handle
such specific math commands. Günter Milde showed an other example (the
icomma package) for this need.

Thanks,

  Friedrich

Reply via email to