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 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/

Reply via email to