emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Help with beamer environments + org-special-blocks!


From: Nicolas Goaziou
Subject: Re: [O] Help with beamer environments + org-special-blocks!
Date: Wed, 26 Jun 2013 16:29:51 +0200


Hello,

"Sebastien Vauban" <sva-news-D0wtAvR13HarG/address@hidden>
writes:

> Vikas Rawal wrote:

>> For example, if I use the following:
>>
>> (add-to-list 'org-beamer-environments-extra
>>              '("textpos1" "w" "\\begin{textblock}%h \\visible %a {" "} 
>> \\end{textblock}"))
>>
>> and write the headline as {10}(3,3), I get \{10\}(3,3) in beamer
>> export rather than {10}(3,3).

I think we should changes some environment placeholders:

  + Introduce %r which would stand for the raw headline (without any
    processing)
  + %H and %U would use the raw headline text instead.

The previous definition would become:

  '("textpos1" "w" "\\begin{textblock}%r \\visible %a {" "} \\end{textblock}")

WDYT?

>   #+begin_myenvironment{3}                \#+begin\_myenvironment\{3\}
>   Test of a new                           Test of a new
>   environment.                            environment.
>   #+end_myenvironment                     \#+end\_myenvironment

This should work with a recent Org.

There is also:

  #+attr_latex: :options {3}
  #+begin_myenvironment
  Test of a new
  environment
  #+end_myenvironment


Regards,

-- 
Nicolas Goaziou




reply via email to

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