[XeTeX] pstricks and dvi output in xelatex

Peter Dyballa Peter_Dyballa at Web.DE
Sat Jul 31 22:06:37 CEST 2010


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.

--
Greetings

   Pete

The best way to accelerate a PC is 9.8 m/s²




More information about the XeTeX mailing list