![使照片和文字适合两个小页面](https://linux22.com/image/354265/%E4%BD%BF%E7%85%A7%E7%89%87%E5%92%8C%E6%96%87%E5%AD%97%E9%80%82%E5%90%88%E4%B8%A4%E4%B8%AA%E5%B0%8F%E9%A1%B5%E9%9D%A2.png)
我的演示文稿中有以下幻灯片,但要让这个人的照片和文字适合其中却变得非常困难。实际上,文字出现在它应该出现的下方(我希望它们并排出现)。
\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
使用columns
columns 代替minipage
s:
\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}