diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgf/libraries/pgflibraryarrows.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/pgf/libraries/pgflibraryarrows.code.tex | 46 |
1 files changed, 41 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/generic/pgf/libraries/pgflibraryarrows.code.tex b/Master/texmf-dist/tex/generic/pgf/libraries/pgflibraryarrows.code.tex index e953e2d28b1..a0b9a108d60 100644 --- a/Master/texmf-dist/tex/generic/pgf/libraries/pgflibraryarrows.code.tex +++ b/Master/texmf-dist/tex/generic/pgf/libraries/pgflibraryarrows.code.tex @@ -1,9 +1,13 @@ -\ProvidesPackageRCS[v\pgfversion] $Header: /cvsroot/pgf/pgf/generic/pgf/libraries/pgflibraryarrows.code.tex,v 1.2 2005/07/06 15:58:57 tantau Exp $ - -% Copyright 2005 by Till Tantau <tantau@cs.tu-berlin.de>. +% Copyright 2006 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. % -% This program can be redistributed and/or modified under the terms -% of the GNU Public License, version 2. +% See the file doc/generic/pgf/licenses/LICENSE for more details. + +\ProvidesFileRCS[v\pgfversion] $Header: /cvsroot/pgf/pgf/generic/pgf/libraries/pgflibraryarrows.code.tex,v 1.5 2006/10/11 15:22:26 tantau Exp $ % A square bracket shaped arrow @@ -703,6 +707,38 @@ \pgfarrowsdeclarereversed{hooks reversed}{hooks reversed}{hooks}{hooks} +% An arrow that looks like a serif of the computer modern font + +\pgfarrowsdeclare{serif cm}{serif cm} +{ + \@tempdima=0.4pt% + \advance\@tempdima by.45\pgflinewidth% + \pgfarrowsleftextend{-.75\@tempdima} + \pgfarrowsrightextend{.04\pgflinewidth} +} +{ + \@tempdima=0.4pt% + \advance\@tempdima by.45\pgflinewidth% + \pgftransformxshift{.04\pgflinewidth} + \pgfpathmoveto{\pgfpoint{-.75\@tempdima}{.5\pgflinewidth}} + \pgfpathcurveto + {\pgfpoint{-.375\@tempdima}{.5\pgflinewidth}} + {\pgfpoint{-.375\@tempdima}{.7\pgflinewidth}} + {\pgfpoint{-.375\@tempdima}{1.95\@tempdima}} + \pgfpathlineto{\pgfpoint{0pt}{1.95\@tempdima}} + \pgfpathcurveto + {\pgfpoint{-.04\pgflinewidth}{.5\@tempdima}} + {\pgfpoint{-.04\pgflinewidth}{-.5\@tempdima}} + {\pgfpoint{0pt}{-1.95\@tempdima}} + \pgfpathlineto{\pgfpoint{-.375\@tempdima}{-1.95\@tempdima}} + \pgfpathcurveto + {\pgfpoint{-.375\@tempdima}{-.7\pgflinewidth}} + {\pgfpoint{-.375\@tempdima}{-.5\pgflinewidth}} + {\pgfpoint{-.75\@tempdima}{-.5\pgflinewidth}} + \pgfpathclose + \pgfusepathqfill +} + % Round cap |