From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Loris Bennett" Subject: Re: [Beamer] headings missing with two columns Date: Wed, 27 Jan 2016 09:44:48 +0100 Message-ID: <87bn87qum7.fsf@hornfels.zedat.fu-berlin.de> References: <87lh7c8jf3.fsf@hornfels.zedat.fu-berlin.de> <87twm08drl.fsf@delle7240.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOLkK-0005Ie-Db for emacs-orgmode@gnu.org; Wed, 27 Jan 2016 03:46:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOLkH-0001lE-2D for emacs-orgmode@gnu.org; Wed, 27 Jan 2016 03:46:36 -0500 Received: from plane.gmane.org ([80.91.229.3]:44523) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOLkG-0001l4-S3 for emacs-orgmode@gnu.org; Wed, 27 Jan 2016 03:46:33 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aOLj7-0007pC-PY for emacs-orgmode@gnu.org; Wed, 27 Jan 2016 09:45:21 +0100 Received: from hornfels.zedat.fu-berlin.de ([160.45.11.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Jan 2016 09:45:21 +0100 Received: from loris.bennett by hornfels.zedat.fu-berlin.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Jan 2016 09:45:21 +0100 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Eric, Eric S Fraga writes: > On Tuesday, 26 Jan 2016 at 16:11, Loris Bennett wrote: >> Hi, >> >> With the following: > > [...] > >> I expected to see headings "Fruit" and "Vegetables" over the two >> columns, but they do not appear. I thought I had to use >> >> :BEAMER_env: ignoreheading >> >> explicitly to suppress the headings and that the default was to show >> them. >> >> What am I doing wrong? > > You haven't said what version of org you are using. The above would > probably work with versions of org 7.x but for 8.x, you need a different > set of commands to achieve what you want. The following should do what > you want: > > #+begin_src org > ,#+TITLE: test > ,#+OPTIONS: H:3 > > ,#+startup: beamer > ,* blah > ,** test > ,*** Food > ,**** Fruit :B_block:BMCOL: > :PROPERTIES: > :BEAMER_col: 0.5 > :BEAMER_env: block > :END: > - apple > - banana > ,**** Vegetables :B_block:BMCOL: > :PROPERTIES: > :BEAMER_col: 0.5 > :BEAMER_env: block > :END: > - artichoke > - broccoli > > #+end_src > > Note the removal of the LaTeX class declaration. In v8, blocks have > headings ignored by default if they are columns so you need to specify a > block type explicitly. Using the beamer startup directive allows you to > easily specify what you want on a headline by C-c C-b. > > HTH, > eric Thanks, this works (I'm using 8.3.3). Now I am wondering whether it is possible to have two headings in the same columns of the same order? I thought that I would need a dummy heading between "Food" and "Fruit", but the following does not work (everything ends up in a single column). Even if it had worked, presumably it would have changed the formatting, since '**** Fruit' is now '***** Fruit', or should 'ignoreheading' handle that? This is what I tried but only got a single column: #+TITLE: test #+OPTIONS: H:3 #+STARTUP: beamer * blah ** test *** Food **** dummy 1 :B_block:BMCOL: :PROPERTIES: :BEAMER_col: 0.5 :BEAMER_env: block :BEAMER_env: ignoreheading :END: ***** Fruit - apple - banana ***** Nuts - brasil - cashew **** dummy 2 :B_block:BMCOL: :PROPERTIES: :BEAMER_col: 0.5 :BEAMER_env: block :BEAMER_env: ignoreheading :END: ***** Vegetables - artichoke - broccoli ***** Pulses - chickpea - lentil Cheers, Loris -- This signature is currently under construction.