beamer add tag
topnush
Take the code below:

```
 \documentclass{beamer}  
 \setbeamercovered{transparent}  
 \newcommand{\var}[1]{\operatorname{var}{\!#1}}   
 \begin{document}  
 \begin{frame}  
 \visible<+->{  
 Intro text}  
 \begin{align*}  
 \visible<.->{\Pr(Y_r >0) &= \Pr(Y_r \geq 1) \leq \frac{\mathbb{E}(Y_r)}{1} = \frac{d}{2^r}}  
 \visible<+->{  
 \intertext{More text,}  
 \visible<+->{\Pr(Y_r=0)} & \visible<+->{\leq \Pr(|Y_r-\mathbb{E}(Y_r)| \geq d/2^r)} \visible<+->{\leq \frac{\var(Y_r)}{(d/2^r)^2}} \visible<+->{\leq \frac{2^r}{d}}  
 }  
 \end{align*}  
 \end{frame}  
 \end{document}
```

How can I have the parts that aren't "visible" yet shown greyed out?  I really want this most for the chain of inequalities.
Top Answer
samcarter
The most important overlay commands are:

- `\only<⟨overlay specification⟩>{⟨text⟩}`: the content won't be present on the overlays not specified

- `\uncover<⟨overlay specification⟩>{⟨text⟩}`: the content is present on all overlays, but dimmed on the overlays not specified (depending on the theme etc, dimmed may also mean not visible at all)

- `\visible<⟨overlay specification⟩>{⟨text⟩}`: the content is present on all overlays, but invisible on the overlays not specified

- `\invisible<⟨overlay specification⟩>{⟨text⟩}`: the content is present on all overlays, but invisible on the overlays specified

- `\alt<⟨overlay specification⟩>{⟨default text⟩}{⟨alternative text⟩}`: shows one or the other depending on the overlays specified

- `\temporal<⟨overlay specification⟩>{⟨before slide text⟩}{⟨default text⟩}{⟨after slide text⟩}` similar to `\alt`, just with two different alt texts



So for your case, this means you want to use `\uncover` instead of `\visible`:


```
 \documentclass{beamer}  
 \setbeamercovered{transparent}  
 \newcommand{\var}[1]{\operatorname{var}{\!#1}}   
 \begin{document}  
 \begin{frame}  
 \uncover<+->{  
 Intro text}  
 \begin{align*}  
 \uncover<.->{\Pr(Y_r >0) &= \Pr(Y_r \geq 1) \leq \frac{\mathbb{E}(Y_r)}{1} = \frac{d}{2^r}}  
 \uncover<+->{  
 \intertext{More text,}  
 \uncover<+->{\Pr(Y_r=0)} & \uncover<+->{\leq \Pr(|Y_r-\mathbb{E}(Y_r)| \geq d/2^r)} \uncover<+->{\leq \frac{\var(Y_r)}{(d/2^r)^2}} \uncover<+->{\leq \frac{2^r}{d}}  
 }  
 \end{align*}  
 \end{frame}  
 \end{document}
 ```
 
 ![document.gif](/image?hash=50c228c3ab44ecca5f8d896962139f2d01ffa6ac36338ef702b2faf721865102)

Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.