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

Re: Latex commands in math mode

2008-06-18 Thread Friedrich Hagedorn
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 som

Re: Latex commands in math mode

2008-06-18 Thread G. Milde
On 18.06.08, Pavel Sanda wrote: > > On Mon, Jun 16, Friedrich Hagedorn <[EMAIL PROTECTED]> wrote: > > It seems this \intertext command is not properly handled in LyX. I had > > the same problem, when you press 'space' it jumps you out of the > > command. > this is not a bug, this is a feature.

Re: Latex commands in math mode

2008-06-17 Thread Pavel Sanda
d possibility is to switch to text mode inside math (ctrl+m when you are already in math mode). you can use any latex commands in math mode without any ERT. pavel

Re: Latex commands in math mode

2008-06-17 Thread Nigel Pegram
What happens if you use ctrl-space, instead of space? On 16/06/2008, Bob Lounsbury <[EMAIL PROTECTED]> wrote: > On Mon, Jun 16, 2008 at 9:04 AM, Friedrich Hagedorn <[EMAIL PROTECTED]> > wrote: >> On Mon, Jun 16, 2008 at 08:17:50AM -0600, Bob Lounsbury wrote: >>> On Mon, Jun 16, 2008 at 2:17 AM, Fr

Re: Latex commands in math mode

2008-06-16 Thread Bob Lounsbury
On Mon, Jun 16, 2008 at 9:04 AM, Friedrich Hagedorn <[EMAIL PROTECTED]> wrote: > On Mon, Jun 16, 2008 at 08:17:50AM -0600, Bob Lounsbury wrote: >> On Mon, Jun 16, 2008 at 2:17 AM, Friedrich Hagedorn <[EMAIL PROTECTED]> >> wrote: >> > >> > how can I add real latex commands in the math mode? I use L

Re: Latex commands in math mode

2008-06-16 Thread James Sutherland
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...

Re: Latex commands in math mode

2008-06-16 Thread Friedrich Hagedorn
On Mon, Jun 16, 2008 at 08:17:50AM -0600, Bob Lounsbury wrote: > On Mon, Jun 16, 2008 at 2:17 AM, Friedrich Hagedorn <[EMAIL PROTECTED]> wrote: > > > > how can I add real latex commands in the math mode? I use Lyx 1.5.1 for > > Linux. > > > > E.g. I want to insert a > > > > \intertext{blah blah} >

Re: Latex commands in math mode

2008-06-16 Thread Bob Lounsbury
On Mon, Jun 16, 2008 at 2:17 AM, Friedrich Hagedorn <[EMAIL PROTECTED]> wrote: > Hello, > > how can I add real latex commands in the math mode? I use Lyx 1.5.1 for > Linux. > > E.g. I want to insert a > > \intertext{blah blah} > > before a equation, or add > > \\[2em] > > after a euqation. I trie

Latex commands in math mode

2008-06-16 Thread Friedrich Hagedorn
Hello, how can I add real latex commands in the math mode? I use Lyx 1.5.1 for Linux. E.g. I want to insert a \intertext{blah blah} before a equation, or add \\[2em] after a euqation. I tried Ctrl-l and '\' but this didnt work. Thanks, Friedrich