Re: LaTeX/LyX math
Jean-Marc Lasgouttes a écrit : "Nicolas" == Nicolas Ferré <[EMAIL PROTECTED]> writes: Nicolas> Hi, A little wish about math. There are two ways for entering Nicolas> math: open a math environment and type in it or write a latex Nicolas> formula, select it and convert it in math using C-m for Nicolas> instance. But the last needs to explicitely write the $ Nicolas> around the latex formula. If the $ are forgotten, lyx Nicolas> converts the formula to text even if there is a math symbol Nicolas> (beginning with \) in the formula. Could it be possible to Nicolas> automatically add the $ around the latex formula when Nicolas> transforming it in math and a \ is detected in it ? I know Nicolas> the backslash is rather common in latex ;-) but we can assume Nicolas> that each time a latex formula must be converted in math, all Nicolas> latex symbols in the formula are math symbols. Nicolas> But maybe I miss a good reason for always needing the $ ? Probably because $ is only one of the possibilities, others being \[..\] or eqnarray-like environments. JMarc Yes I agree. What I suggested was a sort of "hum ... silly, I forget the math delimiters" automatic correction, which action is to default to the $ delimiters when no delimiters are found. This way the user ... me ;-) avoids one error (actually I recently forget 3 or 4 times the math delimiters when writting some short titles, maybe because they are boxed in red). -- Dr. Nicolas Ferre' Laboratoire de Chimie Theorique et de Modelisation Moleculaire UMR 6517 - CNRS Universite' de Provence Case 521 - Faculte' de Saint-Jerome Av. Esc. Normandie Niemen 13397 MARSEILLE Cedex 20 (FRANCE) Tel : (+33)4.91.28.27.33 Fax : (+33)4.91.28.87.58 Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html
Re: LaTeX/LyX math
> "Nicolas" == Nicolas Ferré <[EMAIL PROTECTED]> writes: Nicolas> Hi, A little wish about math. There are two ways for entering Nicolas> math: open a math environment and type in it or write a latex Nicolas> formula, select it and convert it in math using C-m for Nicolas> instance. But the last needs to explicitely write the $ Nicolas> around the latex formula. If the $ are forgotten, lyx Nicolas> converts the formula to text even if there is a math symbol Nicolas> (beginning with \) in the formula. Could it be possible to Nicolas> automatically add the $ around the latex formula when Nicolas> transforming it in math and a \ is detected in it ? I know Nicolas> the backslash is rather common in latex ;-) but we can assume Nicolas> that each time a latex formula must be converted in math, all Nicolas> latex symbols in the formula are math symbols. Nicolas> But maybe I miss a good reason for always needing the $ ? Probably because $ is only one of the possibilities, others being \[..\] or eqnarray-like environments. JMarc
Re: LaTeX/LyX math
On Fri, Oct 22, 2004 at 11:07:56AM +0200, Nicolas Ferré wrote: > Hi, > > A little wish about math. There are two ways for entering math: open a > math environment and type in it or write a latex formula, select it and > convert it in math using C-m for instance. > But the last needs to explicitely write the $ around the latex formula. > If the $ are forgotten, lyx converts the formula to text even if there > is a math symbol (beginning with \) in the formula. > Could it be possible to automatically add the $ around the latex formula > when transforming it in math and a \ is detected in it ? > I know the backslash is rather common in latex ;-) but we can assume > that each time a latex formula must be converted in math, all latex > symbols in the formula are math symbols. > > But maybe I miss a good reason for always needing the $ ? Because that is the proper way to do it. ;-) What you can do is define a new bind that places the $'s for you there. Not as difficult as it can be done for 1.3.5. :-) > -- > Dr. Nicolas Ferre' > Laboratoire de Chimie Theorique et de Modelisation Moleculaire > UMR 6517 - CNRS Universite' de Provence > Case 521 - Faculte' de Saint-Jerome > Av. Esc. Normandie Niemen > 13397 MARSEILLE Cedex 20 (FRANCE) > Tel : (+33)4.91.28.27.33 Fax : (+33)4.91.28.87.58 > > Please avoid sending me Word or PowerPoint attachments. > See http://www.gnu.org/philosophy/no-word-attachments.html -- José Abílio Matos LyX and docbook a perfect match. :-)
LaTeX/LyX math
Hi, A little wish about math. There are two ways for entering math: open a math environment and type in it or write a latex formula, select it and convert it in math using C-m for instance. But the last needs to explicitely write the $ around the latex formula. If the $ are forgotten, lyx converts the formula to text even if there is a math symbol (beginning with \) in the formula. Could it be possible to automatically add the $ around the latex formula when transforming it in math and a \ is detected in it ? I know the backslash is rather common in latex ;-) but we can assume that each time a latex formula must be converted in math, all latex symbols in the formula are math symbols. But maybe I miss a good reason for always needing the $ ? -- Dr. Nicolas Ferre' Laboratoire de Chimie Theorique et de Modelisation Moleculaire UMR 6517 - CNRS Universite' de Provence Case 521 - Faculte' de Saint-Jerome Av. Esc. Normandie Niemen 13397 MARSEILLE Cedex 20 (FRANCE) Tel : (+33)4.91.28.27.33 Fax : (+33)4.91.28.87.58 Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html