如何用 tex 框覆盖全屏图片

如何用 tex 框覆盖全屏图片

我对作者的这种显示风格印象深刻。我的问题是如何使用 tex 框覆盖全屏图片?提前谢谢enter image description here

答案1

\documentclass{beamer}
\usepackage{tikz}

\setbeamercolor{title}{bg=white}

\begin{document}

\begin{frame}[plain]%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \begin{tikzpicture}[remember picture,overlay]
    \node[at=(current page.center)]{
        \includegraphics[width=\paperwidth]{Leonardo_da_vinci,_Drawings_of_Water_Lifting_Devices}
        };
        \pgfsetfillopacity{0.5}
        \node[at=(current page.center)]{
            \begin{beamercolorbox}[sep=0.5cm,wd=.8\paperwidth]{title}%
                \centering
                \pgfsetfillopacity{1}%
                \LARGE
                Your text
            \end{beamercolorbox}
        };
    \end{tikzpicture}
\end{frame}

\end{document}

enter image description here

(使用https://commons.wikimedia.org/wiki/File:Leonardo_da_vinci,_Drawings_of_Water_Lifting_Devices.jpg

相关内容