![将框架从一个角到另一个角进行划分](https://linux22.com/image/452946/%E5%B0%86%E6%A1%86%E6%9E%B6%E4%BB%8E%E4%B8%80%E4%B8%AA%E8%A7%92%E5%88%B0%E5%8F%A6%E4%B8%80%E4%B8%AA%E8%A7%92%E8%BF%9B%E8%A1%8C%E5%88%92%E5%88%86.png)
答案1
你可以使用 tikz:
\documentclass{beamer}
\usepackage{tikz}
% trick taken from https://topanswers.xyz/tex?q=1989
\tikzset{
use page relative coordinates/.style={
shift={(current page.south west)},
x={(current page.south east)},
y={(current page.north west)}
},
}
\begin{document}
\begin{frame}
\begin{tikzpicture}[remember picture,overlay,use page relative coordinates]
\draw[blue,thick] (current page.north west) -- (current page.south east);
\node at (0.2,0.2) {\includegraphics[width=2cm]{example-image-duck}};
\node at (0.8,0.8) {\includegraphics[width=2cm]{example-image-duck}};
\end{tikzpicture}
\end{frame}
\end{document}