summaryrefslogtreecommitdiff
path: root/macros/generic/diagrams/xypic/texinputs/xyps-l.tex
blob: 4220082f6d17387bd79f3f66b04e1b790e99d256 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
%% xyps-l.tex from $Id: xyps-l.doc,v 3.11 2011/03/14 20:14:00 krisrose Exp $
%%
%% Xy-pic ``Line extension'' PostScript backend support.
%% Copyright (c) 1993-1997 Ross Moore <ross.moore@mq.edu.au>
%%
%% This file is part of the Xy-pic package for graphs and diagrams in TeX.
%% See the companion README and INSTALL files for further information.
%% Copyright (c) 1991-2011 Kristoffer H. Rose <krisrose@tug.org>
%%
%% The Xy-pic 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 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 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 restrictions. This special exception was added with
%% version 3.7 of Xy-pic.
%%
\expandafter\ifx\csname xyps-lloaded\endcsname\empty
 \message{not reloaded}\endinput \fi
\expandafter\let\csname xyps-lloaded\endcsname=\empty \xycatcodes
\expandafter\ifx\csname xyps-sloaded\endcsname\empty\else
 \xyinputorelse@{xyps-s}{\xyerror@{Could not load xyps-s}{}}%
 \xycatcodes\fi
\xydef@\installPSline@{\installPSstyle@
 \installPSlinestyles@ \installPSpolylines@ }
\xydef@\UsePSlines{\installPSline@}
\xydef@\NoPSlines{\UnloadLine@\relax}
\xydef@\xyPSlineSpecial@#1{\addtostyletoks@{ #1 lw}}
\xydef@\xyPScapSpecial@#1{\addtostyletoks@{ #1 lc}}
\xydef@\xyPSjoinSpecial@#1{\addtostyletoks@{ #1 lj}}
\xydef@\xyPSmiterSpecial@#1{\addtostyletoks@{ #1 ml}}
\xydef@\installPSlinestyles@{%
 \let\xylinewidth@@=\xylinewidth@
 \let\transxyline@@=\transxyline@
 \let\xylineSpecial@@=\xyPSlineSpecial@
 \let\resetxyline@@=\resetxyline@i
 \let\xy@linecap@@=\xy@linecap@
 \let\xycapSpecial@@=\xyPScapSpecial@
 \let\resetxylinecap@@=\resetxylinecap@i
 \let\xy@linejoin@@=\xy@linejoin@
 \let\xyjoinSpecial@@=\xyPSjoinSpecial@
 \let\resetxylinejoin@@=\resetxylinejoin@i
 \let\xy@linemiter@@=\xy@linemiter@
 \let\xymiterSpecial@@=\xyPSmiterSpecial@
 \let\resetxylinemiter@@=\resetxylinemiter@i
}
\xydef@\xypolylinePS@Special#1{\PSmacro@{#1 pl}}
\xydef@\xypolydotPS@Special#1{\PSmacro@{#1 pt}}
\xydef@\xypolydashPS@Special#1{\PSmacro@{#1 pd}}
\xydef@\xypolyfillPS@Special#1{\PSmacro@{#1 pf}}
\xydef@\xypolyeofillPS@Special#1{\PSmacro@{#1 pe}}
\xydef@\installPSpolylines@{%
 \let\xypolyline@Special=\xypolylinePS@Special
 \let\xypolydot@Special=\xypolydotPS@Special
 \let\xypolydash@Special=\xypolydashPS@Special
 \let\xypolyfill@Special=\xypolyfillPS@Special
 \let\xypolyeofill@Special=\xypolyeofillPS@Special
 \let\xy@polystyle@@=\xy@polystyle@ }
\endinput