emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Baffled by beamer blocks


From: Eric S Fraga
Subject: Re: [Orgmode] Baffled by beamer blocks
Date: Wed, 18 Aug 2010 16:04:35 +0100
User-agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

On Wed, 18 Aug 2010 15:40:30 +0100, Eric S Fraga <address@hidden> wrote:
> 
> On Wed, 18 Aug 2010 09:23:26 -0500, John Hendy <address@hidden> wrote:
> > 
> 
> [...]
> 
> > Eric,
> > 
> > I have the title and QED image, but @important@ is rendered literally. See
> > the attached .org, .pdf, and .tex files. Where is the markup for
> > @address@hidden (who translates @ in org to red/emphasized text in the
> > output PDF)?
> > I can't find it in the orgmode manual:
> > http://orgmode.org/manual/Emphasis-and-monospace.html#Emphasis-and-monospace
> > 
> > John
> 
> I thought the processing of @...@ for alerts in beamer was the default
> but it turns out I have the following settings which add @ to convert
> text to alert in beamer and bold in HTML exports.
> 
> --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---
> 
> I'm not sure what the default is but you can see what you've got by
> looking at these two variables.

I should also add that, if you are wanting to use the same org
document for both beamer and normal latex export, you should add the
following command to the org file setup:

#+latex_header: \ifx\alert\undefined\let\alert\textbf\fi

this defines \alert for non-beamer use to be equivalent to \textbf.



reply via email to

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