使照片和文字适合两个小页面

使照片和文字适合两个小页面

我的演示文稿中有以下幻灯片,但要让这个人的照片和文字适合其中却变得非常困难。实际上,文字出现在它应该出现的下方(我希望它们并排出现)。

\begin{frame}{Robin Milner (1934,2010)}
\scriptsize
\noindent
\begin{minipage}[t]{0.48\linewidth}
\includegraphics[scale=0.3]{milner.jpeg}
\end{minipage}
\hfill%
\begin{minipage}[t]{0.48\linewidth}
ACM A.M. Turing Award (1991). For three distinct and complete achievements:
    \begin{itemize}
    \item LCF, the mechanization of Scott's Logic of Computable Functions, probably the first theoretically based yet practical tool for machine assisted proof construction.
    \item ML, the first language to include polymorphic type inference together with a type-safe exception-handling mechanism.
    \item CCS, a general theory of concurrency.
    \end{itemize}

    In addition, he formulated and strongly advanced full abstraction, the study of the relationship between operational and denotational semantics. 
\end{minipage}
\end{frame}

但是我得到了这个结果。

在此处输入图片描述

我已经在网站上探索过其他问题,但未找到解决方案。我做错了什么?

答案1

将 minipage 中的选项从 t 更改为 l 您将获得输出。

    \documentclass{beamer}



    \begin{document}


    \begin{frame}{Robin Milner (1934,2010)}
    \scriptsize
    \noindent

    \begin{minipage}[l]{0.48\linewidth}
    \includegraphics[scale=0.4]{robin.jpg}
    \end{minipage}\hfill
    \begin{minipage}[l]{0.48\linewidth}
    ACM A.M. Turing Award (1991). For three distinct and complete achievements:
     \begin{itemize}
     \item LCF, the mechanization of Scott's Logic of Computable Functions, probably the first theoretically based yet practical tool for machine assisted proof construction.
     \item ML, the first language to include polymorphic type inference together with a type-safe exception-handling mechanism.
      \item CCS, a general theory of concurrency.
      \end{itemize}

       In addition, he formulated and strongly advanced full  abstraction, the study of the relationship between operational and denotational semantics. 
      \end{minipage}
       \end{frame}

       \end{document}

在此处输入图片描述

答案2

使用columnscolumns 代替minipages:

\documentclass{beamer}

\begin{document}

\begin{frame}
    \frametitle{Robin Milner (1934,2010)}
    \scriptsize
    \begin{columns}[onlytextwidth, T]
        \begin{column}{.48\textwidth}
            \includegraphics[width=.9\textwidth]{example-image-10x16}
        \end{column}
        \begin{column}{.48\textwidth}
            ACM A.M. Turing Award (1991). For three distinct and complete achievements:
            \begin{itemize}
                \item LCF, the mechanization of Scott's Logic of Computable Functions, probably the first theoretically based yet practical tool for machine assisted proof construction.
                \item ML, the first language to include polymorphic type inference together with a type-safe exception-handling mechanism.
                \item CCS, a general theory of concurrency.
            \end{itemize}
            In addition, he formulated and strongly advanced full abstraction, the study of the relationship between operational and denotational semantics.
        \end{column}
    \end{columns}
\end{frame}


\end{document}

在此处输入图片描述

相关内容