[comp.text.tex] HELP: \multiputting subPiCTeXures

jluo@duteca (ir. J. Luo) (06/08/90)

Hello,
  I'm trying to use PiCTeX to draw some figures.  As there are many 
repetitive smaller drawings in a larger one, I would like to use the
`\multiput' feature in PiCTeX, by making use of the subPiCTeXure's.
But now and then I run into problems of \multiputting the subPiCTeXures's
into the right coodinates (e.g. shifted by some distance).
  Here below I append an example.  The left bottom corners of the two large
boxes should be at the positions pointed by the arrows, but they shift
some distance to the right (at least I get this result by previewing and
final printing a hard copy).  How should this be explained?  What did I
do wrong?  I need your help.  Thank you in advance.

Jian@Hdetud11.Bitnet / JLuo@Duteca2.TuDelft.NL

%%%%% An example %%%%%
%%%%%         The PiCTeX file `TeGek.TeX' begins here        %%%%%
\beginpicture
  \setcoordinatesystem units <1cm,1cm> point at 0 0
  \setplotarea x from 0 to 15, y from 0 to 3
  \grid 1 1
  \axis bottom ticks numbered from 0 to 15 by 1 / % for easy to look
  \arrow <10pt> [.1, .4] from  .5 1.5 to 1 0
  \arrow <10pt> [.1, .4] from 8.5 1.5 to 9 0
  \multiput {
    \beginpicture
      \linethickness=.8pt
      \putrectangle corners at 0 0 and 5 3 % the outside frame
      \linethickness=.5pt
      \putrectangle corners at 1.0 1.7 and 4.0 2.6 % the ABOVE rectangle
      \putrectangle corners at 1.5 0.4 and 3.5 1.3 % the BOTTOM rectangle
      \linethickness=2pt
      \putrule from 2.5 1.3 to 2.5 1.7 % the DATA line between two boxes
      \put {Something Above} at 2.50 2.15
      \put {SMILE !}          at 2.50 0.85
    \endpicture } [lb] at 1 0    9 0 /
\endpicture
%%%%%         The PiCTeX file `TeGek.TeX' ENDs here         %%%%%