From fa83d2d9d82241948c915e3715281d389be29f30 Mon Sep 17 00:00:00 2001 From: Peng Li Date: Mon, 26 Sep 2016 23:18:06 +0800 Subject: [PATCH] emacs - add latex match equation template --- emacs.d/config.org | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emacs.d/config.org b/emacs.d/config.org index 45182c7..9f6337b 100644 --- a/emacs.d/config.org +++ b/emacs.d/config.org @@ -1052,6 +1052,7 @@ Color higlight the source code block in exported html, [[http://stackoverflow.co (use-package htmlize :ensure t) #+END_SRC + ** Org structure template extend org-mode's easy templates, refer to [[http://coldnew.github.io/coldnew-emacs/#orgheadline94][Extend org-modes' esay templates]] #+BEGIN_SRC emacs-lisp :tangle yes :results silent @@ -1069,6 +1070,8 @@ extend org-mode's easy templates, refer to [[http://coldnew.github.io/coldnew-em '("f" "#+BEGIN_SRC fundamental :tangle ?\n\n#+END_SRC")) (add-to-list 'org-structure-template-alist '("C" "#+BEGIN_SRC c :tangle ?\n\n#+END_SRC")) + (add-to-list 'org-structure-template-alist + '("m" "\\begin{equation}\n?\n\\end{equation}")) #+END_SRC * Magit -- 2.11.0