diff options
Diffstat (limited to 'Master/texmf-dist/fonts/source/xypic/xybtri.mf')
-rw-r--r-- | Master/texmf-dist/fonts/source/xypic/xybtri.mf | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/Master/texmf-dist/fonts/source/xypic/xybtri.mf b/Master/texmf-dist/fonts/source/xypic/xybtri.mf new file mode 100644 index 00000000000..69e8d007b21 --- /dev/null +++ b/Master/texmf-dist/fonts/source/xypic/xybtri.mf @@ -0,0 +1,55 @@ +% $Id: xybtri.mf,v 3.3 2010/06/10 18:45:50 krisrose Exp $ +% +% xybtri, for use with Lucida +% Copyright (c) 2007 Jeremy Gibbons <jeremy.gibbons@comlab.ox.ac.uk> +% +% This file is part of the Xy-pic package for graphs and diagrams in TeX. +% Copyright (c) 1991-2010 Kristoffer H. Rose <krisrose@tug.org> +% +% The Xy-pic macro package is free software; you can redistribute it and/or +% modify it under the terms of the GNU General Public License as published by +% the Free Software Foundation; either version 2 of the License, or (at your +% option) any later version. +% +% The Xy-pic macro package is distributed in the hope that it will be +% useful, but WITHOUT ANY WARRANTY; without even the implied warranty of +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General +% Public License for more details. +% +% You should have received a copy of the GNU General Public License along +% with this macro package; if not, see http://www.gnu.org/licenses/. +% +% As a special exception, you may use this file and all files derived +% from it without restriction. This special exception was added with +% version 3.7 of Xy-pic. + +def chartowards(expr cc,dx,dy) = + beginchar(cc,0,0,0); + a := angle(dx,dy); + z0 = (tipo,0) rotated a; % tip of tip + z1 = (-segl,0) rotated a; % center of tail + z2 = (-segl,-1/2 segx) rotated a; % tail ends + z3 = indent [z1,z0]; % back of tip + fill z2--z0--z3--cycle; + penlabels(0,1,2,3); + endchar +enddef; + +def openit = openwindow currentwindow + from origin to (screen_cols,screen_rows) at (-200,300) enddef; + +input xyd + +bye. + +% $Log: xybtri.mf,v $ +% Revision 3.3 2010/06/10 18:45:50 krisrose +% Reference to GPL by URL. +% +% Revision 3.2 2010/04/17 14:45:48 krisrose +% Generate and extract Type1 fonts. +% +% Revision 3.1 2010/04/17 04:19:41 krisrose +% Integrated xylu tips by Jeremy Gibbons. +% +% based on xybtip (triangular rather than curvilinear barbs) |