emacs-orgmode
[Top][All Lists]
Advanced

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

[O] [Beamer] Combining blocks, columns, and column(s) options


From: Matthew Gidden
Subject: [O] [Beamer] Combining blocks, columns, and column(s) options
Date: Mon, 23 Mar 2015 15:12:37 -0500

Hi everyone,

I've found a number of references to the problem of aligning columns, especially using the block environment [1, 2, 3]. Specifically, I would like to supply option arguments to either the `columns` or `column` latex environment directive. As written, it appears that only the `block` environment can be supplied options. I have also tried the BEAMER_envarg suggestion on the website to no avail.

To clarify, I would like to inject an option `[t]` such that a .org file that looks like
```
*** Foo

**** Bar
:PROPERTIES:
:BEAMER_col: 0.45
:BEAMER_env: block
:END:
foo

**** Baz
:PROPERTIES:
:BEAMER_col: 0.45
:BEAMER_env: block
:END:
foo
```

gets translated into tex that looks like
```
\begin{frame}[label=sec-x-y-z]{Foo}
\begin{columns}[t]
\begin{column}{0.45\columnwidth}
\begin{block}{Bar}
foo
\end{block}
\end{column}

\begin{column}{0.45\columnwidth}
\begin{block}{Baz}
foo
\end{block}
\end{column}
\end{columns}
\end{frame}
```

Note that an alternative of placing `[t]` after each `column` environment would also work.

Has anyone gotten these environments to work nicely together?

Cheers,
Matt

[1] http://comments.gmane.org/gmane.emacs.orgmode/67508
[2] http://osdir.com/ml/emacs-orgmode-gnu/2009-12/msg00238.html
[3] http://osdir.com/ml/emacs-orgmode-gnu/2014-05/msg00980.html

--
Matthew Gidden
Ph.D. Candidate, Nuclear Engineering
The University of Wisconsin -- Madison
Ph. 225.892.3192

reply via email to

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