From: John Hendy <jw.hendy@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Pass options to \columns{} environment in beamer export
Date: Sat, 8 Aug 2015 11:30:07 -0500 [thread overview]
Message-ID: <CA+M2ft_QEodQxRAXnz0q=YqfBcwAtEnNwXeT+13PieS+onvmrw@mail.gmail.com> (raw)
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
next reply other threads:[~2015-08-08 16:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-08 16:30 John Hendy [this message]
2015-08-08 21:54 ` Pass options to \columns{} environment in beamer export 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
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='CA+M2ft_QEodQxRAXnz0q=YqfBcwAtEnNwXeT+13PieS+onvmrw@mail.gmail.com' \
--to=jw.hendy@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).