Nils Becker wrote:
Hi all,

I am trying to use the package "tensind.sty" for typesetting tensors with 
multiple
upper and lower indices in LyX.

In LaTeX this works great: after defining a special "tensor delimiter" in the
preamble (here I use the letter "?") one can in math mode type
?A^\mu_\nu? for northwest, southeast indices and
?A_\mu^\nu? for southwest, northeast indices following the tensor symbol A.

Here, the order of super- and subscript matters! LyX seems to REORDER the 
super- and
subscript in such a way that always the subscript comes first.

Also, within tensind, ?g_\mu_\nu? is perfectly acceptable, and has a different
meaning (and typeset result) than ?g_{\mu\nu}? Within LyX, one always gets the 
latter
form due to automatic grouping in the math editor

Is there a workaround?
You know how to type this in latex, therefore, there is a workaround:
Type your tensor stuff in an ERT box, as raw latex. (Instead
of using mathed for it).  Non-tensor math can still go in the math
editor of course.

Consider filing a wishlist bug at bugzilla.lyx.org, perhaps someone
pick this up and fixes it some day. (Likely not right now, lyx
is in a feature freeze before version 1.5.0)

Helge Hafting

Reply via email to