emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matthew Gidden <gidden@wisc.edu>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: [Beamer] Combining blocks, columns, and column(s) options
Date: Mon, 23 Mar 2015 15:12:37 -0500	[thread overview]
Message-ID: <CAHRdPFzM8YZYB+GTwy=DYgmy7dYNCg-KMWB-Cyj=R3QVW4rqQg@mail.gmail.com> (raw)

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

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 <http://orgmode.org/manual/Beamer-export.html> 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

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

             reply	other threads:[~2015-03-23 20:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-23 20:12 Matthew Gidden [this message]
2015-03-23 22:50 ` [Beamer] Combining blocks, columns, and column(s) options Nicolas Goaziou
2015-03-24 16:25   ` Matthew Gidden
2015-03-24 21:00     ` Nicolas Goaziou

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='CAHRdPFzM8YZYB+GTwy=DYgmy7dYNCg-KMWB-Cyj=R3QVW4rqQg@mail.gmail.com' \
    --to=gidden@wisc.edu \
    --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).