Guest User

Untitled

a guest
Feb 21st, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1. usetikzlibrary{arrows,positioning,shapes.geometric}
  2.  
  3. begin{tikzpicture}[%
  4. ->,
  5. thick, shorten >=1pt,
  6. >=latex,
  7. node distance=7mm,
  8. noname/.style={%
  9. rectangle, rounded corners=9pt,
  10. text width=11em,
  11. text centered,
  12. minimum height=3em,
  13. draw=black!50,fill=black!20
  14. }
  15. ]
  16.  
  17. node[noname] (configload) {Loads config};
  18. node[noname] (varsdec) [right=of configload] {New variables};
  19.  
  20. path (configload) edge node {} (varsdec);
  21.  
  22. end{tikzpicture}
  23.  
  24. documentclass{article}
  25. usepackage{tikz}
  26. usetikzlibrary{arrows,positioning,shapes.geometric}
  27.  
  28. begin{document}
  29.  
  30. begin{tikzpicture}[%
  31. ->,
  32. thick, shorten >=1pt,
  33. >=latex,
  34. node distance=7mm,
  35. noname/.style={%
  36. rectangle, rounded corners=9pt,
  37. text height=1.5ex,
  38. text depth=.25ex,
  39. text width=11em,
  40. text centered,
  41. minimum height=3em,
  42. draw=black!50,fill=black!20
  43. }
  44. ]
  45.  
  46. node[noname] (configload) {Loads config};
  47. node[noname] (varsdec) [right=of configload] {New variables};
  48.  
  49. path (configload) edge node {} (varsdec);
  50.  
  51. end{tikzpicture}
  52.  
  53. end{document}
  54.  
  55. draw[help lines,red,<->] let p1 = (configload.base), p2 = (varsdec.base) in (-1.5,y1) -- (6.5,y1)
  56. (-1.5,y2) -- (6.5,y2);
  57.  
  58. documentclass[11pt]{article}
  59. usepackage{tikz}
  60. usetikzlibrary{arrows,calc,positioning,shapes.geometric}
  61.  
  62. begin{document}
  63. begin{tikzpicture}[%
  64. ->,
  65. thick, shorten >=1pt,
  66. >=latex,
  67. node distance=7mm,
  68. noname/.style={%
  69. rectangle, rounded corners=9pt,
  70. text width=11em,
  71. text centered,
  72. minimum height=3em,
  73. draw=black!50,fill=black!20
  74. }
  75. ]
  76.  
  77. node[noname,anchor=mid] (configload) {Loads config};
  78. node[noname,anchor=mid] (varsdec) [right=of configload] {New variables};
  79.  
  80. draw[help lines,red,<->] ($(configload.base)-(2,0)$)--($(varsdec.base)+(2,0)$);
  81. path (configload) edge node {} (varsdec);
  82.  
  83. end{tikzpicture}
  84. end{document}
  85.  
  86. node[noname,anchor=mid] (configload) {Loads config};
  87. node[noname,anchor=mid] (varsdec) [right=of configload] {vphantom{g} New variables};
Add Comment
Please, Sign In to add comment