Re: true raw Latex commands in math mode

2010-05-27 Thread Richard Heck
On 05/27/2010 09:57 AM, Matthias Blaicher wrote: Hallo, I am using LyX with Sweave to directly access R in my LyX document. This all works great but there is a tiny thing bugging me a lot: There is the sweave LaTeX command \Sexpr{ foo } which allows you to directly insert the content of foo int

Re: true raw Latex commands in math mode

2010-05-27 Thread Paul Rubin
Matthias Blaicher googlemail.com> writes: > There is the sweave LaTeX command \Sexpr{ foo } which allows you to > directly insert the content of foo into the document. Let's say there > is a variable foo_bar then I can access foo_bar by inserting an ERT > \Sexpr{foo_bar}. This works fine in text

true raw Latex commands in math mode

2010-05-27 Thread Matthias Blaicher
Hallo, I am using LyX with Sweave to directly access R in my LyX document. This all works great but there is a tiny thing bugging me a lot: There is the sweave LaTeX command \Sexpr{ foo } which allows you to directly insert the content of foo into the document. Let's say there is a variable foo_b