From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: How to signal end of a section or subsection Date: Wed, 22 Jan 2014 22:38:38 +0100 Message-ID: <86a9enr929.fsf@somewhere.org> References: <87y5299tiy.fsf@ucl.ac.uk> <87vbxbvk9x.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Nicolas Goaziou wrote: > Alan Schmitt 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