diff options
author | Karl Berry <karl@freefriends.org> | 2011-03-10 00:10:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-03-10 00:10:55 +0000 |
commit | 94138f46983716313024b4527bab05ce5c000f2b (patch) | |
tree | c1d30e784567a1617e7081d976d53b37d6b78cc6 /Master/texmf-dist/doc/latex/bondgraph/bondgraph_arrows.tex | |
parent | 1e358ec9833f1537dc1afb8b202654b09453b882 (diff) |
new tikz package bondgraph (9mar11)
git-svn-id: svn://tug.org/texlive/trunk@21670 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/bondgraph/bondgraph_arrows.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/bondgraph/bondgraph_arrows.tex | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/bondgraph/bondgraph_arrows.tex b/Master/texmf-dist/doc/latex/bondgraph/bondgraph_arrows.tex new file mode 100644 index 00000000000..eea57b3d36b --- /dev/null +++ b/Master/texmf-dist/doc/latex/bondgraph/bondgraph_arrows.tex @@ -0,0 +1,61 @@ +%% 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 +} |