For LaTeX:
- Greek letters: using cdlatex
- Intelligent fraction and subscripts: using aas and laas.
- Modifiers
- automatically select the word under the cursor (or adjacent to it) if no region is activated
- wrap the region with macros specified according to text or math environment
- E.g.,
# -*- mode: snippet -*- # name: LaTeX bold # type: command # binding: s-b # -- (yasp-selected-current) (yas-expand-snippet (if (region-active-p) (if (texmathp) "\\mathbf{`yas-selected-text`}$0" "\\textbf{`yas-selected-text`}$0" ) (if (texmathp) "\\mathbf{$0}" "\\textbf{$0}" ) ) )
- My implementation of fraction:
- Other snippets: E.g.,
Configurations: