[pstricks] enlarge psframe size in pspicture* environment
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Mon Aug 30 08:45:39 CEST 2010
Am 30.08.2010 04:59, schrieb mathias legrand:
> \def\Xmax{4}
> \def\Xmin{-4}
> \def\Ymax{1}
> \def\Ymin{-1}
> \begin{pspicture*}(\Xmin,\Ymin)(\Xmax,\Ymax)
> \psframe[fillstyle=solid,fillcolor=gray!15](1.1\Xmin,1.1\Ymin)(1.1\Xmax,1.1\Ymax)
>
> \end{pspicture*}
>
>
> It seems that the 1.1\Xmin and others are not correct.
> Is there a strategy to perform something similar?
\documentclass{minimal}
\usepackage{pstricks}
\SpecialCoor
\begin{document}
\def\Xmax{4 }
\def\Xmin{-4 }
\def\Ymax{1 }
\def\Ymin{-1 }
\begin{pspicture*}(\Xmin,\Ymin)(\Xmax,\Ymax)
\psframe[fillstyle=solid,fillcolor=gray!15]%
(!1.1 \Xmin mul 1.1 \Ymin mul)(!1.1 \Xmax mul 1.1 \Ymax mul)
\end{pspicture*}
\end{document}
However, it makes no sense with the star version of pspicture
Herbert
More information about the PSTricks
mailing list