[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] How to tell LaTeX-fill-buffer not to reindent the verbatim
From: |
Ralf Angeli |
Subject: |
Re: [AUCTeX] How to tell LaTeX-fill-buffer not to reindent the verbatim regions. |
Date: |
Fri, 06 Mar 2009 19:57:30 +0100 |
* 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