Adam | 1 Jul 2012 17:39
Picon

LaTeX-environment on region inserts new-lines

Hello.

I would like to ask if it is possible to avoid this:

1. I write

    ... foo
    \[
    some math
    \]
    bar ...

2. After some time I realize that I need to label previous equation hence I 
delete '\[' and '\]', select 'some math' and do 'LaTeX-environmant' (via C-ce or 
M-x LaTeX-environment) on that region.

The result is this:

    ... foo
    \begin{equation}
    some math\label{eq:my-label}

    \end{equation}

    bar ...

Is it possible to avoid that two new-lines (empty lines) in equation environment 
and after \end{equation}? To clarify:

    ... foo
(Continue reading)


Gmane