LaTeX
A major mode for editing LaTeX files.
Do not fontify subscripts and superscripts.
(with-eval-after-load 'tex-mode
(setopt tex-fontify-script nil))
Define TempEl templates for some common environments.
org-mode
(eq "\\begin{equation*}" n " " r n > "\\end{equation*}")
(align "\\begin{align*}" n> " " r n > "\\end{align*}")
(gather "\\begin{gather*}" n " " r n > "\\end{gather*}")
Define TempEl template for “where tables”.
org-mode
(where > "#+attr_html: :border 0 :rules none" n
> "| <r> | <r> | <l> |" n
> "| where | \\(" p "\\) | is " p " |" n
> "| | \\(" p "\\) | is " q " |")