使用列表包装图像时项目的换行符

使用列表包装图像时项目的换行符

我试图在 beamer 中创建一个右侧带有图形的列表,但是句子在不同寻常的地方中断了。

    \begin{frame}{Protocol}
            \begin{wrapfigure}{R}{0.2\textwidth}
            \centering
            \includegraphics[width=0.1\textwidth]{Schematic_coating}
        \end{wrapfigure}
        \noindent
            \begin{itemize}
                \item Prepare 0.6 M NaCl solution in a 10 mM Tris-HCl (pH 8.5) solution
                \item Clean the glass substrate using ultrasonication with water and acetone or ethanol.
                \item Leave the substrate for 8 h into the solution for coating.
                \item Rinse extensively with ultrapure water and dry under a stream of nitrogen.
            \end{itemize}
\end{frame}

显示换行符的图像

答案1

以下是可能的布局columns

在此处输入图片描述

\documentclass[demo]{beamer} % do not use the demo option in your actual document.
\begin{document}

\begin{frame}{Protocol}
  \begin{columns}
    \begin{column}{0.8\textwidth}
      \begin{itemize}
        \item Prepare 0.6 M NaCl solution in a 10 mM Tris-HCl (pH 8.5) solution
        \item Clean the glass substrate using ultrasonication with water and acetone or ethanol.
        \item Leave the substrate for 8 h into the solution for coating.
        \item Rinse extensively with ultrapure water and dry under a stream of nitrogen.
      \end{itemize}
    \end{column}
    \begin{column}{0.2\textwidth}
      \centering
      \includegraphics[width=0.5\linewidth]{Schematic_coating}
    \end{column}
  \end{columns}
\end{frame}

\end{document}

相关内容