When I write
\begin{enumerate}
sublime text does not auto complete it to
\begin{enumerate} \item \end{enumerate}
like I would expect. Is there a way to achieve this?
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityIf you type enum
and press Tab you will get this:
Similarly type item
and press Tab to get
To put a new \item
press Shift + Enter at the end of line
For a quick view of these short cuts Press Tools
and then Snippets
(Cntrl+L
, Cntrl+S
) to get
Type begin
(without the \
), then push TAB. This will complete the environment so you will see
\begin{env}
\end{env}
and the cursor will be highlighting both env
s. You can then type enumerate
, which will fill enumerate
into both env
spots, and add an item
in the middle:
\begin{enumerate}
item
\end{enumerate}
Unfortunately, it seems there is a bug that the \
before item
is not added automatically. The same works for itemize
.