Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am using the columns environment with beamer.

\begin{columns}[c]
\begin{column}{0.5\textwidth}
\includegraphics<1>[width=0.35\textwidth]{dictmat-4.png}
\end{column}
\hspace{-50pt}
\begin{column}{0.50\textwidth}
\includegraphics<1>[width=0.35\textwidth]{dictmat-5.png}
\end{column}
\end{columns}

How can I draw a vertical line between two columns (i.e., the two figures?)

share|improve this question

1 Answer 1

up vote 7 down vote accepted

Try adding a \vrule between the two columns:

\begin{columns}[c]
\begin{column}{0.5\textwidth}
\includegraphics<1>[width=0.35\textwidth]{picture.jpg}
\end{column}
\hspace{-50pt}
\vrule{}
\begin{column}{0.50\textwidth}
\includegraphics<1>[width=0.35\textwidth]{picture.jpg}
\end{column}
\end{columns}
share|improve this answer
    
It worked fine! I just had to remove \hspace and use [T] as parameter to \begin{columns}[T] –  user24913 Jan 24 '13 at 18:50
1  
Do you know if this can work with the \column{.5\textwidth} syntax (without the \begin{column} and \end{column} tags)? –  askewchan Jul 16 at 18:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.