# Placing a Text over another Text in Beamer

How can I place a text on top of another text in beamer? I want something like this but over text while the original text becomes transparent.

Quick hack: use a negative space to move overlays in different states of uncovering on top of each other

\documentclass{beamer}

\setbeamercovered{%
still covered={\opaqueness<1>{20}},
again covered={\opaqueness<1->{20}}
}

\begin{document}

\begin{frame}
\Huge

\uncover<1>{old text}

\visible<2>{\vspace*{-\baselineskip} new text}
\end{frame}

\end{document}


• Yes! But the new text is not placed on the first line if I have multiple lines. How to fix this? – Lod Oct 9 '18 at 19:25
• @Lod If you have multiple lines, you could some use multiple of \vspace*{-\baselineskip} e.g. \vspace*{-3\baselineskip}. Or use tikz (in particular the tikzmarks library) if you need more flexibility. – user36296 Oct 9 '18 at 19:28