[pstricks] PSTricks Digest, Vol 142, Issue 8
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Wed Nov 26 20:54:58 CET 2014
Am 26.11.2014 um 19:45 schrieb Germain Boyer:
> OK miktex portable and (texlive 2014 + gs 9.10) give the same exit.
>
> The problem is with xelatex and landscape.
>
> With the first document, the exit is correct but with the second the
> grid and the xaxe stop at x=14.5.
>
> %---------------------------------------------------------------------------------------------------------------------------------------------
>
> document 02
> %---------------------------------------------------------------------------------------------------------------------------------------------
>
> \documentclass[a4paper,french,10pt,landscape]{article}
>
[...]
> \begin{document}
>
> \psset{unit=1cm , linewidth=0.25mm , tickwidth=1pt , ticksize=-1mm 1mm,
> labelsep=1mm , arrowinset=0}
> \begin{pspicture}(-5,-3)(20,7)
> \psset{gridcolor=gray , gridwidth=0.15mm , gridlabels=0pt , subgriddiv=1}
> \psgrid(-5,-3)(20,7)
That should be \psgrid without arguments or \psgrid(0,0)(-5,-3)(20,7)
I have no problem with xelatex and gs 9.10
Herbert
\documentclass[a4paper,french,10pt]{article}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{fourier}
\usepackage[scaled=0.875]{helvet}
\renewcommand{\ttdefault}{lmtt}
\usepackage{fontspec}
\usepackage{graphicx}
\usepackage[french]{babel}
\usepackage{pst-plot}
\usepackage{geometry}
\usepackage{pdflscape}
\geometry{nohead,nofoot,left=1cm,right=1cm,top=1cm,bottom=1cm}
\begin{document}
\begin{landscape}
\psset{linewidth=0.25mm , tickwidth=1pt , ticksize=-1mm 1mm,
labelsep=1mm , arrowinset=0}
\begin{pspicture}(-5,-3)(20,7)
\psset{gridcolor=gray , gridwidth=0.15mm , gridlabels=0pt , subgriddiv=1}
\psgrid
\psaxes[linewidth=1pt]{->}(0,0)(-5,-3)(20,7)[$x$,0][$y$,90]
\uput[225](0,0){O}
\end{pspicture}
\end{landscape}
\newpage
\rotatebox{-90}{%
\psset{linewidth=0.25mm , tickwidth=1pt , ticksize=-1mm 1mm,
labelsep=1mm , arrowinset=0}
\begin{pspicture}(-5,-3)(20,7)
\psset{gridcolor=gray , gridwidth=0.15mm , gridlabels=0pt , subgriddiv=1}
\psgrid(0,0)(-5,-3)(20,7)
\psaxes[linewidth=1pt]{->}(0,0)(-5,-3)(20,7)[$x$,0][$y$,90]
\uput[225](0,0){O}
\end{pspicture}%
}
\end{document}
More information about the PSTricks
mailing list