Vertically wobbly figure in Beamer over slides
up vote
0
down vote
favorite
I have successive slides where one column is text and the other column is just an image. The image stays the same, so I simply kept the exact same code in a new frame. However, at my surprise, when I vary the text of the left column, the vertical alignment of the picture in the right column changes.
Here is a MWE which should make it clearer:
documentclass{beamer}
begin{document}
begin{frame}
begin{columns}
column{0.5textwidth}
Sample text
column{0.5textwidth}
begin{figure}
centering
defsvgwidth{textwidth}
input{fig.pdf_tex}
caption{Wobbly figure}
end{figure}
end{columns}
end{frame}
begin{frame}
begin{columns}
column{0.5textwidth}
A much longer sample text which messes up with the vertical alignment of the image in the other column. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
column{0.5textwidth}
begin{figure}
centering
defsvgwidth{textwidth}
input{fig.pdf_tex}
caption{Wobbly figure}
end{figure}
end{columns}
end{frame}
end{document}


beamer floats vertical-alignment
add a comment |
up vote
0
down vote
favorite
I have successive slides where one column is text and the other column is just an image. The image stays the same, so I simply kept the exact same code in a new frame. However, at my surprise, when I vary the text of the left column, the vertical alignment of the picture in the right column changes.
Here is a MWE which should make it clearer:
documentclass{beamer}
begin{document}
begin{frame}
begin{columns}
column{0.5textwidth}
Sample text
column{0.5textwidth}
begin{figure}
centering
defsvgwidth{textwidth}
input{fig.pdf_tex}
caption{Wobbly figure}
end{figure}
end{columns}
end{frame}
begin{frame}
begin{columns}
column{0.5textwidth}
A much longer sample text which messes up with the vertical alignment of the image in the other column. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
column{0.5textwidth}
begin{figure}
centering
defsvgwidth{textwidth}
input{fig.pdf_tex}
caption{Wobbly figure}
end{figure}
end{columns}
end{frame}
end{document}


beamer floats vertical-alignment
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have successive slides where one column is text and the other column is just an image. The image stays the same, so I simply kept the exact same code in a new frame. However, at my surprise, when I vary the text of the left column, the vertical alignment of the picture in the right column changes.
Here is a MWE which should make it clearer:
documentclass{beamer}
begin{document}
begin{frame}
begin{columns}
column{0.5textwidth}
Sample text
column{0.5textwidth}
begin{figure}
centering
defsvgwidth{textwidth}
input{fig.pdf_tex}
caption{Wobbly figure}
end{figure}
end{columns}
end{frame}
begin{frame}
begin{columns}
column{0.5textwidth}
A much longer sample text which messes up with the vertical alignment of the image in the other column. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
column{0.5textwidth}
begin{figure}
centering
defsvgwidth{textwidth}
input{fig.pdf_tex}
caption{Wobbly figure}
end{figure}
end{columns}
end{frame}
end{document}


beamer floats vertical-alignment
I have successive slides where one column is text and the other column is just an image. The image stays the same, so I simply kept the exact same code in a new frame. However, at my surprise, when I vary the text of the left column, the vertical alignment of the picture in the right column changes.
Here is a MWE which should make it clearer:
documentclass{beamer}
begin{document}
begin{frame}
begin{columns}
column{0.5textwidth}
Sample text
column{0.5textwidth}
begin{figure}
centering
defsvgwidth{textwidth}
input{fig.pdf_tex}
caption{Wobbly figure}
end{figure}
end{columns}
end{frame}
begin{frame}
begin{columns}
column{0.5textwidth}
A much longer sample text which messes up with the vertical alignment of the image in the other column. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
column{0.5textwidth}
begin{figure}
centering
defsvgwidth{textwidth}
input{fig.pdf_tex}
caption{Wobbly figure}
end{figure}
end{columns}
end{frame}
end{document}


beamer floats vertical-alignment
beamer floats vertical-alignment
asked 5 mins ago
Olivier Massicot
305
305
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f463893%2fvertically-wobbly-figure-in-beamer-over-slides%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown