Re: [Vim-latex-devel] bad indentation after commented lines
Brought to you by:
srinathava,
tmaas
|
From: Gaston A. <gar...@sl...> - 2015-11-05 20:47:02
|
Thank you for your response, but without parenthesis got the same problem
\begin{align}
\sqrt{R^{2}} &= \omega_{\rm a} L
%\left(\frac{1}{\omega_{\rm a} C}\right)^{2} &= 2 \frac{L}{C}-R^{2} \\
\end{align}
Gastón
El 05/11/15 a las 16:49, Renliang Gu escibió:
> 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 <gar...@sl...
> <mailto:gar...@sl...>> 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...@li...
> <mailto:Vim...@li...>
> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
>
>
|