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 <landronim...@gmail.com> wrote:
> On Wed, Mar 30, 2011 at 1:43 PM, Andrew Steele
> <sta...@andrewsteele.co.uk> 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}$
>>
> Have you tried to enter this in ERT (ctrl+l)?
> Liviu
>
>
>> However, in LyX, the second set of curly braces does not seem to be
>> associated with the initial command, which leads to them being escaped
>> with backslashes, thus:
>>
>> $a = \SI{50}   \{   \metre\per\second\squared   \}   $
>>
>> This does not render correctly.
>>
>> Is there any way around this?
>>
>> I am using LyX 2.0.0RC1 on Windows XP, but please let me know if this
>> is possible in 1.6!
>>
>> Thanks!
>>
>> --
>> Andrew Steele
>> http://andrewsteele.co.uk/
>>
>
>
>
> --
> Do you know how to read?
> http://www.alienetworks.com/srtest.cfm
> http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
> Do you know how to write?
> http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
>



-- 
Andrew Steele
http://andrewsteele.co.uk/
+44 (0) 7763 942 262

Reply via email to