emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Cdlatex questions
@ 2011-10-17 19:55 Rasmus
  2011-10-19  7:30 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Rasmus @ 2011-10-17 19:55 UTC (permalink / raw)
  To: emacs-orgmode

Hi, 

I would like to add to cdlatex.  However, it does not seem to work.
This is probably the best place to ask. 

First, I want to add \mathbb{·} to cdlatex-math-modify-alist. 

Second, I want to change \mathbf{·} to \boldsymbol{·}, which is nicer
and works with greek letters.

I have tried to add the following code:

#+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))
#+end_src

However, it does not work; should I do something else to add symbols to
cdlatex?

Third, I would like to change the cdlatex-math symbol to something less
annoying.  I have tried

#+begin_src emacs-lisp 
(org-defkey org-cdlatex-mode-map "¨" 'cdlatex-math-symbol)
#+end_src 

However, this does not catch all cases, and for example "¨ ¨" will not
go to the second page.  Is there an easy way to change '`'.

–Rasmus

-- 
Sent from my Emacs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-19 20:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-17 19:55 Cdlatex questions Rasmus
2011-10-19  7:30 ` Carsten Dominik
2011-10-19 20:14   ` Rasmus Pank Roulund

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).