Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. documentclass{article}
  2.  
  3. usepackage{tikz}
  4.  
  5. begin{document}
  6. begin{tikzpicture}%
  7. draw[help lines] (0,0) grid (1,1);
  8.  
  9. node [draw, circle] at (0,0) {};
  10. node [draw, circle] at (1,1) {};
  11.  
  12. draw[->] (0,0) -- (1,1);
  13. end{tikzpicture}
  14. end{document}
  15.  
  16. documentclass{article}
  17. usepackage{tikz}
  18. begin{document}
  19. begin{tikzpicture}%
  20. draw[help lines] (0,0) grid (1,1);
  21. node [draw, circle] (c1) at (0,0) {};% special syntax
  22. node [draw, circle, name=c2] at (1,1) {};% name key
  23. draw[->] (c1) -- (c2);
  24. end{tikzpicture}
  25. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement