From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Gidden Subject: [Beamer] Combining blocks, columns, and column(s) options Date: Mon, 23 Mar 2015 15:12:37 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b16016dc709270511fa4a44 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya8ia-0003ik-S1 for emacs-orgmode@gnu.org; Mon, 23 Mar 2015 16:13:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ya8iZ-0004u7-Av for emacs-orgmode@gnu.org; Mon, 23 Mar 2015 16:13:00 -0400 Received: from mail-pd0-x231.google.com ([2607:f8b0:400e:c02::231]:34426) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya8iY-0004tm-WF for emacs-orgmode@gnu.org; Mon, 23 Mar 2015 16:12:59 -0400 Received: by pdbni2 with SMTP id ni2so197866621pdb.1 for ; Mon, 23 Mar 2015 13:12:57 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode --047d7b16016dc709270511fa4a44 Content-Type: text/plain; charset=UTF-8 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 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 --047d7b16016dc709270511fa4a44 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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 argument= s to either the `columns` or `column` latex environment directive. As writt= en, it appears that only the `block` environment can be supplied options. I= have also tried the BEAMER_envarg suggestion on the website=C2=A0to 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

<= /div>
**** Baz
:PROPERTIES:
:BEAMER_col: 0.45
=
:BEAMER_env: block
:END:
foo
```

gets translated into tex that looks like
= ```
\begin{frame}[label=3Dsec-x-y-z]{Foo}
\begin{c= olumns}[t]
\begin{column}{0.45\columnwidth}<= /div>
\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}
```<= /div>

Note that an alternative of placing `[t]` after ea= ch `column` environment would also work.

Has anyon= e gotten these environments to work nicely together?

Cheers,
Matt


--
Matthew Gidden
Ph.D. Candid= ate, Nuclear Engineering
The University of Wisconsin -- Madison
Ph. = 225.892.3192
--047d7b16016dc709270511fa4a44-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [Beamer] Combining blocks, columns, and column(s) options Date: Mon, 23 Mar 2015 23:50:33 +0100 Message-ID: <87k2y7nxae.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaB9t-00036D-D0 for emacs-orgmode@gnu.org; Mon, 23 Mar 2015 18:49:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YaB9q-000488-3f for emacs-orgmode@gnu.org; Mon, 23 Mar 2015 18:49:21 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:46851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaB9p-000484-Kx for emacs-orgmode@gnu.org; Mon, 23 Mar 2015 18:49:18 -0400 In-Reply-To: (Matthew Gidden's message of "Mon, 23 Mar 2015 15:12:37 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Matthew Gidden Cc: emacs-orgmode Hello Matthew Gidden writes: > 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 to > no avail. "BEAMER_envarg" no longer exists. Using "columns", as suggested in the manual, should work however: * Foo ** Columns :B_columns: :PROPERTIES: :BEAMER_env: columns :BEAMER_opt: t :END: *** Bar :B_block:BMCOL: :PROPERTIES: :BEAMER_col: 0.45 :BEAMER_env: block :END: foo *** Baz :B_block:BMCOL: :PROPERTIES: :BEAMER_col: 0.45 :BEAMER_env: block :END: foo Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Gidden Subject: Re: [Beamer] Combining blocks, columns, and column(s) options Date: Tue, 24 Mar 2015 11:25:01 -0500 Message-ID: References: <87k2y7nxae.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c3d12aa3d88a05120b3a55 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaRdt-0004Eq-4O for emacs-orgmode@gnu.org; Tue, 24 Mar 2015 12:25:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YaRdr-00083O-Pt for emacs-orgmode@gnu.org; Tue, 24 Mar 2015 12:25:25 -0400 Received: from mail-pa0-x22d.google.com ([2607:f8b0:400e:c03::22d]:35484) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaRdr-00082b-7p for emacs-orgmode@gnu.org; Tue, 24 Mar 2015 12:25:23 -0400 Received: by pagj7 with SMTP id j7so3158012pag.2 for ; Tue, 24 Mar 2015 09:25:22 -0700 (PDT) In-Reply-To: <87k2y7nxae.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Matthew Gidden , emacs-orgmode --001a11c3d12aa3d88a05120b3a55 Content-Type: text/plain; charset=UTF-8 Hi Nicolas, I just wanted to report back that this worked out perfectly. Thanks! I'd be happy to add documentation somewhere if it is desired. Cheers, On Mon, Mar 23, 2015 at 5:50 PM, Nicolas Goaziou wrote: > Hello > > Matthew Gidden writes: > > > 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 > to > > no avail. > > "BEAMER_envarg" no longer exists. Using "columns", as suggested in the > manual, should work however: > > * Foo > ** Columns > :B_columns: > :PROPERTIES: > :BEAMER_env: columns > :BEAMER_opt: t > :END: > *** Bar > :B_block:BMCOL: > :PROPERTIES: > :BEAMER_col: 0.45 > :BEAMER_env: block > :END: > foo > > *** Baz > :B_block:BMCOL: > :PROPERTIES: > :BEAMER_col: 0.45 > :BEAMER_env: block > :END: > foo > > > Regards, > > -- > Nicolas Goaziou > -- Matthew Gidden Ph.D. Candidate, Nuclear Engineering The University of Wisconsin -- Madison Ph. 225.892.3192 --001a11c3d12aa3d88a05120b3a55 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Nicolas,

I just wanted to report bac= k that this worked out perfectly. Thanks! I'd be happy to add documenta= tion somewhere if it is desired.

Cheers,

On Mon, Mar 23,= 2015 at 5:50 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
Hello

Matthew Gidden <gidden@wisc.edu&g= t; writes:

> I've found a number of references to the problem of aligning colum= ns,
> especially using the block environment [1, 2, 3]. Specifically, I woul= d
> like to supply option arguments to either the `columns` or `column` la= tex
> environment directive. As written, it appears that only the `block` > environment can be supplied options. I have also tried the BEAMER_enva= rg
> suggestion on the website <http://orgmode.org/manual/Beamer-= export.html> to
> no avail.

"BEAMER_envarg" no longer exists. Using "columns", as s= uggested in the
manual, should work however:

* Foo
** Columns=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0:B_columns:
=C2=A0 =C2=A0:PROPERTIES:
=C2=A0 =C2=A0:BEAMER_env: columns
=C2=A0 =C2=A0:BEAMER_opt: t
=C2=A0 =C2=A0:END:
*** Bar=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :B_bl= ock:BMCOL:
=C2=A0 =C2=A0 :PROPERTIES:
=C2=A0 =C2=A0 :BEAMER_col: 0.45
=C2=A0 =C2=A0 :BEAMER_env: block
=C2=A0 =C2=A0 :END:
=C2=A0foo

*** Baz=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 :B_block:BMCOL:
=C2=A0 =C2=A0 :PROPERTIES:
=C2=A0 =C2=A0 :BEAMER_col: 0.45
=C2=A0 =C2=A0 :BEAMER_env: block
=C2=A0 =C2=A0 :END:
=C2=A0foo


Regards,

--
Nicolas Goaziou



--
Matthew Gidden
Ph.D. C= andidate, Nuclear Engineering
The University of Wisconsin -- MadisonPh. 225.892.3192
--001a11c3d12aa3d88a05120b3a55-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [Beamer] Combining blocks, columns, and column(s) options Date: Tue, 24 Mar 2015 22:00:56 +0100 Message-ID: <878uemrtyv.fsf@nicolasgoaziou.fr> References: <87k2y7nxae.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaVvO-0001QY-Fv for emacs-orgmode@gnu.org; Tue, 24 Mar 2015 16:59:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YaVvL-0002v7-8d for emacs-orgmode@gnu.org; Tue, 24 Mar 2015 16:59:46 -0400 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:52298) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaVvL-0002uw-2V for emacs-orgmode@gnu.org; Tue, 24 Mar 2015 16:59:43 -0400 In-Reply-To: (Matthew Gidden's message of "Tue, 24 Mar 2015 11:25:01 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Matthew Gidden Cc: emacs-orgmode Matthew Gidden writes: > I just wanted to report back that this worked out perfectly. Thanks! I'd = be > happy to add documentation somewhere if it is desired. This is already documented: Moreover, headlines handle the =E2=80=98BEAMER_COL=E2=80=99 property. = Its value should be a decimal number representing the width of the column as a fraction of the total text width. If the headline has no specific environment, its title will be ignored and its contents will fill the column created. Otherwise, the block will fill the whole column and the title will be preserved. Two contiguous headlines with a non-=E2=80=98ni= l=E2=80=99 =E2=80=98BEAMER_COL=E2=80=99 value share the same =E2=80=98columns=E2=80= =99 LaTeX environment. It will end before the next headline without such a property. This environment is generated automatically. Although, it can also be explicitly created, with a special =E2=80=98columns=E2=80=99 value for =E2=80=98BEAM= ER_ENV=E2=80=99 property (if it needs to be set up with some specific options, for example). in particular the last sentence. However, feel free to improve it, or suggest an example, if you think this is not clear. Regards,