Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- makeatletter
- definearrow2{<U=>}{%
- CF@arrow@shift@nodes{#2}%
- path[allow upside down](CF@arrow@start@node)--(CF@arrow@end@node)%
- node[pos=0,yshift=1pt](CF@arrow@start@node @u0){}%
- node[pos=0,yshift=-1pt](CF@arrow@start@node @d0){}%
- node[pos=1,yshift=1pt](CF@arrow@start@node @u1){}%
- node[pos=1,yshift=-1pt](CF@arrow@start@node @d1){};%
- begingroup%
- pgfarrowharpoontrue%
- expandafterdrawexpandafter[CF@arrow@current@style](CF@arrow@start@node @u0)--(CF@arrow@start@node @u1)node[pos=0.4](Uarrow@arctangent){};%
- expandafterdrawexpandafter[CF@arrow@current@style](CF@arrow@start@node @d1)--(CF@arrow@start@node @d0);%
- endgroup%
- expandafterdrawexpandafter(Uarrow@arctangent) arc (270:190:.333) node (Uarrow@end) {};%
- node[anchor=south,yshift=2pt] at (Uarrow@end.north) {#1};
- }
- makeatother
Add Comment
Please, Sign In to add comment