From: Peng Li Date: Mon, 26 Sep 2016 15:18:06 +0000 (+0800) Subject: emacs - add latex match equation template X-Git-Url: http://47.100.26.94:8080/?a=commitdiff_plain;ds=sidebyside;h=fa83d2d9d82241948c915e3715281d389be29f30;p=dotfiles.git emacs - add latex match equation template --- 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