emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: fabrice.popineau@centralesupelec.fr
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Pass options to \columns{} environment in beamer export
Date: Thu, 13 Aug 2015 18:41:45 -0500	[thread overview]
Message-ID: <CA+M2ft8mg6PPH7M+zu4d860isO3Foi5AKuNYxGUYExAK55n_jQ@mail.gmail.com> (raw)
In-Reply-To: <CAFgFV9MoHLszYHVbBwCuvCML=iZeZeGN+HS0pS6paikh7w5rbw@mail.gmail.com>

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

Sorry for the late reply -- took me a bit to get back to working on this so
I could try it. That definitely works!

I would not have guessed that from Worg, that's for sure. Thanks much for
chiming in.


John


On Sat, Aug 8, 2015 at 4:54 PM, Fabrice Popineau <
fabrice.popineau@supelec.fr> wrote:

> 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: 4751 bytes --]

  reply	other threads:[~2015-08-13 23:41 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
2015-08-13 23:41   ` John Hendy [this message]
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+M2ft8mg6PPH7M+zu4d860isO3Foi5AKuNYxGUYExAK55n_jQ@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=fabrice.popineau@centralesupelec.fr \
    /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).