I am trying to fit something in a beamer slide so that it covers the entire frame width, but what I get seems to be offset to the right by \hoffset. Here is a MWE:
\documentclass{beamer}
\usepackage{adjustbox}
% No navigation symbols. %
\setbeamertemplate{navigation symbols}{}
\begin{document}
\begin{frame}[plain]
%
\centering
%
\begin{adjustbox}{%
max totalsize={\paperwidth}%
{\dimexpr\paperheight-\voffset\relax}}
%
% Something larger than paperwidth, so that scaling is necessary.
\adjustbox{width=1.2\paperwidth}{Test text.}
%
\end{adjustbox}
%
\end{frame}
\end{document}
The above produces the following:
As can be seen, there is some empty space on the left. Moreover, the contents don't really seem to actually have a width of \paperwidth.
What is the right way of achieving this? I would like to avoid playing around with \usebackgroundtemplate, as something like Image on full slide in beamer package seems very ad-hoc to me.



%to end the line. Now it should work. – Skillmon Apr 03 '18 at 09:53\begin{frame}[plain] \begin{adjustbox}{width=1.2\paperwidth, max totalsize={\paperwidth}{\dimexpr\paperheight-\voffset\relax}, center} Test text. \end{adjustbox} \end{frame}. – Martin Scharrer Apr 03 '18 at 15:16adjustbox{width=1.2\paperwidth}{Test text.}is a left over from OP who wanted to see how the code works with stuff that is actually oversized. I didn't remove that because I saw no point in doing so (though the reresizing is lets say less than ideal). – Skillmon Apr 03 '18 at 18:39