Rudy’s OBTF Rudolf Adamkovič

Home / Emacs


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 " |")

© 2025 Rudolf Adamkovič under GNU General Public License version 3.
Made with Emacs and secret alien technologies of yesteryear.