emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [bug, beamer] Frame parameters taken from example code block


From: Sebastien Vauban
Subject: Re: [O] [bug, beamer] Frame parameters taken from example code block
Date: Wed, 18 Jun 2014 14:12:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (windows-nt)

Hello,

> When having such a code block inside a frame, the frame "inherits"
> from the property BEAMER_opt which, though, is only present in the
> example code, not in the Beamer frame itself.

Another example which is not compilable in LaTeX (because of that bug):

--8<---------------cut here---------------start------------->8---
#+TITLE:     Org Beamer examples
#+LANGUAGE:  en
#+OPTIONS:   H:2 num:nil ^:{}
#+PROPERTY:  eval no

#+LATEX_HEADER: \lstdefinelanguage{org}{}

* ECM

** ~beamercolorbox~ environment

In your Org file, writing this:

#+begin_src org
,#+LaTeX: \setbeamercolor{mycolor}{bg=green,fg=white}

,*** mycolor                                             :B_beamercolorbox:
    :PROPERTIES:
    :BEAMER_env: beamercolorbox
    :BEAMER_opt: wd=6cm
    :END:

Lorem ipsum...
#+end_src

displays a green post-it with a width of 6 cm.
--8<---------------cut here---------------end--------------->8---

See http://screencast.com/t/PY4nFxcKHe.

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

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