emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* closing column mode for beamer export
@ 2015-02-10 15:42 Larrabee Strow
  2015-02-10 18:02 ` Eric S Fraga
  2015-02-12  7:33 ` James Harkins
  0 siblings, 2 replies; 10+ messages in thread
From: Larrabee Strow @ 2015-02-10 15:42 UTC (permalink / raw)
  To: emacs-orgmode

I am trying to put a second row of two columns in a org beamer slide.

No problems with doing the first row, two column.

I can't figure out any way to put in the second row of two columns.
(I am trying to show a 2x2 grid of images, with titles.)

It appears to me I need something that produces and \end{columns}
after my first row of columns.

I have seen in the maillist and manual statement about using
ignoreheading property, but nothing I tried worked, I am sure I just
don't understand the instructions on this.  What I want is below, but
I need something after the first row that starts a new column

*** 
  :PROPERTIES:
  :BEAMER_col: 0.5
  :END:
\centering L2 Bias

#+ATTR_LaTeX: :width \linewidth  
[[./g039__bias_z1.pdf]]

*** 
  :PROPERTIES:
  :BEAMER_col: 0.5
  :END:
\centering L2 Std.

#+ATTR_LaTeX: :width \linewidth  
[[./g039__std_z1.pdf]]


**************HERE a need equivalent to a carriage return/line feed ************

*** 
  :PROPERTIES:
  :BEAMER_col: 0.5
  :END:
\centering L2 Bias Row Number 2

#+ATTR_LaTeX: :width \linewidth  
[[./g039__bias_z1_v2.pdf]]

*** 
  :PROPERTIES:
  :BEAMER_col: 0.5
  :END:
\centering L2 Std. Row Number 2

#+ATTR_LaTeX: :width \linewidth  
[[./g039__std_z1_v2.pdf]]


Thanks.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: closing column mode for beamer export
  2015-02-10 15:42 closing column mode for beamer export Larrabee Strow
@ 2015-02-10 18:02 ` Eric S Fraga
  2015-02-10 18:12   ` Larrabee Strow
  2015-02-12  7:33 ` James Harkins
  1 sibling, 1 reply; 10+ messages in thread
From: Eric S Fraga @ 2015-02-10 18:02 UTC (permalink / raw)
  To: Larrabee Strow; +Cc: emacs-orgmode

On Tuesday, 10 Feb 2015 at 15:42, Larrabee Strow wrote:
> I am trying to put a second row of two columns in a org beamer slide.
>
> No problems with doing the first row, two column.
>
> I can't figure out any way to put in the second row of two columns.
> (I am trying to show a 2x2 grid of images, with titles.)
>
> It appears to me I need something that produces and \end{columns}
> after my first row of columns.

I don't think you need to do anything complicated.

I have found that individual columns will go to the next "row" of
columns if the running total of the widths is greater than the page
width (\textwidth).  So basically if the first two columns take up most
of the width, the next column you start will go below.  Try it and
see.  It works for me.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-798-g528b90

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: closing column mode for beamer export
  2015-02-10 18:02 ` Eric S Fraga
@ 2015-02-10 18:12   ` Larrabee Strow
  2015-02-11 11:13     ` Eric S Fraga
  0 siblings, 1 reply; 10+ messages in thread
From: Larrabee Strow @ 2015-02-10 18:12 UTC (permalink / raw)
  To: Larrabee Strow, emacs-orgmode

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

Hi,

Thanks for the suggestion.

I tried making the columns bigger "BEAMER_col: 0.8 or whatever

Didn't work.

I tried making the image bigger (but maybe org doesn't see that)

I don't have any other ideas on how to do this.  Maybe because I have no
text in the slide?

Larrabee


------------------------------------------
L. Larrabee Strow
UMBC Physics Department
Email: strow@umbc.edu
Office: 724-663-7341
Google Voice: 724-663-1441  (best for messages)
Cell: 724-288-6933  (usually OFF)

On Tue, Feb 10, 2015 at 1:02 PM, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:

> On Tuesday, 10 Feb 2015 at 15:42, Larrabee Strow wrote:
> > I am trying to put a second row of two columns in a org beamer slide.
> >
> > No problems with doing the first row, two column.
> >
> > I can't figure out any way to put in the second row of two columns.
> > (I am trying to show a 2x2 grid of images, with titles.)
> >
> > It appears to me I need something that produces and \end{columns}
> > after my first row of columns.
>
> I don't think you need to do anything complicated.
>
> I have found that individual columns will go to the next "row" of
> columns if the running total of the widths is greater than the page
> width (\textwidth).  So basically if the first two columns take up most
> of the width, the next column you start will go below.  Try it and
> see.  It works for me.
>
> --
> : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org
> release_8.3beta-798-g528b90
>

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: closing column mode for beamer export
  2015-02-10 18:12   ` Larrabee Strow
@ 2015-02-11 11:13     ` Eric S Fraga
  2015-02-11 16:46       ` L. Larrabee Strow
  0 siblings, 1 reply; 10+ messages in thread
From: Eric S Fraga @ 2015-02-11 11:13 UTC (permalink / raw)
  To: Larrabee Strow; +Cc: emacs-orgmode

On Tuesday, 10 Feb 2015 at 13:12, Larrabee Strow wrote:
> Hi,
>
> Thanks for the suggestion.
>
> I tried making the columns bigger "BEAMER_col: 0.8 or whatever
>
> Didn't work.

can you post a minimal example.  I'm happy to play with it to see.
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.1, Org release_8.3beta-727-ga1cdc6.dirty

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: closing column mode for beamer export
  2015-02-11 11:13     ` Eric S Fraga
@ 2015-02-11 16:46       ` L. Larrabee Strow
  2015-02-12  8:30         ` Eric S Fraga
  0 siblings, 1 reply; 10+ messages in thread
From: L. Larrabee Strow @ 2015-02-11 16:46 UTC (permalink / raw)
  To: Eric S Fraga; +Cc: emacs-orgmode

Here is the simplest example I can come up with.  I changed the four
figures to text.  Note that in comments, I show where I can add
\end{columns} and \begin{columns} to the org-generated .tex files, and I
get what I want, a 2x2 set of figures.

(START OF ORG FILE)

#+LATEX_CLASS: beamer
#+LATEX_CLASS_OPTIONS: [t]
#+BEAMER_THEME: Frankfurt
#+OPTIONS: H:2 toc:nil num:t

* Introduction
** Overview
*** 
  :PROPERTIES:
  :BEAMER_col: 0.5
  :END:
#+LaTeX: \centering
Figure 1 (top/left)

Text instead of figure Text instead of figure Text instead of figure
Text instead of figure Text instead of figure Text instead of figure
#+LaTeX: \vspace{0.1in}

*** 
  :PROPERTIES:
  :BEAMER_col: 0.5
  :END:
#+LaTeX: \centering
Figure 2 (top/right)

Text instead of figure

# If I put: \end{columns}
# and put : \begin{columns}
# here in the .tex output from org-mode, I get a 2x2 set of figures

*** 
  :PROPERTIES:
  :BEAMER_col: 0.5
  :END:
#+LaTeX: \centering
Figure 3 (bottom/left)

Text instead of figure

*** 
  :PROPERTIES:
  :BEAMER_col: 0.5
  :END:
#+LaTeX: \centering
Figure 4 (bottom/right)

Text instead of figure

(END OF ORG FILE)

Thank you!!

Eric S Fraga writes:

> On Tuesday, 10 Feb 2015 at 13:12, Larrabee Strow wrote:
>> Hi,
>>
>> Thanks for the suggestion.
>>
>> I tried making the columns bigger "BEAMER_col: 0.8 or whatever
>>
>> Didn't work.
>
> can you post a minimal example.  I'm happy to play with it to see.

-- 
L. Larrabee Strow
UMBC Physics Department
Email: strow@umbc.edu
Office Phone: 724-663-7341
Google Phone: 724-663-1441

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: closing column mode for beamer export
  2015-02-10 15:42 closing column mode for beamer export Larrabee Strow
  2015-02-10 18:02 ` Eric S Fraga
@ 2015-02-12  7:33 ` James Harkins
  1 sibling, 0 replies; 10+ messages in thread
From: James Harkins @ 2015-02-12  7:33 UTC (permalink / raw)
  To: emacs-orgmode

Larrabee Strow <strow <at> umbc.edu> writes:

> 
> I am trying to put a second row of two columns in a org beamer slide.
> 
> No problems with doing the first row, two column.
> 
> I can't figure out any way to put in the second row of two columns.
> (I am trying to show a 2x2 grid of images, with titles.)
> 
> It appears to me I need something that produces and \end{columns}
> after my first row of columns.

This is what the :B_columns: tag is for. (And, finally *I* can help someone
else, instead of asking a question!!)

In the example, I'm cutting out some spaces before tags.

#+OPTIONS: H:1

* Frame
** First row				:B_columns:
   :PROPERTIES:
   :BEAMER_env: columns
   :END:
*** Left				:BMCOL:
    :PROPERTIES:
    :BEAMER_col: 0.5
    :END:
    Stuff here
*** Right				:BMCOL:
    :PROPERTIES:
    :BEAMER_col: 0.5
    :END:
    More stuff here
** Second row				:B_columns:
   :PROPERTIES:
   :BEAMER_env: columns
   :END:
*** Left				:BMCOL:
    :PROPERTIES:
    :BEAMER_col: 0.5
    :END:
    Stuff here
*** Right				:BMCOL:
    :PROPERTIES:
    :BEAMER_col: 0.5
    :END:
    More stuff here

In the exported LaTeX code, you'll get two \begin{columns} ... \end{columns}
pairs.

hjh

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: closing column mode for beamer export
  2015-02-11 16:46       ` L. Larrabee Strow
@ 2015-02-12  8:30         ` Eric S Fraga
  2015-02-13  2:09           ` James Harkins
  0 siblings, 1 reply; 10+ messages in thread
From: Eric S Fraga @ 2015-02-12  8:30 UTC (permalink / raw)
  To: L.Larrabee Strow; +Cc: emacs-orgmode

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

On Wednesday, 11 Feb 2015 at 11:46, L.Larrabee Strow wrote:
> Here is the simplest example I can come up with.  I changed the four
> figures to text.  Note that in comments, I show where I can add
> \end{columns} and \begin{columns} to the org-generated .tex files, and I
> get what I want, a 2x2 set of figures.

Thanks.

I can get this to work by inserting an empty "non-column" block with
heading ignored between the two pairs of blocks, as in the attached:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: t.org --]
[-- Type: text/x-org, Size: 1051 bytes --]

#+LATEX_CLASS: beamer
#+LATEX_CLASS_OPTIONS: [t]
#+BEAMER_THEME: Frankfurt
#+startup: beamer
#+OPTIONS: H:2 toc:nil num:t

* Introduction
** Overview
*** first column 0.5
  :PROPERTIES:
  :BEAMER_col: 0.5
  :END:

#+LaTeX: \centering
Figure 1 (top/left)


Text instead of figure Text instead of figure Text instead of figure
Text instead of figure Text instead of figure Text instead of figure

#+LaTeX: \vspace{0.1in}

*** second column 0.5
  :PROPERTIES:
  :BEAMER_col: 0.5
  :END:

#+LaTeX: \centering
Figure 2 (top/right)


Text instead of figure

# If I put: \end{columns}
# and put : \begin{columns}
# here in the .tex output from org-mode, I get a 2x2 set of figures

*** Imaginary block                                  :B_ignoreheading:
:PROPERTIES:
:BEAMER_env: ignoreheading
:END:
*** third column 0.5
  :PROPERTIES:
  :BEAMER_col: 0.5
  :END:

#+LaTeX: \centering
Figure 3 (bottom/left)


Text instead of figure

*** fourth 0.5
  :PROPERTIES:
  :BEAMER_col: 0.5
  :END:

#+LaTeX: \centering
Figure 4 (bottom/right)

Text instead of figure

[-- Attachment #3: Type: text/plain, Size: 94 bytes --]


HTH,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-816-gae83b3

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: closing column mode for beamer export
  2015-02-12  8:30         ` Eric S Fraga
@ 2015-02-13  2:09           ` James Harkins
  2015-02-13  7:29             ` Eric S Fraga
  0 siblings, 1 reply; 10+ messages in thread
From: James Harkins @ 2015-02-13  2:09 UTC (permalink / raw)
  To: emacs-orgmode

Eric S Fraga <e.fraga <at> ucl.ac.uk> writes:

> On Wednesday, 11 Feb 2015 at 11:46, L.Larrabee Strow wrote:
> > Here is the simplest example I can come up with.  I changed the four
> > figures to text.  Note that in comments, I show where I can add
> > \end{columns} and \begin{columns} to the org-generated .tex files, and I
> > get what I want, a 2x2 set of figures.
> 
> Thanks.
> 
> I can get this to work by inserting an empty "non-column" block with
> heading ignored between the two pairs of blocks, as in the attached:

Again, this is a hack. Beamer export has the :B_columns: tag for exactly
this purpose.

hjh

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: closing column mode for beamer export
  2015-02-13  2:09           ` James Harkins
@ 2015-02-13  7:29             ` Eric S Fraga
  2015-02-13 16:49               ` Nick Dokos
  0 siblings, 1 reply; 10+ messages in thread
From: Eric S Fraga @ 2015-02-13  7:29 UTC (permalink / raw)
  To: James Harkins; +Cc: emacs-orgmode

On Friday, 13 Feb 2015 at 02:09, James Harkins wrote:

[...]

> Again, this is a hack.

I was weaned on IBM S/370 assembler language so hack is what I do
;-)

> Beamer export has the :B_columns: tag for exactly this purpose.

Indeed and thanks for highlight this as I had forgotten about this
property.  I find it less æsthetically pleasing.  YMMV, of course.  The
beauty of org is that there are so many ways of accomplishing a given
task.

Thanks,
eric
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.1, Org release_8.3beta-820-gd92ef9

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: closing column mode for beamer export
  2015-02-13  7:29             ` Eric S Fraga
@ 2015-02-13 16:49               ` Nick Dokos
  0 siblings, 0 replies; 10+ messages in thread
From: Nick Dokos @ 2015-02-13 16:49 UTC (permalink / raw)
  To: emacs-orgmode

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

>> Beamer export has the :B_columns: tag for exactly this purpose.
>
> Indeed and thanks for highlight this as I had forgotten about this
> property.  I find it less æsthetically pleasing.  YMMV, of course.  The
> beauty of org is that there are so many ways of accomplishing a given
> task.
>

"Org: there's more than one way to do it" - catchy that! ;-)

Nick

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-02-13 16:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-10 15:42 closing column mode for beamer export Larrabee Strow
2015-02-10 18:02 ` Eric S Fraga
2015-02-10 18:12   ` Larrabee Strow
2015-02-11 11:13     ` Eric S Fraga
2015-02-11 16:46       ` L. Larrabee Strow
2015-02-12  8:30         ` Eric S Fraga
2015-02-13  2:09           ` James Harkins
2015-02-13  7:29             ` Eric S Fraga
2015-02-13 16:49               ` Nick Dokos
2015-02-12  7:33 ` James Harkins

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