Carsten Dominik <carsten.domi...@gmail.com> writes: > Hi Rasmus, > > you need to set these variables before cdlatex.el has been loaded, or you need > run (cdlatex-reset-mode) after you have changed them. THis is not documented > well, > unfortunately.
Thanks Carsten. For the reference I use the following snip now which and it works as I want it to work. #+begin_src emacs-lisp (add-to-list 'cdlatex-math-modify-alist '(98 "\\boldsymbol" "\\textbf" t nil nil)) (add-to-list 'cdlatex-math-modify-alist '(115 "\\mathbb" nil t nil nil)) (org-defkey org-cdlatex-mode-map "¨" 'cdlatex-math-symbol) (setq cdlatex-math-symbol-prefix 168) ;;(cdlatex-reset-mode) (require 'cdlatex) #+end_src –Rasmus -- Sent from my Emacs