[pstricks] pstroicks and xelatex
Patrice MEGRET
Patrice.MEGRET at umons.ac.be
Fri Dec 21 13:54:41 CET 2018
Dear Herbert,
I have a small problem with pstricks and xelatex.
If I compile the example below with latex, everything works as expected.
If I use xelatex, $\Delta y$ of the \ncput inside the \rput(0,1){...} is misplaced. Indeed it is shifted by 1 cm above the \ncput as the \rput was doing twice its job.
Have a way to solve that issue or do I miss something?
\documentclass[a4paper,12pt]{article}
\usepackage{pstricks}
\usepackage{pst-node}
\begin{document}
\begin{pspicture}(10,5)
%\psgrid
\pcline{<->}(1,1)(7,1)\ncput{$\Delta y$}%
\rput(0,1){\pcline{<->}(1,1)(7,1)\ncput\documentclass[a4paper,12pt]{article}
\usepackage{pstricks}
\usepackage{pst-node}
\begin{document}
\begin{pspicture}(10,5)
%\psgrid
\pcline{<->}(1,1)(7,1)\ncput{$\Delta y$}%
\rput(0,1){\pcline{<->}(1,1)(7,1)\ncput{$\Delta y$}}
\end{pspicture}
\end{document}}}
\end{pspicture}
\end{document}
Best regards,
Patrice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/pstricks/attachments/20181221/55c2a963/attachment.html>
More information about the PSTricks
mailing list