2

What I would like to achieve is a deeper indentation of lines in items in Auctex.

\begin{itemize}
  \item This is what I would like to achieve. The beginning of the
        second line aligns with the beginning of the item content
\end{itemize}

This is the standard behaviour

\begin{itemize}
\item This is what I current get. The beginning of the
  second line aligns with \item instead
\end{itemize}

There is a solution posted here but it unfortunately breaks LaTeX-fill-paragraph (M-q) which is not acceptable to me.

5
  • FWIW, the "plain" latex-mode that comes with Emacs does an in-between where the line after \item is indented by 2 characters.
    – Stefan
    Commented Dec 14, 2017 at 14:40
  • Thanks, but can I use it without switching mode?
    – user52366
    Commented Dec 15, 2017 at 5:39
  • @Stefan - With AUCTeX, \item is not indented, the line after it is indented by 2 characters. Commented Dec 15, 2017 at 8:30
  • @ArashEsbati: Ah, so AUCTeX does it just like plain latex-mode, and it's user52366's example which is off?
    – Stefan
    Commented Dec 15, 2017 at 16:46
  • @Stefan - Yes, the snippet above advertised as `standard behaviour' is off. Commented Dec 16, 2017 at 11:34

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.