emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [Beamer] headings missing with two columns


From: Eric S Fraga
Subject: Re: [O] [Beamer] headings missing with two columns
Date: Tue, 26 Jan 2016 17:13:50 +0000
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

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
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3.3-449-gd85ff3



reply via email to

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