Guest User

Untitled

a guest
Oct 25th, 2023
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. \documentclass{article}
  2.  
  3. \usepackage {tikz}
  4. \usetikzlibrary {shapes,arrows,positioning}
  5. \begin{document}
  6.  
  7.  
  8. \begin {tikzpicture} [remember picture,-latex, node distance= 1cm]
  9.  
  10. \node [circle, draw] (a) {0};
  11.  
  12. \node [circle, draw] (b) [right=of a] {1};
  13.  
  14. \node[above,font=\large\bfseries] at (current bounding box.north west) {M};
  15.  
  16. \end {tikzpicture}
  17.  
  18. \begin {tikzpicture} [remember picture,-latex, node distance= 1cm]
  19.  
  20. \node [circle, draw] (a) {0};
  21.  
  22. \node [circle, draw] (b) [right=of a] {1};
  23.  
  24. \node[above,font=\large\bfseries] at (current bounding box.north west) {M};
  25.  
  26. \end {tikzpicture}
  27.  
  28. \vspace {2cm}
  29. \begin {tikzpicture} [-latex, node distance= 1cm,remember picture]
  30.  
  31. \node [circle, draw] (c) {0};
  32.  
  33. \node [circle, draw] (d) [right=of c] {1};
  34.  
  35. \node [circle, draw] (e)[right=of d] {2};
  36.  
  37. \node[above,font=\large\bfseries] at (current bounding box.north west) {N};
  38.  
  39. \draw[overlay] (a) -- (d);
  40.  
  41. \end {tikzpicture}
  42.  
  43.  
  44. \begin {tikzpicture} [remember picture,-latex, node distance= 1cm]
  45.  
  46. \node [circle, draw] (a) {0};
  47.  
  48. \node [circle, draw] (b) [right=of a] {1};
  49.  
  50. \node[above,font=\large\bfseries] at (current bounding box.north west) {M};
  51.  
  52. \end {tikzpicture}
  53. \end{document}
  54.  
  55.  
Advertisement
Add Comment
Please, Sign In to add comment