Guest User

Untitled

a guest
Feb 17th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. makeatletter
  2. definearrow2{<U=>}{%
  3. CF@arrow@shift@nodes{#2}%
  4. path[allow upside down](CF@arrow@start@node)--(CF@arrow@end@node)%
  5. node[pos=0,yshift=1pt](CF@arrow@start@node @u0){}%
  6. node[pos=0,yshift=-1pt](CF@arrow@start@node @d0){}%
  7. node[pos=1,yshift=1pt](CF@arrow@start@node @u1){}%
  8. node[pos=1,yshift=-1pt](CF@arrow@start@node @d1){};%
  9. begingroup%
  10. pgfarrowharpoontrue%
  11. expandafterdrawexpandafter[CF@arrow@current@style](CF@arrow@start@node @u0)--(CF@arrow@start@node @u1)node[pos=0.4](Uarrow@arctangent){};%
  12. expandafterdrawexpandafter[CF@arrow@current@style](CF@arrow@start@node @d1)--(CF@arrow@start@node @d0);%
  13. endgroup%
  14. expandafterdrawexpandafter(Uarrow@arctangent) arc (270:190:.333) node (Uarrow@end) {};%
  15. node[anchor=south,yshift=2pt] at (Uarrow@end.north) {#1};
  16. }
  17. makeatother
Add Comment
Please, Sign In to add comment