将图像定位在第一列的顶部

将图像定位在第一列的顶部

我正在制作一个演示文稿,其中需要将图像放在左列顶部,但它居中对齐。如何才能将其移到顶部?

 \begin{columns}{\onlytextwidth}

\column{0.3\textwidth}
\begin{figure}

  \includegraphics[scale=0.25]{Table.PNG}
  
\end{figure}

\column{0.7\textwidth}

\begin{enumerate}[i]

    \item  Number of students who are enrolled in Mathematics only.

    \item Number of students who are enrolled in Physics only.

    \item Number of students who are enrolled in Chemistry only.

    \item Number of students who are enrolled in exactly one subject.

\item  Number of students who are enrolled in at least one subject.

\item Number of students who are not enrolled in any subject.

\end{enumerate}

\end{columns} 

在此处输入图片描述

答案1

T您可以按照以下示例所示使用该选项:

在此处输入图片描述

\documentclass{beamer}
\begin{document}
\begin{frame}
\begin{columns}[T]
  \begin{column}{0.3\textwidth}
    \includegraphics[scale=0.25]{example-image}
  \end{column}
  \begin{column}{0.7\textwidth}
    \begin{enumerate}[i]
      \item  Number of students who are enrolled in Mathematics only.
      \item Number of students who are enrolled in Physics only.
      \item Number of students who are enrolled in Chemistry only.
      \item Number of students who are enrolled in exactly one subject.
      \item  Number of students who are enrolled in at least one subject.
      \item Number of students who are not enrolled in any subject.
    \end{enumerate}
  \end{column}
\end{columns} 
\end{frame}
\end{document}

相关内容