[Tex/LaTex] beamer background content top-right

backgroundsbeamerpositioningwatermark

How can I place a background image in beamer at a certain distance from the top and right page margin?

So far I only managed to control the horizontal position:

\documentclass{beamer}
\usepackage{lipsum}

\begin{document}
{   
\setbeamertemplate{background}{
  \vspace{1in}
  \hspace{1in}
  \Huge DRAFT
}
\frame{\lipsum[1]}
}
\end{document}

screenshot

Ideally, the distance should be specified from the top and right corner.

Best Answer

Put a rule of 1in height and 0in width and another with 1in width and 0in height.

\documentclass{beamer}
\usepackage{lipsum}

\begin{document}
\setbeamertemplate{background}{%
  \rule{0in}{1in}%
  \rule{1in}{0in}%
  \Huge DRAFT
  }
\frame{\lipsum[1]}
\end{document}

enter image description here

There is always a possibility of using tikz to put things on a page byt here only light weight things are considered.

One sample with adjustbox package

\documentclass{beamer}
\usepackage{lipsum}
\usepackage{adjustbox}

\begin{document}
\setbeamertemplate{background}{
  \begin{adjustbox}{raise=-1in,right=2in}
  \Huge DRAFT
  \end{adjustbox}
  }
\frame{\lipsum[1]}
\end{document}