emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Loris Bennett <loris.bennett@fu-berlin.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: [Beamer] headings missing with two columns
Date: Tue, 26 Jan 2016 17:13:50 +0000	[thread overview]
Message-ID: <87twm08drl.fsf@delle7240.chemeng.ucl.ac.uk> (raw)
In-Reply-To: 87lh7c8jf3.fsf@hornfels.zedat.fu-berlin.de

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	other threads:[~2016-01-26 17:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-26 15:11 [Beamer] headings missing with two columns Loris Bennett
2016-01-26 17:13 ` Eric S Fraga [this message]
2016-01-27  8:44   ` Loris Bennett
2016-01-27 10:34     ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87twm08drl.fsf@delle7240.chemeng.ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=loris.bennett@fu-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).