Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have Auctex and auto indentation set in my ~/.emacs but it doesn't work correctly for \end{enumerate}.

If I had the following, (below is what would happen if I hit tab on the \end{enumerate}

\begin{enumerate}
  \item
    text
  \item
    text
  \end{enumerate}

So when I hit tab to auto align \end{enumerate} it aligns with \item.

This doesn't happen for other begin and enter commands so it is isolated to enumerate only.

How can I fix this?

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.