0
\documentclass{beamer}

\usetheme{Madrid}

\begin{document}

\begin{frame}{Members}
\begin{columns}[T] 
\hfill
\begin{column}{.32\textwidth}
\hspace{2mm} \includegraphics[height=0.2\textheight]{john.jpg} \hspace{2mm} John\\
\hspace{2mm} \includegraphics[height=0.2\textheight]{jane.jpg} \hspace{2mm} Jane\\
\end{column}
\hfill
\begin{column}{.32\textwidth}
Middle Part
\end{column}
\hfill
\begin{column}{.32\textwidth}
Right Part
\end{column}
\hfill
\end{columns}
\end{frame}

\end{document}

The images are toward the top of the frame. How can I place them in the (vertical) middle? I know that for horizontal middle, I can use \centering or \begin{center}, but for vertical I have no idea.

  • beamer palces frame content vertically centered by default. If you uses t class or frame option, the contents is top aligned. Your code uses default style and all contents is vertically centered in my computer. So, I don't understand your question. – Ignasi Apr 27 '16 at 8:37
  • If your problem has been solved, write down the solution, mark a solution or write down what else you did. This information might be useful for other users. – MaestroGlanz Apr 27 '16 at 11:29
  • @Ignasi You're right. I copied the code from somewhere else and it has the [T]. Silly me. :) – nan Apr 27 '16 at 14:41
0

I packaged the text next to the pictures into parboxes. In general, I recommend not to use fixed space.

\begin{column}{.32\textwidth}
\hspace*{2mm} \includegraphics[height=0.2\textheight]{test1} 
\parbox[c][0.2\textheight][t]{\linewidth}{
\hspace*{2mm} John}\\
\hspace*{2mm} \includegraphics[height=0.2\textheight]{test1} 
\parbox[c][0.2\textheight][t]{\linewidth}{
\hspace*{2mm} Jane}\\
\end{column}

Note, that the parbox has currently overwidth, because it is \linewidth, but not aligned left, since there is the picture in between.

I hope, this is what you want

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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