Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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!

share|improve this question
    
Do you think you could settle fot a TikZ solution? –  Tom Bombadil Oct 11 '12 at 23:27

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

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.