Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

emacs org mode to beamer: how to do multicolumn text

I'm trying to display two columns of itemizes next to each other on a beamer document written in emacs org mode. For the export, I followed this tutorial: http://emacs-fu.blogspot.com/2009/10/writing-presentations-with-org-mode-and.html

I tried to include latex code in the document

\begin{columns}
\column{0.45\textwidth}
- topic
    - subtopic
    - sub
- topic
\column{0.45\textwidth}
- topic
- topic
\end{columns}

This put the columns next to each other as wanted, but the list inbetween was just plain text in a single line. As I use org mode to avoid writing all the latex code by hand, I tried a couple of tutorials.

They all suggested something like

*** list heading
:OPTIONS:
:BEAMER_col: 0.45
:END:
<content>

Which was completely ignored in my output. When I insert tags like :BCOL: after the heading, they get displayed as plain text on the resulting slides When I moved the :END: down like this:

*** list heading
:OPTIONS:
:BEAMER_col: 0.45
<content>
:END:

then sometimes the headings got moved to columns. I'm not really sure what I'm doing wrong, if the tutorials are outdated, or if my emacs version is. I don't have administrative access to the machine here, and don't think I can talk the admin into updating 1000+ machines just for my document ;-)

Other beamer environments like :BEAMER_env: block get ignored, too.

Emacs 23.4.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-09-08 on trouble, modified by Debian

Thanks for your help.

like image 691
user3122536 Avatar asked Dec 25 '22 09:12

user3122536


1 Answers

The following does work for me (with Org 8).

* Slide

** Col left                                                             :BMCOL:
   :PROPERTIES:
   :BEAMER_col: 0.45
   :END:

- topic
    - subtopic
    - sub
- topic

** Col right                                                            :BMCOL:
   :PROPERTIES:
   :BEAMER_col: 0.45
   :END:

- topic
- topic

See http://screencast.com/t/snlR2ii0xTZ for the results.

like image 76
fniessen Avatar answered Jan 09 '23 08:01

fniessen