auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Indenting sections like environments


From: Chase Dwelle
Subject: Re: [AUCTeX] Indenting sections like environments
Date: Tue, 3 Mar 2015 16:26:56 -0500

Thanks for the response, could one "cheat" and enclose sections in brackets, and then use the "TeX-brace-indent-level" option to force this behavior, i.e.,

\chapter{Chapter 1}{
  \section{A section}{
    Text in section.
  }
}

Or would the brackets potentially break some other behavior when trying to compile. I have tested this without any problems, but not sure if something would happen with a more complicated document.

-Chase


Chase Dwelle
PhD Pre-Candidate - Environmental Engineering
Dow Doctoral Sustainability Fellow






On Tue, Mar 3, 2015 at 2:25 PM, Tassilo Horn <address@hidden> wrote:
Chase Dwelle <address@hidden> writes:

Hi Chase,

> I would like to indent anything appearing after a section
> (part,chapter,section,etc.), such that anything appearing within a
> "part" has 1*LaTeX-indent-level, "chapter" items are indented
> 2*LaTeX-indent-level, "section" 3*LaTeX-indent-level,etc...
>
> Is this possible, or has there been a custom function created to do this
> already?

No, there's nothing like this in AUCTeX.  And I've never encountered a
LaTeX document using such an indentation style so I think chances aren't
too high to find a ready-made solution.

Bye,
Tassilo


_______________________________________________
auctex mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/auctex


reply via email to

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