auctex
[Top][All Lists]
Advanced

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

[AUCTeX] Indentation of \if statements


From: Oleh
Subject: [AUCTeX] Indentation of \if statements
Date: Wed, 17 Dec 2014 20:37:31 +0100

Hi all,

I'd like to call your attention to this question:

    
http://emacs.stackexchange.com/questions/5439/auto-indenting-if-statements-with-auctex

The intention is basically for AUCTeX to auto-indent like this:

    address@hidden
      \dosomething%
    \else%
      \doanotherthing%
    \fi%

If this isn't a feature yet, please consider the code that I've
provided in the answer.  I'd be willing to submit a patch if you like
the idea. It's basically just one line in `LaTeX-indent-level-count' and some
user-level customization.

regards,
Oleh



reply via email to

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