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<landronim...@gmail.com> wrote:
On Wed, Mar 30, 2011 at 1:51 PM, Andrew Steele
<sta...@andrewsteele.co.uk> 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 result (see attached). I assume
that you include the dollar signs in math mode, something that you
shouldn't do. To make sure that the math representation conforms to
your LaTeX code expectations, try View> Source.
Regards
Liviu
It should work in 1.6, too, doesn't it?
A neat approach is to define a fake math macro: Insert > Math > Macro,
then put a % in a TeX Code right in front of it, on the same line.
Define your SI math macro to take two arguments and LyX will know what
to do with it each time you type \SI in math mode.
--
Julien