使用列表对齐投影仪中的列

使用列表对齐投影仪中的列

我经常遇到这样的问题beamer。左边是图片,itemize右边是环境。但是,逐项文本出现在最底部,而且经常被截断。然后我需要做一些调整\vspace{-x pt}来对齐它。有没有更好的方法?

以下是一个例子:

\begin{columns}
\includegraphics[scale=0.08]{2ENQ-A.png}
\column{0.65\textwidth}
\begin{itemize}
        \vspace{-130pt}
    \item<1-> 345, 453 and 420 are all associated with cancer and increased lipid activity.
    \item<1-> E453Q may disrupt interaction with p85 regulatory subunit.
    \item<1-> N345K and C420R associated with oncogenic gain of function. Constitutively activate AKT and TOR-mediated signaling.

\end{itemize}

答案1

这就是我如何使用列环境进行顶部对齐(您可以用 [c] 替换 [t] 以进行居中)。

\begin{columns}[t]
    \begin{column}{5cm}
    \begin{figure}
         \includegraphics[scale=0.08]{2ENQ-A.png}
    \end{figure}
    \end{column}

    \begin{column}{5cm}
    \begin{itemize}
        \item<1-> 345, 453 and 420 are all associated with cancer and increased lipid activity.
        \item<1-> E453Q may disrupt interaction with p85 regulatory subunit.
        \item<1-> N345K and C420R associated with oncogenic gain of function. Constitutively activate AKT and TOR-mediated signaling.
    \end{itemize}
    \end{column}
\end{columns}

然后您可能需要调整两列的比例和大小才能达到您想要的效果。也许存在一些更简单的代码来实现此目的,但这个代码从未让我失望过。

相关内容