LaTeX制作PPT的时候,需要实现的效果。
两张图片并列,并分别添加小标题。
在图片的下方插入表格,表格中文字自动进行换行。
\begin{frame}
\frametitle{多到多的序列转换模型\\Sequence To Sequence Models}
\begin{figure}[htbp]
\centering
\subfigure[RNN]{
\includegraphics[scale=0.25]{1-1-RNN.png} \label{1}
}
\quad
\subfigure[CNN]{
\includegraphics[scale=0.25]{1-2-CNN.png} \label{2}
}
\end{figure}
\begin{tiny}
\begin{center}
\begin{tabular}{p{4cm}p{4cm}}
Learning phrase representations using RNN encoder-decoder for statistical machine translation, Cho et al. & Neural machine translation in linear time, Kalchbrenner et al.
\end{tabular}
\end{center}
\end{tiny}
\end{frame}
效果:
左边文字,右边图片
%-----------------------------------------------------------------
\begin{frame}{循环神经网络}{Recurrent Neural Networks}
\begin{columns}
\column{0.5\textwidth}
\begin{itemize}
\item 用于进行变长表示学习的模型
\item 适用于自然语言问题
\item LSTM和GRU是主要的RNN变种
\end{itemize}
\column{0.5\textwidth}
\begin{figure}
\centering
\includegraphics[width=6cm]{1-3-LSTM.png}
\caption*{LSTM编码序列}
\end{figure}
\end{columns}
\end{frame}
效果: