[vox-tech] latex: shaded box in picture environment
Peter Jay Salzman
p at dirac.org
Sun Feb 13 16:12:45 PST 2005
Can't find the answer on Google groups, so I'm not hopeful, but just in
case...
I have a picture:
\begin{picture}(400,100)
\put(10,0){\vector(0,1){90}}
\put(0,85){$\hat{y}$}
\put(0,10){\vector(1,0){90}}
\put(85,0){$\hat{x}$}
\put(180,0){\vector(0,1){90}}
\put(170,85){$\hat{y}$}
\put(170,10){\vector(1,0){90}}
\put(255,0){$\hat{x}$}
\drawline(11,11)(40,11)(40,65)(11,65)(11,11)
\graphpaper(11,11)(30,50)
\end{picture}
and I'd like to put a shaded box in there. Specifically, that \drawline
draws a rectangle, and I'd like to fill that rectangle with gray.
In desperation, I tried to get something approximating a fill using
graphpaper, but the result is totally unacceptable.
Anyone know how to draw a shaded box in a picture environment *and* specify
the exact dimension of that box?
Thanks,
Pete
--
Save Star Trek Enterprise from extinction: http://www.saveenterprise.com
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D
More information about the vox-tech
mailing list