Skip to content

Bring the good old structure templates back to org-mode.

Notifications You must be signed in to change notification settings

TobiasZawada/org-structtempl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

org-structtempl

Bring the good old structure templates back to org-mode. There are problems with org-tempo.el. For an instance, how would you substitue <m with the following string using org-tempo.el?

\begin{align*}
?
\end{align*}

This is no problem for org-structtempl.el. Just add the following snippet to your init.el:

(with-eval-after-load 'org-structtempl
    (add-to-list 'org-structtempl-alist '("m" "\\begin{align*}\n?\n\\end{align*}")))

You can also customize org-structtempl instead.

Where is org+-structtempl.el?

Note, that all features of org+-structtempl.el are now included in org-structtempl.el. So, org+-structtempl.el became obsolete and has been deleted.

Please, replace (require 'org+-structtempl) by (require 'org-structtempl) in your init-file.