这个答案提供了一种在所有幻灯片中放置相同背景图像的解决方案。有没有办法将该background
包用于单个幻灯片?
\documentclass{beamer}
\usepackage{lipsum}
\usepackage{background}
\backgroundsetup{
scale=40,
color=lightgray,
opacity=0.4,
placement=center,
angle=0,
contents={i}%
}
\BgThispage
\begin{document}
\frame{\lipsum[1]}
\end{document}
答案1
使用机械装置上的投影机可以轻松完成:
\documentclass{beamer}
\usepackage{lipsum}
\begin{document}
{
\setbeamertemplate{background canvas}{\includegraphics[width=\paperwidth]{example-image}}
\begin{frame}
\lipsum[2]
\end{frame}
}
\begin{frame}
\lipsum[2]
\end{frame}
\end{document}
答案完全一样https://tex.stackexchange.com/a/244141/36296可以修改:
\documentclass{beamer}
\usepackage{lipsum}
\usepackage{background}
\backgroundsetup{
placement=center,
scale=4,
contents={DRAFT},
opacity=1
}
\begin{document}
{
\setbeamertemplate{background}{\BgMaterial}
\begin{frame}
\lipsum[2]
\end{frame}
}
\begin{frame}
\lipsum[2]
\end{frame}
\end{document}