[TxMt] Source Code Indentation in LaTeX Bundle

Hooman Javidnia hooman.javidnia at gmail.com
Fri Jul 31 06:40:19 UTC 2009


Hello list,

Usually lists (enumerate, itemize, etc.) are indented as follows:

\begin{enumerate}
    \item A very long item which wraps to the next line.
Next line starts from the column 1.
    \item Another item.
\end{enumerate}

Is there a way to make the indentation continue on the second and
third, etc. line of the \item? Something like this:

\begin{enumerate}
    \item A very long item which wraps to the next line.
      Next line starts from the column 1. The second line has slightly
more indentation
      than the first line.
    \item Another item.
\end{enumerate}

I remember this was happening automatically with Vim-LaTeX, but I
haven't worked with it for a long time.

Best,
Hooman Javidnia



More information about the textmate mailing list