From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: =?UTF-8?B?UmU6IG9yZyArIGJlYW1lcjogSG93IHRvIGdldCBAxaBAIHRvIGNy?= =?UTF-8?B?ZWF0ZSBcYWxlcnQ/?= Date: Wed, 02 May 2012 11:39:33 +0200 Message-ID: <80lilakjl6.fsf@somewhere.org> References: <28711.1335922639@alphaville> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Richard and Nick, Nick Dokos wrote: > Richard Stanton wrote: > >> I've just started using orgmode to create Beamer presentations, and have a >> question. >> >> In the worg documentation >> (http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.html), it gives >> an example of how enclosing text in "@" signs is supposed to result in >> highlighted red text. When I try it, I get text surrounded by two "@" >> signs... >> >> Following suggestions from this list back in 2010, I tried customizing >> org-export-latex-emphasis-alist but this doesn't seem to help either. >> >> Can anyone tell me how to get this working? > > You also need to customize org-emphasis-alist. and this must be set *before loading Org*... Full example: #+begin_src emacs-lisp ;; face to be used by `font-lock' for highlighting in Org-mode Emacs ;; buffers, and tags to be used to convert emphasis fontifiers for HTML ;; export (setq org-emphasis-alist ;; remove the strike-through emphasis '(("*" bold "" "") ("/" italic "" "") ("_" underline "" "") ("=" org-code "" "" verbatim) ("~" org-verbatim "" "" verbatim))) (defface my/org-alert-face '((t (:weight bold :foreground "black" :foreground "#FF0000"))) "Face used to display alert'ed items.") (add-to-list 'org-emphasis-alist '("@" my/org-alert-face "" "")) #+end_src Best regards, Seb -- Sebastien Vauban