Image

Efecto zoom en diapositivas

Esta sección está dedicada a explicar cómo incorporar acercamientos y alejamientos a una diapositivas, esto con el fin de explicar mapas mentales, cuadros sinópticos y tablas.


mapamundi.pdf

\documentclass[aspectratio=169]{beamer}
\usepackage{tikz,graphicx}
\usepackage[spanish]{babel}
\usepackage[utf8]{inputenc}
\usetikzlibrary{positioning,shapes,shadows}
\usetheme{Boadilla}

%\centering
\tikzstyle{azul}=[rectangle, draw=black, rounded corners, fill=blue!40, drop shadow,text centered, anchor=north, text=black, text width=3cm]
\tikzstyle{rojo}=[rectangle, draw=black, rounded corners, fill=red!40, drop shadow,text centered, anchor=north, text=black, text width=3cm]
\tikzstyle{verde}=[rectangle, draw=black, rounded corners, fill=green!60, drop shadow,text centered, anchor=north, text=black, text width=2.0cm]
\tikzstyle{amarillo}=[rectangle, draw=black, rounded corners, fill=yellow!60, drop shadow,text centered, anchor=north, text=black, text width=2.0cm]
\tikzstyle{linea}=[-]
\begin{document}
    


\begin{frame}
\framezoom<1><2>[border=0](5.5cm,-1cm)(4cm,2.25cm)
\framezoom<1><3>[border=0](0cm,1.3cm)(7.5cm,4.22cm)
\framezoom<1><4>[border=0](-1cm,3.5cm)(4cm,2.25cm)
\framezoom<1><5>[border=0](2cm,3.5cm)(4cm,2.25cm)
\framezoom<1><6>[border=0](3.8cm,3.5cm)(4cm,2.25cm)
\framezoom<1><7>[border=0](0cm,1.3cm)(7.5cm,4.22cm) 
\framezoom<1><8>[border=0](8cm,1.3cm)(7.5cm,4.22cm)
\framezoom<1><9>[border=0](6.8cm,3.5cm)(4cm,2.25cm) 
\framezoom<1><10>[border=0](9.9cm,3.5cm)(4cm,2.25cm)    
\framezoom<1><11>[border=0](12.8cm,3.5cm)(4cm,2.25cm)
\framezoom<1><12>[border=0](8cm,1.3cm)(7.5cm,4.22cm)
\framezoom<1><13>(-0.5cm,-1.5cm)(15cm,8.4375cm)
        \begin{tikzpicture}[thick,scale=0.9, every node/.style={scale=0.9}]
            \node (tri) [azul]{Triángulos};
            
            \node (clase1) [rojo, below left=1cm and 1.0cm of tri]{Según sus lados};
            
            \node (clase2) [rojo, below right=1cm and 1.0cm of tri]{Según sus ángulos};
            
            \draw[linea] (tri.south) |- (clase1.east);
            \draw[linea] (tri.south) |- (clase2.west);        
            
            \node (esc) [amarillo, below left=1.5cm and 0.2cm of clase1, rectangle split, rectangle split parts=2]{Escaleno
                \nodepart{second}todos sus lados son diferentes};
                        
            \node (iso) [amarillo, below=1.5cm of clase1, rectangle split, rectangle split parts=2]{Isósceles
                \nodepart{second}dos de sus lados son congruentes};
            
            \node (equi) [amarillo, below right=1.5cm and 0.2cm of clase1, rectangle split, rectangle split parts=2]{Equilátero
                \nodepart{second}todos sus lados son congruentes};
            
            \draw[linea] (clase1.south) -- (esc.north);
            \draw[linea] (clase1.south) -- (iso.north);       
            \draw[linea] (clase1.south) -- (equi.north);  
            
            \node (rec) [verde, below left=1.5cm and 0.2cm of clase2, rectangle split, rectangle split parts=2]{Rectángulo
                \nodepart{second}tiene un ángulo recto};
            
            \node (obt) [verde, below=1.5cm of clase2, rectangle split, rectangle split parts=2]{obtusángulo
                \nodepart{second}tiene un ángulo obtuso};
            
            \node (acu) [verde, below right=1.5cm and 0.2cm of clase2, rectangle split, rectangle split parts=2]{Acutángulo
                \nodepart{second}todos sus ángulos son agudos};
                    
            \draw[linea] (clase2.south) -- (rec.north);
            \draw[linea] (clase2.south) -- (obt.north);       
            \draw[linea] (clase2.south) -- (acu.north);  
        \end{tikzpicture}

    
    \end{frame}

 \begin{frame}[label=mapa_completo]
    \framezoom<1><2>[border=0](2.5cm,2cm)(4cm,2.25cm)
    \framezoom<1><3>[border=0](2.5cm,2cm)(7.5cm,4.22cm)
    \framezoom<1><4>[border=0](4.0cm,5cm)(4cm,2.25cm)
    \framezoom<1><5>[border=0](4.0cm,5cm)(2cm,1.125cm)
    \centering
    \begin{figure}
        \centering
        \includegraphics[width=0.75\linewidth]{mapamundi.pdf}
    \end{figure}
 \end{frame}

\againframe<1>{mapa_completo}
\end{document}

© Profesor Favián Arenas. 2023. Diseñado por HTML Codex