Nicolas Goaziou wrote:
> Alan Schmitt <[email protected]> writes:
>
>> I have a use case for beamer export, where I have had to use latex
>> blocks to solve it. If I want:
>>
>> ,----
>> | blah blah
>> |
>> | \begin{block}{Theorem}
>> | foo bar
>> | \end{block}
>> |
>> | more blah blah
>> `----
>>
>> I don't know how to do it using the org machinery without going back to
>> latex.
>
> The following should work:
>
> #+attr_latex: :options {Theorem}
> #+begin_block
> foo bar
> #+end_block
I thought that the standard way was the following:
--8<---------------cut here---------------start------------->8---
*** :B_theorem:
:PROPERTIES:
:BEAMER_env: theorem
:END:
There is no largest prime number.
*** End of theorem :B_ignoreheading:
:PROPERTIES:
:BEAMER_env: ignoreheading
:END:
--8<---------------cut here---------------end--------------->8---
Obviously, it's much less readeable...
Maybe that solution should be deprecated, then?
Best regards,
Seb
--
Sebastien Vauban