Re: [O] closing column mode for beamer export

2015-02-13 Thread Eric S Fraga
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



Re: [O] closing column mode for beamer export

2015-02-13 Thread Nick Dokos
Eric S Fraga e.fr...@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




Re: [O] closing column mode for beamer export

2015-02-12 Thread James Harkins
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




Re: [O] closing column mode for beamer export

2015-02-12 Thread Eric S Fraga
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:

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

HTH,
eric

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


Re: [O] closing column mode for beamer export

2015-02-11 Thread L . Larrabee Strow
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: st...@umbc.edu
Office Phone: 724-663-7341
Google Phone: 724-663-1441



Re: [O] closing column mode for beamer export

2015-02-11 Thread James Harkins
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




Re: [O] closing column mode for beamer export

2015-02-11 Thread Eric S Fraga
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



Re: [O] closing column mode for beamer export

2015-02-10 Thread Eric S Fraga
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



[O] closing column mode for beamer export

2015-02-10 Thread Larrabee Strow
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.




Re: [O] closing column mode for beamer export

2015-02-10 Thread Larrabee Strow
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: st...@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.fr...@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