[pstricks] PSTricks Digest, Vol 142, Issue 11

Germain Boyer germain.boyer at ac-toulouse.fr
Thu Nov 27 15:29:29 CET 2014


Hello

you write

>
> 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}
>

With this file i have no problem but if i have a problem with this  :

  \documentclass[a4paper,landscape,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}
  \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{document}

the grid and the axes stop at x=14.5 but the labels are correct.

the problem appears when i put landscape in \documentclass.

Tell me please if it's the same (or no) in your computer.

Thanks for the answers.

Germain


More information about the PSTricks mailing list