* The \only<> overlay in beamer
@ 2010-09-18 18:15 Rafael Calsaverini
2010-09-29 16:12 ` Carsten Dominik
2010-09-29 16:21 ` Carsten Dominik
0 siblings, 2 replies; 4+ messages in thread
From: Rafael Calsaverini @ 2010-09-18 18:15 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 1556 bytes --]
Hi there.
I'm trying to use the \only<> command to produce a beamer presentation but
it seems that org-beamer filters out this. I've tried it in many different
ways, and didn't get the desired effect.
Particularly, I've tried the obviously wrong thing:
#+STARTUP: beamer
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [smaller, presentation]
* Foo
** Slide 1
\only<1> {
*** Block1 :B_block:
:PROPERTIES:
:BEAMER_env: block
:END:
- bla11
- bla12
- bla13
}
\only<2>{
*** Block2 :B_block:
:PROPERTIES:
:BEAMER_env: block
:END:
- bla21
- bla22
- bla23
}
Which obviously break-up. And I also tried what I believe would be a nice
syntax for this:
* Foo
** Slide 1
*** Block1 :B_block:
:PROPERTIES:
:BEAMER_envargs: \only<1>
:BEAMER_env: block
:END:
- bla11
- bla12
- bla13
*** Block2 :B_block:
:PROPERTIES:
:BEAMER_envargs: \only<2>
:BEAMER_env: block
:END:
- bla21
- bla22
- bla23
Apparently the parser just removes the "\only" and interprets this as <1>
and <2>. The resulting latex is exactly the same as if the "\only" wasn't
there.
Is there a way to use the "\only<>" overlay in a clean way?
Thank you very much.
---
Rafael Calsaverini
Dep. de Física Geral, Sala 336
Instituto de Física - Universidade de São Paulo
rafael.calsaverini@gmail.com
http://stoa.usp.br/calsaverini/weblog
CEL: (11) 7525-6222
USP: (11) 3091-6803
[-- Attachment #1.2: Type: text/html, Size: 2720 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] 4+ messages in thread
* Re: The \only<> overlay in beamer
2010-09-18 18:15 The \only<> overlay in beamer Rafael Calsaverini
@ 2010-09-29 16:12 ` Carsten Dominik
2010-09-29 16:26 ` John Hendy
2010-09-29 16:21 ` Carsten Dominik
1 sibling, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2010-09-29 16:12 UTC (permalink / raw)
To: Rafael Calsaverini; +Cc: emacs-orgmode
On Sep 18, 2010, at 8:15 PM, Rafael Calsaverini wrote:
> Hi there.
>
> I'm trying to use the \only<> command to produce a beamer
> presentation but it seems that org-beamer filters out this. I've
> tried it in many different ways, and didn't get the desired effect.
>
> Particularly, I've tried the obviously wrong thing:
> #+STARTUP: beamer
> #+LaTeX_CLASS: beamer
> #+LaTeX_CLASS_OPTIONS: [smaller, presentation]
>
> * Foo
> ** Slide 1
> \only<1> {
> *** Block1 :B_block:
> :PROPERTIES:
> :BEAMER_env: block
> :END:
> - bla11
> - bla12
> - bla13
> }
> \only<2>{
> *** Block2 :B_block:
> :PROPERTIES:
> :BEAMER_env: block
> :END:
> - bla21
> - bla22
> - bla23
> }
>
> Which obviously break-up. And I also tried what I believe would be a
> nice syntax for this:
>
> * Foo
> ** Slide 1
> *** Block1 :B_block:
> :PROPERTIES:
> :BEAMER_envargs: \only<1>
> :BEAMER_env: block
> :END:
> - bla11
> - bla12
> - bla13
>
> *** Block2 :B_block:
> :PROPERTIES:
> :BEAMER_envargs: \only<2>
> :BEAMER_env: block
> :END:
> - bla21
> - bla22
> - bla23
>
> Apparently the parser just removes the "\only" and interprets this
> as <1> and <2>. The resulting latex is exactly the same as if the
> "\only" wasn't there.
>
> Is there a way to use the "\only<>" overlay in a clean way?
What does \only do?
- Carsten
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: The \only<> overlay in beamer
2010-09-18 18:15 The \only<> overlay in beamer Rafael Calsaverini
2010-09-29 16:12 ` Carsten Dominik
@ 2010-09-29 16:21 ` Carsten Dominik
1 sibling, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2010-09-29 16:21 UTC (permalink / raw)
To: Rafael Calsaverini; +Cc: emacs-orgmode
On Sep 18, 2010, at 8:15 PM, Rafael Calsaverini wrote:
> Hi there.
>
> I'm trying to use the \only<> command to produce a beamer
> presentation but it seems that org-beamer filters out this. I've
> tried it in many different ways, and didn't get the desired effect.
>
> Particularly, I've tried the obviously wrong thing:
> #+STARTUP: beamer
> #+LaTeX_CLASS: beamer
> #+LaTeX_CLASS_OPTIONS: [smaller, presentation]
>
> * Foo
> ** Slide 1
> \only<1> {
> *** Block1 :B_block:
> :PROPERTIES:
> :BEAMER_env: block
> :END:
> - bla11
> - bla12
> - bla13
> }
> \only<2>{
> *** Block2 :B_block:
> :PROPERTIES:
> :BEAMER_env: block
> :END:
> - bla21
> - bla22
> - bla23
> }
>
> Which obviously break-up. And I also tried what I believe would be a
> nice syntax for this:
Would it work to do
#+BEAMER: \only<1> {
.......
#+BEAMER: }
???
>
> * Foo
> ** Slide 1
> *** Block1 :B_block:
> :PROPERTIES:
> :BEAMER_envargs: \only<1>
> :BEAMER_env: block
> :END:
> - bla11
> - bla12
> - bla13
>
> *** Block2 :B_block:
> :PROPERTIES:
> :BEAMER_envargs: \only<2>
> :BEAMER_env: block
> :END:
> - bla21
> - bla22
> - bla23
>
> Apparently the parser just removes the "\only" and interprets this
> as <1> and <2>. The resulting latex is exactly the same as if the
> "\only" wasn't there.
>
> Is there a way to use the "\only<>" overlay in a clean way?
>
> Thank you very much.
>
> ---
> Rafael Calsaverini
> Dep. de Física Geral, Sala 336
> Instituto de Física - Universidade de São Paulo
>
> rafael.calsaverini@gmail.com
> http://stoa.usp.br/calsaverini/weblog
> CEL: (11) 7525-6222
> USP: (11) 3091-6803
>
> _______________________________________________
> 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] 4+ messages in thread
* Re: The \only<> overlay in beamer
2010-09-29 16:12 ` Carsten Dominik
@ 2010-09-29 16:26 ` John Hendy
0 siblings, 0 replies; 4+ messages in thread
From: John Hendy @ 2010-09-29 16:26 UTC (permalink / raw)
To: Carsten Dominik; +Cc: Rafael Calsaverini, emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 3001 bytes --]
From beamer manual:
---
On non-specified slides the \only command simply “throws its argument away”
and the argument does not
occupy any space. This leads to different heights of the text on the first
three slides and on the fourth slide. If
the text is centered vertically, this will cause the text to “wobble” and
thus \uncover should be used. However,
you sometimes wish things to “really disappear” on some slides and then
\only is useful.
---
Rafael, could you describe exactly what you want to happen? When I use
either <1> or \only<1> formats, I see the first block only one slide 1 and
the second block only on slide 2. What is it that's not happening for you?
Or could you paste the LaTeX equivalent that does work so we can see what
it's supposed to do?
Thanks,
John
* Foo
** Slide 1
*** Block1 :B_block:
:PROPERTIES:
:BEAMER_envargs: <1>
:BEAMER_env: block
:END:
- bla11
- bla12
- bla13
*** Block2 :B_block:
:PROPERTIES:
:BEAMER_envargs: <2>
:BEAMER_env: block
:END:
- bla21
- bla22
- bla23
On Wed, Sep 29, 2010 at 11:12 AM, Carsten Dominik <carsten.dominik@gmail.com
> wrote:
>
> On Sep 18, 2010, at 8:15 PM, Rafael Calsaverini wrote:
>
> Hi there.
>>
>> I'm trying to use the \only<> command to produce a beamer presentation but
>> it seems that org-beamer filters out this. I've tried it in many different
>> ways, and didn't get the desired effect.
>>
>> Particularly, I've tried the obviously wrong thing:
>> #+STARTUP: beamer
>> #+LaTeX_CLASS: beamer
>> #+LaTeX_CLASS_OPTIONS: [smaller, presentation]
>>
>> * Foo
>> ** Slide 1
>> \only<1> {
>> *** Block1 :B_block:
>> :PROPERTIES:
>> :BEAMER_env: block
>> :END:
>> - bla11
>> - bla12
>> - bla13
>> }
>> \only<2>{
>> *** Block2 :B_block:
>> :PROPERTIES:
>> :BEAMER_env: block
>> :END:
>> - bla21
>> - bla22
>> - bla23
>> }
>>
>> Which obviously break-up. And I also tried what I believe would be a nice
>> syntax for this:
>>
>> * Foo
>> ** Slide 1
>> *** Block1 :B_block:
>> :PROPERTIES:
>> :BEAMER_envargs: \only<1>
>> :BEAMER_env: block
>> :END:
>> - bla11
>> - bla12
>> - bla13
>>
>> *** Block2 :B_block:
>> :PROPERTIES:
>> :BEAMER_envargs: \only<2>
>> :BEAMER_env: block
>> :END:
>> - bla21
>> - bla22
>> - bla23
>>
>> Apparently the parser just removes the "\only" and interprets this as <1>
>> and <2>. The resulting latex is exactly the same as if the "\only" wasn't
>> there.
>>
>> Is there a way to use the "\only<>" overlay in a clean way?
>>
>
> What does \only do?
>
> - Carsten
>
>
> _______________________________________________
> 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: 4067 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] 4+ messages in thread
end of thread, other threads:[~2010-09-29 17:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-18 18:15 The \only<> overlay in beamer Rafael Calsaverini
2010-09-29 16:12 ` Carsten Dominik
2010-09-29 16:26 ` John Hendy
2010-09-29 16:21 ` Carsten Dominik
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.