emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Beamer export questions/suggestions
@ 2011-02-18 20:20 Derek Thomas
  2011-02-18 20:54 ` Chris Malone
  2011-02-23 16:48 ` Eric S Fraga
  0 siblings, 2 replies; 8+ messages in thread
From: Derek Thomas @ 2011-02-18 20:20 UTC (permalink / raw)
  To: emacs-orgmode

Before I get to my questions, I would like to commend all those
involved in the development of org-mode.  I'm a new user and I've been
amazed by the features, utility, and the support/documentation
provided.

My first question relates to frames in beamer export.  Is it possible
to set a tag or otherwise indicate that a frame should appear without
a title, or as an empty frame (no header or footer)?  My second
question may be more of a suggestion if the feature is not available.
I currently use the testpos package in latex to position my figures in
beamer.  Is there a native org method to specify figure location in
org-beamer?  If not, it could be a nice feature for those preparing
presentations in org especially if it had the option to specify
quadrant location and relative size in a simple manner.  Thanks again,

Derek

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

* Re: Beamer export questions/suggestions
  2011-02-18 20:20 Beamer export questions/suggestions Derek Thomas
@ 2011-02-18 20:54 ` Chris Malone
  2011-02-23 16:47   ` Eric S Fraga
  2011-02-23 16:48 ` Eric S Fraga
  1 sibling, 1 reply; 8+ messages in thread
From: Chris Malone @ 2011-02-18 20:54 UTC (permalink / raw)
  To: Derek Thomas; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 2551 bytes --]

Hi Derek,

Re your first question:

One simple, albeit somewhat hackish way of achieving this would be to
utilize =org-mode='s #+begin_beamer ... #+end_beamer syntax with =beamer='s
frame option =plain=   For example:

======================================================================
# setup the themes I want to use for the overall look of the beamer talk
#+BEAMER_HEADER_EXTRA:
\usetheme{Madrid}\usecolortheme{default}


* Testing default
style
  test this is in madrid
format


#+begin_beamer


\end{frame}


\begin{frame}[plain]

  this uses beamer syntax and should be
plain
\end{frame}


#+end_beamer

======================================================================

The =\end{frame}= line is important because =org-mode= doesn't know how/when
to end the previous frame - it either looks for another heading (i.e. a "*")
or it simply adds an =\end{frame}= before the =\end{document}= upon export.

Ideally, it would be nice to be able to add an =ATTR_LATEX: plain= sort of
tag right before a heading to indicate that this particular frame should
have the =plain= beamer style.  I don't think this is currently done, but it
should be fairly straight forward to implement.  If I have time this weekend
to actually learn more than my rudimentary amount of elisp, then I might try
to make a patch for this feature.  Maybe it should be an =ATTR_BEAMER:= line
instead...

HTH,
Chris
On Fri, Feb 18, 2011 at 3:20 PM, Derek Thomas <derekcthomas@gmail.com>wrote:

> Before I get to my questions, I would like to commend all those
> involved in the development of org-mode.  I'm a new user and I've been
> amazed by the features, utility, and the support/documentation
> provided.
>
> My first question relates to frames in beamer export.  Is it possible
> to set a tag or otherwise indicate that a frame should appear without
> a title, or as an empty frame (no header or footer)?  My second
> question may be more of a suggestion if the feature is not available.
> I currently use the testpos package in latex to position my figures in
> beamer.  Is there a native org method to specify figure location in
> org-beamer?  If not, it could be a nice feature for those preparing
> presentations in org especially if it had the option to specify
> quadrant location and relative size in a simple manner.  Thanks again,
>
> Derek
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

[-- Attachment #1.2: Type: text/html, Size: 3691 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Beamer export questions/suggestions
  2011-02-18 20:54 ` Chris Malone
@ 2011-02-23 16:47   ` Eric S Fraga
  2011-02-23 18:24     ` chris.m.malone
  0 siblings, 1 reply; 8+ messages in thread
From: Eric S Fraga @ 2011-02-23 16:47 UTC (permalink / raw)
  To: Chris Malone; +Cc: emacs-orgmode, Derek Thomas

Chris Malone <chris.m.malone@gmail.com> writes:

> Hi Derek,
>
> Re your first question:
>
> One simple, albeit somewhat hackish way of achieving this would be to
> utilize =org-mode='s #+begin_beamer ... #+end_beamer syntax with =beamer='s
> frame option =plain=   For example:

You don't need to do this.  You can pass options to frames using the
BEAMER_envargs property:

#+begin_src org
** A plain slide
   :PROPERTIES:
   :BEAMER_envargs: [plain]
   :END:
   - a list
   - with few entries
   - but more than I thought
#+end_src

I use this all the time for options such as shrink and allowframebreaks.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.528.gd457)

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

* Re: Beamer export questions/suggestions
  2011-02-18 20:20 Beamer export questions/suggestions Derek Thomas
  2011-02-18 20:54 ` Chris Malone
@ 2011-02-23 16:48 ` Eric S Fraga
  1 sibling, 0 replies; 8+ messages in thread
From: Eric S Fraga @ 2011-02-23 16:48 UTC (permalink / raw)
  To: Derek Thomas; +Cc: emacs-orgmode

Derek Thomas <derekcthomas@gmail.com> writes:

[...]

> My second
> question may be more of a suggestion if the feature is not available.
> I currently use the testpos package in latex to position my figures in
> beamer.  Is there a native org method to specify figure location in
> org-beamer?  If not, it could be a nice feature for those preparing
> presentations in org especially if it had the option to specify
> quadrant location and relative size in a simple manner.  Thanks again,

Well, you can use latex directly in org, either with 

#+begin_latex
\textpos{...}
#+end_latex

or with

#+latex: \textpos{...}

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.528.gd457)

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

* Re: Re: Beamer export questions/suggestions
  2011-02-23 16:47   ` Eric S Fraga
@ 2011-02-23 18:24     ` chris.m.malone
  2011-02-23 18:51       ` Derek Thomas
  0 siblings, 1 reply; 8+ messages in thread
From: chris.m.malone @ 2011-02-23 18:24 UTC (permalink / raw)
  To: Eric S Fraga; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 901 bytes --]

Hi Eric,

Thanks for that useful bit of info!

Chris
On Feb 23, 2011 11:47am, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
> Chris Malone chris.m.malone@gmail.com> writes:



> > Hi Derek,

> >

> > Re your first question:

> >

> > One simple, albeit somewhat hackish way of achieving this would be to

> > utilize =org-mode='s #+begin_beamer ... #+end_beamer syntax with  
> =beamer='s

> > frame option =plain= For example:



> You don't need to do this. You can pass options to frames using the

> BEAMER_envargs property:



> #+begin_src org

> ** A plain slide

> :PROPERTIES:

> :BEAMER_envargs: [plain]

> :END:

> - a list

> - with few entries

> - but more than I thought

> #+end_src



> I use this all the time for options such as shrink and allowframebreaks.



> --

> : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1

> : using Org-mode version 7.4 (release_7.4.528.gd457)


[-- Attachment #1.2: Type: text/html, Size: 1497 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Re: Beamer export questions/suggestions
  2011-02-23 18:24     ` chris.m.malone
@ 2011-02-23 18:51       ` Derek Thomas
  2011-02-23 19:56         ` Eric S Fraga
  0 siblings, 1 reply; 8+ messages in thread
From: Derek Thomas @ 2011-02-23 18:51 UTC (permalink / raw)
  To: chris.m.malone; +Cc: emacs-orgmode

Eric and Chris,

Thanks for your responses.

Eric,

I'm currently using latex directly in org, but this method doesn't
play nicely with export to a regular tex file.  Would it be possible
to use something similar to this?

#+begin_src org
** A plain slide
*** [path/to/fig]
  :PROPERTIES:
  :FIGURE_envargs:
  Figure placement options
  :END:
#+end_src

The ability to specify placement in beamer would allow figures to be
placed correctly in beamer slides and also display inline for general
org export.  Thanks for your help,

Derek
On Wed, Feb 23, 2011 at 12:24 PM,  <chris.m.malone@gmail.com> wrote:
> Hi Eric,
>
> Thanks for that useful bit of info!
>
> Chris
> On Feb 23, 2011 11:47am, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
>> Chris Malone chris.m.malone@gmail.com> writes:
>>
>>
>>
>> > Hi Derek,
>>
>> >
>>
>> > Re your first question:
>>
>> >
>>
>> > One simple, albeit somewhat hackish way of achieving this would be to
>>
>> > utilize =org-mode='s #+begin_beamer ... #+end_beamer syntax with
>> > =beamer='s
>>
>> > frame option =plain=   For example:
>>
>>
>>
>> You don't need to do this.  You can pass options to frames using the
>>
>> BEAMER_envargs property:
>>
>>
>>
>> #+begin_src org
>>
>> ** A plain slide
>>
>>   :PROPERTIES:
>>
>>   :BEAMER_envargs: [plain]
>>
>>   :END:
>>
>>   - a list
>>
>>   - with few entries
>>
>>   - but more than I thought
>>
>> #+end_src
>>
>>
>>
>> I use this all the time for options such as shrink and allowframebreaks.
>>
>>
>>
>> --
>>
>> : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
>>
>> : using Org-mode version 7.4 (release_7.4.528.gd457)
>>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>



On Wed, Feb 23, 2011 at 12:24 PM,  <chris.m.malone@gmail.com> wrote:
> Hi Eric,
>
> Thanks for that useful bit of info!
>
> Chris
> On Feb 23, 2011 11:47am, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
>> Chris Malone chris.m.malone@gmail.com> writes:
>>
>>
>>
>> > Hi Derek,
>>
>> >
>>
>> > Re your first question:
>>
>> >
>>
>> > One simple, albeit somewhat hackish way of achieving this would be to
>>
>> > utilize =org-mode='s #+begin_beamer ... #+end_beamer syntax with
>> > =beamer='s
>>
>> > frame option =plain=   For example:
>>
>>
>>
>> You don't need to do this.  You can pass options to frames using the
>>
>> BEAMER_envargs property:
>>
>>
>>
>> #+begin_src org
>>
>> ** A plain slide
>>
>>   :PROPERTIES:
>>
>>   :BEAMER_envargs: [plain]
>>
>>   :END:
>>
>>   - a list
>>
>>   - with few entries
>>
>>   - but more than I thought
>>
>> #+end_src
>>
>>
>>
>> I use this all the time for options such as shrink and allowframebreaks.
>>
>>
>>
>> --
>>
>> : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
>>
>> : using Org-mode version 7.4 (release_7.4.528.gd457)
>>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>

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

* Re: Beamer export questions/suggestions
  2011-02-23 18:51       ` Derek Thomas
@ 2011-02-23 19:56         ` Eric S Fraga
  2011-02-23 21:49           ` Chris Malone
  0 siblings, 1 reply; 8+ messages in thread
From: Eric S Fraga @ 2011-02-23 19:56 UTC (permalink / raw)
  To: Derek Thomas; +Cc: chris.m.malone, emacs-orgmode

Derek Thomas <derekcthomas@gmail.com> writes:

> Eric and Chris,
>
> Thanks for your responses.
>
> Eric,
>
> I'm currently using latex directly in org, but this method doesn't
> play nicely with export to a regular tex file.

Why not?  It would be helpful if you could post a minimal example of
what does not work.

>  Would it be possible
> to use something similar to this?
>
> #+begin_src org
> ** A plain slide
> *** [path/to/fig]
>   :PROPERTIES:
>   :FIGURE_envargs:
>   Figure placement options
>   :END:
> #+end_src

not as such but you can do the following:

#+begin_src org
** a plain slide
#+attr_latex: width=[0.8\textwidth]
[[file:figure.png]]
#+end_src

and the figure should be included just fine.

-- 
Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D)

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

* Re: Beamer export questions/suggestions
  2011-02-23 19:56         ` Eric S Fraga
@ 2011-02-23 21:49           ` Chris Malone
  0 siblings, 0 replies; 8+ messages in thread
From: Chris Malone @ 2011-02-23 21:49 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1886 bytes --]

Hi Derek,

In addition to Eric's response, if you wanted to have, say, text on the left
side of the beamer frame and an image on the right, you can use beamer
columns:

#+begin_src org
** Why do we
care?
*** block
:B_ignoreheading:BMCOL:

:PROPERTIES:
    :BEAMER_env:
ignoreheading
    :BEAMER_col:
0.35

:END:
+ \textcolor{green}{They are
explosions!}
+ Unique location for rp-process
burning
+ Flame propagation under extreme
conditions
+ \alert{Constrain EOS for dense
matter}
*** jim_figure
:B_ignoreheading:BMCOL:

:PROPERTIES:
    :BEAMER_env:
ignoreheading
    :BEAMER_col:
0.8

:END:
#+ATTR_LaTeX:
width=\textwidth
./images/jim_diagram2.png

\\ \tiny \flushright Lattimer, J.M., \textit{ApSS}, \textbf{308}, 371 (2007)
#+end_src

You can enter in the =:PROPERTIES: yourself, or you can hit =C-c C-b= on the
line containing the particular block and select it as a column.  You can
find more information here:
http://orgmode.org/manual/Beamer-class-export.html

HTH,

Chris

On Wed, Feb 23, 2011 at 2:56 PM, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:

> Derek Thomas <derekcthomas@gmail.com> writes:
>
> > Eric and Chris,
> >
> > Thanks for your responses.
> >
> > Eric,
> >
> > I'm currently using latex directly in org, but this method doesn't
> > play nicely with export to a regular tex file.
>
> Why not?  It would be helpful if you could post a minimal example of
> what does not work.
>
> >  Would it be possible
> > to use something similar to this?
> >
> > #+begin_src org
> > ** A plain slide
> > *** [path/to/fig]
> >   :PROPERTIES:
> >   :FIGURE_envargs:
> >   Figure placement options
> >   :END:
> > #+end_src
>
> not as such but you can do the following:
>
> #+begin_src org
> ** a plain slide
> #+attr_latex: width=[0.8\textwidth]
> [[file:figure.png]]
> #+end_src
>
> and the figure should be included just fine.
>
> --
> Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D)
>

[-- Attachment #1.2: Type: text/html, Size: 3550 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

end of thread, other threads:[~2011-02-23 21:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-18 20:20 Beamer export questions/suggestions Derek Thomas
2011-02-18 20:54 ` Chris Malone
2011-02-23 16:47   ` Eric S Fraga
2011-02-23 18:24     ` chris.m.malone
2011-02-23 18:51       ` Derek Thomas
2011-02-23 19:56         ` Eric S Fraga
2011-02-23 21:49           ` Chris Malone
2011-02-23 16:48 ` Eric S Fraga

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