Consider the following beamer frame

\frametitle{Foo Bar}

Currently, they are laid out exactly as I want them, with Fig1 on the left, and Fig2 on the right.

I want to add a vertical line right in between them, without modifying the positions of the figures at all.

I tried adding the following in between the two includegraphics lines, but it blew away the positions of both figures.

\rule{1 pt}{300 pt}

What is the simplest way to achieve the desired effect?

1 Answer 1


You can use \vrule.

Here's an example with fake images, replace them with yours.

\frametitle{Foo Bar}


enter image description here

If you want to change the thickness of the rule, use something like

\vrule width 1pt

instead of simply \vrule.

enter image description here


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .