Re: tensind package incompatible with LyX?

2006-12-06 Thread Nils Becker
 
 You can try to use extra {}, but I doubt this will work.
 
 Andre'
Thanks for the hint. It does work, in fact. One can add an empty group {} in 
front of
every index, and the mathed display is nice, too. It is still more typing than 
in raw
LaTeX, though. I posted a small page on the LyX wiki.

Nils


Re: tensind package incompatible with LyX?

2006-12-06 Thread Nils Becker
 
 You can try to use extra {}, but I doubt this will work.
 
 Andre'
Thanks for the hint. It does work, in fact. One can add an empty group {} in 
front of
every index, and the mathed display is nice, too. It is still more typing than 
in raw
LaTeX, though. I posted a small page on the LyX wiki.

Nils


Re: tensind package incompatible with LyX?

2006-12-06 Thread Nils Becker
> 
> You can try to use extra {}, but I doubt this will work.
> 
> Andre'
Thanks for the hint. It does work, in fact. One can add an empty group {} in 
front of
every index, and the mathed display is nice, too. It is still more typing than 
in raw
LaTeX, though. I posted a small page on the LyX wiki.

Nils


Re: tensind package incompatible with LyX?

2006-12-05 Thread Andre Poenitz
On Mon, Dec 04, 2006 at 03:09:29PM +0100, 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.

Right. It considers them a unit and will output subscript 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?

Not really. tensind seems to change the TeX meaning of _. While this is
legal, LyX interprets _ and ^ according to its own ruls which are more
or less the standard TeX rules.

You can try to use extra {}, but I doubt this will work.

Andre'


Re: tensind package incompatible with LyX?

2006-12-05 Thread Andre Poenitz
On Mon, Dec 04, 2006 at 03:09:29PM +0100, 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.

Right. It considers them a unit and will output subscript 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?

Not really. tensind seems to change the TeX meaning of _. While this is
legal, LyX interprets _ and ^ according to its own ruls which are more
or less the standard TeX rules.

You can try to use extra {}, but I doubt this will work.

Andre'


Re: tensind package incompatible with LyX?

2006-12-05 Thread Andre Poenitz
On Mon, Dec 04, 2006 at 03:09:29PM +0100, 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.

Right. It considers them a unit and will output subscript 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?

Not really. tensind seems to change the TeX meaning of _. While this is
legal, LyX interprets _ and ^ according to its own ruls which are more
or less the standard TeX rules.

You can try to use extra {}, but I doubt this will work.

Andre'


tensind package incompatible with LyX?

2006-12-04 Thread Nils Becker
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?

Thanks a lot, Nils


Re: tensind package incompatible with LyX?

2006-12-04 Thread Helge Hafting

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


tensind package incompatible with LyX?

2006-12-04 Thread Nils Becker
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?

Thanks a lot, Nils


Re: tensind package incompatible with LyX?

2006-12-04 Thread Helge Hafting

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


tensind package incompatible with LyX?

2006-12-04 Thread Nils Becker
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?

Thanks a lot, Nils


Re: tensind package incompatible with LyX?

2006-12-04 Thread Helge Hafting

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