type āoā followed by space for enumerate (ordered list), and āuā
folloewd by space for itemize (unordered list); insert new \item with
M-RET
# -*- mode: snippet -*-
# name: enumerate
-# key: ol
+# key: o
# --
\begin{enumerate}
-$0
+\item $0
\end{enumerate}
\ No newline at end of file
+++ /dev/null
-# -*- mode: snippet -*-
-# name: item
-# key: -
-# --
-\item $0
\ No newline at end of file
+++ /dev/null
-# -*- mode: snippet -*-
-# name: item-li
-# key: li
-# type: command
-# --
-(yas-expand-snippet (yas-lookup-snippet "item"))
\ No newline at end of file
# -*- mode: snippet -*-
# name: itemize
-# key: ul
+# key: u
# --
\begin{itemize}
-$0
+\item $0
\end{itemize}
\ No newline at end of file
(lambda (p) (string-match "^---?" (car p)))
tex--prettify-symbols-alist)
:hook ((tex-mode . auto-fill-mode)
- (tex-mode . flyspell-mode)
- (tex-mode . (lambda () (electric-indent-local-mode -1)))))
+ (tex-mode . flyspell-mode)))
\f
;;; Theme