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
# -*- mode: snippet -*-
# name: enumerate
\end{enumerate}
\ No newline at end of file
\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
# -*- mode: snippet -*-
# name: itemize
\end{itemize}
\ No newline at end of file
\end{itemize}
\ No newline at end of file
(lambda (p) (string-match "^---?" (car p)))
tex--prettify-symbols-alist)
:hook ((tex-mode . auto-fill-mode)
(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)))