9

I have used following comment

\documentclass{beamer}
\mode<presentation>
{
  \usetheme{Warsaw}


  \setbeamercovered{transparent}

}
\setbeamertemplate{navigation symbols}{}
\newtheorem{df}{Definition}[section]
\usepackage{beamerthemeshadow}
\usepackage{hyperref}
\usepackage{amsmath}
\usepackage{amsfonts}

\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{graphics}
\usepackage{graphicx}
\usepackage{epsfig}
\usepackage{latexsym}
\usepackage{color}

\begin{document}

\begin{frame}
\begin{block}{Theorem}
Theorem Text Here
\end{block}
\vfill \pause

\begin{block}{Corollary}
Corollary text here
\end{block}
\vfill \pause 
\begin{example}
\begin{figure}[H]
\centering
\includegraphics[scale=0.6]{cross.eps}
\end{figure}
\end{example}
\end{frame}
\end{document}

and the output is enter image description here

In this, figure is not fade. I need figure become visible only after the corollary.

Identified that this will work if we remove \setbeamercovered{transparent}. But i would like to know is this work without removing \setbeamercovered{transparent}.

Romain Picot
  • 6,730
  • 4
  • 28
  • 58
Seena V
  • 193

2 Answers2

12

You need to apply an overlay specification specifically to the image. You can use \visible<3>{\includegraphics[scale=0.6]{cross.eps}} to make the figure appear only on slide 3 of the frame. You can also use relative overlay specifications, like \visible<.(1)>{\includegraphics[scale=0.6]{cross.eps}}. I'll use an example image in the code below.

\documentclass{beamer}
\mode<presentation>
{
  \usetheme{Warsaw}
  \setbeamercovered{transparent}
}
\setbeamertemplate{navigation symbols}{}
\usepackage{beamerthemeshadow}
\usepackage{hyperref}

\usepackage{graphicx}
\begin{document}

\begin{frame}
\begin{block}{Theorem}
Theorem Text Here
\end{block}
\vfill \pause

\begin{block}{Corollary}
Corollary text here
\end{block}
\vfill \pause 
\begin{example}
\begin{figure}[H]
\centering
\visible<.(1)>{\includegraphics[scale=0.3]{example-image}}
\end{figure}
\end{example}
\end{frame}
\end{document}

enter image description here

erik
  • 12,673
9

Instead of hiding the image in the first slides, it can be shaded as well:

\documentclass{beamer}
\usetheme{Warsaw}
\setbeamercovered{transparent}
\setbeamertemplate{navigation symbols}{}
\usepackage{beamerthemeshadow}
\usepackage{tikz}

\begin{document}

    \begin{frame}
        \begin{block}{Theorem}
            Theorem Text Here
        \end{block}

        \vfill \pause

        \begin{block}{Corollary}
            Corollary text here
        \end{block}

        \vfill \pause 

        \begin{example} 
            \begin{figure}
        \begin{tikzpicture}
            \visible<1-2>{\node[opacity=0.3] (img2) {\includegraphics[height=0.4\textwidth]{pic}};}
            \visible<3>{\node (img2) {\includegraphics[height=0.4\textwidth]{pic}};}
        \end{tikzpicture}
            \end{figure}
        \end{example}

    \end{frame}

\end{document}

enter image description here

  • 1
    @SeenaV: Instead of saying Thank you only, consider to accept one of the answers here! –  Jun 12 '16 at 08:45