Uwe St�hr wrote:
also no problem, but a lot of restrictions in LyX writing correct math code ...
The restriction, that one can't create a formula inside another formula, is a bug in my opinion:
http://bugzilla.lyx.org/show_bug.cgi?id=1435
Or do you see other restrictions?
- try to insert the formula into mathed - converting the text $..$ into math with ctrl-m is totally buggy ... but this I said years ago
Attached only one of different solutions.
Thanks for your help. But just a question to your solution:
When I want to use a length instead of the plain TeX command \wd, why does this work:
no need to use the LaTeX commands here ... make things not clearer
\newlength{\slength} \settowidth{\slength}{$P_{3}+P_{2}-P_{1}$}
but this not:
\newlength{\slength} \settowidth{\slength}{\lW}
\settowidth\slength{\usebox\lW}
Herbert
