TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an equation and I would like to uncover part of it at a time. Take y = 2x + 3.

y = 2x + 3

I would like to uncover the 3

y = 2x + \uncover<2->{3}

That syntax for uncover does not seem to do anything.

share|improve this question
Have you tried using \pause instead of \uncover? Or does that not fulfill your purpose? – Rebekah Feb 9 '12 at 22:26
I always have this problem! The \onslide solution doesn't always work with align (in amsmath) either. Sometimes I simply can't get incremental equations at all, for no apparent reason. Would be nice to hear an analysis of what's going on. – Ryan Reich Feb 10 '12 at 0:09
Works fine with me (Win 7,TeXnicCenter 2,MikTeX 2.9). \documentclass{beamer}\usepackage{amsmath}\begin{document}\frame{\[y = 2x + \uncover<2->{3}\]}\end{document}. Can you include the preamble of your document together with your TeX system (computer, TeX distribution etc.). And a side issue why not using \[ y = 2x + \uncover<2->{3} \] ? – percusse Feb 10 '12 at 0:34
up vote 11 down vote accepted

A minimal example:

\documentclass{beamer} %making it a slideshow
\author{Kaare Mikkelsen}
\begin{equation*} y = 2x + \onslide<2->{3} \end{equation*} %the "3" will be shown one mouse-click later than "y=2x"

The result:

enter image description here

share|improve this answer
I think you should remove the \usepackage{graphicx} command? – Marc van Dongen Feb 9 '12 at 23:26
I have edited it accordingly :) – Kaare Feb 10 '12 at 12:34
@Kaare, Hi, what if I want to uncover 2, which is not at the end of the equation? – LWZ Jul 16 '13 at 14:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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