emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [org-beamer] \alert


From: Eric S Fraga
Subject: Re: [Orgmode] [org-beamer] \alert
Date: Mon, 25 Jan 2010 10:58:42 +0000
User-agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/23.1 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

(mistakenly sent this only to the OP... resending to list as well)

At 24 Jan 2010 20:10:03 +0100,
Sven Bretfeld wrote:
> 
> Hi
> 
> Is there any Symbol in org-beamer for \alert{Text}? In presentations
> \alert is recommended instead of italics. We could even think of
> translating text enclosed in slashes / ... / to \alert{} by default in
> the beamer class.

There was a long discussion about this back in November on this
mailing list.  Essentially, you can add this functionality yourself:

--8<---------------cut here---------------start------------->8---
(setq org-emphasis-alist (quote (("*" bold "<b>" "</b>") 
                                 ("/" italic "<i>" "</i>")
                                 ("_" underline "<span 
style=\"text-decoration:underline;\">" "</span>")
                                 ("=" org-code "<code>" "</code>" verbatim)
                                 ("~" org-verbatim "<code>" "</code>" verbatim)
                                 ("+" (:strike-through t) "<del>" "</del>")
                                 ("@" org-warning "<b>" "</b>")))
      org-export-latex-emphasis-alist (quote 
                                       (("*" "\\textbf{%s}" nil)
                                        ("/" "\\emph{%s}" nil) 
                                        ("_" "\\underline{%s}" nil)
                                        ("+" "\\texttt{%s}" nil)
                                        ("=" "\\verb=%s=" nil)
                                        ("~" "\\verb~%s~" t)
                                        ("@" "\\alert{%s}" nil)))
      )
--8<---------------cut here---------------end--------------->8---

Note the last entry in each of these variables; the other elements in
each are their default values.

HTH,
eric




reply via email to

[Prev in Thread] Current Thread [Next in Thread]