s*****g 发帖数: 5159 | 1 Say I have drawn a cube
%%%%%
\begin{pspicture}(0,0)(12,3)
\psframe[linestyle=none,%
fillstyle=solid,%
fillcolor=Apricot]%
(0,0)(2,2)
\pspolygon[linestyle=none,%
fillstyle=solid,%
fillcolor=Tan]%
(0,2)(2,2)(3,3)(1,3)
\pspolygon[linestyle=none,%
fillstyle=solid,%
fillcolor=Mahogany]%
(2,0)(3,1)(3,3)(2,2)
\end{pspicture}
%%%%%
with starts at (0,0) and has a upper right corner of (3,3).
I wish to draw another two cubes looks the same at (4,0) (7,3) and (8,0) (11
,3).
Is there a way for me to use th | a**e 发帖数: 5794 | 2 把它做成一个pdf,再include三次。
【在 s*****g 的大作中提到】 : Say I have drawn a cube : %%%%% : \begin{pspicture}(0,0)(12,3) : \psframe[linestyle=none,% : fillstyle=solid,% : fillcolor=Apricot]% : (0,0)(2,2) : \pspolygon[linestyle=none,% : fillstyle=solid,% : fillcolor=Tan]%
| s*****g 发帖数: 5159 | 3 That's a bit reluctant, sigh.
【在 a**e 的大作中提到】 : 把它做成一个pdf,再include三次。
| S**I 发帖数: 15689 | 4 \def\myCube{
\psframe[linestyle=none,%
fillstyle=solid,%
fillcolor=Apricot]%
(0,0)(2,2)
\pspolygon[linestyle=none,%
fillstyle=solid,%
fillcolor=Tan]%
(0,2)(2,2)(3,3)(1,3)
\pspolygon[linestyle=none,%
fillstyle=solid,%
fillcolor=Mahogany]%
(2,0)(3,1)(3,3)(2,2)
}
\begin{pspicture}(0,0)(12,3)
\rput(0,0){\myCube}
\rput(4,0){\myCube}
\rput(8,0){\myCube}
\end{pspicture}
11
SAME
【在 s*****g 的大作中提到】 : Say I have drawn a cube : %%%%% : \begin{pspicture}(0,0)(12,3) : \psframe[linestyle=none,% : fillstyle=solid,% : fillcolor=Apricot]% : (0,0)(2,2) : \pspolygon[linestyle=none,% : fillstyle=solid,% : fillcolor=Tan]%
| s*****g 发帖数: 5159 | 5 That's beautiful.
Bao Zi done.
【在 S**I 的大作中提到】 : \def\myCube{ : \psframe[linestyle=none,% : fillstyle=solid,% : fillcolor=Apricot]% : (0,0)(2,2) : \pspolygon[linestyle=none,% : fillstyle=solid,% : fillcolor=Tan]% : (0,2)(2,2)(3,3)(1,3) : \pspolygon[linestyle=none,%
|
|