emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Fabrice Popineau <fabrice.popineau@supelec.fr>
To: John Hendy <jw.hendy@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Pass options to \columns{} environment in beamer export
Date: Sat, 8 Aug 2015 23:54:58 +0200	[thread overview]
Message-ID: <CAFgFV9MoHLszYHVbBwCuvCML=iZeZeGN+HS0pS6paikh7w5rbw@mail.gmail.com> (raw)
In-Reply-To: <CA+M2ft_QEodQxRAXnz0q=YqfBcwAtEnNwXeT+13PieS+onvmrw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2321 bytes --]

This should do it :

* Hello

** columns
           :B_columns:
:PROPERTIES:
:BEAMER_env: columns
:BEAMER_opt: [c]
:END:

*** Column 1
              :BMCOL:
:PROPERTIES:
:BEAMER_col: 0.3
:END:

Colonne 1

*** Column 2
              :BMCOL:
:PROPERTIES:
:BEAMER_col: 0.7
:END:

Colonne 2

Fabrice


2015-08-08 18:30 GMT+02:00 John Hendy <jw.hendy@gmail.com>:

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


-- 
Fabrice Popineau
-----------------------------
SUPELEC
Département Informatique
3, rue Joliot Curie
91192 Gif/Yvette Cedex
Tel direct : +33 (0) 169851950
Standard : +33 (0) 169851212
------------------------------

[-- Attachment #2: Type: text/html, Size: 3672 bytes --]

  reply	other threads:[~2015-08-08 21:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-08 16:30 Pass options to \columns{} environment in beamer export John Hendy
2015-08-08 21:54 ` Fabrice Popineau [this message]
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='CAFgFV9MoHLszYHVbBwCuvCML=iZeZeGN+HS0pS6paikh7w5rbw@mail.gmail.com' \
    --to=fabrice.popineau@supelec.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=fabrice.popineau@centralesupelec.fr \
    --cc=jw.hendy@gmail.com \
    /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).