Re: numbering multi-line formulas
On Tue 17 Apr 2012 01:29:00 AM EEST, Thomas Coffee wrote: > Also, pressing Ctrl+Enter in regular math mode will give you eqnarray. > > > On Sun, Apr 15, 2012 at 9:09 PM, David L. Johnson > mailto:david.john...@lehigh.edu>> wrote: > > On 04/15/2012 06:18 PM, El Merehbi, Ibrahim wrote: > > Hello again, > > I believe I didn't clear it out well. I meant a shortcut for the > "eqnarray" not the equation numbering. > > Sorry, I misunderstood. Add to the shortcuts something like this: > > command-sequence math-mode on; math-mutate eqnarray; > > and link it to your favorite hot-key. I use F12. > > -- > > David L. Johnson > > A mathematician is a machine for turning coffee into theorems. >-- Paul Erdos > > -- > oh thanks for reminding me of this :D I used it once; much better. I am always hesitant about keybindings since I never know If I'm using a binding used by the system. For example, I do know that I can't use F12 as David does since F12 is used for another software that runs on the system all the time & F12 is what brings it out when I need it! thank you all.
Re: numbering multi-line formulas
Also, pressing Ctrl+Enter in regular math mode will give you eqnarray. On Sun, Apr 15, 2012 at 9:09 PM, David L. Johnson wrote: > On 04/15/2012 06:18 PM, El Merehbi, Ibrahim wrote: > >> Hello again, >> >> I believe I didn't clear it out well. I meant a shortcut for the >> "eqnarray" not the equation numbering. >> > Sorry, I misunderstood. Add to the shortcuts something like this: > > command-sequence math-mode on; math-mutate eqnarray; > > and link it to your favorite hot-key. I use F12. > > -- > > David L. Johnson > > A mathematician is a machine for turning coffee into theorems. >-- Paul Erdos > > -- > >
Re: numbering multi-line formulas
On 04/15/2012 06:18 PM, El Merehbi, Ibrahim wrote: Hello again, I believe I didn't clear it out well. I meant a shortcut for the "eqnarray" not the equation numbering. Sorry, I misunderstood. Add to the shortcuts something like this: command-sequence math-mode on; math-mutate eqnarray; and link it to your favorite hot-key. I use F12. -- David L. Johnson A mathematician is a machine for turning coffee into theorems. -- Paul Erdos
Re: numbering multi-line formulas
Hello again, I believe I didn't clear it out well. I meant a shortcut for the "eqnarray" not the equation numbering. The default of your stated functions are: math-number-line-toggle: Alt+M Shift+N math-number-toggle: Alt+M N both of which do the same thing; I already use the second one for numbering. Note: LyX 2.0.3 on Ubuntu 10.04 Thanks again On Fri 13 Apr 2012 07:24:59 PM EEST, David L. Johnson wrote: > On 04/13/2012 08:32 AM, Merhebi, Bob wrote: >> Hello David, >> >> Thanks for your reply on this topic; I also benefited from this. One >> question though; isn't there a keyboard shortcut to use it instead of >> using the menus? > You can define keyboard shortcuts to substitute for many, if not all, > menu choices. I only use a few such shortcuts, and not for line > numbering since I don't do that so often. Look under Tools > > Preferences > Shortcuts > Mathematical symbols, for > math-number-line-toggle and math-number-toggle and assign them as you > prefer. >> >> Another question is regarding fullscreen mode; the math toolbar pops out >> when I use Ctrl(+Shift)+M& that's useful, but what about the main >> toolbar? is there a way to bring it out "temporarily" in fullscreen >> mode? > > I don't know. > -- Sincerely Yours, -El Merehbi, Ibrahim (Bob) Thunderbird Signature
Re: numbering multi-line formulas
On 04/13/2012 08:32 AM, Merhebi, Bob wrote: Hello David, Thanks for your reply on this topic; I also benefited from this. One question though; isn't there a keyboard shortcut to use it instead of using the menus? You can define keyboard shortcuts to substitute for many, if not all, menu choices. I only use a few such shortcuts, and not for line numbering since I don't do that so often. Look under Tools > Preferences > Shortcuts > Mathematical symbols, for math-number-line-toggle and math-number-toggle and assign them as you prefer. Another question is regarding fullscreen mode; the math toolbar pops out when I use Ctrl(+Shift)+M& that's useful, but what about the main toolbar? is there a way to bring it out "temporarily" in fullscreen mode? I don't know. -- David L. Johnson Deserves death! I daresay he does. Many that live deserve death. And some that die deserve life. Can you give it to them? Then do not be too eager to deal out death in judgement. -- J. R. R. Tolkein
Re: numbering multi-line formulas
Hello David, Thanks for your reply on this topic; I also benefited from this. One question though; isn't there a keyboard shortcut to use it instead of using the menus? On 04/11/2012 08:13 AM, David L. Johnson wrote: > The problem is that a matrix does not really give you a multi-line > formula, it is a one-line formula including a matrix. To get a > multiline formula, use one of the aligned environments. I prefer the > eqnarray environment. Then you can number each line of the multi-line > environment. I will attach a simply LyX file showing first an > eqnarray environment, then a matrix environment, both numbered, but > the matrix only allows numbering of the whole thing. Another question is regarding fullscreen mode; the math toolbar pops out when I use Ctrl(+Shift)+M & that's useful, but what about the main toolbar? is there a way to bring it out "temporarily" in fullscreen mode? -- Sincerely Yours, -Merhebi, Bob Thunderbird Signature signature.asc Description: OpenPGP digital signature
Re: numbering multi-line formulas
On 04/11/2012 12:45 PM, s nedunuri wrote: On 4/11/2012 6:21 AM, Richard Heck wrote: The gather environment will also do, or the equation array environment, but not, perhaps surprisingly, the multiline environment, which is specifically intended to a single equation that spans many lines Actually the equation array environment appears not to do individual line numbering. It has the same effect as inset matrix Please see the attached. Richard eqary.lyx Description: application/lyx
Re: numbering multi-line formulas
On 4/11/2012 6:21 AM, Richard Heck wrote: On 04/11/2012 01:13 AM, David L. Johnson wrote: On 04/11/2012 12:12 AM, s nedunuri wrote: Hello, I wonder if anyone can help me with how to number multi-line formulas, as the Help manual appears to be out of date (it refers to menu options that no longer exist). I am running Lyx 2.0.2. I have a multi-line formula that I created via the "Insert Matrix" command. I would like to number each line in the formula. However, when I try this: Edit | Math | there are two choices: Number Whole Formula or Number This Line. However, they seem to be the same thing. The problem is that a matrix does not really give you a multi-line formula, it is a one-line formula including a matrix. To get a multiline formula, use one of the aligned environments. I prefer the eqnarray environment. Then you can number each line of the multi-line environment. I will attach a simply LyX file showing first an eqnarray environment, then a matrix environment, both numbered, but the matrix only allows numbering of the whole thing. Thanks that did the trick The gather environment will also do, or the equation array environment, but not, perhaps surprisingly, the multiline environment, which is specifically intended to a single equation that spans many lines Actually the equation array environment appears not to do individual line numbering. It has the same effect as inset matrix Richard
Re: numbering multi-line formulas
On 04/11/2012 01:13 AM, David L. Johnson wrote: On 04/11/2012 12:12 AM, s nedunuri wrote: Hello, I wonder if anyone can help me with how to number multi-line formulas, as the Help manual appears to be out of date (it refers to menu options that no longer exist). I am running Lyx 2.0.2. I have a multi-line formula that I created via the "Insert Matrix" command. I would like to number each line in the formula. However, when I try this: Edit | Math | there are two choices: Number Whole Formula or Number This Line. However, they seem to be the same thing. The problem is that a matrix does not really give you a multi-line formula, it is a one-line formula including a matrix. To get a multiline formula, use one of the aligned environments. I prefer the eqnarray environment. Then you can number each line of the multi-line environment. I will attach a simply LyX file showing first an eqnarray environment, then a matrix environment, both numbered, but the matrix only allows numbering of the whole thing. The gather environment will also do, or the equation array environment, but not, perhaps surprisingly, the multiline environment, which is specifically intended to a single equation that spans many lines Richard
Re: numbering multi-line formulas
On 04/11/2012 12:12 AM, s nedunuri wrote: Hello, I wonder if anyone can help me with how to number multi-line formulas, as the Help manual appears to be out of date (it refers to menu options that no longer exist). I am running Lyx 2.0.2. I have a multi-line formula that I created via the "Insert Matrix" command. I would like to number each line in the formula. However, when I try this: Edit | Math | there are two choices: Number Whole Formula or Number This Line. However, they seem to be the same thing. The problem is that a matrix does not really give you a multi-line formula, it is a one-line formula including a matrix. To get a multiline formula, use one of the aligned environments. I prefer the eqnarray environment. Then you can number each line of the multi-line environment. I will attach a simply LyX file showing first an eqnarray environment, then a matrix environment, both numbered, but the matrix only allows numbering of the whole thing. -- David L. Johnson Anyone who is capable of getting themselves made President should on no account be allowed to do the job. -- Douglas Adams numbering.lyx Description: application/lyx