1

I am preparing a presentation in Beamer. I have the following diagram

\begin{frame}
\begin{figure}[h!]
\centerline{
\xymatrix{
 & *+[F-,]{\txt{Text 1}}\ar[dl]\ar[dr]  \\
*+[F-,]{\txt{Text 2}} &  & *+[F-,]{\txt{Text 3}}
}
}
\end{figure}
\end{frame}

I would like to zoom in to "Text 2" while fading everything else. Then I want to reverse the procedure: zoom out and restoring the entire diagram. Is this possible?

Thank you for any help you can provide!

  • Do you think you could settle fot a TikZ solution? – Tom Bombadil Oct 11 '12 at 23:27
4

You can have different zoom behavior here is one option.

\documentclass{beamer}
\usepackage{xypic}
\begin{document}
\begin{frame}<1>[label=zooms]
\framezoom<1><2>(2.5cm,1.5cm)(2cm,1.5cm)

\begin{figure}
\centerline{
\xymatrix{
 & *+[F-,]{\txt{Text 1}}\ar[dl]\ar[dr]  \\
*+[F-,]{\txt{Text 2}} &  & *+[F-,]{\txt{Text 3}}
}
}
\end{figure}
\end{frame}

\againframe<2->[plain]{zooms}
\againframe<1>[plain]{zooms}
\end{document}

enter image description here

Please see the manual for other options.

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.