7

Is it possible? Doesn't work for me with the following code:

\documentclass{beamer}
\usepackage{lipsum}

\usepackage{background}
\backgroundsetup{
    placement=center,
    scale=1,
    contents={DRAFT}
}

\begin{document}
\frame{\lipsum[1]}
\end{document}

screenshot

0

2 Answers 2

15

You don't have to do anything special, nor to quit using the background package; due to the way frames are built in beamer, you simply have to add the background material to the appropriate template:

\setbeamertemplate{background}{\BgMaterial}

this is exactly what the \BgMaterial command was designed for. A little complete example:

\documentclass{beamer}
\usepackage{lipsum}

\usepackage{background}
\backgroundsetup{
    placement=center,
    scale=4,
    contents={DRAFT},
    opacity=1
}
\setbeamertemplate{background}{\BgMaterial}

\begin{document}
\frame{\lipsum[1]}
\end{document}

enter image description here

1
  • Hello @Gonzalo, your answer work for me. But the watermark doesn't overlays over the block, exampleblock and alertblock environment. What code we have to add? Commented Jun 19, 2021 at 6:31
6

It is better to use beamers facilities for this job. The text can be placed with the help of tikz. Remember that this needs 2-3 compilation runs to settle down since we are using remember picture option.

\documentclass{beamer}
\usepackage{lipsum}

\usepackage{tikz}
\setbeamertemplate{background}{%
\begin{tikzpicture}[overlay,remember picture]
\node[anchor=north west,scale=3] at ([shift={(1in,-1in)}]current page.north west) {Draft};
\end{tikzpicture}%
}

\begin{document}
\frame{\lipsum[1]}
\end{document}

enter image description here

2
  • Too bad we have to learn one set of tools and tricks for articles and another one for presentations.
    – Desik
    Commented May 10, 2015 at 11:40
  • @DenisBogdanas You don't have to learn two different set of tools and tricks. You can easily use the background package with beamer too; see my answer. Commented May 10, 2015 at 16:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .