moving equations to left
My problem is that I have some wide equations on 2-column article, that will be printed over the equation number on the right edge of the column. If there's just one equation line, the AMSmath is clever enough to move the equation number down that they don't overlap. But it doesn't do this for multiline equations. How could I prevent the equation and its number from overlapping? I tried using \addtolength{\parindent}{-3cm} {\parbox[b]{\textwidth}{ ..equation... }\addtolength{\parindent}{3cm} to move the equations a little bit left, but this doesn't seem to work with two column paper.
Re: moving equations to left
On Sun, Jan 28, 2001 at 06:13:56PM +0200, Tuukka Toivonen wrote: My problem is that I have some wide equations on 2-column article, that will be printed over the equation number on the right edge of the column. If there's just one equation line, the AMSmath is clever enough to move the equation number down that they don't overlap. But it doesn't do this for multiline equations. How could I prevent the equation and its number from overlapping? You should use the AMS math environment align, instead of using eqnarray. Unfortunately, LyX currently doesn't have support for it, so you need to write the the formula using ERT (you can use math-macro to define parts of of the formula, and then use the defined macros in the ERT). However, I recently added to LyX support for the align environment, but the code is not yet in CVS. I can send you a patch if you are interested.
Re: moving equations to left
Tuukka Toivonen wrote: My problem is that I have some wide equations on 2-column article, that will be printed over the equation number on the right edge of the column. If there's just one equation line, the AMSmath is clever enough to move the equation number down that they don't overlap. But it doesn't do this for multiline equations. How could I prevent the equation and its number from overlapping? I tried using \addtolength{\parindent}{-3cm} {\parbox[b]{\textwidth}{ ..equation... }\addtolength{\parindent}{3cm} to move the equations a little bit left, but this doesn't seem to work with two column paper. write your formulae as usual with lyx, than (with cursor in this formula-line) do a layout-paragraph-extra(1.1.6)-Indented Paragraph and write in the field for example -1cm! in lyx-screen the formua is indented with the positiv value of 1cm (shigted to the right), but in dvi it's okay. Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/
Re: moving equations to left
On Sun, 28 Jan 2001, Herbert Voss wrote: layout-paragraph-extra(1.1.6)-Indented Paragraph and write in the field for example -1cm! But this might cause an equation on the right column to overlap with the text on the left column. One thing that might help you is to put the lines below in the preamble. It will decrease the space between the 3 column of an eqnarray in all the eqnarrays in the document (and therefore, it will reduce (or eliminate) the overlap between the formula and the number). \let\oldeqnarray=\eqnarray \let\oldarray=\array \newlength{\oldcolsep} \setlength{\oldcolsep}{\arraycolsep} \def\eqnarray{ \setlength{\arraycolsep}{1.5pt} \def\array{\setlength{\arraycolsep}{\oldcolsep}\oldarray} \oldeqnarray }
moving equations to left
My problem is that I have some wide equations on 2-column article, that will be printed over the equation number on the right edge of the column. If there's just one equation line, the AMSmath is clever enough to move the equation number down that they don't overlap. But it doesn't do this for multiline equations. How could I prevent the equation and its number from overlapping? I tried using \addtolength{\parindent}{-3cm} {\parbox[b]{\textwidth}{ ..equation... }\addtolength{\parindent}{3cm} to move the equations a little bit left, but this doesn't seem to work with two column paper.
Re: moving equations to left
On Sun, Jan 28, 2001 at 06:13:56PM +0200, Tuukka Toivonen wrote: My problem is that I have some wide equations on 2-column article, that will be printed over the equation number on the right edge of the column. If there's just one equation line, the AMSmath is clever enough to move the equation number down that they don't overlap. But it doesn't do this for multiline equations. How could I prevent the equation and its number from overlapping? You should use the AMS math environment align, instead of using eqnarray. Unfortunately, LyX currently doesn't have support for it, so you need to write the the formula using ERT (you can use math-macro to define parts of of the formula, and then use the defined macros in the ERT). However, I recently added to LyX support for the align environment, but the code is not yet in CVS. I can send you a patch if you are interested.
Re: moving equations to left
Tuukka Toivonen wrote: My problem is that I have some wide equations on 2-column article, that will be printed over the equation number on the right edge of the column. If there's just one equation line, the AMSmath is clever enough to move the equation number down that they don't overlap. But it doesn't do this for multiline equations. How could I prevent the equation and its number from overlapping? I tried using \addtolength{\parindent}{-3cm} {\parbox[b]{\textwidth}{ ..equation... }\addtolength{\parindent}{3cm} to move the equations a little bit left, but this doesn't seem to work with two column paper. write your formulae as usual with lyx, than (with cursor in this formula-line) do a layout-paragraph-extra(1.1.6)-Indented Paragraph and write in the field for example -1cm! in lyx-screen the formua is indented with the positiv value of 1cm (shigted to the right), but in dvi it's okay. Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/
Re: moving equations to left
On Sun, 28 Jan 2001, Herbert Voss wrote: layout-paragraph-extra(1.1.6)-Indented Paragraph and write in the field for example -1cm! But this might cause an equation on the right column to overlap with the text on the left column. One thing that might help you is to put the lines below in the preamble. It will decrease the space between the 3 column of an eqnarray in all the eqnarrays in the document (and therefore, it will reduce (or eliminate) the overlap between the formula and the number). \let\oldeqnarray=\eqnarray \let\oldarray=\array \newlength{\oldcolsep} \setlength{\oldcolsep}{\arraycolsep} \def\eqnarray{ \setlength{\arraycolsep}{1.5pt} \def\array{\setlength{\arraycolsep}{\oldcolsep}\oldarray} \oldeqnarray }
moving equations to left
My problem is that I have some wide equations on 2-column article, that will be printed over the equation number on the right edge of the column. If there's just one equation line, the AMSmath is clever enough to move the equation number down that they don't overlap. But it doesn't do this for multiline equations. How could I prevent the equation and its number from overlapping? I tried using \addtolength{\parindent}{-3cm} {\parbox[b]{\textwidth}{ ..equation... }\addtolength{\parindent}{3cm} to move the equations a little bit left, but this doesn't seem to work with two column paper.
Re: moving equations to left
On Sun, Jan 28, 2001 at 06:13:56PM +0200, Tuukka Toivonen wrote: > My problem is that I have some wide equations on 2-column article, that > will be printed over the equation number on the right edge of the > column. If there's just one equation line, the AMSmath is clever enough to > move the equation number down that they don't overlap. But it doesn't do > this for multiline equations. How could I prevent the equation and its > number from overlapping? You should use the AMS math environment align, instead of using eqnarray. Unfortunately, LyX currently doesn't have support for it, so you need to write the the formula using ERT (you can use math-macro to define parts of of the formula, and then use the defined macros in the ERT). However, I recently added to LyX support for the align environment, but the code is not yet in CVS. I can send you a patch if you are interested.
Re: moving equations to left
Tuukka Toivonen wrote: > > My problem is that I have some wide equations on 2-column article, that > will be printed over the equation number on the right edge of the > column. If there's just one equation line, the AMSmath is clever enough to > move the equation number down that they don't overlap. But it doesn't do > this for multiline equations. How could I prevent the equation and its > number from overlapping? > > I tried using > > \addtolength{\parindent}{-3cm} > {\parbox[b]{\textwidth}{ > ..equation... > }\addtolength{\parindent}{3cm} > > to move the equations a little bit left, but this doesn't seem to work > with two column paper. write your formulae as usual with lyx, than (with cursor in this formula-line) do a layout->paragraph->extra(1.1.6)->Indented Paragraph and write in the field for example -1cm! in lyx-screen the formua is indented with the positiv value of 1cm (shigted to the right), but in dvi it's okay. Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/
Re: moving equations to left
> On Sun, 28 Jan 2001, Herbert Voss wrote: > > > layout->paragraph->extra(1.1.6)->Indented Paragraph > > > > and write in the field for example -1cm! But this might cause an equation on the right column to overlap with the text on the left column. One thing that might help you is to put the lines below in the preamble. It will decrease the space between the 3 column of an eqnarray in all the eqnarrays in the document (and therefore, it will reduce (or eliminate) the overlap between the formula and the number). \let\oldeqnarray=\eqnarray \let\oldarray=\array \newlength{\oldcolsep} \setlength{\oldcolsep}{\arraycolsep} \def\eqnarray{ \setlength{\arraycolsep}{1.5pt} \def\array{\setlength{\arraycolsep}{\oldcolsep}\oldarray} \oldeqnarray }