On Wednesday 21 August 2002 10:53, Andre Poenitz wrote: > On Wed, Aug 21, 2002 at 10:33:09AM +0200, Jos van den Oever wrote: > > Deleting a column (M-m c d) does not always work, even though it only > > contains placeholders. Adding a column (M-m c i) sometimes adds two > > columns, instead of one. For example if I want to delete a column in a > > three column equation, I need to first add a column, before I can delete > > one. I don't find this a big problem, but one formula got badly corrupted > > when doing this. > > As there is no such thing like "a equation with four columns" in LaTeX, > adding a col changes the \equation to an \align environment. This was meant > as convienience, but if it looks "unexpected" it should probably get > disabled.
A the moment the intent of the implementation seems to be: use columns in equations without letting the user worry about or even know about \equation, \align or \eqnarray. This is a very nice idea and great from a user perspective. The transition between these environments with C-return is very easy: I like it a lot, even the way it works now, so please don't disable it. The strange feature that I'm trying to describe is that if you have an eqnarray of three columns and you want to have one of two columns, this is does not happen when typing M-m c d. It would be nice if it would. If the eqnarray needs to be converted to an align to achieve this, so be it. > Another small usability problem, C-return doesn't always perform the > > expected. Example: Open a new equation: S-C-M type a=b type C-return > > Now, no new line is created, instead the cursor jumps to just behind the > > C. > > Which C? The 'a' C? Yes, i typed this before coffee :-) sorry. > If so, this is more or less intentional again, as the \equation is changed > to an \eqnarray (and has been like that since 0.12 or so...) True, but there's no point in making a one row eqnarray. C-return wants a new line. There should be one. What's the convenience in C-return going to the first column of a one row eqnarray. Of course if you know in advance you are writing a large equation or a set of equations and you type "S-C-M C-return", it does exactly what you want: create an eqnarry and go to the first empty column. I guess the best behaviour on C-return would be if equation is simple equation { n = number of '=' in equation convert equation to eqnarray of 2*n+1 rows if last column != empty { add row jump cursor to first column of second row } else { jump cursor to first empty column } } else { add row jump cursor to first column of new row } > > Andre' Best regards, Jos