Re: Using siunitx with LyX

2011-03-30 Thread Guenter Milde
On 2011-03-30, Andrew Steele wrote: > I am trying to use the package siunitx for correct typesetting of SI > units with LyX. However, I run into a problem when attempting to enter > a number with units in math mode. > In LaTeX, one would enter > $a = \SI{50}{\metre\per\second\squared}$ > However

Re: Using siunitx with LyX

2011-03-30 Thread Julien Rioux
On 30/03/2011 8:02 AM, Andrew Steele wrote: It seems to work if you press ctrl-L or type a backslash before typing the second set of curly braces. Thanks for nudging me in the right direction! On 30 March 2011 12:56, Liviu Andronic wrote: On Wed, Mar 30, 2011 at 1:51 PM, Andrew Steele wrote

Re: Using siunitx with LyX

2011-03-30 Thread Andrew Steele
It seems to work if you press ctrl-L or type a backslash before typing the second set of curly braces. Thanks for nudging me in the right direction! On 30 March 2011 12:56, Liviu Andronic wrote: > On Wed, Mar 30, 2011 at 1:51 PM, Andrew Steele > wrote: >> Yes, that does work, but it seems to be

Re: Using siunitx with LyX

2011-03-30 Thread Liviu Andronic
On Wed, Mar 30, 2011 at 1:51 PM, Andrew Steele wrote: > Yes, that does work, but it seems to be impossible to start an ERT box > within math mode, and this rather defeats the object of the visual > equation editor! > > Is there a better workaround? :) > Hmm, here in both cases I get the same resul

Re: Using siunitx with LyX

2011-03-30 Thread Andrew Steele
Yes, that does work, but it seems to be impossible to start an ERT box within math mode, and this rather defeats the object of the visual equation editor! Is there a better workaround? :) On 30 March 2011 12:48, Liviu Andronic wrote: > On Wed, Mar 30, 2011 at 1:43 PM, Andrew Steele > wrote: >>

Re: Using siunitx with LyX

2011-03-30 Thread Liviu Andronic
On Wed, Mar 30, 2011 at 1:43 PM, Andrew Steele wrote: > I am trying to use the package siunitx for correct typesetting of SI > units with LyX. However, I run into a problem when attempting to enter > a number with units in math mode. > > In LaTeX, one would enter > > $a = \SI{50}{\metre\per\second

Using siunitx with LyX

2011-03-30 Thread Andrew Steele
I am trying to use the package siunitx for correct typesetting of SI units with LyX. However, I run into a problem when attempting to enter a number with units in math mode. In LaTeX, one would enter $a = \SI{50}{\metre\per\second\squared}$ However, in LyX, the second set of curly braces does no