It is not due to the comment, but the parenthesis that you have above the
commented line.

顾任亮(Renliang Gu)

On Thu, Nov 5, 2015 at 1:09 PM, Gaston Araguas <garag...@sluc.org.ar> wrote:

> Hello all,
>
> i'm having problems with automatic indentation. The indentation does not
> perform well if a commented line appears just above an \end command.
> here is an example
>
> \begin{align}
>    \sqrt{R^{2}+\left(\omega_{\rm a} L-\frac{1}{\omega_{\rm a}
> C}\right)^{2}} &= \omega_{\rm a} L
>    %\left(\frac{1}{\omega_{\rm a} C}\right)^{2} &= 2 \frac{L}{C}-R^{2} \\
>    \end{align}
>    despejamos $\omega_{\rm a}$
>    \begin{align}
>      \omega_{\rm a} &= \frac{1}{C\sqrt{2 \frac{L}{C}-R^{2}}}.
>      \label{ec:res_frec_L}
>    \end{align}
>
>
> in my .vimrc i have
>
> filetype on
> filetype plugin indent on
> let g:tex_flavor = "latex"
>
> thank you,
> Gastón
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Vim-latex-devel mailing list
> Vim-latex-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
>
------------------------------------------------------------------------------
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to