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


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



    \uncover<1>{old text}

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


enter image description here

| improve this answer | |
  • 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. – samcarter_is_at_topanswers.xyz Oct 9 '18 at 19:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.