Re: No Integrals?
On Sat, Apr 27, 2019 at 09:12:40AM +0200, UD Kap wrote: > This is great, Paul-- I installed the fonts as you described and now > everything is fine. Not clear why it wasn't done by default. Later I know nothing about PPA, maybe the dependencies are set wrongly? I normal debian/ubuntu fonts-lyx should be installed by default. Pavel And btw welcome in Prague :) > Ehud Kaplan, Ph.D. > Visiting professor > Dept. of Philosophy & History of Science > Charles University, Prague > & > the National Institute of Mental Health, > Topolová 748, Klecany > Czechia > --- > Jules and Doris Stein Research to Prevent Blindness Professor > Director, Center of Excellence for Computational & System neuroscience, > The Friedman Brain Institute, MSSM > Director, The laboratory of Visual & Computational Neuroscience > Depts. of Neuroscience, Ophthalmology, Chemical & Structural Biology > Icahn school of medicine at Mount Sinai > One Gustave Levy Place > New York, NY, 10029 > USA
Re: No Integrals?
This is great, Paul-- I installed the fonts as you described and now everything is fine. Not clear why it wasn't done by default. Later I'll try the Texlive PPA too. Thanks a lot-- Ehud On 4/27/19 2:12 AM, Paul A. Rubin wrote: On 4/26/19 5:17 PM, UD Kap wrote: Thank you all for your speedy responses. I suspect that Pavel has fingered it-- I don't see any LYX folder in the /usr/share/fonts folder. At least on Mint, there is no .../lyx folder there. The problem is on the Lyx screen-- the output looks OK. I installed from Liviu's ppa. Liviu's PPA has a package named fonts-lyx that will create a folder /usr/share/fonts/truetype (if it does not already exist) and then put a subfolder named 'lyx' under that. In /usr/share/fonts/truetype/lyx, you should find 11 TrueType font files (.ttf extension). If that's not there, you just need to install the fonts-lyx package from the PPA. It is likely, in addition, that my TexLive installation is at fault-- I installed TL from the Mint/Ubuntu repositories, rather than from the VERY CONFUSED Texlive site. The disappointing result is that tlmgr does not work right, or not at all. I get TeXLive from a different PPA: https://launchpad.net/~jonathonf/+archive/ubuntu/texlive. (He also has LyX distributions there, but I've been sticking with Liviu's PPA and have no regrets.) Paul -- -- Ehud Kaplan, Ph.D. Visiting professor Dept. of Philosophy & History of Science Charles University, Prague & the National Institute of Mental Health, Topolová 748, Klecany Czechia --- Jules and Doris Stein Research to Prevent Blindness Professor Director, Center of Excellence for Computational & System neuroscience, The Friedman Brain Institute, MSSM Director, The laboratory of Visual & Computational Neuroscience Depts. of Neuroscience, Ophthalmology, Chemical & Structural Biology Icahn school of medicine at Mount Sinai One Gustave Levy Place New York, NY, 10029 USA
Re: No Integrals?
On 4/26/19 5:17 PM, UD Kap wrote: Thank you all for your speedy responses. I suspect that Pavel has fingered it-- I don't see any LYX folder in the /usr/share/fonts folder. At least on Mint, there is no .../lyx folder there. The problem is on the Lyx screen-- the output looks OK. I installed from Liviu's ppa. Liviu's PPA has a package named fonts-lyx that will create a folder /usr/share/fonts/truetype (if it does not already exist) and then put a subfolder named 'lyx' under that. In /usr/share/fonts/truetype/lyx, you should find 11 TrueType font files (.ttf extension). If that's not there, you just need to install the fonts-lyx package from the PPA. It is likely, in addition, that my TexLive installation is at fault-- I installed TL from the Mint/Ubuntu repositories, rather than from the VERY CONFUSED Texlive site. The disappointing result is that tlmgr does not work right, or not at all. I get TeXLive from a different PPA: https://launchpad.net/~jonathonf/+archive/ubuntu/texlive. (He also has LyX distributions there, but I've been sticking with Liviu's PPA and have no regrets.) Paul
Re: No Integrals?
Thank you all for your speedy responses. I suspect that Pavel has fingered it-- I don't see any LYX folder in the /usr/share/fonts folder. The problem is on the Lyx screen-- the output looks OK. I installed from Liviu's ppa. It is likely, in addition, that my TexLive installation is at fault-- I installed TL from the Mint/Ubuntu repositories, rather than from the VERY CONFUSED Texlive site. The disappointing result is that tlmgr does not work right, or not at all. Yours, Ehud Kaplan On 4/26/19 9:46 AM, Guenter Milde wrote: On 2019-04-26, UD Kap wrote: I am sure I am doing something REALLY silly, but my Lyx (2.3.2, running under Linux Mint-XFCE) refuses to show integrals, pi, etc. Instead, it shows some other symbols (O with an accent for integral, bold letter P for \pi, etc.). Wrong font or wrong font encoding. Latex works fine-- if I use ERT in Lyx or Texworks without Lyx everything is correct, but not if I Insert an equation into Lyx. Is this on screen or in the output? Where did I screw up? Hard to tell without more info: * if it is on screen: what is your GUI font? * if it is in the output, give a minimal example (very samll lyx file that shows the problem). Also, try to export the example to LaTeX, look for differences between ERT and math-inset. Günter -- -- Ehud Kaplan, Ph.D. Visiting professor Dept. of Philosophy & History of Science Charles University, Prague & the National Institute of Mental Health, Topolová 748, Klecany Czechia --- Jules and Doris Stein Research to Prevent Blindness Professor Director, Center of Excellence for Computational & System neuroscience, The Friedman Brain Institute, MSSM Director, The laboratory of Visual & Computational Neuroscience Depts. of Neuroscience, Ophthalmology, Chemical & Structural Biology Icahn school of medicine at Mount Sinai One Gustave Levy Place New York, NY, 10029 USA
Re: No Integrals?
On 4/25/19 11:48 PM, UD Kap wrote: I am sure I am doing something REALLY silly, but my Lyx (2.3.2, running under Linux Mint-XFCE) refuses to show integrals, pi, etc. Instead, it shows some other symbols (O with an accent for integral, bold letter P for \pi, etc.). Latex works fine-- if I use ERT in Lyx or Texworks without Lyx everything is correct, but not if I Insert an equation into Lyx. Where did I screw up? Thanks-- Ehud Kaplan Did you compile it yourself, install from the Canonical repository, or install from Liviu's PPA (which I recommend; the Canonical repo tends to lag behind the current release)? If you installed from a repo, did you install the lyx-common and fonts-lyx packages as well as the lyx package? Paul
Re: No Integrals?
On Fri, Apr 26, 2019 at 07:46:00AM -, Guenter Milde wrote: > On 2019-04-26, UD Kap wrote: > > I am sure I am doing something REALLY silly, but my Lyx (2.3.2, running > > under Linux Mint-XFCE) refuses to show integrals, pi, etc. > > Instead, it shows some other symbols (O with an accent for integral, > > bold letter P for \pi, etc.). > > Wrong font or wrong font encoding. More precisely, do you see some font files in /usr/share/fonts/truetype/lyx/ ? Pavel
Re: No Integrals?
On 2019-04-26, UD Kap wrote: > I am sure I am doing something REALLY silly, but my Lyx (2.3.2, running > under Linux Mint-XFCE) refuses to show integrals, pi, etc. > Instead, it shows some other symbols (O with an accent for integral, > bold letter P for \pi, etc.). Wrong font or wrong font encoding. > Latex works fine-- if I use ERT in Lyx > or Texworks without Lyx everything is correct, but not if I Insert an > equation into Lyx. Is this on screen or in the output? > Where did I screw up? Hard to tell without more info: * if it is on screen: what is your GUI font? * if it is in the output, give a minimal example (very samll lyx file that shows the problem). Also, try to export the example to LaTeX, look for differences between ERT and math-inset. Günter
No Integrals?
I am sure I am doing something REALLY silly, but my Lyx (2.3.2, running under Linux Mint-XFCE) refuses to show integrals, pi, etc. Instead, it shows some other symbols (O with an accent for integral, bold letter P for \pi, etc.). Latex works fine-- if I use ERT in Lyx or Texworks without Lyx everything is correct, but not if I Insert an equation into Lyx. Where did I screw up? Thanks-- Ehud Kaplan -- -- Ehud Kaplan, Ph.D. Visiting professor Dept. of Philosophy & History of Science Charles University, Prague & the National Institute of Mental Health, Topolová 748, Klecany Czechia --- Jules and Doris Stein Research to Prevent Blindness Professor Director, Center of Excellence for Computational & System neuroscience, The Friedman Brain Institute, MSSM Director, The laboratory of Visual & Computational Neuroscience Depts. of Neuroscience, Ophthalmology, Chemical & Structural Biology Icahn school of medicine at Mount Sinai One Gustave Levy Place New York, NY, 10029 USA
Re: limes, integrals,... i miss the input fields index variables
On 04/20/2014 02:21 PM, Jonas J. wrote: When i create something like a limes integral series,... i have no input fields available to enter any index variable. i use the standard formel editor in Lyx. What do i do wrong? Thank you! If you want to enter indices, try hitting ^ and _ (underscore). Did you do that? If this isn't clear, then please post a *small* example file showing what you are trying to do. Richard
Re: limes, integrals,... i miss the input fields index variables
On 04/20/2014 02:21 PM, Jonas J. wrote: When i create something like a limes integral series,... i have no input fields available to enter any index variable. i use the standard formel editor in Lyx. What do i do wrong? Thank you! If you want to enter indices, try hitting ^ and _ (underscore). Did you do that? If this isn't clear, then please post a *small* example file showing what you are trying to do. Richard
Re: limes, integrals,... i miss the input fields index variables
On 04/20/2014 02:21 PM, Jonas J. wrote: When i create something like a limes integral series,... i have no input fields available to enter any index variable. i use the standard formel editor in Lyx. What do i do wrong? Thank you! If you want to enter indices, try hitting ^ and _ (underscore). Did you do that? If this isn't clear, then please post a *small* example file showing what you are trying to do. Richard
limes, integrals,... i miss the input fields index variables
When i create something like a limes integral series,... i have no input fields available to enter any index variable. i use the standard formel editor in Lyx. What do i do wrong? Thank you!
limes, integrals,... i miss the input fields index variables
When i create something like a limes integral series,... i have no input fields available to enter any index variable. i use the standard formel editor in Lyx. What do i do wrong? Thank you!
limes, integrals,... i miss the input fields index variables
When i create something like a limes integral series,... i have no input fields available to enter any index variable. i use the standard formel editor in Lyx. What do i do wrong? Thank you!
vertical bar for evaluating indefinate integrals?
In lyx, how does one make the vertical bar or line that indicates evaluation of an indefinite integral at 2 endpoints to calculate a definite integral? I would think it should be a big op since integration is, but I could not find it on that menu. -- Paul Elliott 1(512)837-1096 pelli...@blackpatchpanel.com PMB 181, 11900 Metric Blvd Suite J http://www.free.blackpatchpanel.com/pme/ Austin TX 78758-3117 signature.asc Description: This is a digitally signed message part.
Re: vertical bar for evaluating indefinate integrals?
Hello, Paul Elliott wrote: In lyx, how does one make the vertical bar or line that indicates evaluation of an indefinite integral at 2 endpoints to calculate a definite integral? I would think it should be a big op since integration is, but I could not find it on that menu. What about enclosing this integral between delimiters (not matched), the left one being blank, and the right one a vertical bar? HTH, -- Daniel CLEMENT
vertical bar for evaluating indefinate integrals?
In lyx, how does one make the vertical bar or line that indicates evaluation of an indefinite integral at 2 endpoints to calculate a definite integral? I would think it should be a big op since integration is, but I could not find it on that menu. -- Paul Elliott 1(512)837-1096 pelli...@blackpatchpanel.com PMB 181, 11900 Metric Blvd Suite J http://www.free.blackpatchpanel.com/pme/ Austin TX 78758-3117 signature.asc Description: This is a digitally signed message part.
Re: vertical bar for evaluating indefinate integrals?
Hello, Paul Elliott wrote: In lyx, how does one make the vertical bar or line that indicates evaluation of an indefinite integral at 2 endpoints to calculate a definite integral? I would think it should be a big op since integration is, but I could not find it on that menu. What about enclosing this integral between delimiters (not matched), the left one being blank, and the right one a vertical bar? HTH, -- Daniel CLEMENT
vertical bar for evaluating indefinate integrals?
In lyx, how does one make the vertical bar or line that indicates evaluation of an indefinite integral at 2 endpoints to calculate a definite integral? I would think it should be a big op since integration is, but I could not find it on that menu. -- Paul Elliott 1(512)837-1096 pelli...@blackpatchpanel.com PMB 181, 11900 Metric Blvd Suite J http://www.free.blackpatchpanel.com/pme/ Austin TX 78758-3117 signature.asc Description: This is a digitally signed message part.
Re: vertical bar for evaluating indefinate integrals?
Hello, Paul Elliott wrote: > In lyx, how does one make the vertical bar or line that indicates evaluation > of an indefinite integral at 2 endpoints to calculate a definite integral? > > I would think it should be a big op since integration is, but I could not > find > it on that menu. > What about enclosing this integral between delimiters (not matched), the left one being blank, and the right one a vertical bar? HTH, -- Daniel CLEMENT
Re: Can't see integrals, sigmas, etc.
Thanks, Guenter-- that did it. Ehud Kaplan Guenter Milde wrote: On 2009-03-05, Ehud Kaplan wrote: I have installed Lyx 1.6.1 on a kubuntu 64 bit (Version 8.10). It seems to work fine, and produce correct pdf output. However, some thing are not shown in the equations (in the Lyx editor): integrals, summation signs, etc. Have I neglected to install anything? Did you install latex-xft-fonts? It is generally a good idea to install all recommended packages (unless you are sure that you do not need them). Günter
Re: Can't see integrals, sigmas, etc.
Thanks, Guenter-- that did it. Ehud Kaplan Guenter Milde wrote: On 2009-03-05, Ehud Kaplan wrote: I have installed Lyx 1.6.1 on a kubuntu 64 bit (Version 8.10). It seems to work fine, and produce correct pdf output. However, some thing are not shown in the equations (in the Lyx editor): integrals, summation signs, etc. Have I neglected to install anything? Did you install latex-xft-fonts? It is generally a good idea to install all recommended packages (unless you are sure that you do not need them). Günter
Re: Can't see integrals, sigmas, etc.
Thanks, Guenter-- that did it. Ehud Kaplan Guenter Milde wrote: On 2009-03-05, Ehud Kaplan wrote: I have installed Lyx 1.6.1 on a kubuntu 64 bit (Version 8.10). It seems to work fine, and produce correct pdf output. However, some thing are not shown in the equations (in the Lyx editor): integrals, summation signs, etc. Have I neglected to install anything? Did you install latex-xft-fonts? It is generally a good idea to install all "recommended" packages (unless you are sure that you do not need them). Günter
Can't see integrals, sigmas, etc.
I have installed Lyx 1.6.1 on a kubuntu 64 bit (Version 8.10). It seems to work fine, and produce correct pdf output. However, some thing are not shown in the equations (in the Lyx editor): integrals, summation signs, etc. Have I neglected to install anything? I have used dpkg to install it, because the ubuntu repositories are behind the times. Thanks,
Re: Can't see integrals, sigmas, etc.
On 2009-03-05, Ehud Kaplan wrote: I have installed Lyx 1.6.1 on a kubuntu 64 bit (Version 8.10). It seems to work fine, and produce correct pdf output. However, some thing are not shown in the equations (in the Lyx editor): integrals, summation signs, etc. Have I neglected to install anything? Did you install latex-xft-fonts? It is generally a good idea to install all recommended packages (unless you are sure that you do not need them). Günter
Can't see integrals, sigmas, etc.
I have installed Lyx 1.6.1 on a kubuntu 64 bit (Version 8.10). It seems to work fine, and produce correct pdf output. However, some thing are not shown in the equations (in the Lyx editor): integrals, summation signs, etc. Have I neglected to install anything? I have used dpkg to install it, because the ubuntu repositories are behind the times. Thanks,
Re: Can't see integrals, sigmas, etc.
On 2009-03-05, Ehud Kaplan wrote: I have installed Lyx 1.6.1 on a kubuntu 64 bit (Version 8.10). It seems to work fine, and produce correct pdf output. However, some thing are not shown in the equations (in the Lyx editor): integrals, summation signs, etc. Have I neglected to install anything? Did you install latex-xft-fonts? It is generally a good idea to install all recommended packages (unless you are sure that you do not need them). Günter
Can't see integrals, sigmas, etc.
I have installed Lyx 1.6.1 on a kubuntu 64 bit (Version 8.10). It seems to work fine, and produce correct pdf output. However, some thing are not shown in the equations (in the Lyx editor): integrals, summation signs, etc. Have I neglected to install anything? I have used dpkg to install it, because the ubuntu repositories are behind the times. Thanks,
Re: Can't see integrals, sigmas, etc.
On 2009-03-05, Ehud Kaplan wrote: > I have installed Lyx 1.6.1 on a kubuntu 64 bit (Version 8.10). > It seems to work fine, and produce correct pdf output. However, some > thing are not shown in the equations (in the Lyx editor): > integrals, summation signs, etc. > Have I neglected to install anything? Did you install latex-xft-fonts? It is generally a good idea to install all "recommended" packages (unless you are sure that you do not need them). Günter
Integrals
I am using LyX 1.5 (beta3) on Windows XP. When compiling the DVI of a paper with some integrals, I received an error because of the lack of the esint.sty. Then, I have installed the package but in the DVI the integral is substituted by a capital delta (\Delta). Any suggestion? Thanks Francesco
Re: Integrals
On 5/20/07, Francesco Menoncin [EMAIL PROTECTED] wrote: I am using LyX 1.5 (beta3) on Windows XP. When compiling the DVI of a paper with some integrals, I received an error because of the lack of the esint.sty. Then, I have installed the package but in the DVI the integral is substituted by a capital delta (\Delta). Any suggestion? Could you please post a minimal example file exhibiting the problem? Paul
Integrals
I am using LyX 1.5 (beta3) on Windows XP. When compiling the DVI of a paper with some integrals, I received an error because of the lack of the esint.sty. Then, I have installed the package but in the DVI the integral is substituted by a capital delta (\Delta). Any suggestion? Thanks Francesco
Re: Integrals
On 5/20/07, Francesco Menoncin [EMAIL PROTECTED] wrote: I am using LyX 1.5 (beta3) on Windows XP. When compiling the DVI of a paper with some integrals, I received an error because of the lack of the esint.sty. Then, I have installed the package but in the DVI the integral is substituted by a capital delta (\Delta). Any suggestion? Could you please post a minimal example file exhibiting the problem? Paul
Integrals
I am using LyX 1.5 (beta3) on Windows XP. When compiling the DVI of a paper with some integrals, I received an error because of the lack of the esint.sty. Then, I have installed the package but in the DVI the integral is substituted by a capital delta (\Delta). Any suggestion? Thanks Francesco
Re: Integrals
On 5/20/07, Francesco Menoncin <[EMAIL PROTECTED]> wrote: I am using LyX 1.5 (beta3) on Windows XP. When compiling the DVI of a paper with some integrals, I received an error because of the lack of the esint.sty. Then, I have installed the package but in the DVI the integral is substituted by a capital delta (\Delta). Any suggestion? Could you please post a minimal example file exhibiting the problem? Paul
How to write integrals with limits forced to be above and below?
Hi all, I would like to write integrals with limits forced to be above and below the integral sign, as in the first example of the attached figure. How do I do this using LyX? I can't find any button in the Math Panel the performs this task, is there any? I have only suceeded in writing an integral with the limits to the right of the integral sign, as in the second example of the attached figure. Thanks in advance, Andreas K. integrals.png Description: JPEG image
Re: How to write integrals with limits forced to be above and below?
On 6/17/06, Andreas Karlsson [EMAIL PROTECTED] wrote: I would like to write integrals with limits forced to be above and below the integral sign, as in the first example of the attached figure. Write \int\limits _{a}^{b}f\left(x\right)dx and select it, and then crtl+m. Paul
Re: How to write integrals with limits forced to be above and below?
Paul Smith wrote: Write \int\limits _{a}^{b}f\left(x\right)dx and select it, and then crtl+m. Alternatively set the cursor behind the integral in the formula and use then the menu Edit - Math - Change Limits Type regards Uwe
How to write integrals with limits forced to be above and below?
Hi all, I would like to write integrals with limits forced to be above and below the integral sign, as in the first example of the attached figure. How do I do this using LyX? I can't find any button in the Math Panel the performs this task, is there any? I have only suceeded in writing an integral with the limits to the right of the integral sign, as in the second example of the attached figure. Thanks in advance, Andreas K. integrals.png Description: JPEG image
Re: How to write integrals with limits forced to be above and below?
On 6/17/06, Andreas Karlsson [EMAIL PROTECTED] wrote: I would like to write integrals with limits forced to be above and below the integral sign, as in the first example of the attached figure. Write \int\limits _{a}^{b}f\left(x\right)dx and select it, and then crtl+m. Paul
Re: How to write integrals with limits forced to be above and below?
Paul Smith wrote: Write \int\limits _{a}^{b}f\left(x\right)dx and select it, and then crtl+m. Alternatively set the cursor behind the integral in the formula and use then the menu Edit - Math - Change Limits Type regards Uwe
How to write integrals with limits forced to be above and below?
Hi all, I would like to write integrals with limits forced to be above and below the integral sign, as in the first example of the attached figure. How do I do this using LyX? I can't find any button in the Math Panel the performs this task, is there any? I have only suceeded in writing an integral with the limits to the right of the integral sign, as in the second example of the attached figure. Thanks in advance, Andreas K. integrals.png Description: JPEG image
Re: How to write integrals with limits forced to be above and below?
On 6/17/06, Andreas Karlsson <[EMAIL PROTECTED]> wrote: I would like to write integrals with limits forced to be above and below the integral sign, as in the first example of the attached figure. Write \int\limits _{a}^{b}f\left(x\right)dx and select it, and then crtl+m. Paul
Re: How to write integrals with limits forced to be above and below?
Paul Smith wrote: Write \int\limits _{a}^{b}f\left(x\right)dx and select it, and then crtl+m. Alternatively set the cursor behind the integral in the formula and use then the menu Edit -> Math -> Change Limits Type regards Uwe
Re: How to make Integrals look nicer?
On Sun, Jan 04, 2004 at 11:09:33PM +0100, Christian Ridderström wrote: I thought I'd add this to the wiki... but does anyone know what Alt-m l actually does? It toggles between '\limits' and '' in inline math and '\nolimits' and '' in displayed math. And while talking about that.. is 'display mode' and 'inline mode' the correct terms for this? In TeX-speak, yes. Andre'
Re: How to make Integrals look nicer?
On Sun, Jan 04, 2004 at 11:09:33PM +0100, Christian Ridderström wrote: I thought I'd add this to the wiki... but does anyone know what Alt-m l actually does? It toggles between '\limits' and '' in inline math and '\nolimits' and '' in displayed math. And while talking about that.. is 'display mode' and 'inline mode' the correct terms for this? In TeX-speak, yes. Andre'
Re: How to make Integrals look nicer?
On Sun, Jan 04, 2004 at 11:09:33PM +0100, Christian Ridderström wrote: > I thought I'd add this to the wiki... but does anyone know what "Alt-m l" > actually does? It toggles between '\limits' and '' in inline math and '\nolimits' and '' in displayed math. > And while talking about that.. is 'display mode' and 'inline mode' the > correct terms for this? In TeX-speak, yes. Andre'
How to make Integrals look nicer?
Hi .* I am writing a script of my maths lecture at university with LyX. Pretty much everything is looking like I want it to, but the Integrals look kind of ugly. Is there any (easy) way to put the numbers (start and stop of the interval) directly above and under the Integral sign? Until now, I drop them in with \int ^a _b I also tried _b \int ^a, but this is'n looking nice, either... It's the same problem which I had with Sums, but there it doesn't really bother me... If you don't know what I mean, I might have a look at: http://www.keen-web.de/none-of-your-business/tmp/mathe1.png (about 40 KB) TIA, Christian
Re: How to make Integrals look nicer?
Christian Marker wrote: I am writing a script of my maths lecture at university with LyX. Pretty much everything is looking like I want it to, but the Integrals look kind of ugly. Is there any (easy) way to put the numbers (start and stop of the interval) directly above and under the Integral sign? Until now, I drop them in with \int ^a _b I also tried _b \int ^a, but this is'n looking nice, either... It's the same problem which I had with Sums, but there it doesn't really bother me... depends to your environment ... see http://www.perce.de/LaTeX/math/Mathmode-TeX.pdf and then limits Herbert
Re: How to make Integrals look nicer?
El Domingo, 4 de Enero de 2004 11:59, Christian Marker escribió: Hi .* I am writing a script of my maths lecture at university with LyX. Pretty much everything is looking like I want it to, but the Integrals look kind of ugly. Is there any (easy) way to put the numbers (start and stop of the interval) directly above and under the Integral sign? Until now, I drop them in with \int ^a _b I also tried _b \int ^a, but this is'n looking nice, either... It's the same problem which I had with Sums, but there it doesn't really bother me... If you don't know what I mean, I might have a look at: http://www.keen-web.de/none-of-your-business/tmp/mathe1.png (about 40 KB) TIA, Christian Well, i had the same question in the past, and i found the answer in a hidden spot of the help documents; let's see: you have to do the following: -write \int^a _b -put the cursor in a way where the integral symbol is selected(with that purple box around it -Press the following key sequence: Alt-M-l -Take a look at your beautiful integral :-) I hope this help you Alejandro pgp0.pgp Description: signature
Re: How to make Integrals look nicer?
On Sun, Jan 04, 2004 at 01:12:10PM +0100, Alejandro Lorenzo Gallego wrote: Content-Description: signed data El Domingo, 4 de Enero de 2004 11:59, Christian Marker escribi?: I am writing a script of my maths lecture at university with LyX. Pretty much everything is looking like I want it to, but the Integrals look kind of ugly. Is there any (easy) way to put the numbers (start and stop of the interval) directly above and under the Integral sign? Until now, I drop you have to do the following: -write \int^a _b -put the cursor in a way where the integral symbol is selected(with that purple box around it -Press the following key sequence: Alt-M-l -Take a look at your beautiful integral :-) There is a good reason why the default placement of the integral limits is not above and below the integral sign: the latter placement would add an ugly vertical space between the lines. If you want to an integral with limits above and below the integral sign, you should probably use display math and not inline math (in LyX, press ctrl+shift+m in order to create a display equation).
Re: How to make Integrals look nicer?
Hi Alejandro! Am Sonntag 04 Januar 2004 13:12 schrieb Alejandro Lorenzo Gallego: El Domingo, 4 de Enero de 2004 11:59, Christian Marker escribió: Hi .* [...] \int ^a _b I also tried _b \int ^a, but this is'n looking nice, either... [...] Well, i had the same question in the past, and i found the answer in a hidden spot of the help documents; let's see: you have to do the following: -write \int^a _b -put the cursor in a way where the integral symbol is selected(with that purple box around it -Press the following key sequence: Alt-M-l -Take a look at your beautiful integral :-) I hope this help you Yes, that was exactly what I wanted. Thanks a lot! Christian
Re: How to make Integrals look nicer?
On Sun, 4 Jan 2004, Christian Marker wrote: If you don't know what I mean, I might have a look at: http://www.keen-web.de/none-of-your-business/tmp/mathe1.png (about 40 KB) I think that's the way it's supposed to look when the math is 'inline' rather than in 'display' mode... but I have no idea how you can change the behaviour /Christian -- Christian Ridderström http://www.md.kth.se/~chr
Re: How to make Integrals look nicer?
On Sun, 4 Jan 2004, Alejandro Lorenzo Gallego wrote: El Domingo, 4 de Enero de 2004 11:59, Christian Marker escribió: Hi .* I am writing a script of my maths lecture at university with LyX. Pretty much everything is looking like I want it to, but the Integrals look kind of ugly. Is there any (easy) way to put the numbers (start and stop of the interval) directly above and under the Integral sign? Until now, I drop them in with \int ^a _b I also tried _b \int ^a, but this is'n looking nice, either... It's the same problem which I had with Sums, but there it doesn't really bother me... If you don't know what I mean, I might have a look at: http://www.keen-web.de/none-of-your-business/tmp/mathe1.png (about 40 KB) TIA, Christian Well, i had the same question in the past, and i found the answer in a hidden spot of the help documents; let's see: you have to do the following: -write \int^a _b -put the cursor in a way where the integral symbol is selected(with that purple box around it -Press the following key sequence: Alt-M-l -Take a look at your beautiful integral :-) I thought I'd add this to the wiki... but does anyone know what Alt-m l actually does? Or is it as simple as that Alt-m l toggles limits from being shown in 'display' v.s. 'inline' mode? And while talking about that.. is 'display mode' and 'inline mode' the correct terms for this? /Christian -- Christian Ridderström http://www.md.kth.se/~chr
Re: How to make Integrals look nicer?
Well, i had the same question in the past, and i found the answer in a hidden spot of the help documents; let's see: you have to do the following: -write \int^a _b -put the cursor in a way where the integral symbol is selected(with that purple box around it -Press the following key sequence: Alt-M-l -Take a look at your beautiful integral I thought I'd add this to the wiki... but does anyone know what Alt-m l actually does? Or is it as simple as that Alt-m l toggles limits from being shown in 'display' v.s. 'inline' mode? And while talking about that.. is 'display mode' and 'inline mode' the correct terms for this? If you can read german, than have a look at http://www.fkurth.de/uwest/LyX/Dokumentation/LyXMathebefehle.pdf Chapter 9.2 In english: M-m l (Alt-M-l) toggle between the two commands \limits \nolimits.(You can write the example in the following way: \int\limits_b ^a ) For integrals the limits are always set beside the operator (nolimits-mode). For sums the limits are set beside the operator in inline formulas and over/under them (limits-mode) in dislay-style formulas. So M-m l has nothing to do with inline ore display-style mode.
Re: How to make Integrals look nicer?
On Mon, 5 Jan 2004, Uwe Stöhr wrote: Thanks, I added your tip here: http://wiki.lyx.org/pmwiki.php/FAQ/Unsorted#changeMathLimits /Christian PS. I read 9.2, it was very nice! I didn't know that there was a menu entry for this... to be honest, I didn't even know that Edit-Math existed... So just in case there are any other like me out there, take a look at: Edit-Math -- Christian Ridderström http://www.md.kth.se/~chr
How to make Integrals look nicer?
Hi .* I am writing a script of my maths lecture at university with LyX. Pretty much everything is looking like I want it to, but the Integrals look kind of ugly. Is there any (easy) way to put the numbers (start and stop of the interval) directly above and under the Integral sign? Until now, I drop them in with \int ^a _b I also tried _b \int ^a, but this is'n looking nice, either... It's the same problem which I had with Sums, but there it doesn't really bother me... If you don't know what I mean, I might have a look at: http://www.keen-web.de/none-of-your-business/tmp/mathe1.png (about 40 KB) TIA, Christian
Re: How to make Integrals look nicer?
Christian Marker wrote: I am writing a script of my maths lecture at university with LyX. Pretty much everything is looking like I want it to, but the Integrals look kind of ugly. Is there any (easy) way to put the numbers (start and stop of the interval) directly above and under the Integral sign? Until now, I drop them in with \int ^a _b I also tried _b \int ^a, but this is'n looking nice, either... It's the same problem which I had with Sums, but there it doesn't really bother me... depends to your environment ... see http://www.perce.de/LaTeX/math/Mathmode-TeX.pdf and then limits Herbert
Re: How to make Integrals look nicer?
El Domingo, 4 de Enero de 2004 11:59, Christian Marker escribió: Hi .* I am writing a script of my maths lecture at university with LyX. Pretty much everything is looking like I want it to, but the Integrals look kind of ugly. Is there any (easy) way to put the numbers (start and stop of the interval) directly above and under the Integral sign? Until now, I drop them in with \int ^a _b I also tried _b \int ^a, but this is'n looking nice, either... It's the same problem which I had with Sums, but there it doesn't really bother me... If you don't know what I mean, I might have a look at: http://www.keen-web.de/none-of-your-business/tmp/mathe1.png (about 40 KB) TIA, Christian Well, i had the same question in the past, and i found the answer in a hidden spot of the help documents; let's see: you have to do the following: -write \int^a _b -put the cursor in a way where the integral symbol is selected(with that purple box around it -Press the following key sequence: Alt-M-l -Take a look at your beautiful integral :-) I hope this help you Alejandro pgp0.pgp Description: signature
Re: How to make Integrals look nicer?
On Sun, Jan 04, 2004 at 01:12:10PM +0100, Alejandro Lorenzo Gallego wrote: Content-Description: signed data El Domingo, 4 de Enero de 2004 11:59, Christian Marker escribi?: I am writing a script of my maths lecture at university with LyX. Pretty much everything is looking like I want it to, but the Integrals look kind of ugly. Is there any (easy) way to put the numbers (start and stop of the interval) directly above and under the Integral sign? Until now, I drop you have to do the following: -write \int^a _b -put the cursor in a way where the integral symbol is selected(with that purple box around it -Press the following key sequence: Alt-M-l -Take a look at your beautiful integral :-) There is a good reason why the default placement of the integral limits is not above and below the integral sign: the latter placement would add an ugly vertical space between the lines. If you want to an integral with limits above and below the integral sign, you should probably use display math and not inline math (in LyX, press ctrl+shift+m in order to create a display equation).
Re: How to make Integrals look nicer?
Hi Alejandro! Am Sonntag 04 Januar 2004 13:12 schrieb Alejandro Lorenzo Gallego: El Domingo, 4 de Enero de 2004 11:59, Christian Marker escribió: Hi .* [...] \int ^a _b I also tried _b \int ^a, but this is'n looking nice, either... [...] Well, i had the same question in the past, and i found the answer in a hidden spot of the help documents; let's see: you have to do the following: -write \int^a _b -put the cursor in a way where the integral symbol is selected(with that purple box around it -Press the following key sequence: Alt-M-l -Take a look at your beautiful integral :-) I hope this help you Yes, that was exactly what I wanted. Thanks a lot! Christian
Re: How to make Integrals look nicer?
On Sun, 4 Jan 2004, Christian Marker wrote: If you don't know what I mean, I might have a look at: http://www.keen-web.de/none-of-your-business/tmp/mathe1.png (about 40 KB) I think that's the way it's supposed to look when the math is 'inline' rather than in 'display' mode... but I have no idea how you can change the behaviour /Christian -- Christian Ridderström http://www.md.kth.se/~chr
Re: How to make Integrals look nicer?
On Sun, 4 Jan 2004, Alejandro Lorenzo Gallego wrote: El Domingo, 4 de Enero de 2004 11:59, Christian Marker escribió: Hi .* I am writing a script of my maths lecture at university with LyX. Pretty much everything is looking like I want it to, but the Integrals look kind of ugly. Is there any (easy) way to put the numbers (start and stop of the interval) directly above and under the Integral sign? Until now, I drop them in with \int ^a _b I also tried _b \int ^a, but this is'n looking nice, either... It's the same problem which I had with Sums, but there it doesn't really bother me... If you don't know what I mean, I might have a look at: http://www.keen-web.de/none-of-your-business/tmp/mathe1.png (about 40 KB) TIA, Christian Well, i had the same question in the past, and i found the answer in a hidden spot of the help documents; let's see: you have to do the following: -write \int^a _b -put the cursor in a way where the integral symbol is selected(with that purple box around it -Press the following key sequence: Alt-M-l -Take a look at your beautiful integral :-) I thought I'd add this to the wiki... but does anyone know what Alt-m l actually does? Or is it as simple as that Alt-m l toggles limits from being shown in 'display' v.s. 'inline' mode? And while talking about that.. is 'display mode' and 'inline mode' the correct terms for this? /Christian -- Christian Ridderström http://www.md.kth.se/~chr
Re: How to make Integrals look nicer?
Well, i had the same question in the past, and i found the answer in a hidden spot of the help documents; let's see: you have to do the following: -write \int^a _b -put the cursor in a way where the integral symbol is selected(with that purple box around it -Press the following key sequence: Alt-M-l -Take a look at your beautiful integral I thought I'd add this to the wiki... but does anyone know what Alt-m l actually does? Or is it as simple as that Alt-m l toggles limits from being shown in 'display' v.s. 'inline' mode? And while talking about that.. is 'display mode' and 'inline mode' the correct terms for this? If you can read german, than have a look at http://www.fkurth.de/uwest/LyX/Dokumentation/LyXMathebefehle.pdf Chapter 9.2 In english: M-m l (Alt-M-l) toggle between the two commands \limits \nolimits.(You can write the example in the following way: \int\limits_b ^a ) For integrals the limits are always set beside the operator (nolimits-mode). For sums the limits are set beside the operator in inline formulas and over/under them (limits-mode) in dislay-style formulas. So M-m l has nothing to do with inline ore display-style mode.
Re: How to make Integrals look nicer?
On Mon, 5 Jan 2004, Uwe Stöhr wrote: Thanks, I added your tip here: http://wiki.lyx.org/pmwiki.php/FAQ/Unsorted#changeMathLimits /Christian PS. I read 9.2, it was very nice! I didn't know that there was a menu entry for this... to be honest, I didn't even know that Edit-Math existed... So just in case there are any other like me out there, take a look at: Edit-Math -- Christian Ridderström http://www.md.kth.se/~chr
How to make Integrals look nicer?
Hi .* I am writing a script of my maths lecture at university with LyX. Pretty much everything is looking like I want it to, but the Integrals look kind of ugly. Is there any (easy) way to put the numbers (start and stop of the interval) directly above and under the Integral sign? Until now, I drop them in with \int ^a _b I also tried _b \int ^a, but this is'n looking nice, either... It's the same problem which I had with Sums, but there it doesn't really bother me... If you don't know what I mean, I might have a look at: http://www.keen-web.de/none-of-your-business/tmp/mathe1.png (about 40 KB) TIA, Christian
Re: How to make Integrals look nicer?
Christian Marker wrote: I am writing a script of my maths lecture at university with LyX. Pretty much everything is looking like I want it to, but the Integrals look kind of ugly. Is there any (easy) way to put the numbers (start and stop of the interval) directly above and under the Integral sign? Until now, I drop them in with \int ^a _b I also tried _b \int ^a, but this is'n looking nice, either... It's the same problem which I had with Sums, but there it doesn't really bother me... depends to your environment ... see http://www.perce.de/LaTeX/math/Mathmode-TeX.pdf and then limits Herbert
Re: How to make Integrals look nicer?
El Domingo, 4 de Enero de 2004 11:59, Christian Marker escribió: > Hi .* > > I am writing a script of my maths lecture at university with LyX. Pretty > much everything is looking like I want it to, but the Integrals look kind > of ugly. Is there any (easy) way to put the numbers (start and stop of the > interval) directly above and under the Integral sign? Until now, I drop > them in with > > \int ^a _b > > I also tried _b \int ^a, but this is'n looking nice, either... > > It's the same problem which I had with Sums, but there it doesn't really > bother me... > > If you don't know what I mean, I might have a look at: > http://www.keen-web.de/none-of-your-business/tmp/mathe1.png (about 40 KB) > > TIA, > Christian Well, i had the same question in the past, and i found the answer in a "hidden" spot of the help documents; let's see: you have to do the following: -write \int^a _b -put the cursor in a way where the integral symbol is selected(with that purple box around it -Press the following key sequence: Alt-M-l -Take a look at your beautiful integral :-) I hope this help you Alejandro pgp0.pgp Description: signature
Re: How to make Integrals look nicer?
On Sun, Jan 04, 2004 at 01:12:10PM +0100, Alejandro Lorenzo Gallego wrote: Content-Description: signed data > El Domingo, 4 de Enero de 2004 11:59, Christian Marker escribi?: > > I am writing a script of my maths lecture at university with LyX. Pretty > > much everything is looking like I want it to, but the Integrals look kind > > of ugly. Is there any (easy) way to put the numbers (start and stop of the > > interval) directly above and under the Integral sign? Until now, I drop > > you have to do the following: > -write \int^a _b > -put the cursor in a way where the integral symbol is selected(with that > purple box around it > -Press the following key sequence: Alt-M-l > -Take a look at your beautiful integral :-) There is a good reason why the default placement of the integral limits is not above and below the integral sign: the latter placement would add an ugly vertical space between the lines. If you want to an integral with limits above and below the integral sign, you should probably use display math and not inline math (in LyX, press ctrl+shift+m in order to create a display equation).
Re: How to make Integrals look nicer?
Hi Alejandro! Am Sonntag 04 Januar 2004 13:12 schrieb Alejandro Lorenzo Gallego: > El Domingo, 4 de Enero de 2004 11:59, Christian Marker escribió: > > Hi .* [...] > > \int ^a _b > > > > I also tried _b \int ^a, but this is'n looking nice, either... > > [...] > Well, i had the same question in the past, and i found the answer in a > "hidden" spot of the help documents; let's see: > > you have to do the following: > -write \int^a _b > -put the cursor in a way where the integral symbol is selected(with that > purple box around it > -Press the following key sequence: Alt-M-l > -Take a look at your beautiful integral :-) > > > I hope this help you Yes, that was exactly what I wanted. Thanks a lot! Christian
Re: How to make Integrals look nicer?
On Sun, 4 Jan 2004, Christian Marker wrote: > If you don't know what I mean, I might have a look at: > http://www.keen-web.de/none-of-your-business/tmp/mathe1.png (about 40 KB) I think that's the way it's supposed to look when the math is 'inline' rather than in 'display' mode... but I have no idea how you can change the behaviour /Christian -- Christian Ridderström http://www.md.kth.se/~chr
Re: How to make Integrals look nicer?
On Sun, 4 Jan 2004, Alejandro Lorenzo Gallego wrote: > El Domingo, 4 de Enero de 2004 11:59, Christian Marker escribió: > > Hi .* > > > > I am writing a script of my maths lecture at university with LyX. Pretty > > much everything is looking like I want it to, but the Integrals look kind > > of ugly. Is there any (easy) way to put the numbers (start and stop of the > > interval) directly above and under the Integral sign? Until now, I drop > > them in with > > > > \int ^a _b > > > > I also tried _b \int ^a, but this is'n looking nice, either... > > > > It's the same problem which I had with Sums, but there it doesn't really > > bother me... > > > > If you don't know what I mean, I might have a look at: > > http://www.keen-web.de/none-of-your-business/tmp/mathe1.png (about 40 KB) > > > > TIA, > > Christian > > > Well, i had the same question in the past, and i found the answer in a > "hidden" spot of the help documents; let's see: > > you have to do the following: > -write \int^a _b > -put the cursor in a way where the integral symbol is selected(with that > purple box around it > -Press the following key sequence: Alt-M-l > -Take a look at your beautiful integral :-) I thought I'd add this to the wiki... but does anyone know what "Alt-m l" actually does? Or is it as simple as that "Alt-m l" toggles limits from being shown in 'display' v.s. 'inline' mode? And while talking about that.. is 'display mode' and 'inline mode' the correct terms for this? /Christian -- Christian Ridderström http://www.md.kth.se/~chr
Re: How to make Integrals look nicer?
>> Well, i had the same question in the past, and i found the answer in a "hidden" spot of the help documents; let's see: >> >> you have to do the following: >> -write \int^a _b >> -put the cursor in a way where the integral symbol is selected(with that purple box around it >> -Press the following key sequence: Alt-M-l -Take a look at your beautiful integral > > > I thought I'd add this to the wiki... but does anyone know what "Alt-m l" actually does? > > Or is it as simple as that "Alt-m l" toggles limits from being shown in 'display' v.s. 'inline' mode? > > And while talking about that.. is 'display mode' and 'inline mode' the > correct terms for this? > If you can read german, than have a look at http://www.fkurth.de/uwest/LyX/Dokumentation/LyXMathebefehle.pdf Chapter 9.2 In english: M-m l (Alt-M-l) toggle between the two commands \limits \nolimits.(You can write the example in the following way: \int\limits_b ^a ) For integrals the limits are always set beside the operator (nolimits-mode). For sums the limits are set beside the operator in inline formulas and over/under them (limits-mode) in dislay-style formulas. So M-m l has nothing to do with inline ore display-style mode.
Re: How to make Integrals look nicer?
On Mon, 5 Jan 2004, Uwe Stöhr wrote: Thanks, I added your tip here: http://wiki.lyx.org/pmwiki.php/FAQ/Unsorted#changeMathLimits /Christian PS. I read 9.2, it was very nice! I didn't know that there was a menu entry for this... to be honest, I didn't even know that Edit->Math existed... So just in case there are any other like me out there, take a look at: Edit->Math -- Christian Ridderström http://www.md.kth.se/~chr
Problems with limits and integrals
Hi, since 1.2.1 I experienced a strange behavior of the limits of integral. If I put the limits above and below the Integral either with \limits or with the M-m l shortcut it works fine till I save and reopen the document. After reopening the limit placement changed back to the normal placement like the one for exponents. Is this a known bug? Thanks Thorsten
Re: Problems with limits and integrals
On Wed, Dec 04, 2002 at 11:27:06AM +0100, Thorsten Fischer wrote: since 1.2.1 Does this include 1.3.0cvs? Is this a known bug? Yes, there have been bugs in that area, but I believed they have been squashed. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: Problems with limits and integrals
Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre On Wed, Dec 04, 2002 at 11:27:06AM +0100, Thorsten Fischer Andre wrote: since 1.2.1 Andre Does this include 1.3.0cvs? Is this a known bug? Andre Yes, there have been bugs in that area, but I believed they Andre have been squashed. Andre, I can confirm this bug in 1.2.2cvs. Do you have a fix in hand? JMarc
Re: Problems with limits and integrals
On Wed, Dec 04, 2002 at 11:49:28AM +0100, Jean-Marc Lasgouttes wrote: Andre Yes, there have been bugs in that area, but I believed they Andre have been squashed. Andre, I can confirm this bug in 1.2.2cvs. Do you have a fix in hand? No... but now. See attachment. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson) Index: src/mathed/math_parser.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_parser.C,v retrieving revision 1.197.2.4 diff -u -p -r1.197.2.4 math_parser.C --- src/mathed/math_parser.C11 Sep 2002 14:47:04 - 1.197.2.4 +++ src/mathed/math_parser.C4 Dec 2002 11:01:34 - @@ -1045,8 +1045,10 @@ void Parser::parse_into1(MathArray arr } p-ensure(up); parse_into(p-cell(up), FLAG_ITEM); - p-limits(limits); - limits = 0; + if (limits) { + p-limits(limits); + limits = 0; + } } else if (t.character() == ']' (flags FLAG_BRACK_END))
Re: Problems with limits and integrals
Thorsten Fischer wrote: Hi, since 1.2.1 I experienced a strange behavior of the limits of integral. If I put the limits above and below the Integral either with \limits or with the M-m l shortcut it works fine till I save and reopen the document. After reopening the limit placement changed back to the normal placement like the one for exponents. Is this a known bug? Thanks Thorsten I had this bug with 1.2.0. (I mentionned it a few months ago here) Sincerely, Olivier.
Re: Problems with limits and integrals
Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre On Wed, Dec 04, 2002 at 11:49:28AM +0100, Jean-Marc Lasgouttes Andre wrote: Yes, there have been bugs in that area, but I believed Andre they have been squashed. Andre, I can confirm this bug in 1.2.2cvs. Do you have a fix in hand? Andre No... Andre but now. See attachment. Thanks a lot. I commited it. JMarc
Problems with limits and integrals
Hi, since 1.2.1 I experienced a strange behavior of the limits of integral. If I put the limits above and below the Integral either with \limits or with the M-m l shortcut it works fine till I save and reopen the document. After reopening the limit placement changed back to the normal placement like the one for exponents. Is this a known bug? Thanks Thorsten
Re: Problems with limits and integrals
On Wed, Dec 04, 2002 at 11:27:06AM +0100, Thorsten Fischer wrote: since 1.2.1 Does this include 1.3.0cvs? Is this a known bug? Yes, there have been bugs in that area, but I believed they have been squashed. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: Problems with limits and integrals
Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre On Wed, Dec 04, 2002 at 11:27:06AM +0100, Thorsten Fischer Andre wrote: since 1.2.1 Andre Does this include 1.3.0cvs? Is this a known bug? Andre Yes, there have been bugs in that area, but I believed they Andre have been squashed. Andre, I can confirm this bug in 1.2.2cvs. Do you have a fix in hand? JMarc
Re: Problems with limits and integrals
On Wed, Dec 04, 2002 at 11:49:28AM +0100, Jean-Marc Lasgouttes wrote: Andre Yes, there have been bugs in that area, but I believed they Andre have been squashed. Andre, I can confirm this bug in 1.2.2cvs. Do you have a fix in hand? No... but now. See attachment. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson) Index: src/mathed/math_parser.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_parser.C,v retrieving revision 1.197.2.4 diff -u -p -r1.197.2.4 math_parser.C --- src/mathed/math_parser.C11 Sep 2002 14:47:04 - 1.197.2.4 +++ src/mathed/math_parser.C4 Dec 2002 11:01:34 - @@ -1045,8 +1045,10 @@ void Parser::parse_into1(MathArray arr } p-ensure(up); parse_into(p-cell(up), FLAG_ITEM); - p-limits(limits); - limits = 0; + if (limits) { + p-limits(limits); + limits = 0; + } } else if (t.character() == ']' (flags FLAG_BRACK_END))
Re: Problems with limits and integrals
Thorsten Fischer wrote: Hi, since 1.2.1 I experienced a strange behavior of the limits of integral. If I put the limits above and below the Integral either with \limits or with the M-m l shortcut it works fine till I save and reopen the document. After reopening the limit placement changed back to the normal placement like the one for exponents. Is this a known bug? Thanks Thorsten I had this bug with 1.2.0. (I mentionned it a few months ago here) Sincerely, Olivier.
Re: Problems with limits and integrals
Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre On Wed, Dec 04, 2002 at 11:49:28AM +0100, Jean-Marc Lasgouttes Andre wrote: Yes, there have been bugs in that area, but I believed Andre they have been squashed. Andre, I can confirm this bug in 1.2.2cvs. Do you have a fix in hand? Andre No... Andre but now. See attachment. Thanks a lot. I commited it. JMarc
Problems with limits and integrals
Hi, since 1.2.1 I experienced a strange behavior of the limits of integral. If I put the limits above and below the Integral either with \limits or with the M-m l shortcut it works fine till I save and reopen the document. After reopening the limit placement changed back to the "normal" placement like the one for exponents. Is this a known bug? Thanks Thorsten
Re: Problems with limits and integrals
On Wed, Dec 04, 2002 at 11:27:06AM +0100, Thorsten Fischer wrote: > since 1.2.1 Does this include 1.3.0cvs? > Is this a known bug? Yes, there have been bugs in that area, but I believed they have been squashed. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: Problems with limits and integrals
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Wed, Dec 04, 2002 at 11:27:06AM +0100, Thorsten Fischer Andre> wrote: >> since 1.2.1 Andre> Does this include 1.3.0cvs? >> Is this a known bug? Andre> Yes, there have been bugs in that area, but I believed they Andre> have been squashed. Andre, I can confirm this bug in 1.2.2cvs. Do you have a fix in hand? JMarc
Re: Problems with limits and integrals
On Wed, Dec 04, 2002 at 11:49:28AM +0100, Jean-Marc Lasgouttes wrote: > Andre> Yes, there have been bugs in that area, but I believed they > Andre> have been squashed. > > Andre, I can confirm this bug in 1.2.2cvs. Do you have a fix in hand? No... but now. See attachment. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson) Index: src/mathed/math_parser.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_parser.C,v retrieving revision 1.197.2.4 diff -u -p -r1.197.2.4 math_parser.C --- src/mathed/math_parser.C11 Sep 2002 14:47:04 - 1.197.2.4 +++ src/mathed/math_parser.C4 Dec 2002 11:01:34 - @@ -1045,8 +1045,10 @@ void Parser::parse_into1(MathArray & arr } p->ensure(up); parse_into(p->cell(up), FLAG_ITEM); - p->limits(limits); - limits = 0; + if (limits) { + p->limits(limits); + limits = 0; + } } else if (t.character() == ']' && (flags & FLAG_BRACK_END))
Re: Problems with limits and integrals
Thorsten Fischer wrote: > Hi, > > since 1.2.1 I experienced a strange behavior of the limits of integral. If I > put the limits above and below the Integral either with \limits or with the > M-m l shortcut it works fine till I save and reopen the document. > After reopening the limit placement changed back to the "normal" placement > like the one for exponents. > > Is this a known bug? > > Thanks > > Thorsten I had this bug with 1.2.0. (I mentionned it a few months ago here) Sincerely, Olivier.
Re: Problems with limits and integrals
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Wed, Dec 04, 2002 at 11:49:28AM +0100, Jean-Marc Lasgouttes Andre> wrote: Yes, there have been bugs in that area, but I believed Andre> they have been squashed. >> Andre, I can confirm this bug in 1.2.2cvs. Do you have a fix in >> hand? Andre> No... Andre> but now. See attachment. Thanks a lot. I commited it. JMarc
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
problem when superscripted integrals are copied
Hi, while trying to solve the different behavior of sums and integrals in multiline equations I discovered another problem. When you copy an integral with super/subscripted limits (mark the integral, C-C, move to insert position, C-V) the copied integral turns out to have postscripted limits. Obviously LyX "forgets" the \limits while copying the integral. The same happens when copying a sum with postscripted limits in a single-line equation. Only that LyX here "forgets" the \nolimits. 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
problem when superscripted integrals are copied
Hi, while trying to solve the different behavior of sums and integrals in multiline equations I discovered another problem. When you copy an integral with super/subscripted limits (mark the integral, C-C, move to insert position, C-V) the copied integral turns out to have postscripted limits. Obviously LyX "forgets" the \limits while copying the integral. The same happens when copying a sum with postscripted limits in a single-line equation. Only that LyX here "forgets" the \nolimits. 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