I want to use pspicture
in a landscape document, but I can't draw a line to the right hand side of the document with \psframe
, while \rput
works as expected. I've tried to create an MWE to demonstrate the behavior.
\documentclass[landscape,a4paper]{scrartcl}
\usepackage{polyglossia}
\setmainlanguage{english}
\usepackage{scrlayer}
\usepackage[landscape]{pstricks}
\usepackage{geometry}
\begin{document}
\begin{pspicture}(0,0)(15,10)
\psset{unit=1mm}
\psgrid
\rput[lt](200,20){Text}
\psframe[fillstyle=solid,linecolor=black,fillcolor=black,linestyle=solid](0,60)(190,60)
\psframe[fillstyle=solid,linecolor=black,fillcolor=black,linestyle=solid](0,50)(180,50)
\psframe[fillstyle=solid,linecolor=black,fillcolor=black,linestyle=solid](0,40)(170,40)
\psframe[fillstyle=solid,linecolor=black,fillcolor=black,linestyle=solid](0,30)(160,30)
\psframe[fillstyle=solid,linecolor=black,fillcolor=black,linestyle=solid](0,20)(150,20)
\psframe[fillstyle=solid,linecolor=black,fillcolor=black,linestyle=solid](0,10)(140,10)
\end{pspicture}
paperwidth: \the\paperwidth
paperheight: \the\paperheight
\end{document}
The same behavior happens for \psframe
and \psline
.
I'm usind xelatex, as provided by texlive 2014.20141024-2 in debian GNU/Linux, to compile the whole thing.
This seams to be xelatex
specific, since everything seams to be fine with latex
-> dvips
-> ps2pdf
.
pspicture
to(20,10)
?0
or500
as width an there is no difference.