daily pastebin goal
62%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. documentclass[tikz,border=2mm]{standalone}
  2. usetikzlibrary{positioning, shapes.arrows, calc}
  3.  
  4. begin{document}
  5.  
  6. begin{tikzpicture}
  7. node[draw] (a) {A};
  8. node[draw, above right=2cm and 1cm of a] (b) {B};
  9. path (a.north east) let p1=($(b.south west)-(a.north east)$) in
  10.     node[single arrow, draw,
  11.         minimum height={veclen(x1,y1)},
  12.         shape border uses incircle,
  13.         shape border rotate={atan2(y1,x1)},
  14.         anchor=tail] at (a.north east) {};
  15. end{tikzpicture}
  16. end{document}
  17.    
  18. node[arrow between a and b] {};
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top