Re: Equation numbering variants
Paul A. Rubin msu.edu> writes: > I'm going to assume that you want the marked equations not to interrupt the > equation numbering scheme. In other words, you want (2.3.3)DELTA consecutive > between (2.3.2) and (2.3.4), rather than having both a (2.3.3) and a > (2.3.3)DELTA. > > Create a math macro (Insert > Math > Macro), name it something like \mytag, > and fill the TeX code slot with > > \stepcounter{equation}\tag{\theequation\Delta} > > and the LyX display slot with ?\Delta?. There's nothing sacred about what > goes in the LyX slot; feel free to change it at will. More about that in a > second. > > Then, in any equation you want to flag, just type \mytag in the equation > body. LyX will display ?\Delta? (or whatever you substituted) in the > equation, and will annotate the equation number correctly in the output. If > you leave the LyX portion of the macro empty, LyX will expand the macro > inside the equation. That still works, but it makes for some remarkably ugly > equations in the LyX GUI. > > Paul > Thank you Paul! I tried it and it works good. I see what you mean with the Lyx portion of the macro - it is only for my reference. But the DELTA is inside the round brackets. Is there a way to have it outside the brackets? Franci
Re: Equation numbering variants
Le 16/12/2015 23:05, Franci Žižek a écrit : Paul A. Rubin msu.edu> writes: I'm going to assume that you want the marked equations not to interrupt the equation numbering scheme. In other words, you want (2.3.3)DELTA consecutive between (2.3.2) and (2.3.4), rather than having both a (2.3.3) and a (2.3.3)DELTA. Create a math macro (Insert > Math > Macro), name it something like \mytag, and fill the TeX code slot with \stepcounter{equation}\tag{\theequation\Delta} and the LyX display slot with ?\Delta?. There's nothing sacred about what goes in the LyX slot; feel free to change it at will. More about that in a second. Then, in any equation you want to flag, just type \mytag in the equation body. LyX will display ?\Delta? (or whatever you substituted) in the equation, and will annotate the equation number correctly in the output. If you leave the LyX portion of the macro empty, LyX will expand the macro inside the equation. That still works, but it makes for some remarkably ugly equations in the LyX GUI. Paul Thank you Paul! I tried it and it works good. I see what you mean with the Lyx portion of the macro - it is only for my reference. But the DELTA is inside the round brackets. Is there a way to have it outside the brackets? Use \tag* instead: \stepcounter{equation}\tag*{(\theequation)\Delta} Guillaume
Re: Equation numbering variants
> Use \tag* instead: \stepcounter{equation}\tag*{(\theequation)\Delta} > > Guillaume > Beautiful! Thank you Guillaume! Best regards
Re: Equation numbering variants
Franci Žižek gmail.com> writes: > > Hi > > Can someone give me a hint how I could create a different equation numbering > variant? > > Currently all my equations are numbered like: (2.3.2) > > For some select equations I would like this to change to: (2.3.3)Δ > The counting is continuous, some equations just have an additional DELTA at > the end. > > Any help is appreciated. > > Franci Žižek I'm going to assume that you want the marked equations not to interrupt the equation numbering scheme. In other words, you want (2.3.3)DELTA consecutive between (2.3.2) and (2.3.4), rather than having both a (2.3.3) and a (2.3.3)DELTA. Create a math macro (Insert > Math > Macro), name it something like \mytag, and fill the TeX code slot with \stepcounter{equation}\tag{\theequation\Delta} and the LyX display slot with ?\Delta?. There's nothing sacred about what goes in the LyX slot; feel free to change it at will. More about that in a second. Then, in any equation you want to flag, just type \mytag in the equation body. LyX will display ?\Delta? (or whatever you substituted) in the equation, and will annotate the equation number correctly in the output. If you leave the LyX portion of the macro empty, LyX will expand the macro inside the equation. That still works, but it makes for some remarkably ugly equations in the LyX GUI. Paul
Re: Equation numbering
alpking alpking at hotmail.com writes: Hello, I'm currently writing my master's thesis with Lyx and I have a question : Is it possible to number the equations without the number of the section before ? For now, when I insert a new numbered formula, it is numbered like that : (4.13), meaning the 13th equation in the fourth section. But I want it in the following format : (13), meaning the 13th equation of all the document. For info, I use Lyx 1.6.6.1 and the AMSmath package. Thanks in advance for your help See you, please, if the module Number Equations by Section is loaded in Document Settings. Then you can try to delete it. Some document classes load some modules by default. Maybe you are using one of these classes, e.g. book(AMS) You can find a detailed info about Formula Numbering in the section 19 of the Math manual in the Help menu Regards Ignacio
Re: Equation numbering
alpking alpking at hotmail.com writes: Hello, I'm currently writing my master's thesis with Lyx and I have a question : Is it possible to number the equations without the number of the section before ? For now, when I insert a new numbered formula, it is numbered like that : (4.13), meaning the 13th equation in the fourth section. But I want it in the following format : (13), meaning the 13th equation of all the document. For info, I use Lyx 1.6.6.1 and the AMSmath package. Thanks in advance for your help See you, please, if the module Number Equations by Section is loaded in Document Settings. Then you can try to delete it. Some document classes load some modules by default. Maybe you are using one of these classes, e.g. book(AMS) You can find a detailed info about Formula Numbering in the section 19 of the Math manual in the Help menu Regards Ignacio
Re: Equation numbering
alpking hotmail.com> writes: > > > Hello, > > I'm currently writing my master's thesis with Lyx and I have a question : > > Is it possible to number the equations without the number of the section > before ? For now, when I insert a new numbered formula, it is numbered like > that : (4.13), meaning the 13th equation in the fourth section. But I want > it in the following format : (13), meaning the 13th equation of all the > document. > > For info, I use Lyx 1.6.6.1 and the AMSmath package. > > Thanks in advance for your help See you, please, if the module "Number Equations by Section" is loaded in "Document Settings". Then you can try to delete it. Some document classes load some modules by default. Maybe you are using one of these classes, e.g. book(AMS) You can find a detailed info about Formula Numbering in the section 19 of the Math manual in the Help menu Regards Ignacio
Re: Equation Numbering change in RTL languages
Am 17.05.2010 21:49, schrieb Nosrat Maghsoudi: Greetings, I am using LyX to typeset a book in Farsi. Equation numbers change when referenced. For example (2-12), becomes (21-2). Please help if you have a solution. Can you please provide a LyX example file? I tried to reproduce with the attached LyX file, but there it seems to work correctly. regards Uwe newfile3.lyx Description: application/lyx
Re: Equation Numbering change in RTL languages
Am 17.05.2010 21:49, schrieb Nosrat Maghsoudi: Greetings, I am using LyX to typeset a book in Farsi. Equation numbers change when referenced. For example (2-12), becomes (21-2). Please help if you have a solution. Can you please provide a LyX example file? I tried to reproduce with the attached LyX file, but there it seems to work correctly. regards Uwe newfile3.lyx Description: application/lyx
Re: Equation Numbering change in RTL languages
Am 17.05.2010 21:49, schrieb Nosrat Maghsoudi: Greetings, I am using LyX to typeset a book in Farsi. Equation numbers change when referenced. For example (2-12), becomes (21-2). Please help if you have a solution. Can you please provide a LyX example file? I tried to reproduce with the attached LyX file, but there it seems to work correctly. regards Uwe newfile3.lyx Description: application/lyx
Re: Equation numbering
HI Paula Piece of cake. In LyX, go into Document - Settings. On the Document Class page there is an area for class options. Put leqno in the custom options box and it will use the leqno LaTeX option which puts equations on the left. -Neil = Neil Hepburn, Economics Instructor Department of Social Sciences, Augustana Faculty University of Alberta 4901-46 Avenue Camrose, Alberta T4V 2R3 Phone (780) 679-1588 email [EMAIL PROTECTED] On 26-Nov-08, at 7:36 PM, Paulina Restrepo wrote: Hi, I use Lyx 1.5.1 on Mac OS. Right now I have all my equations numbered but the label appears to the far right of the equation, I'm wondering if its possible to make the label appear at the far left of the equation. Thank you very much for your help, Paulina
Re: Equation numbering
HI Paula Piece of cake. In LyX, go into Document - Settings. On the Document Class page there is an area for class options. Put leqno in the custom options box and it will use the leqno LaTeX option which puts equations on the left. -Neil = Neil Hepburn, Economics Instructor Department of Social Sciences, Augustana Faculty University of Alberta 4901-46 Avenue Camrose, Alberta T4V 2R3 Phone (780) 679-1588 email [EMAIL PROTECTED] On 26-Nov-08, at 7:36 PM, Paulina Restrepo wrote: Hi, I use Lyx 1.5.1 on Mac OS. Right now I have all my equations numbered but the label appears to the far right of the equation, I'm wondering if its possible to make the label appear at the far left of the equation. Thank you very much for your help, Paulina
Re: Equation numbering
HI Paula Piece of cake. In LyX, go into Document -> Settings. On the "Document Class" page there is an area for class options. Put leqno in the custom options box and it will use the leqno LaTeX option which puts equations on the left. -Neil = Neil Hepburn, Economics Instructor Department of Social Sciences, Augustana Faculty University of Alberta 4901-46 Avenue Camrose, Alberta T4V 2R3 Phone (780) 679-1588 email [EMAIL PROTECTED] On 26-Nov-08, at 7:36 PM, Paulina Restrepo wrote: Hi, I use Lyx 1.5.1 on Mac OS. Right now I have all my equations numbered but the label appears to the far right of the equation, I'm wondering if its possible to make the label appear at the far left of the equation. Thank you very much for your help, Paulina
Re: Equation numbering
Right click and choose Toggle Labeling/Numbering On Nov 24, 2008, at 7:35 AM, FERNANDO DIAZ wrote: Hi: How can make the equation numbers to appear to the right of the equations in LyX 1.6? Thanks! * Fernando Díaz H, Ph.D. * Profesor de Economía y Finanzas Facultad de Ciencias Económicas y Empresariales Universidad de los Andes (56 2) 412-9650 [EMAIL PROTECTED] [EMAIL PROTECTED] Avda. San Carlos de Apoquindo 2200, Las Condes, Santiago Chile
Re: Equation numbering
How can make the equation numbers to appear to the right of the equations in LyX 1.6? Normally (Insert Math numberedformula) gives the equation number, right justified, applicable in many journals and books. Maybe this is not what you want ? WAS
Re: Equation numbering
FERNANDO DIAZ wrote: Hi: How can make the equation numbers to appear to the right of the equations in LyX 1.6? If you're getting equation numbers on the left side, try adding 'reqno' as a class option in Document - Settings... - Document Class. /Paul
Re: Equation numbering
Right click and choose Toggle Labeling/Numbering On Nov 24, 2008, at 7:35 AM, FERNANDO DIAZ wrote: Hi: How can make the equation numbers to appear to the right of the equations in LyX 1.6? Thanks! * Fernando Díaz H, Ph.D. * Profesor de Economía y Finanzas Facultad de Ciencias Económicas y Empresariales Universidad de los Andes (56 2) 412-9650 [EMAIL PROTECTED] [EMAIL PROTECTED] Avda. San Carlos de Apoquindo 2200, Las Condes, Santiago Chile
Re: Equation numbering
How can make the equation numbers to appear to the right of the equations in LyX 1.6? Normally (Insert Math numberedformula) gives the equation number, right justified, applicable in many journals and books. Maybe this is not what you want ? WAS
Re: Equation numbering
FERNANDO DIAZ wrote: Hi: How can make the equation numbers to appear to the right of the equations in LyX 1.6? If you're getting equation numbers on the left side, try adding 'reqno' as a class option in Document - Settings... - Document Class. /Paul
Re: Equation numbering
Right click and choose "Toggle Labeling/Numbering" On Nov 24, 2008, at 7:35 AM, FERNANDO DIAZ wrote: Hi: How can make the equation numbers to appear to the right of the equations in LyX 1.6? Thanks! * Fernando Díaz H, Ph.D. * Profesor de Economía y Finanzas Facultad de Ciencias Económicas y Empresariales Universidad de los Andes (56 2) 412-9650 [EMAIL PROTECTED] [EMAIL PROTECTED] Avda. San Carlos de Apoquindo 2200, Las Condes, Santiago Chile
Re: Equation numbering
> How can make the equation numbers to appear to the right of the equations in > LyX 1.6? Normally (Insert > Math > numberedformula) gives the equation number, right justified, applicable in many journals and books. Maybe this is not what you want ? WAS
Re: Equation numbering
FERNANDO DIAZ wrote: Hi: How can make the equation numbers to appear to the right of the equations in LyX 1.6? If you're getting equation numbers on the left side, try adding 'reqno' as a class option in Document -> Settings... -> Document Class. /Paul
Re: Equation numbering
David Hewitt wrote: This was just discussed recently. Search the archives for display formula numbering and you'll get what you want. bigblop wrote: All my equations in LyX have the number (0.1) but they are shown correctly in the pdf. But why the same number for all equations in LyX? Ok I have now read that post and it seems that there is currently no solution to this problem and that its caused somewhere in the instant preview implementation, or have I misread the post? -- View this message in context: http://www.nabble.com/Equation--numbering-tp16071319p16077712.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Equation numbering
You got it. bigblop wrote: David Hewitt wrote: This was just discussed recently. Search the archives for display formula numbering and you'll get what you want. bigblop wrote: All my equations in LyX have the number (0.1) but they are shown correctly in the pdf. But why the same number for all equations in LyX? Ok I have now read that post and it seems that there is currently no solution to this problem and that its caused somewhere in the instant preview implementation, or have I misread the post? - David Hewitt Virginia Institute of Marine Science http://www.vims.edu/fish/students/dhewitt/ -- View this message in context: http://www.nabble.com/Equation--numbering-tp16071319p16078261.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Equation numbering
David Hewitt wrote: This was just discussed recently. Search the archives for display formula numbering and you'll get what you want. bigblop wrote: All my equations in LyX have the number (0.1) but they are shown correctly in the pdf. But why the same number for all equations in LyX? Ok I have now read that post and it seems that there is currently no solution to this problem and that its caused somewhere in the instant preview implementation, or have I misread the post? -- View this message in context: http://www.nabble.com/Equation--numbering-tp16071319p16077712.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Equation numbering
You got it. bigblop wrote: David Hewitt wrote: This was just discussed recently. Search the archives for display formula numbering and you'll get what you want. bigblop wrote: All my equations in LyX have the number (0.1) but they are shown correctly in the pdf. But why the same number for all equations in LyX? Ok I have now read that post and it seems that there is currently no solution to this problem and that its caused somewhere in the instant preview implementation, or have I misread the post? - David Hewitt Virginia Institute of Marine Science http://www.vims.edu/fish/students/dhewitt/ -- View this message in context: http://www.nabble.com/Equation--numbering-tp16071319p16078261.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Equation numbering
David Hewitt wrote: > > This was just discussed recently. Search the archives for "display formula > numbering" and you'll get what you want. > > > bigblop wrote: >> >> All my equations in LyX have the number (0.1) but they are shown >> correctly in the pdf. But why the same number for all equations in LyX? >> > > Ok I have now read that post and it seems that there is currently no solution to this problem and that its caused somewhere in the instant preview implementation, or have I misread the post? -- View this message in context: http://www.nabble.com/Equation--numbering-tp16071319p16077712.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Equation numbering
You got it. bigblop wrote: > > > > David Hewitt wrote: >> >> This was just discussed recently. Search the archives for "display >> formula numbering" and you'll get what you want. >> >> >> bigblop wrote: >>> >>> All my equations in LyX have the number (0.1) but they are shown >>> correctly in the pdf. But why the same number for all equations in LyX? >>> >> >> > > Ok I have now read that post and it seems that there is currently no > solution to this problem and that its caused somewhere in the instant > preview implementation, or have I misread the post? > - David Hewitt Virginia Institute of Marine Science http://www.vims.edu/fish/students/dhewitt/ -- View this message in context: http://www.nabble.com/Equation--numbering-tp16071319p16078261.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Equation numbering
This was just discussed recently. Search the archives for display formula numbering and you'll get what you want. bigblop wrote: All my equations in LyX have the number (0.1) but they are shown correctly in the pdf. But why the same number for all equations in LyX? - David Hewitt Virginia Institute of Marine Science http://www.vims.edu/fish/students/dhewitt/ -- View this message in context: http://www.nabble.com/Equation--numbering-tp16071319p16073725.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Equation numbering
This was just discussed recently. Search the archives for display formula numbering and you'll get what you want. bigblop wrote: All my equations in LyX have the number (0.1) but they are shown correctly in the pdf. But why the same number for all equations in LyX? - David Hewitt Virginia Institute of Marine Science http://www.vims.edu/fish/students/dhewitt/ -- View this message in context: http://www.nabble.com/Equation--numbering-tp16071319p16073725.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Equation numbering
This was just discussed recently. Search the archives for "display formula numbering" and you'll get what you want. bigblop wrote: > > All my equations in LyX have the number (0.1) but they are shown correctly > in the pdf. But why the same number for all equations in LyX? > - David Hewitt Virginia Institute of Marine Science http://www.vims.edu/fish/students/dhewitt/ -- View this message in context: http://www.nabble.com/Equation--numbering-tp16071319p16073725.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Equation numbering in different document classes
Gary wrote: Hi, I'm writing my thesis using lyx. I'm not exactly sure what class to use. The problem is this: If I use the book class, the top level sectioning environment is chapter and the numbering of the equations inherit the chapter number. Equation's on chapter 1 will be numbered: 1.1, 1.2 ... and on chapter 2 they will be numbered: 2.1, 2.2... This is good. However this is not really a book and I don't want the word Chapter to apear in begining of each chapter. I'm more comfortable with the article class where the top level is Section. But then the equations don't inherit the section number. They are simply numbered 1,2,3... Add to the preamble: \numberwithin{equation}{section} This ought to work; it's what works for the amsart class. -- David L. Johnson Some people used to claim that, if enough monkeys sat in front of enough typewriters and typed long enough, eventually one of them would reproduce the collected works of Shakespeare. The internet has proven this not to be the case.
Re: Equation numbering in different document classes
Gary wrote: I'm writing my thesis using lyx. I'm not exactly sure what class to use. All of the things you mention can be redefined fairly easily. You might want to look at the koma-script classes, which have a lot of built-in customization possibilities. The documentation is very complete. You'll find it in scrguien.pdf (English) or scrguide.pdf (German). The problem is this: If I use the book class, the top level sectioning environment is chapter and the numbering of the equations inherit the chapter number. Equation's on chapter 1 will be numbered: 1.1, 1.2 ... and on chapter 2 they will be numbered: 2.1, 2.2... This is good. However this is not really a book and I don't want the word Chapter to apear in begining of each chapter. This is trivial: \renewcommand{\chaptername}{}. I'm more comfortable with the article class where the top level is Section. But then the equations don't inherit the section number. They are simply numbered 1,2,3... Something like: \renewcommand{\theequation}{\thesection.\arabic{equation}} should do the trick. You will want to make it a bit more complicated if you have unnumbered sections. Richard -- == Richard G Heck, Jr Professor of Philosophy Brown University http://bobjweil.com/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Re: Equation numbering in different document classes
Gary [EMAIL PROTECTED] writes: David, Richard thanks. David your suggestion worked like a charm. Richard, maybe I didn't understand what you were saying. \renewcommand{\chaptername}{} Where am I supposed to add this line? In an ERT box? \renewcommand{\theequation}{\thesection.\arabic{equation}} This is even less comprehensible. It looks like this code suggests I need to enter this command somewhere for every equation which is not going to happen. And arabic? Sorry guys I am Latex handicapped and I ain't terribly inclined to learn it. Don't have the time. thanks, Gary
Re: Equation numbering in different document classes
Gary wrote: Gary [EMAIL PROTECTED] writes: Richard, maybe I didn't understand what you were saying. \renewcommand{\chaptername}{} Where am I supposed to add this line? In an ERT box? You can put it in the preamble. \renewcommand{\theequation}{\thesection.\arabic{equation}} This is even less comprehensible. It looks like this code suggests I need to enter this command somewhere for every equation which is not going to happen. And arabic? This would also go in the preamble. The term arabic means: arabic numbers, as opposed to Roman. Sorry guys I am Latex handicapped and I ain't terribly inclined to learn it. Don't have the time. Then it is all the more important you find a document class that will pretty much do what you want or that permits easy customization. Best, Richard -- == Richard G Heck, Jr Professor of Philosophy Brown University http://bobjweil.com/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Re: Equation numbering in different document classes
Gary wrote: Hi, I'm writing my thesis using lyx. I'm not exactly sure what class to use. The problem is this: If I use the book class, the top level sectioning environment is chapter and the numbering of the equations inherit the chapter number. Equation's on chapter 1 will be numbered: 1.1, 1.2 ... and on chapter 2 they will be numbered: 2.1, 2.2... This is good. However this is not really a book and I don't want the word Chapter to apear in begining of each chapter. I'm more comfortable with the article class where the top level is Section. But then the equations don't inherit the section number. They are simply numbered 1,2,3... Add to the preamble: \numberwithin{equation}{section} This ought to work; it's what works for the amsart class. -- David L. Johnson Some people used to claim that, if enough monkeys sat in front of enough typewriters and typed long enough, eventually one of them would reproduce the collected works of Shakespeare. The internet has proven this not to be the case.
Re: Equation numbering in different document classes
Gary wrote: I'm writing my thesis using lyx. I'm not exactly sure what class to use. All of the things you mention can be redefined fairly easily. You might want to look at the koma-script classes, which have a lot of built-in customization possibilities. The documentation is very complete. You'll find it in scrguien.pdf (English) or scrguide.pdf (German). The problem is this: If I use the book class, the top level sectioning environment is chapter and the numbering of the equations inherit the chapter number. Equation's on chapter 1 will be numbered: 1.1, 1.2 ... and on chapter 2 they will be numbered: 2.1, 2.2... This is good. However this is not really a book and I don't want the word Chapter to apear in begining of each chapter. This is trivial: \renewcommand{\chaptername}{}. I'm more comfortable with the article class where the top level is Section. But then the equations don't inherit the section number. They are simply numbered 1,2,3... Something like: \renewcommand{\theequation}{\thesection.\arabic{equation}} should do the trick. You will want to make it a bit more complicated if you have unnumbered sections. Richard -- == Richard G Heck, Jr Professor of Philosophy Brown University http://bobjweil.com/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Re: Equation numbering in different document classes
Gary [EMAIL PROTECTED] writes: David, Richard thanks. David your suggestion worked like a charm. Richard, maybe I didn't understand what you were saying. \renewcommand{\chaptername}{} Where am I supposed to add this line? In an ERT box? \renewcommand{\theequation}{\thesection.\arabic{equation}} This is even less comprehensible. It looks like this code suggests I need to enter this command somewhere for every equation which is not going to happen. And arabic? Sorry guys I am Latex handicapped and I ain't terribly inclined to learn it. Don't have the time. thanks, Gary
Re: Equation numbering in different document classes
Gary wrote: Gary [EMAIL PROTECTED] writes: Richard, maybe I didn't understand what you were saying. \renewcommand{\chaptername}{} Where am I supposed to add this line? In an ERT box? You can put it in the preamble. \renewcommand{\theequation}{\thesection.\arabic{equation}} This is even less comprehensible. It looks like this code suggests I need to enter this command somewhere for every equation which is not going to happen. And arabic? This would also go in the preamble. The term arabic means: arabic numbers, as opposed to Roman. Sorry guys I am Latex handicapped and I ain't terribly inclined to learn it. Don't have the time. Then it is all the more important you find a document class that will pretty much do what you want or that permits easy customization. Best, Richard -- == Richard G Heck, Jr Professor of Philosophy Brown University http://bobjweil.com/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Re: Equation numbering in different document classes
Gary wrote: Hi, I'm writing my thesis using lyx. I'm not exactly sure what class to use. The problem is this: If I use the book class, the top level sectioning environment is chapter and the numbering of the equations inherit the chapter number. Equation's on chapter 1 will be numbered: 1.1, 1.2 ... and on chapter 2 they will be numbered: 2.1, 2.2... This is good. However this is not really a book and I don't want the word "Chapter" to apear in begining of each chapter. I'm more comfortable with the article class where the top level is Section. But then the equations don't inherit the section number. They are simply numbered 1,2,3... Add to the preamble: \numberwithin{equation}{section} This ought to work; it's what works for the amsart class. -- David L. Johnson Some people used to claim that, if enough monkeys sat in front of enough typewriters and typed long enough, eventually one of them would reproduce the collected works of Shakespeare. The internet has proven this not to be the case.
Re: Equation numbering in different document classes
Gary wrote: > I'm writing my thesis using lyx. > I'm not exactly sure what class to use. All of the things you mention can be redefined fairly easily. You might want to look at the koma-script classes, which have a lot of built-in customization possibilities. The documentation is very complete. You'll find it in scrguien.pdf (English) or scrguide.pdf (German). > The problem is this: > If I use the book class, the top level sectioning environment is chapter and > the numbering of the equations inherit the chapter number. Equation's on > chapter 1 will be numbered: 1.1, 1.2 ... and on chapter 2 they will be > numbered: 2.1, 2.2... This is good. However this is not really a book and I > don't want the word "Chapter" to apear in begining of each chapter. > This is trivial: \renewcommand{\chaptername}{}. > I'm more comfortable with the article class where the top level is Section. > But > then the equations don't inherit the section number. They are simply numbered > 1,2,3... > Something like: \renewcommand{\theequation}{\thesection.\arabic{equation}} should do the trick. You will want to make it a bit more complicated if you have unnumbered sections. Richard -- == Richard G Heck, Jr Professor of Philosophy Brown University http://bobjweil.com/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Re: Equation numbering in different document classes
Gary <[EMAIL PROTECTED]> writes: David, Richard thanks. David your suggestion worked like a charm. Richard, maybe I didn't understand what you were saying. \renewcommand{\chaptername}{} Where am I supposed to add this line? In an ERT box? \renewcommand{\theequation}{\thesection.\arabic{equation}} This is even less comprehensible. It looks like this code suggests I need to enter this command somewhere for every equation which is not going to happen. And arabic? Sorry guys I am Latex handicapped and I ain't terribly inclined to learn it. Don't have the time. thanks, Gary
Re: Equation numbering in different document classes
Gary wrote: > Gary <[EMAIL PROTECTED]> writes: > > Richard, maybe I didn't understand what you were saying. > \renewcommand{\chaptername}{} > Where am I supposed to add this line? In an ERT box? > You can put it in the preamble. > \renewcommand{\theequation}{\thesection.\arabic{equation}} > This is even less comprehensible. It looks like this code suggests I need to > enter this command somewhere for every equation which is not going to happen. > And arabic? > This would also go in the preamble. The term "arabic" means: arabic numbers, as opposed to Roman. > Sorry guys I am Latex handicapped and I ain't terribly inclined to learn it. > Don't have the time. > Then it is all the more important you find a document class that will pretty much do what you want or that permits easy customization. Best, Richard -- == Richard G Heck, Jr Professor of Philosophy Brown University http://bobjweil.com/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Re: Equation numbering
Nick Kuzmik schrieb: Is there any way to get section/subsection reflected in equation numbering? For example, I have a study guide that chapter 13.1 to 17.5, thats 36 pages long with some 228 lines of equations. It would be more concise to be able to reference equation 14.3.3, rather than Equation 94 Add this line to your document preamble \numberwithin{equation}{subsection} and set in the document setings that the AMS math package is used. (You can replace subsection with every other section heading you prefer for the numbering.) Attached is an examply LyX file. regards Uwe newfile4.lyx Description: application/lyx
Re: Equation numbering
Nick Kuzmik schrieb: Is there any way to get section/subsection reflected in equation numbering? For example, I have a study guide that chapter 13.1 to 17.5, thats 36 pages long with some 228 lines of equations. It would be more concise to be able to reference equation 14.3.3, rather than Equation 94 Add this line to your document preamble \numberwithin{equation}{subsection} and set in the document setings that the AMS math package is used. (You can replace subsection with every other section heading you prefer for the numbering.) Attached is an examply LyX file. regards Uwe newfile4.lyx Description: application/lyx
Re: Equation numbering
Nick Kuzmik schrieb: Is there any way to get section/subsection reflected in equation numbering? For example, I have a study guide that chapter 13.1 to 17.5, thats 36 pages long with some 228 lines of equations. It would be more concise to be able to reference equation 14.3.3, rather than Equation 94 Add this line to your document preamble \numberwithin{equation}{subsection} and set in the document setings that the AMS math package is used. (You can replace "subsection" with every other section heading you prefer for the numbering.) Attached is an examply LyX file. regards Uwe newfile4.lyx Description: application/lyx
RE: Equation numbering
Dear All, So I've now used th follwing in my preamble \usepackage{remreset} [EMAIL PROTECTED] \renewcommand{\theequation}{\arabic{equation}} no errors but no success. Numbers are consecutive in each section starting with 1, so the renewcommand has got rid of the section number e.g Eq.(2.2) becomes Eq.(2) but the removefromreset has had no effect. Any ideas. Mike From: Richard Heck [mailto:[EMAIL PROTECTED] Sent: Mon 14/08/2006 19:16 To: Mike Reeks Cc: Richard Heck; Jens Noeckel; Uwe Stöhr; Lyx-users Subject: Re: Equation numbering You'll need to \usepackage{remreset}. Mike Reeks wrote: Dear Richard, Jens and Uwe In the process of installing remreset.sty I noticed that it is already installed in Miktex in texmf/tex/latex/carlisle so I am assuming therefore that the commands [EMAIL PROTECTED] \renewcommand{\theequation}{\arabic{equation}} in my preamble will automatically be recognized. Anyway no point in installing remreset twice. Any thoughts on why it's not working. Do I need to declare the use of remreset.sty anywhere? Best Mike From: Richard Heck [mailto:[EMAIL PROTECTED] Sent: Wed 09/08/2006 15:51 To: Mike Reeks Cc: Jens Noeckel; Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering I'm confused about what you want. Do you want the equations to be numbered consecutively throughout the document and NOT to be reset in each section? If so, then the only way to do this, short of modifying the document class directly, is to use the remreset (or removefr) package, since there is no remove reset command in standard LaTeX. Once remreset is downloaded and installed, you should need just this: [EMAIL PROTECTED] You'll still need this line: \renewcommand{\theequation}{\arabic{equation}} to control how equation numbers are displayed. If you DO want equation numbers to be reset in each section, so that you have 1, 2, 3 in section 1, and then 1, 2, 3 again in section 2, etc., then [EMAIL PROTECTED] should do the trick. But then a reference to equation 3 is ambiguous. Richard Mike Reeks wrote: Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure
RE: Equation numbering
Dear All, So I've now used th follwing in my preamble \usepackage{remreset} [EMAIL PROTECTED] \renewcommand{\theequation}{\arabic{equation}} no errors but no success. Numbers are consecutive in each section starting with 1, so the renewcommand has got rid of the section number e.g Eq.(2.2) becomes Eq.(2) but the removefromreset has had no effect. Any ideas. Mike From: Richard Heck [mailto:[EMAIL PROTECTED] Sent: Mon 14/08/2006 19:16 To: Mike Reeks Cc: Richard Heck; Jens Noeckel; Uwe Stöhr; Lyx-users Subject: Re: Equation numbering You'll need to \usepackage{remreset}. Mike Reeks wrote: Dear Richard, Jens and Uwe In the process of installing remreset.sty I noticed that it is already installed in Miktex in texmf/tex/latex/carlisle so I am assuming therefore that the commands [EMAIL PROTECTED] \renewcommand{\theequation}{\arabic{equation}} in my preamble will automatically be recognized. Anyway no point in installing remreset twice. Any thoughts on why it's not working. Do I need to declare the use of remreset.sty anywhere? Best Mike From: Richard Heck [mailto:[EMAIL PROTECTED] Sent: Wed 09/08/2006 15:51 To: Mike Reeks Cc: Jens Noeckel; Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering I'm confused about what you want. Do you want the equations to be numbered consecutively throughout the document and NOT to be reset in each section? If so, then the only way to do this, short of modifying the document class directly, is to use the remreset (or removefr) package, since there is no remove reset command in standard LaTeX. Once remreset is downloaded and installed, you should need just this: [EMAIL PROTECTED] You'll still need this line: \renewcommand{\theequation}{\arabic{equation}} to control how equation numbers are displayed. If you DO want equation numbers to be reset in each section, so that you have 1, 2, 3 in section 1, and then 1, 2, 3 again in section 2, etc., then [EMAIL PROTECTED] should do the trick. But then a reference to equation 3 is ambiguous. Richard Mike Reeks wrote: Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure
RE: Equation numbering
Dear All, So I've now used th follwing in my preamble \usepackage{remreset} [EMAIL PROTECTED] \renewcommand{\theequation}{\arabic{equation}} no errors but no success. Numbers are consecutive in each section starting with 1, so the renewcommand has got rid of the section number e.g Eq.(2.2) becomes Eq.(2) but the removefromreset has had no effect. Any ideas. Mike From: Richard Heck [mailto:[EMAIL PROTECTED] Sent: Mon 14/08/2006 19:16 To: Mike Reeks Cc: Richard Heck; Jens Noeckel; Uwe Stöhr; Lyx-users Subject: Re: Equation numbering You'll need to \usepackage{remreset}. Mike Reeks wrote: Dear Richard, Jens and Uwe In the process of installing remreset.sty I noticed that it is already installed in Miktex in texmf/tex/latex/carlisle so I am assuming therefore that the commands [EMAIL PROTECTED] \renewcommand{\theequation}{\arabic{equation}} in my preamble will automatically be recognized. Anyway no point in installing remreset twice. Any thoughts on why it's not working. Do I need to declare the use of remreset.sty anywhere? Best Mike From: Richard Heck [mailto:[EMAIL PROTECTED] Sent: Wed 09/08/2006 15:51 To: Mike Reeks Cc: Jens Noeckel; Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering I'm confused about what you want. Do you want the equations to be numbered consecutively throughout the document and NOT to be reset in each section? If so, then the only way to do this, short of modifying the document class directly, is to use the remreset (or removefr) package, since there is no "remove reset" command in standard LaTeX. Once remreset is downloaded and installed, you should need just this: [EMAIL PROTECTED] You'll still need this line: \renewcommand{\theequation}{\arabic{equation}} to control how equation numbers are displayed. If you DO want equation numbers to be reset in each section, so that you have 1, 2, 3 in section 1, and then 1, 2, 3 again in section 2, etc., then [EMAIL PROTECTED] should do the trick. But then a reference to equation 3 is ambiguous. Richard Mike Reeks wrote: Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in E
RE: Equation numbering
Dear Richard, Jens and Uwe In the process of installing remreset.sty I noticed that it is already installed in Miktex in texmf/tex/latex/carlisle so I am assuming therefore that the commands [EMAIL PROTECTED] \renewcommand{\theequation}{\arabic{equation}} in my preamble will automatically be recognized. Anyway no point in installing remreset twice. Any thoughts on why it's not working. Do I need to declare the use of remreset.sty anywhere? Best Mike From: Richard Heck [mailto:[EMAIL PROTECTED] Sent: Wed 09/08/2006 15:51 To: Mike Reeks Cc: Jens Noeckel; Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering I'm confused about what you want. Do you want the equations to be numbered consecutively throughout the document and NOT to be reset in each section? If so, then the only way to do this, short of modifying the document class directly, is to use the remreset (or removefr) package, since there is no remove reset command in standard LaTeX. Once remreset is downloaded and installed, you should need just this: [EMAIL PROTECTED] You'll still need this line: \renewcommand{\theequation}{\arabic{equation}} to control how equation numbers are displayed. If you DO want equation numbers to be reset in each section, so that you have 1, 2, 3 in section 1, and then 1, 2, 3 again in section 2, etc., then [EMAIL PROTECTED] should do the trick. But then a reference to equation 3 is ambiguous. Richard Mike Reeks wrote: Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
Re: Equation numbering
You'll need to \usepackage{remreset}. Mike Reeks wrote: Dear Richard, Jens and Uwe In the process of installing remreset.sty I noticed that it is already installed in Miktex in texmf/tex/latex/carlisle so I am assuming therefore that the commands [EMAIL PROTECTED] \renewcommand{\theequation}{\arabic{equation}} in my preamble will automatically be recognized. Anyway no point in installing remreset twice. Any thoughts on why it's not working. Do I need to declare the use of remreset.sty anywhere? Best Mike From: Richard Heck [mailto:[EMAIL PROTECTED] Sent: Wed 09/08/2006 15:51 To: Mike Reeks Cc: Jens Noeckel; Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering I'm confused about what you want. Do you want the equations to be numbered consecutively throughout the document and NOT to be reset in each section? If so, then the only way to do this, short of modifying the document class directly, is to use the remreset (or removefr) package, since there is no remove reset command in standard LaTeX. Once remreset is downloaded and installed, you should need just this: [EMAIL PROTECTED] You'll still need this line: \renewcommand{\theequation}{\arabic{equation}} to control how equation numbers are displayed. If you DO want equation numbers to be reset in each section, so that you have 1, 2, 3 in section 1, and then 1, 2, 3 again in section 2, etc., then [EMAIL PROTECTED] should do the trick. But then a reference to equation 3 is ambiguous. Richard Mike Reeks wrote: Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
RE: Equation numbering
Dear Richard, Thankyou for this vital piece of information. As you can tell I am a complete novice. Thanks for your time and patience. Best Mike From: Richard Heck [mailto:[EMAIL PROTECTED] Sent: Mon 14/08/2006 19:16 To: Mike Reeks Cc: Richard Heck; Jens Noeckel; Uwe Stöhr; Lyx-users Subject: Re: Equation numbering You'll need to \usepackage{remreset}. Mike Reeks wrote: Dear Richard, Jens and Uwe In the process of installing remreset.sty I noticed that it is already installed in Miktex in texmf/tex/latex/carlisle so I am assuming therefore that the commands [EMAIL PROTECTED] \renewcommand{\theequation}{\arabic{equation}} in my preamble will automatically be recognized. Anyway no point in installing remreset twice. Any thoughts on why it's not working. Do I need to declare the use of remreset.sty anywhere? Best Mike From: Richard Heck [mailto:[EMAIL PROTECTED] Sent: Wed 09/08/2006 15:51 To: Mike Reeks Cc: Jens Noeckel; Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering I'm confused about what you want. Do you want the equations to be numbered consecutively throughout the document and NOT to be reset in each section? If so, then the only way to do this, short of modifying the document class directly, is to use the remreset (or removefr) package, since there is no remove reset command in standard LaTeX. Once remreset is downloaded and installed, you should need just this: [EMAIL PROTECTED] You'll still need this line: \renewcommand{\theequation}{\arabic{equation}} to control how equation numbers are displayed. If you DO want equation numbers to be reset in each section, so that you have 1, 2, 3 in section 1, and then 1, 2, 3 again in section 2, etc., then [EMAIL PROTECTED] should do the trick. But then a reference to equation 3 is ambiguous. Richard Mike Reeks wrote: Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation
RE: Equation numbering
Dear Richard, Jens and Uwe In the process of installing remreset.sty I noticed that it is already installed in Miktex in texmf/tex/latex/carlisle so I am assuming therefore that the commands [EMAIL PROTECTED] \renewcommand{\theequation}{\arabic{equation}} in my preamble will automatically be recognized. Anyway no point in installing remreset twice. Any thoughts on why it's not working. Do I need to declare the use of remreset.sty anywhere? Best Mike From: Richard Heck [mailto:[EMAIL PROTECTED] Sent: Wed 09/08/2006 15:51 To: Mike Reeks Cc: Jens Noeckel; Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering I'm confused about what you want. Do you want the equations to be numbered consecutively throughout the document and NOT to be reset in each section? If so, then the only way to do this, short of modifying the document class directly, is to use the remreset (or removefr) package, since there is no remove reset command in standard LaTeX. Once remreset is downloaded and installed, you should need just this: [EMAIL PROTECTED] You'll still need this line: \renewcommand{\theequation}{\arabic{equation}} to control how equation numbers are displayed. If you DO want equation numbers to be reset in each section, so that you have 1, 2, 3 in section 1, and then 1, 2, 3 again in section 2, etc., then [EMAIL PROTECTED] should do the trick. But then a reference to equation 3 is ambiguous. Richard Mike Reeks wrote: Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
Re: Equation numbering
You'll need to \usepackage{remreset}. Mike Reeks wrote: Dear Richard, Jens and Uwe In the process of installing remreset.sty I noticed that it is already installed in Miktex in texmf/tex/latex/carlisle so I am assuming therefore that the commands [EMAIL PROTECTED] \renewcommand{\theequation}{\arabic{equation}} in my preamble will automatically be recognized. Anyway no point in installing remreset twice. Any thoughts on why it's not working. Do I need to declare the use of remreset.sty anywhere? Best Mike From: Richard Heck [mailto:[EMAIL PROTECTED] Sent: Wed 09/08/2006 15:51 To: Mike Reeks Cc: Jens Noeckel; Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering I'm confused about what you want. Do you want the equations to be numbered consecutively throughout the document and NOT to be reset in each section? If so, then the only way to do this, short of modifying the document class directly, is to use the remreset (or removefr) package, since there is no remove reset command in standard LaTeX. Once remreset is downloaded and installed, you should need just this: [EMAIL PROTECTED] You'll still need this line: \renewcommand{\theequation}{\arabic{equation}} to control how equation numbers are displayed. If you DO want equation numbers to be reset in each section, so that you have 1, 2, 3 in section 1, and then 1, 2, 3 again in section 2, etc., then [EMAIL PROTECTED] should do the trick. But then a reference to equation 3 is ambiguous. Richard Mike Reeks wrote: Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
RE: Equation numbering
Dear Richard, Thankyou for this vital piece of information. As you can tell I am a complete novice. Thanks for your time and patience. Best Mike From: Richard Heck [mailto:[EMAIL PROTECTED] Sent: Mon 14/08/2006 19:16 To: Mike Reeks Cc: Richard Heck; Jens Noeckel; Uwe Stöhr; Lyx-users Subject: Re: Equation numbering You'll need to \usepackage{remreset}. Mike Reeks wrote: Dear Richard, Jens and Uwe In the process of installing remreset.sty I noticed that it is already installed in Miktex in texmf/tex/latex/carlisle so I am assuming therefore that the commands [EMAIL PROTECTED] \renewcommand{\theequation}{\arabic{equation}} in my preamble will automatically be recognized. Anyway no point in installing remreset twice. Any thoughts on why it's not working. Do I need to declare the use of remreset.sty anywhere? Best Mike From: Richard Heck [mailto:[EMAIL PROTECTED] Sent: Wed 09/08/2006 15:51 To: Mike Reeks Cc: Jens Noeckel; Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering I'm confused about what you want. Do you want the equations to be numbered consecutively throughout the document and NOT to be reset in each section? If so, then the only way to do this, short of modifying the document class directly, is to use the remreset (or removefr) package, since there is no remove reset command in standard LaTeX. Once remreset is downloaded and installed, you should need just this: [EMAIL PROTECTED] You'll still need this line: \renewcommand{\theequation}{\arabic{equation}} to control how equation numbers are displayed. If you DO want equation numbers to be reset in each section, so that you have 1, 2, 3 in section 1, and then 1, 2, 3 again in section 2, etc., then [EMAIL PROTECTED] should do the trick. But then a reference to equation 3 is ambiguous. Richard Mike Reeks wrote: Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation
RE: Equation numbering
Dear Richard, Jens and Uwe In the process of installing remreset.sty I noticed that it is already installed in Miktex in texmf/tex/latex/carlisle so I am assuming therefore that the commands [EMAIL PROTECTED] \renewcommand{\theequation}{\arabic{equation}} in my preamble will automatically be recognized. Anyway no point in installing remreset twice. Any thoughts on why it's not working. Do I need to declare the use of remreset.sty anywhere? Best Mike From: Richard Heck [mailto:[EMAIL PROTECTED] Sent: Wed 09/08/2006 15:51 To: Mike Reeks Cc: Jens Noeckel; Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering I'm confused about what you want. Do you want the equations to be numbered consecutively throughout the document and NOT to be reset in each section? If so, then the only way to do this, short of modifying the document class directly, is to use the remreset (or removefr) package, since there is no "remove reset" command in standard LaTeX. Once remreset is downloaded and installed, you should need just this: [EMAIL PROTECTED] You'll still need this line: \renewcommand{\theequation}{\arabic{equation}} to control how equation numbers are displayed. If you DO want equation numbers to be reset in each section, so that you have 1, 2, 3 in section 1, and then 1, 2, 3 again in section 2, etc., then [EMAIL PROTECTED] should do the trick. But then a reference to equation 3 is ambiguous. Richard Mike Reeks wrote: > Dear Jens > In my preamble after the line > \renewcommand{\theequation}{\arabic{equation}} > I added the line > @addtoreset{equation}{section} > which had nor effect. Have I followed your suggestion correcty, have I > mispelt it. What next? > Mike > > > > > From: Jens Noeckel [mailto:[EMAIL PROTECTED] > Sent: Tue 08/08/2006 19:00 > To: Mike Reeks > Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] > Subject: Re: Equation numbering > > > > > On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: > > >> Dear Uwe >> Nearly there. The command in preamble numbers the equation in each >> section .without the section number. I want the equation number in >> ascending order irrespective of section number e.g. 1, 2, 3 etc for >> section n (before they were numbered n.1, n.2 etc. I need to turn >> of a section counter maybe. >> Any help >> I should say I am using a J. Fluid Mech cls layout file which >> should do the trick since this is the journal eqn number style. >> Mike >> >> ________ >> >> From: Uwe Stöhr [mailto:[EMAIL PROTECTED] >> Sent: Mon 07/08/2006 21:23 >> To: Mike Reeks >> Cc: Lyx-users; [EMAIL PROTECTED] >> Subject: Re: Equation numbering >> >> >> >> Mike Reeks wrote: >> >> >>> Any idea how to change Eqn numbering from numbering by section to >>> absolute numbering? >>> >> Add this line to your preamble or at the beginning of your document in >> ERT (assure that you use amsmath explicitely in the document >> preferences): >> >> \renewcommand{\theequation}{\arabic{equation}} >> >> regards Uwe >> >> >> > > Try the following (one additional line): > > renewcommand\theequation{\arabic{equation}} > [EMAIL PROTECTED] > > Regards, > Jens > > > >
Re: Equation numbering
You'll need to \usepackage{remreset}. Mike Reeks wrote: Dear Richard, Jens and Uwe In the process of installing remreset.sty I noticed that it is already installed in Miktex in texmf/tex/latex/carlisle so I am assuming therefore that the commands [EMAIL PROTECTED] \renewcommand{\theequation}{\arabic{equation}} in my preamble will automatically be recognized. Anyway no point in installing remreset twice. Any thoughts on why it's not working. Do I need to declare the use of remreset.sty anywhere? Best Mike From: Richard Heck [mailto:[EMAIL PROTECTED] Sent: Wed 09/08/2006 15:51 To: Mike Reeks Cc: Jens Noeckel; Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering I'm confused about what you want. Do you want the equations to be numbered consecutively throughout the document and NOT to be reset in each section? If so, then the only way to do this, short of modifying the document class directly, is to use the remreset (or removefr) package, since there is no "remove reset" command in standard LaTeX. Once remreset is downloaded and installed, you should need just this: [EMAIL PROTECTED] You'll still need this line: \renewcommand{\theequation}{\arabic{equation}} to control how equation numbers are displayed. If you DO want equation numbers to be reset in each section, so that you have 1, 2, 3 in section 1, and then 1, 2, 3 again in section 2, etc., then [EMAIL PROTECTED] should do the trick. But then a reference to equation 3 is ambiguous. Richard Mike Reeks wrote: Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
RE: Equation numbering
Dear Richard, Thankyou for this vital piece of information. As you can tell I am a complete novice. Thanks for your time and patience. Best Mike From: Richard Heck [mailto:[EMAIL PROTECTED] Sent: Mon 14/08/2006 19:16 To: Mike Reeks Cc: Richard Heck; Jens Noeckel; Uwe Stöhr; Lyx-users Subject: Re: Equation numbering You'll need to \usepackage{remreset}. Mike Reeks wrote: Dear Richard, Jens and Uwe In the process of installing remreset.sty I noticed that it is already installed in Miktex in texmf/tex/latex/carlisle so I am assuming therefore that the commands [EMAIL PROTECTED] \renewcommand{\theequation}{\arabic{equation}} in my preamble will automatically be recognized. Anyway no point in installing remreset twice. Any thoughts on why it's not working. Do I need to declare the use of remreset.sty anywhere? Best Mike From: Richard Heck [mailto:[EMAIL PROTECTED] Sent: Wed 09/08/2006 15:51 To: Mike Reeks Cc: Jens Noeckel; Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering I'm confused about what you want. Do you want the equations to be numbered consecutively throughout the document and NOT to be reset in each section? If so, then the only way to do this, short of modifying the document class directly, is to use the remreset (or removefr) package, since there is no "remove reset" command in standard LaTeX. Once remreset is downloaded and installed, you should need just this: [EMAIL PROTECTED] You'll still need this line: \renewcommand{\theequation}{\arabic{equation}} to control how equation numbers are displayed. If you DO want equation numbers to be reset in each section, so that you have 1, 2, 3 in section 1, and then 1, 2, 3 again in section 2, etc., then [EMAIL PROTECTED] should do the trick. But then a reference to equation 3 is ambiguous. Richard Mike Reeks wrote: Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabi
RE: Equation numbering
Thanks Jens. From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
RE: Equation numbering
Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
Re: Equation numbering
Mike, I'm assuming your document class is derived from article. I don't know what else you have in the preamble, but in order for this to work one needs to make sure that no other package re-defines the counters after your modifications. So I would add the two lines \renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] at the very end of the preamble. If this still doesn't work, I would empty out the preamble except for the two lines above, and switch to a basic article class (article, or koma-article), so you can be sure that \theequation is really used as expected. Jens On Aug 9, 2006, at 1:46 AM, Mike Reeks wrote: Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
Re: Equation numbering
I'm confused about what you want. Do you want the equations to be numbered consecutively throughout the document and NOT to be reset in each section? If so, then the only way to do this, short of modifying the document class directly, is to use the remreset (or removefr) package, since there is no remove reset command in standard LaTeX. Once remreset is downloaded and installed, you should need just this: [EMAIL PROTECTED] You'll still need this line: \renewcommand{\theequation}{\arabic{equation}} to control how equation numbers are displayed. If you DO want equation numbers to be reset in each section, so that you have 1, 2, 3 in section 1, and then 1, 2, 3 again in section 2, etc., then [EMAIL PROTECTED] should do the trick. But then a reference to equation 3 is ambiguous. Richard Mike Reeks wrote: Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
RE: Equation numbering
Thanks. Yes I do want equations to be numbered consecutively. So I need to remove reset command. I'll follow your instructions. What's the best place to find the remreset package. Mike From: Richard Heck [mailto:[EMAIL PROTECTED] Sent: Wed 09/08/2006 15:51 To: Mike Reeks Cc: Jens Noeckel; Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering I'm confused about what you want. Do you want the equations to be numbered consecutively throughout the document and NOT to be reset in each section? If so, then the only way to do this, short of modifying the document class directly, is to use the remreset (or removefr) package, since there is no remove reset command in standard LaTeX. Once remreset is downloaded and installed, you should need just this: [EMAIL PROTECTED] You'll still need this line: \renewcommand{\theequation}{\arabic{equation}} to control how equation numbers are displayed. If you DO want equation numbers to be reset in each section, so that you have 1, 2, 3 in section 1, and then 1, 2, 3 again in section 2, etc., then [EMAIL PROTECTED] should do the trick. But then a reference to equation 3 is ambiguous. Richard Mike Reeks wrote: Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
RE: Equation numbering
Dear Jens I only have the 2 statements you suggested in my preamble. I will try Richards advice. Best Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Wed 09/08/2006 15:40 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike, I'm assuming your document class is derived from article. I don't know what else you have in the preamble, but in order for this to work one needs to make sure that no other package re-defines the counters after your modifications. So I would add the two lines \renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] at the very end of the preamble. If this still doesn't work, I would empty out the preamble except for the two lines above, and switch to a basic article class (article, or koma-article), so you can be sure that \theequation is really used as expected. Jens On Aug 9, 2006, at 1:46 AM, Mike Reeks wrote: Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
Re: Equation numbering
Ah, I was confused about what you wanted. Richard's explanation is exactly on the mark. I thought you wanted what he stated at the end of his message. The remreset style file is (e.g.) at ftp://ftp.dante.de/tex-archive/macros/latex/contrib/carlisle Jens On Aug 9, 2006, at 9:38 AM, Mike Reeks wrote: Dear Jens I only have the 2 statements you suggested in my preamble. I will try Richards advice. Best Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Wed 09/08/2006 15:40 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike, I'm assuming your document class is derived from article. I don't know what else you have in the preamble, but in order for this to work one needs to make sure that no other package re-defines the counters after your modifications. So I would add the two lines \renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] at the very end of the preamble. If this still doesn't work, I would empty out the preamble except for the two lines above, and switch to a basic article class (article, or koma-article), so you can be sure that \theequation is really used as expected. Jens On Aug 9, 2006, at 1:46 AM, Mike Reeks wrote: Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
Re: Equation numbering
Mike Reeks wrote: In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? You missed the preceding \: [EMAIL PROTECTED] But anyway, if this wasn't the reason try to insert the command in ERT at the beginning of your document in the following form: \makeatletter [EMAIL PROTECTED] \makeatother If this also doesn't help, send a small example LyX-file. regards Uwe
RE: Equation numbering
Thanks Jens. From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
RE: Equation numbering
Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
Re: Equation numbering
Mike, I'm assuming your document class is derived from article. I don't know what else you have in the preamble, but in order for this to work one needs to make sure that no other package re-defines the counters after your modifications. So I would add the two lines \renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] at the very end of the preamble. If this still doesn't work, I would empty out the preamble except for the two lines above, and switch to a basic article class (article, or koma-article), so you can be sure that \theequation is really used as expected. Jens On Aug 9, 2006, at 1:46 AM, Mike Reeks wrote: Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
Re: Equation numbering
I'm confused about what you want. Do you want the equations to be numbered consecutively throughout the document and NOT to be reset in each section? If so, then the only way to do this, short of modifying the document class directly, is to use the remreset (or removefr) package, since there is no remove reset command in standard LaTeX. Once remreset is downloaded and installed, you should need just this: [EMAIL PROTECTED] You'll still need this line: \renewcommand{\theequation}{\arabic{equation}} to control how equation numbers are displayed. If you DO want equation numbers to be reset in each section, so that you have 1, 2, 3 in section 1, and then 1, 2, 3 again in section 2, etc., then [EMAIL PROTECTED] should do the trick. But then a reference to equation 3 is ambiguous. Richard Mike Reeks wrote: Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
RE: Equation numbering
Thanks. Yes I do want equations to be numbered consecutively. So I need to remove reset command. I'll follow your instructions. What's the best place to find the remreset package. Mike From: Richard Heck [mailto:[EMAIL PROTECTED] Sent: Wed 09/08/2006 15:51 To: Mike Reeks Cc: Jens Noeckel; Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering I'm confused about what you want. Do you want the equations to be numbered consecutively throughout the document and NOT to be reset in each section? If so, then the only way to do this, short of modifying the document class directly, is to use the remreset (or removefr) package, since there is no remove reset command in standard LaTeX. Once remreset is downloaded and installed, you should need just this: [EMAIL PROTECTED] You'll still need this line: \renewcommand{\theequation}{\arabic{equation}} to control how equation numbers are displayed. If you DO want equation numbers to be reset in each section, so that you have 1, 2, 3 in section 1, and then 1, 2, 3 again in section 2, etc., then [EMAIL PROTECTED] should do the trick. But then a reference to equation 3 is ambiguous. Richard Mike Reeks wrote: Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
RE: Equation numbering
Dear Jens I only have the 2 statements you suggested in my preamble. I will try Richards advice. Best Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Wed 09/08/2006 15:40 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike, I'm assuming your document class is derived from article. I don't know what else you have in the preamble, but in order for this to work one needs to make sure that no other package re-defines the counters after your modifications. So I would add the two lines \renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] at the very end of the preamble. If this still doesn't work, I would empty out the preamble except for the two lines above, and switch to a basic article class (article, or koma-article), so you can be sure that \theequation is really used as expected. Jens On Aug 9, 2006, at 1:46 AM, Mike Reeks wrote: Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
Re: Equation numbering
Ah, I was confused about what you wanted. Richard's explanation is exactly on the mark. I thought you wanted what he stated at the end of his message. The remreset style file is (e.g.) at ftp://ftp.dante.de/tex-archive/macros/latex/contrib/carlisle Jens On Aug 9, 2006, at 9:38 AM, Mike Reeks wrote: Dear Jens I only have the 2 statements you suggested in my preamble. I will try Richards advice. Best Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Wed 09/08/2006 15:40 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike, I'm assuming your document class is derived from article. I don't know what else you have in the preamble, but in order for this to work one needs to make sure that no other package re-defines the counters after your modifications. So I would add the two lines \renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] at the very end of the preamble. If this still doesn't work, I would empty out the preamble except for the two lines above, and switch to a basic article class (article, or koma-article), so you can be sure that \theequation is really used as expected. Jens On Aug 9, 2006, at 1:46 AM, Mike Reeks wrote: Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
Re: Equation numbering
Mike Reeks wrote: In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? You missed the preceding \: [EMAIL PROTECTED] But anyway, if this wasn't the reason try to insert the command in ERT at the beginning of your document in the following form: \makeatletter [EMAIL PROTECTED] \makeatother If this also doesn't help, send a small example LyX-file. regards Uwe
RE: Equation numbering
Thanks Jens. From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: > Dear Uwe > Nearly there. The command in preamble numbers the equation in each > section .without the section number. I want the equation number in > ascending order irrespective of section number e.g. 1, 2, 3 etc for > section n (before they were numbered n.1, n.2 etc. I need to turn > of a section counter maybe. > Any help > I should say I am using a J. Fluid Mech cls layout file which > should do the trick since this is the journal eqn number style. > Mike > > > > From: Uwe Stöhr [mailto:[EMAIL PROTECTED] > Sent: Mon 07/08/2006 21:23 > To: Mike Reeks > Cc: Lyx-users; [EMAIL PROTECTED] > Subject: Re: Equation numbering > > > > Mike Reeks wrote: > >> Any idea how to change Eqn numbering from numbering by section to >> absolute numbering? > > Add this line to your preamble or at the beginning of your document in > ERT (assure that you use amsmath explicitely in the document > preferences): > > \renewcommand{\theequation}{\arabic{equation}} > > regards Uwe > > Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
RE: Equation numbering
Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: > Dear Uwe > Nearly there. The command in preamble numbers the equation in each > section .without the section number. I want the equation number in > ascending order irrespective of section number e.g. 1, 2, 3 etc for > section n (before they were numbered n.1, n.2 etc. I need to turn > of a section counter maybe. > Any help > I should say I am using a J. Fluid Mech cls layout file which > should do the trick since this is the journal eqn number style. > Mike > > > > From: Uwe Stöhr [mailto:[EMAIL PROTECTED] > Sent: Mon 07/08/2006 21:23 > To: Mike Reeks > Cc: Lyx-users; [EMAIL PROTECTED] > Subject: Re: Equation numbering > > > > Mike Reeks wrote: > >> Any idea how to change Eqn numbering from numbering by section to >> absolute numbering? > > Add this line to your preamble or at the beginning of your document in > ERT (assure that you use amsmath explicitely in the document > preferences): > > \renewcommand{\theequation}{\arabic{equation}} > > regards Uwe > > Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
Re: Equation numbering
Mike, I'm assuming your document class is derived from "article". I don't know what else you have in the preamble, but in order for this to work one needs to make sure that no other package re-defines the counters after your modifications. So I would add the two lines \renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] at the very end of the preamble. If this still doesn't work, I would empty out the preamble except for the two lines above, and switch to a basic article class (article, or koma-article), so you can be sure that \theequation is really used as expected. Jens On Aug 9, 2006, at 1:46 AM, Mike Reeks wrote: Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
Re: Equation numbering
I'm confused about what you want. Do you want the equations to be numbered consecutively throughout the document and NOT to be reset in each section? If so, then the only way to do this, short of modifying the document class directly, is to use the remreset (or removefr) package, since there is no "remove reset" command in standard LaTeX. Once remreset is downloaded and installed, you should need just this: [EMAIL PROTECTED] You'll still need this line: \renewcommand{\theequation}{\arabic{equation}} to control how equation numbers are displayed. If you DO want equation numbers to be reset in each section, so that you have 1, 2, 3 in section 1, and then 1, 2, 3 again in section 2, etc., then [EMAIL PROTECTED] should do the trick. But then a reference to equation 3 is ambiguous. Richard Mike Reeks wrote: > Dear Jens > In my preamble after the line > \renewcommand{\theequation}{\arabic{equation}} > I added the line > @addtoreset{equation}{section} > which had nor effect. Have I followed your suggestion correcty, have I > mispelt it. What next? > Mike > > > > > From: Jens Noeckel [mailto:[EMAIL PROTECTED] > Sent: Tue 08/08/2006 19:00 > To: Mike Reeks > Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] > Subject: Re: Equation numbering > > > > > On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: > > >> Dear Uwe >> Nearly there. The command in preamble numbers the equation in each >> section .without the section number. I want the equation number in >> ascending order irrespective of section number e.g. 1, 2, 3 etc for >> section n (before they were numbered n.1, n.2 etc. I need to turn >> of a section counter maybe. >> Any help >> I should say I am using a J. Fluid Mech cls layout file which >> should do the trick since this is the journal eqn number style. >> Mike >> >> ________ >> >> From: Uwe Stöhr [mailto:[EMAIL PROTECTED] >> Sent: Mon 07/08/2006 21:23 >> To: Mike Reeks >> Cc: Lyx-users; [EMAIL PROTECTED] >> Subject: Re: Equation numbering >> >> >> >> Mike Reeks wrote: >> >> >>> Any idea how to change Eqn numbering from numbering by section to >>> absolute numbering? >>> >> Add this line to your preamble or at the beginning of your document in >> ERT (assure that you use amsmath explicitely in the document >> preferences): >> >> \renewcommand{\theequation}{\arabic{equation}} >> >> regards Uwe >> >> >> > > Try the following (one additional line): > > renewcommand\theequation{\arabic{equation}} > [EMAIL PROTECTED] > > Regards, > Jens > > > >
RE: Equation numbering
Thanks. Yes I do want equations to be numbered consecutively. So I need to remove reset command. I'll follow your instructions. What's the best place to find the remreset package. Mike From: Richard Heck [mailto:[EMAIL PROTECTED] Sent: Wed 09/08/2006 15:51 To: Mike Reeks Cc: Jens Noeckel; Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering I'm confused about what you want. Do you want the equations to be numbered consecutively throughout the document and NOT to be reset in each section? If so, then the only way to do this, short of modifying the document class directly, is to use the remreset (or removefr) package, since there is no "remove reset" command in standard LaTeX. Once remreset is downloaded and installed, you should need just this: [EMAIL PROTECTED] You'll still need this line: \renewcommand{\theequation}{\arabic{equation}} to control how equation numbers are displayed. If you DO want equation numbers to be reset in each section, so that you have 1, 2, 3 in section 1, and then 1, 2, 3 again in section 2, etc., then [EMAIL PROTECTED] should do the trick. But then a reference to equation 3 is ambiguous. Richard Mike Reeks wrote: > Dear Jens > In my preamble after the line > \renewcommand{\theequation}{\arabic{equation}} > I added the line > @addtoreset{equation}{section} > which had nor effect. Have I followed your suggestion correcty, have I > mispelt it. What next? > Mike > > > > > From: Jens Noeckel [mailto:[EMAIL PROTECTED] > Sent: Tue 08/08/2006 19:00 > To: Mike Reeks > Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] > Subject: Re: Equation numbering > > > > > On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: > > >> Dear Uwe >> Nearly there. The command in preamble numbers the equation in each >> section .without the section number. I want the equation number in >> ascending order irrespective of section number e.g. 1, 2, 3 etc for >> section n (before they were numbered n.1, n.2 etc. I need to turn >> of a section counter maybe. >> Any help >> I should say I am using a J. Fluid Mech cls layout file which >> should do the trick since this is the journal eqn number style. >> Mike >> >> ________ >> >> From: Uwe Stöhr [mailto:[EMAIL PROTECTED] >> Sent: Mon 07/08/2006 21:23 >> To: Mike Reeks >> Cc: Lyx-users; [EMAIL PROTECTED] >> Subject: Re: Equation numbering >> >> >> >> Mike Reeks wrote: >> >> >>> Any idea how to change Eqn numbering from numbering by section to >>> absolute numbering? >>> >> Add this line to your preamble or at the beginning of your document in >> ERT (assure that you use amsmath explicitely in the document >> preferences): >> >> \renewcommand{\theequation}{\arabic{equation}} >> >> regards Uwe >> >> >> > > Try the following (one additional line): > > renewcommand\theequation{\arabic{equation}} > [EMAIL PROTECTED] > > Regards, > Jens > > > >
RE: Equation numbering
Dear Jens I only have the 2 statements you suggested in my preamble. I will try Richards advice. Best Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Wed 09/08/2006 15:40 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike, I'm assuming your document class is derived from "article". I don't know what else you have in the preamble, but in order for this to work one needs to make sure that no other package re-defines the counters after your modifications. So I would add the two lines \renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] at the very end of the preamble. If this still doesn't work, I would empty out the preamble except for the two lines above, and switch to a basic article class (article, or koma-article), so you can be sure that \theequation is really used as expected. Jens On Aug 9, 2006, at 1:46 AM, Mike Reeks wrote: > Dear Jens > In my preamble after the line > \renewcommand{\theequation}{\arabic{equation}} > I added the line > @addtoreset{equation}{section} > which had nor effect. Have I followed your suggestion correcty, > have I mispelt it. What next? > Mike > > > > > From: Jens Noeckel [mailto:[EMAIL PROTECTED] > Sent: Tue 08/08/2006 19:00 > To: Mike Reeks > Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] > Subject: Re: Equation numbering > > > > > On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: > >> Dear Uwe >> Nearly there. The command in preamble numbers the equation in each >> section .without the section number. I want the equation number in >> ascending order irrespective of section number e.g. 1, 2, 3 etc for >> section n (before they were numbered n.1, n.2 etc. I need to turn >> of a section counter maybe. >> Any help >> I should say I am using a J. Fluid Mech cls layout file which >> should do the trick since this is the journal eqn number style. >> Mike >> >> ________ >> >> From: Uwe Stöhr [mailto:[EMAIL PROTECTED] >> Sent: Mon 07/08/2006 21:23 >> To: Mike Reeks >> Cc: Lyx-users; [EMAIL PROTECTED] >> Subject: Re: Equation numbering >> >> >> >> Mike Reeks wrote: >> >>> Any idea how to change Eqn numbering from numbering by section to >>> absolute numbering? >> >> Add this line to your preamble or at the beginning of your >> document in >> ERT (assure that you use amsmath explicitely in the document >> preferences): >> >> \renewcommand{\theequation}{\arabic{equation}} >> >> regards Uwe >> >> > > Try the following (one additional line): > > renewcommand\theequation{\arabic{equation}} > [EMAIL PROTECTED] > > Regards, > Jens > > >
Re: Equation numbering
Ah, I was confused about what you wanted. Richard's explanation is exactly on the mark. I thought you wanted what he stated at the end of his message. The remreset style file is (e.g.) at ftp://ftp.dante.de/tex-archive/macros/latex/contrib/carlisle Jens On Aug 9, 2006, at 9:38 AM, Mike Reeks wrote: Dear Jens I only have the 2 statements you suggested in my preamble. I will try Richards advice. Best Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Wed 09/08/2006 15:40 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike, I'm assuming your document class is derived from "article". I don't know what else you have in the preamble, but in order for this to work one needs to make sure that no other package re-defines the counters after your modifications. So I would add the two lines \renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] at the very end of the preamble. If this still doesn't work, I would empty out the preamble except for the two lines above, and switch to a basic article class (article, or koma-article), so you can be sure that \theequation is really used as expected. Jens On Aug 9, 2006, at 1:46 AM, Mike Reeks wrote: Dear Jens In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? Mike From: Jens Noeckel [mailto:[EMAIL PROTECTED] Sent: Tue 08/08/2006 19:00 To: Mike Reeks Cc: Uwe Stöhr; Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
Re: Equation numbering
Mike Reeks wrote: In my preamble after the line \renewcommand{\theequation}{\arabic{equation}} I added the line @addtoreset{equation}{section} which had nor effect. Have I followed your suggestion correcty, have I mispelt it. What next? You missed the preceding "\": [EMAIL PROTECTED] But anyway, if this wasn't the reason try to insert the command in ERT at the beginning of your document in the following form: \makeatletter [EMAIL PROTECTED] \makeatother If this also doesn't help, send a small example LyX-file. regards Uwe
RE: Equation numbering
Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe
Re: Equation numbering
On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
RE: Equation numbering
Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe
Re: Equation numbering
On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
RE: Equation numbering
Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: > Any idea how to change Eqn numbering from numbering by section to absolute > numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe
Re: Equation numbering
On Aug 8, 2006, at 9:16 AM, Mike Reeks wrote: Dear Uwe Nearly there. The command in preamble numbers the equation in each section .without the section number. I want the equation number in ascending order irrespective of section number e.g. 1, 2, 3 etc for section n (before they were numbered n.1, n.2 etc. I need to turn of a section counter maybe. Any help I should say I am using a J. Fluid Mech cls layout file which should do the trick since this is the journal eqn number style. Mike From: Uwe Stöhr [mailto:[EMAIL PROTECTED] Sent: Mon 07/08/2006 21:23 To: Mike Reeks Cc: Lyx-users; [EMAIL PROTECTED] Subject: Re: Equation numbering Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe Try the following (one additional line): renewcommand\theequation{\arabic{equation}} [EMAIL PROTECTED] Regards, Jens
Re: Equation numbering
Use the remreset package, available on CTAN. Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Mike
Re: Equation numbering
Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe
Re: Equation numbering
Use the remreset package, available on CTAN. Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Mike
Re: Equation numbering
Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe
Re: Equation numbering
Use the remreset package, available on CTAN. Mike Reeks wrote: > Any idea how to change Eqn numbering from numbering by section to absolute > numbering? > Mike > >
Re: Equation numbering
Mike Reeks wrote: Any idea how to change Eqn numbering from numbering by section to absolute numbering? Add this line to your preamble or at the beginning of your document in ERT (assure that you use amsmath explicitely in the document preferences): \renewcommand{\theequation}{\arabic{equation}} regards Uwe
Re: Equation numbering corresponding to section number
Ares wroteb: I tried \numberwithin{equation}{chapter} but i get the error messages: 1) Missing \begin{document} 2) Undefined control sequence. \numberwithin {equation}{chapter} What else should I know? You have to use AMS-math. Enable it in the menu Document - Settings - Math Options. regards Uwe
Re: Equation numbering corresponding to section number
Ares wroteb: I tried \numberwithin{equation}{chapter} but i get the error messages: 1) Missing \begin{document} 2) Undefined control sequence. \numberwithin {equation}{chapter} What else should I know? You have to use AMS-math. Enable it in the menu Document - Settings - Math Options. regards Uwe
Re: Equation numbering corresponding to section number
Ares wroteb: I tried \numberwithin{equation}{chapter} but i get the error messages: 1) Missing \begin{document} 2) Undefined control sequence. \numberwithin {equation}{chapter} What else should I know? You have to use AMS-math. Enable it in the menu Document -> Settings -> Math Options. regards Uwe
Re: Equation numbering corresponding to section number
Liu Feng wrote: It is great, I got it after set 'reqno' in option by Document class-class setting. But I use 'book' class when I start my manuscript, but now it displays 'book(AMS)', what is different between 'book' and 'book(AMS)', I know AMS presents American Math. Soc., But I wonder if 'book(AMS)' has the same format as 'book' That shouldn't be possible, the textclass has to be unchanged. The default of book is: formula numbers are on the right side So switch back from book(AMS) to book and delete the option reqno and it should work as you want it. regards Uwe
Re: Equation numbering corresponding to section number
Liu Feng wrote: It is great, I got it after set 'reqno' in option by Document class-class setting. But I use 'book' class when I start my manuscript, but now it displays 'book(AMS)', what is different between 'book' and 'book(AMS)', I know AMS presents American Math. Soc., But I wonder if 'book(AMS)' has the same format as 'book' That shouldn't be possible, the textclass has to be unchanged. The default of book is: formula numbers are on the right side So switch back from book(AMS) to book and delete the option reqno and it should work as you want it. regards Uwe
Re: Equation numbering corresponding to section number
Liu Feng wrote: It is great, I got it after set 'reqno' in option by Document class->class setting. But I use 'book' class when I start my manuscript, but now it displays 'book(AMS)', what is different between 'book' and 'book(AMS)', I know AMS presents American Math. Soc., But I wonder if 'book(AMS)' has the same format as 'book' That shouldn't be possible, the textclass has to be unchanged. The default of book is: formula numbers are on the right side So switch back from book(AMS) to book and delete the option "reqno" and it should work as you want it. regards Uwe