[pstricks] page orientation turned to landscape for no good reason?

maja zaloznik maja.zaloznik at gmail.com
Wed Nov 10 03:53:49 CET 2010


Hi everyone!

I apologize in advance if this is me being overworked and stupid in the
middle of the night, but I can't for the life of me figure out what is going
on? I'm pasting a minimal example below of a 'figure' reduced to two \rput
entries at 90 degrees, which for some reason turns the page orientation to
landscape? But works OK if showgrid is true.

I'm doing latex->dvips->ps2pdf and I'm attaching the offending pdf to prove
I'm not going crazy! I think my system is up to date, but naturally if other
people get a normal output it has to be something at my end. What should I
try? Or am I missing sth trivial?

Thanks!

Maja.


 \documentclass{article}

\usepackage{pstricks}

\begin{document}

\begin{figure}

\begin{center}

\begin{pspicture}[showgrid=true](0,0)(10,10)

\rput[l]{90}(0,0){\scriptsize{\emph{Some random text}}}

\rput[l]{90}(0,5){\scriptsize{\emph{Some random text}}}

\end{pspicture}

\end{center}

\caption{this one is OK }

\end{figure}

\begin{figure}

\begin{center}

\begin{pspicture}[showgrid=false](0,0)(10,10)

\rput[l]{90}(0,0){\scriptsize{\emph{Some random text}}}

\rput[l]{90}(0,5){\scriptsize{\emph{Some random text}}}

\end{pspicture}

\end{center}

\caption{why landscape?}

\end{figure}

\end{document}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20101110/8ea84f4d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: landscaped.pdf
Type: application/pdf
Size: 8171 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20101110/8ea84f4d/attachment.pdf>


More information about the PSTricks mailing list