How to keep the same layout with beamer animation?

The name of the pictureThe name of the pictureThe name of the pictureClash 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


enter image description hereenter image description here







share|improve this question

















  • 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 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






  • 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















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


enter image description hereenter image description here







share|improve this question

















  • 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 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






  • 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













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


enter image description hereenter image description here







share|improve this question













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


enter image description hereenter image description here









share|improve this question












share|improve this question




share|improve this question








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






  • 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













  • 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 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






  • 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








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











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


enter image description here






share|improve this answer























    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "85"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );








     

    draft saved


    draft discarded


















    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






























    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


    enter image description here






    share|improve this answer



























      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


      enter image description here






      share|improve this answer

























        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


        enter image description here






        share|improve this answer















        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


        enter image description here







        share|improve this answer















        share|improve this answer



        share|improve this answer








        edited Aug 6 at 21:17


























        answered Aug 6 at 20:32









        marmot

        51k349105




        51k349105






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            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













































































            Comments

            Popular posts from this blog

            What is the equation of a 3D cone with generalised tilt?

            Relationship between determinant of matrix and determinant of adjoint?

            Color the edges and diagonals of a regular polygon