How to keep the same layout with beamer animation?
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I have a problem with this slide: the layout of all the lines changes during the animation
Thank you for helping me
beginframe
frametitleIntroduction
vspace-1.25cm
begincenter
Deux types de régime que lâÂÂon rencontre dans les installations électriques. Ils sont produits par des générateurs qui ont leur propre mode de fonctionnement.
endcenter
beginitemize
item<2-> Courant continu CC ("DC")
beginitemize
item<3-> Générateur électrochimique : pile, batterie
item<4-> Générateur électronique : panneau solaire
item<5-> Redressement du courant alternatif
enditemize
vspace-2.25cmhspace8cm
includegraphics<2->[width=2.75cm,keepaspectratio]Figures/courantCC.png
item<6-> Courant alternatif CA ("AC")
beginitemize
item<7-> Alternateur : convertion de l'énergie \ ,,,,,,mécanique en énergie électrique
enditemize
vspace-2.25cmhspace8cm
includegraphics<6->[width=2.75cm,keepaspectratio]Figures/courantAC.png
enditemize
%beginblockComments, suggestions or bug reports ?
% Please send a mail at: emailmelmorabity@fedoraproject.org
%endblock
endframe
beamer animations
add a comment |Â
up vote
2
down vote
favorite
I have a problem with this slide: the layout of all the lines changes during the animation
Thank you for helping me
beginframe
frametitleIntroduction
vspace-1.25cm
begincenter
Deux types de régime que lâÂÂon rencontre dans les installations électriques. Ils sont produits par des générateurs qui ont leur propre mode de fonctionnement.
endcenter
beginitemize
item<2-> Courant continu CC ("DC")
beginitemize
item<3-> Générateur électrochimique : pile, batterie
item<4-> Générateur électronique : panneau solaire
item<5-> Redressement du courant alternatif
enditemize
vspace-2.25cmhspace8cm
includegraphics<2->[width=2.75cm,keepaspectratio]Figures/courantCC.png
item<6-> Courant alternatif CA ("AC")
beginitemize
item<7-> Alternateur : convertion de l'énergie \ ,,,,,,mécanique en énergie électrique
enditemize
vspace-2.25cmhspace8cm
includegraphics<6->[width=2.75cm,keepaspectratio]Figures/courantAC.png
enditemize
%beginblockComments, suggestions or bug reports ?
% Please send a mail at: emailmelmorabity@fedoraproject.org
%endblock
endframe
beamer animations
1
Related/duplicate: Avoiding jumping frames in beamer
â Alan Munn
Aug 6 at 19:57
2
Your MWE's become better but you're not quite there. Please add the preamble, i.e.documentclass
and that stuff including the definitions ofcro
andahmed
or the package where they are defined and addenddocument
in such a way that everybody can just copy the code and compile it. (BTW, does it help if you just add[t]
afterbeginframe
?)
â marmot
Aug 6 at 19:57
it's ready thank you
â Elyes
Aug 6 at 20:08
1
No, it is not. Did you try to compile it as listed in your question? It won't compile. It MUST start withdocumentclass...
.
â AlexG
Aug 6 at 20:23
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I have a problem with this slide: the layout of all the lines changes during the animation
Thank you for helping me
beginframe
frametitleIntroduction
vspace-1.25cm
begincenter
Deux types de régime que lâÂÂon rencontre dans les installations électriques. Ils sont produits par des générateurs qui ont leur propre mode de fonctionnement.
endcenter
beginitemize
item<2-> Courant continu CC ("DC")
beginitemize
item<3-> Générateur électrochimique : pile, batterie
item<4-> Générateur électronique : panneau solaire
item<5-> Redressement du courant alternatif
enditemize
vspace-2.25cmhspace8cm
includegraphics<2->[width=2.75cm,keepaspectratio]Figures/courantCC.png
item<6-> Courant alternatif CA ("AC")
beginitemize
item<7-> Alternateur : convertion de l'énergie \ ,,,,,,mécanique en énergie électrique
enditemize
vspace-2.25cmhspace8cm
includegraphics<6->[width=2.75cm,keepaspectratio]Figures/courantAC.png
enditemize
%beginblockComments, suggestions or bug reports ?
% Please send a mail at: emailmelmorabity@fedoraproject.org
%endblock
endframe
beamer animations
I have a problem with this slide: the layout of all the lines changes during the animation
Thank you for helping me
beginframe
frametitleIntroduction
vspace-1.25cm
begincenter
Deux types de régime que lâÂÂon rencontre dans les installations électriques. Ils sont produits par des générateurs qui ont leur propre mode de fonctionnement.
endcenter
beginitemize
item<2-> Courant continu CC ("DC")
beginitemize
item<3-> Générateur électrochimique : pile, batterie
item<4-> Générateur électronique : panneau solaire
item<5-> Redressement du courant alternatif
enditemize
vspace-2.25cmhspace8cm
includegraphics<2->[width=2.75cm,keepaspectratio]Figures/courantCC.png
item<6-> Courant alternatif CA ("AC")
beginitemize
item<7-> Alternateur : convertion de l'énergie \ ,,,,,,mécanique en énergie électrique
enditemize
vspace-2.25cmhspace8cm
includegraphics<6->[width=2.75cm,keepaspectratio]Figures/courantAC.png
enditemize
%beginblockComments, suggestions or bug reports ?
% Please send a mail at: emailmelmorabity@fedoraproject.org
%endblock
endframe
beamer animations
edited Aug 6 at 20:27
samcarter
72.3k780229
72.3k780229
asked Aug 6 at 19:51
Elyes
465
465
1
Related/duplicate: Avoiding jumping frames in beamer
â Alan Munn
Aug 6 at 19:57
2
Your MWE's become better but you're not quite there. Please add the preamble, i.e.documentclass
and that stuff including the definitions ofcro
andahmed
or the package where they are defined and addenddocument
in such a way that everybody can just copy the code and compile it. (BTW, does it help if you just add[t]
afterbeginframe
?)
â marmot
Aug 6 at 19:57
it's ready thank you
â Elyes
Aug 6 at 20:08
1
No, it is not. Did you try to compile it as listed in your question? It won't compile. It MUST start withdocumentclass...
.
â AlexG
Aug 6 at 20:23
add a comment |Â
1
Related/duplicate: Avoiding jumping frames in beamer
â Alan Munn
Aug 6 at 19:57
2
Your MWE's become better but you're not quite there. Please add the preamble, i.e.documentclass
and that stuff including the definitions ofcro
andahmed
or the package where they are defined and addenddocument
in such a way that everybody can just copy the code and compile it. (BTW, does it help if you just add[t]
afterbeginframe
?)
â marmot
Aug 6 at 19:57
it's ready thank you
â Elyes
Aug 6 at 20:08
1
No, it is not. Did you try to compile it as listed in your question? It won't compile. It MUST start withdocumentclass...
.
â AlexG
Aug 6 at 20:23
1
1
Related/duplicate: Avoiding jumping frames in beamer
â Alan Munn
Aug 6 at 19:57
Related/duplicate: Avoiding jumping frames in beamer
â Alan Munn
Aug 6 at 19:57
2
2
Your MWE's become better but you're not quite there. Please add the preamble, i.e.
documentclass
and that stuff including the definitions of cro
and ahmed
or the package where they are defined and add enddocument
in such a way that everybody can just copy the code and compile it. (BTW, does it help if you just add [t]
after beginframe
?)â marmot
Aug 6 at 19:57
Your MWE's become better but you're not quite there. Please add the preamble, i.e.
documentclass
and that stuff including the definitions of cro
and ahmed
or the package where they are defined and add enddocument
in such a way that everybody can just copy the code and compile it. (BTW, does it help if you just add [t]
after beginframe
?)â marmot
Aug 6 at 19:57
it's ready thank you
â Elyes
Aug 6 at 20:08
it's ready thank you
â Elyes
Aug 6 at 20:08
1
1
No, it is not. Did you try to compile it as listed in your question? It won't compile. It MUST start with
documentclass...
.â AlexG
Aug 6 at 20:23
No, it is not. Did you try to compile it as listed in your question? It won't compile. It MUST start with
documentclass...
.â AlexG
Aug 6 at 20:23
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
4
down vote
accepted
As explained by samcarter in this answer, the jumping can simply avoided by adding [t]
after beginframe
. And your code is a bit rusty, there is no reason to start itemize so often, especially if you use columns
, which I suggest. You can use [t]
here as well in order to avoid jumps. As pointed out by @AlexG, your MWE is not complete. This is an MWE. It starts with documentclass
, ends with enddocument
, and can be compiled. Please consider to post documents in the future. (EDIT: samcarter pointed out that there were some ,,,
, which I removed, and I also used the opportunity to redraw your pics with TikZ, which IMHO looks a bit better.)
documentclassbeamer
usepackagetikz
begindocument
beginframe[t]
frametitleIntroduction
begincenter
Deux types de régime que lâÂÂon rencontre dans les installations électriques. Ils sont produits par des générateurs qui ont leur propre mode de fonctionnement.
endcenter
begincolumns
begincolumn8cm
beginitemize
item<2-> Courant continu CC ("DC")
item<3-> Générateur électrochimique : pile, batterie
item<4-> Générateur électronique : panneau solaire
item<5-> Redressement du courant alternatif
item<6-> Courant alternatif CA ("AC")
item<7-> Alternateur : convertion de l'énergie
begincenter
mécanique en énergie électrique
endcenter
enditemize
endcolumn
begincolumn[t]4cm
only<2->begintikzpicture[very thick,scale=0.35]
draw[orange] (0,1.6) -- (7,1.6);
draw (0,-2.5) -- (0,2.5) (0,0)node[left]$0$ -- (7,0) node[above]temps;
node[text=blue!30,anchor=west,font=small] at (-1.5,-4) Courant continu (DC);
endtikzpicture\
only<6->begintikzpicture[very thick,scale=0.35]
draw[orange] plot[variable=x,domain=0:2*pi] (1.05*x,2.5*sin(x r));
draw (0,-2.5) -- (0,2.5) (0,0)node[left]$0$ -- (7,0) node[above]temps;
node[text=blue!30,anchor=west,font=small] at (-1.5,-4) Courant alternatif (AC);
endtikzpicture
endcolumn
endcolumns
%beginblockComments, suggestions or bug reports ?
% Please send a mail at: emailmelmorabity@fedoraproject.org
%endblock
endframe
enddocument
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
accepted
As explained by samcarter in this answer, the jumping can simply avoided by adding [t]
after beginframe
. And your code is a bit rusty, there is no reason to start itemize so often, especially if you use columns
, which I suggest. You can use [t]
here as well in order to avoid jumps. As pointed out by @AlexG, your MWE is not complete. This is an MWE. It starts with documentclass
, ends with enddocument
, and can be compiled. Please consider to post documents in the future. (EDIT: samcarter pointed out that there were some ,,,
, which I removed, and I also used the opportunity to redraw your pics with TikZ, which IMHO looks a bit better.)
documentclassbeamer
usepackagetikz
begindocument
beginframe[t]
frametitleIntroduction
begincenter
Deux types de régime que lâÂÂon rencontre dans les installations électriques. Ils sont produits par des générateurs qui ont leur propre mode de fonctionnement.
endcenter
begincolumns
begincolumn8cm
beginitemize
item<2-> Courant continu CC ("DC")
item<3-> Générateur électrochimique : pile, batterie
item<4-> Générateur électronique : panneau solaire
item<5-> Redressement du courant alternatif
item<6-> Courant alternatif CA ("AC")
item<7-> Alternateur : convertion de l'énergie
begincenter
mécanique en énergie électrique
endcenter
enditemize
endcolumn
begincolumn[t]4cm
only<2->begintikzpicture[very thick,scale=0.35]
draw[orange] (0,1.6) -- (7,1.6);
draw (0,-2.5) -- (0,2.5) (0,0)node[left]$0$ -- (7,0) node[above]temps;
node[text=blue!30,anchor=west,font=small] at (-1.5,-4) Courant continu (DC);
endtikzpicture\
only<6->begintikzpicture[very thick,scale=0.35]
draw[orange] plot[variable=x,domain=0:2*pi] (1.05*x,2.5*sin(x r));
draw (0,-2.5) -- (0,2.5) (0,0)node[left]$0$ -- (7,0) node[above]temps;
node[text=blue!30,anchor=west,font=small] at (-1.5,-4) Courant alternatif (AC);
endtikzpicture
endcolumn
endcolumns
%beginblockComments, suggestions or bug reports ?
% Please send a mail at: emailmelmorabity@fedoraproject.org
%endblock
endframe
enddocument
add a comment |Â
up vote
4
down vote
accepted
As explained by samcarter in this answer, the jumping can simply avoided by adding [t]
after beginframe
. And your code is a bit rusty, there is no reason to start itemize so often, especially if you use columns
, which I suggest. You can use [t]
here as well in order to avoid jumps. As pointed out by @AlexG, your MWE is not complete. This is an MWE. It starts with documentclass
, ends with enddocument
, and can be compiled. Please consider to post documents in the future. (EDIT: samcarter pointed out that there were some ,,,
, which I removed, and I also used the opportunity to redraw your pics with TikZ, which IMHO looks a bit better.)
documentclassbeamer
usepackagetikz
begindocument
beginframe[t]
frametitleIntroduction
begincenter
Deux types de régime que lâÂÂon rencontre dans les installations électriques. Ils sont produits par des générateurs qui ont leur propre mode de fonctionnement.
endcenter
begincolumns
begincolumn8cm
beginitemize
item<2-> Courant continu CC ("DC")
item<3-> Générateur électrochimique : pile, batterie
item<4-> Générateur électronique : panneau solaire
item<5-> Redressement du courant alternatif
item<6-> Courant alternatif CA ("AC")
item<7-> Alternateur : convertion de l'énergie
begincenter
mécanique en énergie électrique
endcenter
enditemize
endcolumn
begincolumn[t]4cm
only<2->begintikzpicture[very thick,scale=0.35]
draw[orange] (0,1.6) -- (7,1.6);
draw (0,-2.5) -- (0,2.5) (0,0)node[left]$0$ -- (7,0) node[above]temps;
node[text=blue!30,anchor=west,font=small] at (-1.5,-4) Courant continu (DC);
endtikzpicture\
only<6->begintikzpicture[very thick,scale=0.35]
draw[orange] plot[variable=x,domain=0:2*pi] (1.05*x,2.5*sin(x r));
draw (0,-2.5) -- (0,2.5) (0,0)node[left]$0$ -- (7,0) node[above]temps;
node[text=blue!30,anchor=west,font=small] at (-1.5,-4) Courant alternatif (AC);
endtikzpicture
endcolumn
endcolumns
%beginblockComments, suggestions or bug reports ?
% Please send a mail at: emailmelmorabity@fedoraproject.org
%endblock
endframe
enddocument
add a comment |Â
up vote
4
down vote
accepted
up vote
4
down vote
accepted
As explained by samcarter in this answer, the jumping can simply avoided by adding [t]
after beginframe
. And your code is a bit rusty, there is no reason to start itemize so often, especially if you use columns
, which I suggest. You can use [t]
here as well in order to avoid jumps. As pointed out by @AlexG, your MWE is not complete. This is an MWE. It starts with documentclass
, ends with enddocument
, and can be compiled. Please consider to post documents in the future. (EDIT: samcarter pointed out that there were some ,,,
, which I removed, and I also used the opportunity to redraw your pics with TikZ, which IMHO looks a bit better.)
documentclassbeamer
usepackagetikz
begindocument
beginframe[t]
frametitleIntroduction
begincenter
Deux types de régime que lâÂÂon rencontre dans les installations électriques. Ils sont produits par des générateurs qui ont leur propre mode de fonctionnement.
endcenter
begincolumns
begincolumn8cm
beginitemize
item<2-> Courant continu CC ("DC")
item<3-> Générateur électrochimique : pile, batterie
item<4-> Générateur électronique : panneau solaire
item<5-> Redressement du courant alternatif
item<6-> Courant alternatif CA ("AC")
item<7-> Alternateur : convertion de l'énergie
begincenter
mécanique en énergie électrique
endcenter
enditemize
endcolumn
begincolumn[t]4cm
only<2->begintikzpicture[very thick,scale=0.35]
draw[orange] (0,1.6) -- (7,1.6);
draw (0,-2.5) -- (0,2.5) (0,0)node[left]$0$ -- (7,0) node[above]temps;
node[text=blue!30,anchor=west,font=small] at (-1.5,-4) Courant continu (DC);
endtikzpicture\
only<6->begintikzpicture[very thick,scale=0.35]
draw[orange] plot[variable=x,domain=0:2*pi] (1.05*x,2.5*sin(x r));
draw (0,-2.5) -- (0,2.5) (0,0)node[left]$0$ -- (7,0) node[above]temps;
node[text=blue!30,anchor=west,font=small] at (-1.5,-4) Courant alternatif (AC);
endtikzpicture
endcolumn
endcolumns
%beginblockComments, suggestions or bug reports ?
% Please send a mail at: emailmelmorabity@fedoraproject.org
%endblock
endframe
enddocument
As explained by samcarter in this answer, the jumping can simply avoided by adding [t]
after beginframe
. And your code is a bit rusty, there is no reason to start itemize so often, especially if you use columns
, which I suggest. You can use [t]
here as well in order to avoid jumps. As pointed out by @AlexG, your MWE is not complete. This is an MWE. It starts with documentclass
, ends with enddocument
, and can be compiled. Please consider to post documents in the future. (EDIT: samcarter pointed out that there were some ,,,
, which I removed, and I also used the opportunity to redraw your pics with TikZ, which IMHO looks a bit better.)
documentclassbeamer
usepackagetikz
begindocument
beginframe[t]
frametitleIntroduction
begincenter
Deux types de régime que lâÂÂon rencontre dans les installations électriques. Ils sont produits par des générateurs qui ont leur propre mode de fonctionnement.
endcenter
begincolumns
begincolumn8cm
beginitemize
item<2-> Courant continu CC ("DC")
item<3-> Générateur électrochimique : pile, batterie
item<4-> Générateur électronique : panneau solaire
item<5-> Redressement du courant alternatif
item<6-> Courant alternatif CA ("AC")
item<7-> Alternateur : convertion de l'énergie
begincenter
mécanique en énergie électrique
endcenter
enditemize
endcolumn
begincolumn[t]4cm
only<2->begintikzpicture[very thick,scale=0.35]
draw[orange] (0,1.6) -- (7,1.6);
draw (0,-2.5) -- (0,2.5) (0,0)node[left]$0$ -- (7,0) node[above]temps;
node[text=blue!30,anchor=west,font=small] at (-1.5,-4) Courant continu (DC);
endtikzpicture\
only<6->begintikzpicture[very thick,scale=0.35]
draw[orange] plot[variable=x,domain=0:2*pi] (1.05*x,2.5*sin(x r));
draw (0,-2.5) -- (0,2.5) (0,0)node[left]$0$ -- (7,0) node[above]temps;
node[text=blue!30,anchor=west,font=small] at (-1.5,-4) Courant alternatif (AC);
endtikzpicture
endcolumn
endcolumns
%beginblockComments, suggestions or bug reports ?
% Please send a mail at: emailmelmorabity@fedoraproject.org
%endblock
endframe
enddocument
edited Aug 6 at 21:17
answered Aug 6 at 20:32
marmot
51k349105
51k349105
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f444895%2fhow-to-keep-the-same-layout-with-beamer-animation%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Related/duplicate: Avoiding jumping frames in beamer
â Alan Munn
Aug 6 at 19:57
2
Your MWE's become better but you're not quite there. Please add the preamble, i.e.
documentclass
and that stuff including the definitions ofcro
andahmed
or the package where they are defined and addenddocument
in such a way that everybody can just copy the code and compile it. (BTW, does it help if you just add[t]
afterbeginframe
?)â marmot
Aug 6 at 19:57
it's ready thank you
â Elyes
Aug 6 at 20:08
1
No, it is not. Did you try to compile it as listed in your question? It won't compile. It MUST start with
documentclass...
.â AlexG
Aug 6 at 20:23