[XeTeX] pstricks and dvi output in xelatex
Alan Munn
amunn at gmx.com
Sat Jul 31 23:47:35 CEST 2010
On Jul 31, 2010, at 4:06 PM, Peter Dyballa wrote:
>
> Am 31.07.2010 um 03:31 schrieb George:
>
>> Text placed on connection lines is misplaced.
>
> Could this help to understand PS Tricks?
>
> \begin{pspicture}(.25\textwidth, 10)
> \pnode(0.5,1.1){bottomInstructionLine}
> \pnode(0.5,8.5){topInstructionLine}
> \ncline[linecolor=red]{->}{topInstructionLine}{bottomInstructionLine}
> \ncput*[nrot=:D]{\psframebox*[framearc=.25,fillcolor=blue]
> {Instructions}}
> \end{pspicture}
> \begin{pspicture}(.25\textwidth, 10)
> \pnode(0.5,1.1){bottomInstructionLine}
> \pnode(0.5,8.5){topInstructionLine}
> \ncline[linecolor=blue]{->}{topInstructionLine}
> {bottomInstructionLine}
> \ncput*[nrot=:U]{\psframebox[framearc=.25,linecolor=red]
> {Instructions}}
> \end{pspicture}
>
> or
>
> \begin{pspicture}(\textwidth, 10)
> \pnode(0.5,1.1){bottomInstructionLine}
> \pnode(0.5,8.5){topInstructionLine}
> \ncline[linecolor=red]{->}{topInstructionLine}{bottomInstructionLine}
> \ncput*[nrot=:D]{\psframebox*[framearc=.5,fillcolor=blue]
> {Instructions}}
> \pnode(0.75,1.1){bottomInstructionLine}
> \pnode(0.75,8.5){topInstructionLine}
> \ncline[linecolor=blue]{->}{topInstructionLine}
> {bottomInstructionLine}
> \ncput*[nrot=:U]{\psframebox[framearc=.5,linecolor=red]
> {Instructions}}
> \end{pspicture}
>
>
> Could be there is an option to adjust the text's starting position.
The issue is why do these drawings end up placing the text in a
different position when compiled with xelatex compared to with latex-
dvips-ps2df. It's not really about how pstricks works, per se.
Alan
--
Alan Munn
amunn at gmx.com
More information about the XeTeX
mailing list