Guest User

Untitled

a guest
Apr 25th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. documentclass{beamer}
  2. usepackage{tikz}
  3. usetikzlibrary{positioning}
  4. tikzset{mybox/.style={draw,minimum width=1.5cm}}
  5. begin{document}
  6. begin{frame}[fragile]{Boxes popping up}
  7. begin{overlayarea}{textwidth}{8cm}
  8. begin{tikzpicture}
  9. node[mybox](A){A};
  10. pause
  11. node[mybox,above right=of A](B){B};
  12. node[mybox,below right=of A](C){C};
  13. draw[-latex] (A.east)--(B.west);
  14. draw[-latex] (A.east)--(C.west);
  15. pause
  16. node[mybox,below right=of B](D){D};
  17. draw[-latex] (B.east)--(D.west);
  18. draw[-latex] (C.east)--(D.west);
  19. pause
  20. node[mybox,right=of D](E){E};
  21. draw[-latex] (D.east)--(E.west);
  22. end{tikzpicture}
  23. end{overlayarea}
  24. end{frame}
  25. end{document}
Add Comment
Please, Sign In to add comment