[Tex/LaTex] Avoiding jumping frames in beamer

beameroverlayspositioning

Sometimes I want an element on a frame to change in steps.
I do this by

\only<2>{  
...  
}  
\only<3>{  
...  
}  

etc.

But this causes the frame to jump due to different sizes of the included content.
How can this be avoided?

Best Answer

Wrap your code fragment inside the overlayarea environment.