Compare commits
2 Commits
71bfab8127
...
9a1f6d7c93
Author | SHA1 | Date |
---|---|---|
TEC | 9a1f6d7c93 | |
TEC | 1d1836b4ad |
16
config.org
16
config.org
|
@ -8664,15 +8664,12 @@ be nice to have a function to convert =org-ref= citations to =org-cite= forms.
|
|||
(match-string 2))))))))
|
||||
#+end_src
|
||||
|
||||
***** cdlatex
|
||||
***** cdlatex environments
|
||||
|
||||
It's also nice to be able to use ~cdlatex~.
|
||||
#+begin_src emacs-lisp
|
||||
(add-hook 'org-mode-hook 'turn-on-org-cdlatex)
|
||||
#+end_src
|
||||
I prefer =auto-activating-snippets= to =cdlatex=, but do like
|
||||
~org-cdlatex-environment-indent~ (bound to =C-c }=). I almost always want to edit
|
||||
them afterwards though, so let's make that happen by default.
|
||||
|
||||
It's handy to be able to quickly insert environments with =C-c }=. I almost always
|
||||
want to edit them afterwards though, so let's make that happen by default.
|
||||
#+begin_src emacs-lisp
|
||||
(defadvice! +org-edit-latex-env-after-insert-a (&rest _)
|
||||
:after #'org-cdlatex-environment-indent
|
||||
|
@ -13860,9 +13857,10 @@ This makes use of =aas= (/Auto Activating Snippets/) for CDLaTeX-like symbol inp
|
|||
|
||||
*** Fixes
|
||||
|
||||
In case of Emacs28,
|
||||
In case of Emacs28:
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(when EMACS28+
|
||||
(when (>= emacs-major-version 28)
|
||||
(add-hook 'latex-mode-hook #'TeX-latex-mode))
|
||||
#+end_src
|
||||
|
||||
|
|
Loading…
Reference in New Issue