Re: superscript of sums and integrals in multiline equation
Herbert wrote: In multiline format (eqnarray) the left and the right part are real formulas, but the middle part is a textformula! This is really interesting. Thanks for clearing up this mystery. So it's not possible to write a sum super/subscript under /above the sum-symbol. If you choose the array-format, all parts are in textmode. You can type the sum in all three parts of a multiline formula and you will see, that the middle sum is typed with super/subscript shifted to the right, the left and right one the one with super/subscript above/under the sum. The option \limits works only for integrals, in both math modes! In this point I disagree with you. Type the following in the middle part of a multiline formula and you will get a sum with super/subscripted limits: \sum \limits _n=1 ^\infty n Therefore it's not correct, when LyX views these symbols different to the latex-convention. I agree. Regards, Ingo
Re: superscript of sums and integrals in multiline equation
Herbert wrote: In multiline format (eqnarray) the left and the right part are real formulas, but the middle part is a textformula! This is really interesting. Thanks for clearing up this mystery. So it's not possible to write a sum super/subscript under /above the sum-symbol. If you choose the array-format, all parts are in textmode. You can type the sum in all three parts of a multiline formula and you will see, that the middle sum is typed with super/subscript shifted to the right, the left and right one the one with super/subscript above/under the sum. The option \limits works only for integrals, in both math modes! In this point I disagree with you. Type the following in the middle part of a multiline formula and you will get a sum with super/subscripted limits: \sum \limits _n=1 ^\infty n Therefore it's not correct, when LyX views these symbols different to the latex-convention. I agree. Regards, Ingo
Re: superscript of sums and integrals in multiline equation
Herbert wrote: >In multiline format (eqnarray) the left and the right part are real >formulas, >but the middle part is a textformula! This is really interesting. Thanks for clearing up this mystery. > So it's not possible to write >a sum super/subscript under /above the sum-symbol. If you choose the >array-format, all parts are in textmode. >You can type the sum in all three parts of a multiline formula and you >will >see, that the middle sum is typed with super/subscript shifted to the >right, >the left and right one the one with super/subscript above/under the sum. >The option \limits works only for integrals, in both math modes! In this point I disagree with you. Type the following in the middle part of a multiline formula and you will get a sum with super/subscripted limits: \sum \limits _n=1 ^\infty n >Therefore it's not correct, when LyX views these symbols different to >the latex-convention. I agree. Regards, Ingo
Re: superscript of sums and integrals in multiline equation
Herbert wrote: Alexander Wollmann wrote: I have a problem with the subscript of sums and integrals: In a single math line (M-m d) the subscript is correctly placed UNDER the sum. Toggle with M-m l changes from "under" to "shifted to the right". In a multiline equation this does only work for integrals. Superscript with sums are always shifted to the right (in postscript), even it seems to be OK in LyX. I need them to be UNDER!! What can I do? there is no problem for me (Lyx 1.0.4pre6 and Suse 6.2) to write a sum with super- and/or subscript above and/or under the sum or integral, both in a single line equation and in multilines. I have just installed Lyx 1.0.4pre6 on Suse 6.1 and it still doesn't work for me. Please have a look at the attached example. In Lyx you should see two sums and two integrals in one multiline equation. The first sum resp. integral has sub-/superscripted limits while the second one has its limits postscripted. Now have a look at the DVI-File. Here both sums have postscripted limits while there is no problem with the integrals. The LaTeX-Export looks like this: \begin{eqnarray*} \sum ^{n}_{i=1}i \\ \sum\nolimits _{i=1}^{n}i \\ \int\limits ^{\infty }_{x=0}e^{-x^{2}} \\ \int ^{\infty }_{x=0}e^{-x^{2}} \end{eqnarray*} But correct would be: \begin{eqnarray*} \sum\limits ^{n}_{i=1}i \\ \sum _{i=1}^{n}i \\ \int\limits ^{\infty }_{x=0}e^{-x^{2}} \\ \int ^{\infty }_{x=0}e^{-x^{2}} \end{eqnarray*} Regards, Ingo
Re: superscript of sums and integrals in multiline equation
The LaTeX-Export looks like this: \begin{eqnarray*} \sum ^{n}_{i=1}i \\ \sum\nolimits _{i=1}^{n}i \\ \int\limits ^{\infty }_{x=0}e^{-x^{2}} \\ \int ^{\infty }_{x=0}e^{-x^{2}} \end{eqnarray*} But correct would be: \begin{eqnarray*} \sum\limits ^{n}_{i=1}i \\ \sum _{i=1}^{n}i \\ \int\limits ^{\infty }_{x=0}e^{-x^{2}} \\ \int ^{\infty }_{x=0}e^{-x^{2}} \end{eqnarray*} here are parts of my lyx-files: the one of your attached lyx-file superscript... \begin{eqnarray*} \sum ^{n}_{i=1}i \\ \sum\nolimits _{i=1}^{n}i \\ \int\limits ^{\infty }_{x=0}e^{-x^{2}} \\ \int ^{\infty }_{x=0}e^{-x^{2}} \end{eqnarray*} it's just the same as you described above and it's right, that the second sum has no real super/subscript. But when I delete the sum-symbol and write it again, it always works well. My lyx-file is (only the interesting part): \begin{eqnarray*} \sum ^{n}_{i=1}i \\ \sum ^{n}_{i=1}i \\ \int\limits ^{\infty }_{x=0}e^{-x^{2}} \\ \int ^{\infty }_{x=0}e^{-x^{2}} \end{eqnarray*} I have no idea what's wrong with your LyX-Version. Herbert -- [EMAIL PROTECTED] http://www.educat.hu-berlin.de/~voss
Re: superscript of sums and integrals in multiline equation
Herbert wrote: Alexander Wollmann wrote: I have a problem with the subscript of sums and integrals: In a single math line (M-m d) the subscript is correctly placed UNDER the sum. Toggle with M-m l changes from "under" to "shifted to the right". In a multiline equation this does only work for integrals. Superscript with sums are always shifted to the right (in postscript), even it seems to be OK in LyX. I need them to be UNDER!! What can I do? there is no problem for me (Lyx 1.0.4pre6 and Suse 6.2) to write a sum with super- and/or subscript above and/or under the sum or integral, both in a single line equation and in multilines. I have just installed Lyx 1.0.4pre6 on Suse 6.1 and it still doesn't work for me. Please have a look at the attached example. In Lyx you should see two sums and two integrals in one multiline equation. The first sum resp. integral has sub-/superscripted limits while the second one has its limits postscripted. Now have a look at the DVI-File. Here both sums have postscripted limits while there is no problem with the integrals. The LaTeX-Export looks like this: \begin{eqnarray*} \sum ^{n}_{i=1}i \\ \sum\nolimits _{i=1}^{n}i \\ \int\limits ^{\infty }_{x=0}e^{-x^{2}} \\ \int ^{\infty }_{x=0}e^{-x^{2}} \end{eqnarray*} But correct would be: \begin{eqnarray*} \sum\limits ^{n}_{i=1}i \\ \sum _{i=1}^{n}i \\ \int\limits ^{\infty }_{x=0}e^{-x^{2}} \\ \int ^{\infty }_{x=0}e^{-x^{2}} \end{eqnarray*} Regards, Ingo
Re: superscript of sums and integrals in multiline equation
The LaTeX-Export looks like this: \begin{eqnarray*} \sum ^{n}_{i=1}i \\ \sum\nolimits _{i=1}^{n}i \\ \int\limits ^{\infty }_{x=0}e^{-x^{2}} \\ \int ^{\infty }_{x=0}e^{-x^{2}} \end{eqnarray*} But correct would be: \begin{eqnarray*} \sum\limits ^{n}_{i=1}i \\ \sum _{i=1}^{n}i \\ \int\limits ^{\infty }_{x=0}e^{-x^{2}} \\ \int ^{\infty }_{x=0}e^{-x^{2}} \end{eqnarray*} here are parts of my lyx-files: the one of your attached lyx-file superscript... \begin{eqnarray*} \sum ^{n}_{i=1}i \\ \sum\nolimits _{i=1}^{n}i \\ \int\limits ^{\infty }_{x=0}e^{-x^{2}} \\ \int ^{\infty }_{x=0}e^{-x^{2}} \end{eqnarray*} it's just the same as you described above and it's right, that the second sum has no real super/subscript. But when I delete the sum-symbol and write it again, it always works well. My lyx-file is (only the interesting part): \begin{eqnarray*} \sum ^{n}_{i=1}i \\ \sum ^{n}_{i=1}i \\ \int\limits ^{\infty }_{x=0}e^{-x^{2}} \\ \int ^{\infty }_{x=0}e^{-x^{2}} \end{eqnarray*} I have no idea what's wrong with your LyX-Version. Herbert -- [EMAIL PROTECTED] http://www.educat.hu-berlin.de/~voss
Re: superscript of sums and integrals in multiline equation
Herbert wrote: >> Alexander Wollmann wrote: >> >I have a problem with the subscript of sums and integrals: >> > >> >In a single math line (M-m d) the subscript is correctly placed UNDER the sum. >> >Toggle with M-m l changes from "under" to "shifted to the right". >> > >> >In a multiline equation this does only work for integrals. Superscript with >> >sums are always shifted to the right (in postscript), even it seems to be OK in >> >LyX. I need them to be UNDER!! What can I do? > >there is no problem for me (Lyx 1.0.4pre6 and Suse 6.2) to write a sum >with super- and/or subscript above and/or under the sum or integral, >both in >a single line equation and in multilines. I have just installed Lyx 1.0.4pre6 on Suse 6.1 and it still doesn't work for me. Please have a look at the attached example. In Lyx you should see two sums and two integrals in one multiline equation. The first sum resp. integral has sub-/superscripted limits while the second one has its limits postscripted. Now have a look at the DVI-File. Here both sums have postscripted limits while there is no problem with the integrals. The LaTeX-Export looks like this: \begin{eqnarray*} & \sum ^{n}_{i=1}i & \\ & \sum\nolimits _{i=1}^{n}i & \\ & \int\limits ^{\infty }_{x=0}e^{-x^{2}} & \\ & \int ^{\infty }_{x=0}e^{-x^{2}} & \end{eqnarray*} But correct would be: \begin{eqnarray*} & \sum\limits ^{n}_{i=1}i & \\ & \sum _{i=1}^{n}i & \\ & \int\limits ^{\infty }_{x=0}e^{-x^{2}} & \\ & \int ^{\infty }_{x=0}e^{-x^{2}} & \end{eqnarray*} Regards, Ingo
Re: superscript of sums and integrals in multiline equation
> The LaTeX-Export looks like this: > \begin{eqnarray*} > & \sum ^{n}_{i=1}i & \\ > & \sum\nolimits _{i=1}^{n}i & \\ > & \int\limits ^{\infty }_{x=0}e^{-x^{2}} & \\ > & \int ^{\infty }_{x=0}e^{-x^{2}} & > \end{eqnarray*} > > But correct would be: > \begin{eqnarray*} > & \sum\limits ^{n}_{i=1}i & \\ > & \sum _{i=1}^{n}i & \\ > & \int\limits ^{\infty }_{x=0}e^{-x^{2}} & \\ > & \int ^{\infty }_{x=0}e^{-x^{2}} & > \end{eqnarray*} > here are parts of my lyx-files: the one of your attached lyx-file superscript... \begin{eqnarray*} & \sum ^{n}_{i=1}i & \\ & \sum\nolimits _{i=1}^{n}i & \\ & \int\limits ^{\infty }_{x=0}e^{-x^{2}} & \\ & \int ^{\infty }_{x=0}e^{-x^{2}} & \end{eqnarray*} it's just the same as you described above and it's right, that the second sum has no real super/subscript. But when I delete the sum-symbol and write it again, it always works well. My lyx-file is (only the interesting part): \begin{eqnarray*} & \sum ^{n}_{i=1}i & \\ & \sum ^{n}_{i=1}i & \\ & \int\limits ^{\infty }_{x=0}e^{-x^{2}} & \\ & \int ^{\infty }_{x=0}e^{-x^{2}} & \end{eqnarray*} I have no idea what's wrong with your LyX-Version. Herbert -- [EMAIL PROTECTED] http://www.educat.hu-berlin.de/~voss