%% bondgraph_arrow.tex %% Copyright (c) 2010, Jean-Francois Dupuis % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 % of this license or (at your option) any later version. % The latest version of this license is in % http://www.latex-project.org/lppl.txt % and version 1.3 or later is part of all distributions of LaTeX % version 2005/12/01 or later. % % This work has the LPPL maintenance status `maintained'. % % The Current Maintainer of this work is Jean-Francois Dupuis. % % This work consists of the files bondgraph.sty, bondgraph_arrows.tex % and bondgraph_example.tex. \pgfarrowsdeclare{left to}{left to} { \pgfutil@tempdima=-0.84pt% \advance\pgfutil@tempdima by-1.3\pgflinewidth% \pgfutil@tempdimb=0.21pt% \advance\pgfutil@tempdimb by.625\pgflinewidth% \pgfarrowsleftextend{+\pgfutil@tempdima} \pgfarrowsrightextend{+\pgfutil@tempdimb} } { \pgfutil@tempdima=0.28pt% \advance\pgfutil@tempdima by.3\pgflinewidth% \pgfsetlinewidth{0.8\pgflinewidth} \pgfsetdash{}{+0pt} \pgfsetroundcap \pgfsetroundjoin \pgfpathmoveto{\pgfqpoint{-3\pgfutil@tempdima}{4\pgfutil@tempdima}} \pgfpathcurveto {\pgfqpoint{-2.75\pgfutil@tempdima}{2.5\pgfutil@tempdima}} {\pgfqpoint{0pt}{0.25\pgfutil@tempdima}} {\pgfqpoint{0.75\pgfutil@tempdima}{0pt}} \pgfpathcurveto {\pgfqpoint{0.55\pgfutil@tempdima}{-0.125\pgflinewidth}} {\pgfqpoint{0.5\pgfutil@tempdima}{-0.125\pgflinewidth}} {\pgfqpoint{0.5\pgfutil@tempdima}{-0.125\pgflinewidth}} \pgfpathlineto{\pgfqpoint{0pt}{-0.125\pgflinewidth}} \pgfusepathqstroke } \pgfarrowsdeclare{|}{|} { \pgfarrowsleftextend{+-0.25\pgflinewidth} \pgfarrowsrightextend{+.75\pgflinewidth} } { \pgfutil@tempdima=2pt% \advance\pgfutil@tempdima by1.5\pgflinewidth% \pgfsetdash{}{+0pt} \pgfsetrectcap \pgfpathmoveto{\pgfqpoint{0.25\pgflinewidth}{-\pgfutil@tempdima}} \pgfpathlineto{\pgfqpoint{0.25\pgflinewidth}{\pgfutil@tempdima}} \pgfusepathqstroke }