| 1 |
%% $Id: pstricks-xetex.def 276 2021-09-27 11:28:22Z herbert $ |
| 2 |
%% |
| 3 |
% This work may be distributed and/or modified under the |
| 4 |
% conditions of the LaTeX Project Public License, either version 1.3 |
| 5 |
% of this license or (at your option) any later version. |
| 6 |
% The latest version of this license is in |
| 7 |
% http://www.latex-project.org/lppl.txt |
| 8 |
% and version 1.3 or later is part of all distributions of LaTeX |
| 9 |
% version 2003/12/01 or later. |
| 10 |
% |
| 11 |
% The xdvipdfmx driver does not support all node macros. In the following |
| 12 |
% there are alternatives defined: |
| 13 |
% |
| 14 |
%% fileversion and filedate see main file pstricks.tex |
| 15 |
%% \ncput -> \NCput |
| 16 |
% |
| 17 |
\def\NCput{\pst@object{NCput}} |
| 18 |
\def\NCput@i#1{% |
| 19 |
\begingroup |
| 20 |
\use@par |
| 21 |
\pst@getcoor{@@A}\pst@tempA% defined by \pcline and \ncline |
| 22 |
\pst@getcoor{@@B}\pst@tempB |
| 23 |
\if@star\def\next{\rput*}\else\def\next{\rput}\fi |
| 24 |
\next(! |
| 25 |
\pst@tempA /yA ED /xA ED |
| 26 |
\pst@tempB /yB ED /xB ED |
| 27 |
xA xB add 2 div |
| 28 |
yA yB add 2 div \tx@UserCoor){#1} |
| 29 |
\endgroup |
| 30 |
\ignorespaces |
| 31 |
} |
| 32 |
%% |
| 33 |
%% END: pstricks-xetex.def |