emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Pass options to \columns{} environment in beamer export
@ 2015-08-08 16:30 John Hendy
  2015-08-08 21:54 ` Fabrice Popineau
  0 siblings, 1 reply; 6+ messages in thread
From: John Hendy @ 2015-08-08 16:30 UTC (permalink / raw)
  To: emacs-orgmode

I have an org beamer file with the following header since I generally
prefer top-alignment for frames:

#+latex_class_options: [aspectratio=169,t,presentation,bigger,fleqn]

I have some columns where I want vertically centered text, and am not
sure how to pass the option to \columns{} instead of an individual
\column{}.

Worg says this(http://orgmode.org/worg/exporters/beamer/ox-beamer.html):

"All contiguous environments are automatically wrapped in a columns
environment, although it can be forced at any point by setting the
BEAMER_env property to columns. This might be handy if you want to
pass special options."

But where does that go? I have this:

* Test

** Col1      :BMCOL:
   :PROPERTIES:
   :BEAMER_col: 0.5
   :END:

- blah
- blah
- blah

** Col2      :BMCOL:
   :PROPERTIES:
   :BEAMER_col: 0.5
   :END:

- blah
- blah
- blah

I want this (note the [c] to override my document-wide [t] option):

\begin{frame}[label={sec:orgheadline1}]{Test}
\begin{columns}[c]
\begin{column}{0.5\columnwidth}
\begin{itemize}
\item blah
\item blah
\item blah
\end{itemize}
\end{column}

\begin{column}{0.5\columnwidth}
\begin{itemize}
\item blah
\item blah
\item blah
\end{itemize}
\end{column}
\end{columns}
\end{frame}
\end{document}

But if I add =:beamer_env: columns= to both subheadlines, I get each
in it's own \begin/end{columns} environment, which is not what I want.
I just need a single columns env, with the [c] option passed, that
encompasses both individual column environments.


John

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-08-15  6:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-08 16:30 Pass options to \columns{} environment in beamer export John Hendy
2015-08-08 21:54 ` Fabrice Popineau
2015-08-13 23:41   ` John Hendy
2015-08-14 11:25     ` Suvayu Ali
2015-08-15  4:16       ` John Hendy
2015-08-15  6:48         ` Suvayu Ali

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).