Re: amsthm package support
Gustavo gugamil...@gmail.com writes: As a mathematician, I frequently use the package amsthm and, as far as I know, unfortunately, Lyx does not support this package. I need to insert latex code (\begin{theorem}, \end{theorem} and similar) everywhere. Not that this is too restrictive, but it would be nicer if those commands where better integrated with Lyx. Since Lyx already provides amsmath and amssymb packages whenever that option is chosen in Document configurations, I believe that it should also provide amsthm with them. Hello, Go in Documents Settings, Modules panel. There you can pick a module that will provide you support for theorems (ams or not). JMarc
Re: amsthm package support
On 09/22/2009 04:16 AM, Jean-Marc Lasgouttes wrote: Gustavogugamil...@gmail.com writes: As a mathematician, I frequently use the package amsthm and, as far as I know, unfortunately, Lyx does not support this package. I need to insert latex code (\begin{theorem}, \end{theorem} and similar) everywhere. Not that this is too restrictive, but it would be nicer if those commands where better integrated with Lyx. Since Lyx already provides amsmath and amssymb packages whenever that option is chosen in Document configurations, I believe that it should also provide amsthm with them. Hello, Go in Documents Settings, Modules panel. There you can pick a module that will provide you support for theorems (ams or not). And this should automatically be loaded if you use the AMS classes. rh
Re: amsthm package support
2009/9/22 rgheck rgh...@bobjweil.com On 09/22/2009 10:37 AM, Gustavo wrote: 2009/9/22 rgheck rgh...@bobjweil.com On 09/22/2009 04:16 AM, Jean-Marc Lasgouttes wrote: Hello, Go in Documents Settings, Modules panel. There you can pick a module that will provide you support for theorems (ams or not). I missed this. Thank you. And this should automatically be loaded if you use the AMS classes. You means if the option Use AMS math package automatically is set? It looks like it is not loaded automatically (I saw the generated Latex code), at least for Lyx version 1.6.2, which is provided by Ubuntu. Create a new document. Go to the DocumentSettings dialog. If you are not in the Document Class tag, select it. Now choose Article (AMS) for your document class (this is amsart.cls). Hit the apply button to select this class. Now choose the Modules tab of the dialog. You should see the Theorems (AMS) module selected. If you ViewSource you will not see the AMS packages included, but they are pulled in automatically by the AMS class, and you will be able to create a theorem. Ok, now I got it. But I guess I'll just include the modules manually, this way I can choose another kind of document class. Using the module amsthm as suggested by Jean-Marc, it seems not possible to create two consecutive theorems without having Lyx to mix them, at least for this version of Lyx. I'll try to install Lyx 1.6.4 and see what I get. LyX wants to allow you to have two paragraphs in the theorem environment (which of course you might), and so it is assuming that this is what you want. If this is not what you want, then you should insert a new paragraph after the first theorem, choose the Separator environment for it, and then start the next theorem. See the attached for an example. We know this is a hack, but it is not easy to figure out a better way both to allow multiple paragraphs and to tell LyX when to start a new theorem. It might be a hack, but it is good enough for me. And it is better than any solution I could have come up with. Thank you. rh rh P.S.: Sorry, I forgot to CC to the Lyx list.
Re: amsthm package support
On 09/22/2009 12:47 PM, Gustavo wrote: And this should automatically be loaded if you use the AMS classes. You means if the option Use AMS math package automatically is set? It looks like it is not loaded automatically (I saw the generated Latex code), at least for Lyx version 1.6.2, which is provided by Ubuntu. Create a new document. Go to the DocumentSettings dialog. If you are not in the Document Class tag, select it. Now choose Article (AMS) for your document class (this is amsart.cls). Hit the apply button to select this class. Now choose the Modules tab of the dialog. You should see the Theorems (AMS) module selected. If you ViewSource you will not see the AMS packages included, but they are pulled in automatically by the AMS class, and you will be able to create a theorem. Ok, now I got it. But I guess I'll just include the modules manually, this way I can choose another kind of document class. That's exactly why the theorems are done as modules. rh
Re: amsthm package support
Gustavo gugamil...@gmail.com writes: As a mathematician, I frequently use the package amsthm and, as far as I know, unfortunately, Lyx does not support this package. I need to insert latex code (\begin{theorem}, \end{theorem} and similar) everywhere. Not that this is too restrictive, but it would be nicer if those commands where better integrated with Lyx. Since Lyx already provides amsmath and amssymb packages whenever that option is chosen in Document configurations, I believe that it should also provide amsthm with them. Hello, Go in Documents Settings, Modules panel. There you can pick a module that will provide you support for theorems (ams or not). JMarc
Re: amsthm package support
On 09/22/2009 04:16 AM, Jean-Marc Lasgouttes wrote: Gustavogugamil...@gmail.com writes: As a mathematician, I frequently use the package amsthm and, as far as I know, unfortunately, Lyx does not support this package. I need to insert latex code (\begin{theorem}, \end{theorem} and similar) everywhere. Not that this is too restrictive, but it would be nicer if those commands where better integrated with Lyx. Since Lyx already provides amsmath and amssymb packages whenever that option is chosen in Document configurations, I believe that it should also provide amsthm with them. Hello, Go in Documents Settings, Modules panel. There you can pick a module that will provide you support for theorems (ams or not). And this should automatically be loaded if you use the AMS classes. rh
Re: amsthm package support
2009/9/22 rgheck rgh...@bobjweil.com On 09/22/2009 10:37 AM, Gustavo wrote: 2009/9/22 rgheck rgh...@bobjweil.com On 09/22/2009 04:16 AM, Jean-Marc Lasgouttes wrote: Hello, Go in Documents Settings, Modules panel. There you can pick a module that will provide you support for theorems (ams or not). I missed this. Thank you. And this should automatically be loaded if you use the AMS classes. You means if the option Use AMS math package automatically is set? It looks like it is not loaded automatically (I saw the generated Latex code), at least for Lyx version 1.6.2, which is provided by Ubuntu. Create a new document. Go to the DocumentSettings dialog. If you are not in the Document Class tag, select it. Now choose Article (AMS) for your document class (this is amsart.cls). Hit the apply button to select this class. Now choose the Modules tab of the dialog. You should see the Theorems (AMS) module selected. If you ViewSource you will not see the AMS packages included, but they are pulled in automatically by the AMS class, and you will be able to create a theorem. Ok, now I got it. But I guess I'll just include the modules manually, this way I can choose another kind of document class. Using the module amsthm as suggested by Jean-Marc, it seems not possible to create two consecutive theorems without having Lyx to mix them, at least for this version of Lyx. I'll try to install Lyx 1.6.4 and see what I get. LyX wants to allow you to have two paragraphs in the theorem environment (which of course you might), and so it is assuming that this is what you want. If this is not what you want, then you should insert a new paragraph after the first theorem, choose the Separator environment for it, and then start the next theorem. See the attached for an example. We know this is a hack, but it is not easy to figure out a better way both to allow multiple paragraphs and to tell LyX when to start a new theorem. It might be a hack, but it is good enough for me. And it is better than any solution I could have come up with. Thank you. rh rh P.S.: Sorry, I forgot to CC to the Lyx list.
Re: amsthm package support
On 09/22/2009 12:47 PM, Gustavo wrote: And this should automatically be loaded if you use the AMS classes. You means if the option Use AMS math package automatically is set? It looks like it is not loaded automatically (I saw the generated Latex code), at least for Lyx version 1.6.2, which is provided by Ubuntu. Create a new document. Go to the DocumentSettings dialog. If you are not in the Document Class tag, select it. Now choose Article (AMS) for your document class (this is amsart.cls). Hit the apply button to select this class. Now choose the Modules tab of the dialog. You should see the Theorems (AMS) module selected. If you ViewSource you will not see the AMS packages included, but they are pulled in automatically by the AMS class, and you will be able to create a theorem. Ok, now I got it. But I guess I'll just include the modules manually, this way I can choose another kind of document class. That's exactly why the theorems are done as modules. rh
Re: amsthm package support
Gustavowrites: > As a mathematician, I frequently use the package amsthm and, as far as I > know, unfortunately, Lyx does not support this package. I need to insert > latex code (\begin{theorem}, \end{theorem} and similar) everywhere. Not that > this is too restrictive, but it would be nicer if those commands where > better integrated with Lyx. Since Lyx already provides amsmath and amssymb > packages whenever that option is chosen in Document configurations, I > believe that it should also provide amsthm with them. Hello, Go in Documents Settings, Modules panel. There you can pick a module that will provide you support for theorems (ams or not). JMarc
Re: amsthm package support
On 09/22/2009 04:16 AM, Jean-Marc Lasgouttes wrote: Gustavowrites: As a mathematician, I frequently use the package amsthm and, as far as I know, unfortunately, Lyx does not support this package. I need to insert latex code (\begin{theorem}, \end{theorem} and similar) everywhere. Not that this is too restrictive, but it would be nicer if those commands where better integrated with Lyx. Since Lyx already provides amsmath and amssymb packages whenever that option is chosen in Document configurations, I believe that it should also provide amsthm with them. Hello, Go in Documents Settings, Modules panel. There you can pick a module that will provide you support for theorems (ams or not). And this should automatically be loaded if you use the AMS classes. rh
Re: amsthm package support
2009/9/22 rgheck> On 09/22/2009 10:37 AM, Gustavo wrote: > > > 2009/9/22 rgheck > >> On 09/22/2009 04:16 AM, Jean-Marc Lasgouttes wrote: >> >>> Hello, >>> >>> Go in Documents Settings, Modules panel. There you can pick a module >>> that will provide you support for theorems (ams or not). >>> >> > I missed this. Thank you. > >> >>> >>> >> And this should automatically be loaded if you use the AMS classes. > > > You means if the option "Use AMS math package automatically" is set? It > looks like it is not loaded automatically (I saw the generated Latex code), > at least for Lyx version 1.6.2, which is provided by Ubuntu. > > Create a new document. Go to the Document>Settings dialog. If you are > not in the Document Class tag, select it. Now choose "Article (AMS)" for > your document class (this is amsart.cls). Hit the apply button to select > this class. Now choose the "Modules" tab of the dialog. You should see the > "Theorems (AMS)" module selected. If you View>Source you will not see the > AMS packages included, but they are pulled in automatically by the AMS > class, and you will be able to create a theorem. > Ok, now I got it. But I guess I'll just include the modules manually, this way I can choose another kind of document class. > > Using the module amsthm as suggested by Jean-Marc, it seems not possible > to create two consecutive theorems without having Lyx to mix them, at least > for this version of Lyx. I'll try to install Lyx 1.6.4 and see what I get. > >> >> LyX wants to allow you to have two paragraphs in the theorem > environment (which of course you might), and so it is assuming that this is > what you want. If this is not what you want, then you should insert a new > paragraph after the first theorem, choose the "Separator" environment for > it, and then start the next theorem. See the attached for an example. > > We know this is a hack, but it is not easy to figure out a better way both > to allow multiple paragraphs and to tell LyX when to start a new theorem. > It might be a hack, but it is good enough for me. And it is better than any solution I could have come up with. Thank you. > > rh > > rh >> >> > > P.S.: Sorry, I forgot to CC to the Lyx list.
Re: amsthm package support
On 09/22/2009 12:47 PM, Gustavo wrote: And this should automatically be loaded if you use the AMS classes. You means if the option "Use AMS math package automatically" is set? It looks like it is not loaded automatically (I saw the generated Latex code), at least for Lyx version 1.6.2, which is provided by Ubuntu. Create a new document. Go to the Document>Settings dialog. If you are not in the Document Class tag, select it. Now choose "Article (AMS)" for your document class (this is amsart.cls). Hit the apply button to select this class. Now choose the "Modules" tab of the dialog. You should see the "Theorems (AMS)" module selected. If you View>Source you will not see the AMS packages included, but they are pulled in automatically by the AMS class, and you will be able to create a theorem. Ok, now I got it. But I guess I'll just include the modules manually, this way I can choose another kind of document class. That's exactly why the theorems are done as modules. rh
amsthm package support
Hello, First I would like to congratulate the Lyx development team for this amazing program. I am a master's degree student in mathematics and Lyx is a hand on the wheel to create mathematical texts, specially for editing complicated formulas, which, in bare latex, are ugly and unreadable. For instance, I can't understand anything here: \[\hat{f}_{n}=\int_{\left[0,1\right)}f\cdot\psi_{n}\, d\mu=\sqrt{2^{k}}\int_{\left[\frac{2r-2}{2^{k+1}},\frac{2r-1}{2^{k+1}}\right]}f\, d\lambda-\sqrt{2^{k}}\int_{\left[\frac{2r-1}{2^{k+1}},\frac{2r}{2^{k+1}}\right]}f\, d\lambda\textrm{,}\] The formula generated is very simple, yet it is not possible to see it in this code. I have been using Lyx for two years now, and currently I am using it to write my thesis. As a mathematician, I frequently use the package amsthm and, as far as I know, unfortunately, Lyx does not support this package. I need to insert latex code (\begin{theorem}, \end{theorem} and similar) everywhere. Not that this is too restrictive, but it would be nicer if those commands where better integrated with Lyx. Since Lyx already provides amsmath and amssymb packages whenever that option is chosen in Document configurations, I believe that it should also provide amsthm with them. Related to this subject, I found this bug report, but there isn't a description. http://www.lyx.org/trac/changeset/22460 Cheers, Gustavo.
amsthm package support
Hello, First I would like to congratulate the Lyx development team for this amazing program. I am a master's degree student in mathematics and Lyx is a hand on the wheel to create mathematical texts, specially for editing complicated formulas, which, in bare latex, are ugly and unreadable. For instance, I can't understand anything here: \[\hat{f}_{n}=\int_{\left[0,1\right)}f\cdot\psi_{n}\, d\mu=\sqrt{2^{k}}\int_{\left[\frac{2r-2}{2^{k+1}},\frac{2r-1}{2^{k+1}}\right]}f\, d\lambda-\sqrt{2^{k}}\int_{\left[\frac{2r-1}{2^{k+1}},\frac{2r}{2^{k+1}}\right]}f\, d\lambda\textrm{,}\] The formula generated is very simple, yet it is not possible to see it in this code. I have been using Lyx for two years now, and currently I am using it to write my thesis. As a mathematician, I frequently use the package amsthm and, as far as I know, unfortunately, Lyx does not support this package. I need to insert latex code (\begin{theorem}, \end{theorem} and similar) everywhere. Not that this is too restrictive, but it would be nicer if those commands where better integrated with Lyx. Since Lyx already provides amsmath and amssymb packages whenever that option is chosen in Document configurations, I believe that it should also provide amsthm with them. Related to this subject, I found this bug report, but there isn't a description. http://www.lyx.org/trac/changeset/22460 Cheers, Gustavo.
amsthm package support
Hello, First I would like to congratulate the Lyx development team for this amazing program. I am a master's degree student in mathematics and Lyx is a hand on the wheel to create mathematical texts, specially for editing complicated formulas, which, in bare latex, are ugly and unreadable. For instance, I can't understand anything here: \[\hat{f}_{n}=\int_{\left[0,1\right)}f\cdot\psi_{n}\, d\mu=\sqrt{2^{k}}\int_{\left[\frac{2r-2}{2^{k+1}},\frac{2r-1}{2^{k+1}}\right]}f\, d\lambda-\sqrt{2^{k}}\int_{\left[\frac{2r-1}{2^{k+1}},\frac{2r}{2^{k+1}}\right]}f\, d\lambda\textrm{,}\] The formula generated is very simple, yet it is not possible to see it in this code. I have been using Lyx for two years now, and currently I am using it to write my thesis. As a mathematician, I frequently use the package amsthm and, as far as I know, unfortunately, Lyx does not support this package. I need to insert latex code (\begin{theorem}, \end{theorem} and similar) everywhere. Not that this is too restrictive, but it would be nicer if those commands where better integrated with Lyx. Since Lyx already provides amsmath and amssymb packages whenever that option is chosen in Document configurations, I believe that it should also provide amsthm with them. Related to this subject, I found this bug report, but there isn't a description. http://www.lyx.org/trac/changeset/22460 Cheers, Gustavo.