即使使用 我也需要网格标签\pspicture*
。该怎么办?
\documentclass{article}
\usepackage{pstricks}
\psset{linecolor=red}
\begin{document}
\figure[h]\centering
\begin{pspicture}[showgrid](1,1)
\psline(-1,-1)(2,2)
\end{pspicture}
\caption{without clipping}
\endfigure
\figure[h]\centering
\begin{pspicture*}[showgrid](1,1)
\psline(-1,-1)(2,2)
\end{pspicture*}
\caption{with clipping}
\endfigure
\end{document}
答案1
\documentclass{article}
\usepackage{pstricks}
\psset{linecolor=red}
\begin{document}
\begin{pspicture}[showgrid](1,1)
\rput[lb](0,0){%
\begin{pspicture*}(1,1)
\psline(-1,-1)(2,2)
\end{pspicture*}}
\end{pspicture}
\end{document}