Many thanks, Ralf. I did it.

Tuan

On Fri, Mar 6, 2009 at 1:57 PM, Ralf Angeli <[email protected]> wrote:

> * Hoang Trong Minh Tuan (2009-03-05) writes:
>
> > How to tell LaTeX-fill-buffer not to reindent some predefined regions .
> >   I have defined <code> as a verbatim environment so that anything
> between
> > \begin{code}
> >  line1
> >  line2
> >  line3
> >  line4
> > \end{code}
> >      will be treated as verbatim text.   The problem is that whenever I
> use
> > LaTeX-fill-buffer command, it automatically re-indent everything inside,
> and
> > change the structure that I want to keep in the verbatim region, e.g.
> > \begin{code}
> >   line1 line2
> >   line3 line4
> > \end{code}
> >   Can someone give me a solution to avoid this problem? Thanks.
>
> Read up on `LaTeX-indent-environment-list' in the AUCTeX manual.
>
> --
> Ralf
>



-- 
Hoang Trong Minh Tuan
PhD Student - Bioinformatics&Computational Biology
_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to