1 代码及说明
部分参数说明:
1)inner sep以及outer sep:设置页边距;
2)overlay:不透明度;
3)page.center:放在页面中心;
4)width以及height:设置高宽;
5)1.jpg:背景图像;如需其他不同的背景,可以另行定义。
\documentclass{beamer}
\usepackage{tikz}
\newcommand\Background{%
\begin{tikzpicture}[remember picture,overlay]
\node[inner sep=0pt,outer sep=0pt,opacity=0.5]
at (current page.center)
{\includegraphics[width=\paperwidth,height=\paperheight]{1.jpg}};
\end{tikzpicture}%
}
\begin{document}
\begin{frame}
无背景
\end{frame}
\begin{frame}
\Background
有背景
\end{frame}
\begin{frame}
无背景
\end{frame}
\end{document}