Advertisement
Guest User

Untitled

a guest
Aug 3rd, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. documentclass[tikz, border=1cm]{standalone}
  2. usetikzlibrary{intersections}
  3. begin{document}
  4. %
  5. begin{tikzpicture}
  6. node[name=w, rectangle, fill=darkgray, minimum width=3mm, minimum height = 6cm]{};
  7. path[name path=wnw] (w.north west)--++(-6, 0);
  8. path[name path=wv] (w.west)--++(128:6);
  9. path [name intersections={of=wnw and wv, by={B}}];
  10. draw (w.west)--(B);
  11. end{tikzpicture}
  12. %
  13. end{document}
  14.  
  15. documentclass[tikz, border=1cm]{standalone}
  16. usetikzlibrary{intersections}
  17. begin{document}
  18. %
  19. begin{tikzpicture}
  20. node[name=w, rectangle, fill=darkgray, minimum width=3mm, minimum height = 6cm]{};
  21. path[name path=wnw] (w.north west)--++(-6, 0);
  22. path[name path=wv] (w.west)--++(128:6);
  23. coordinate (B) at (intersection of wnw and wv);
  24. draw (w.west)--(B);
  25. end{tikzpicture}
  26. %
  27. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement