(texdraw)Text placement


Next: Intermediate PostScript file Prev: Resolution Up: Extending TeXdraw
Enter node , (file) or (file)node

5.2.3 Text placement
--------------------

While in the TeXdraw environment, TeX text is placed in a TeX box while
PostScript code is written to the intermediate file.  At the end of the
TeXdraw environment, the size of the drawing is determined.  A TeX box
of this size is created.  The TeX '\special' mechanism is used to
instruct the PostScript driver program to position the PostScript
drawing from the intermediate file in this area.  Next, the text
generated by TeXdraw is positioned and placed in the box.  Note that
when the document is printed, the PostScript drawing is placed on the
page before the TeX text; TeX text will appear on top of graphics.

   The rotation of text is carried out with in-line PostScript code
which does not appear in the intermediate PostScript file.  This code is
sent to the PostScript driver with a '\special' command.  This
PostScript code is embedded in the dvi (device independent) file that
TeX produces.


automatically generated by info2www version 1.2.2.9