auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] about auto-indent


From: peng shao
Subject: Re: [AUCTeX] about auto-indent
Date: Sun, 17 May 2009 07:35:07 +0000

On Sun, May 17, 2009 at 6:28 AM, Ralf Angeli <address@hidden> wrote:
> * peng shao (2009-05-17) writes:
>
>> Hi dear all. I am asking a question about auto-indent in Emacs+Auctex.
>> It is about the
>> environment. For example when I insert an equation environment I receive
>>
>> \begin{equation}
>>   \label{eq:2}
>>   sdfsdfsdfffff
>> dsfsdfsdfsdfsdfsdfsdf
>> sdfsdfsdf
>> \end{equation}
>>
>> The "sdf" part is the content I input after the auto-generation of 
>> environment.
>> You see it loses the auto-indent in the second line. What I really want is
>> \begin{equation}
>>   \label{eq:2}
>>   sdfsdfsdfffff
>>   dsfsdfsdfsdfsdfsdfsdf
>>   sdfsdfsdf
>> \end{equation}
>
> M-x customize-variable <RET> TeX-newline-function <RET>
>
> This is described in the AUCTeX manual.
>
> --
> Ralf
>

Dear Ralf

Thank you very much. Sorry for not reading the manual:)

Peng




reply via email to

[Prev in Thread] Current Thread [Next in Thread]