emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] How to signal end of a section or subsection


From: Sebastien Vauban
Subject: Re: [O] How to signal end of a section or subsection
Date: Wed, 22 Jan 2014 22:38:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt)

Nicolas Goaziou wrote:
> Alan Schmitt <address@hidden> 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




reply via email to

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