I am using textpos
to control the position of text in a beamer
frame.
What I want to do, is to place some text on top of an image.
I am using the package in absolute mode and I want to place the text on the top-right corner of the frame.
My code is the following
\documentclass{beamer}
\usepackage{graphicx}
\usepackage[absolute]{textpos}
\begin{document}
\begin{frame}
\includegraphics[width=\textwidth]{BeamONAmp}
\setlength{\TPHorizModule}{\textwidth}
\setlength{\TPVertModule}{\textwidth}
\begin{textblock}{0.5}(0.001,0.001)
Test
\end{textblock}
\end{frame}
\end{document}
My output is the following
Any idea on how to properly control the position of the text?
Best Answer
If you want to use
textpos
withbeamer
and with absolute positioning, you have to use the optionoverlay
, otherwise theframe
background obscures thetextblock
.MWE:
Output
Excerpt from the documentation: