1

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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.