Next: Invocation Up: iTe Previous: Installation

How iTe works

The following LATEX2e code is a minimal working example.

   \documentclass{article}
   \usepackage{ite}
   \begin{document}

   \begin{iteblock}(5cm,5cm)
   \ite Hello
   \ite World
   \end{iteblock}

   \end{document}

It defines two active iTe objects (`Hello' and `World'). Upon starting iTe, active objects can be manipulated interactively. The possible operations are translation, rotation and scaling. The origin for these operations is the lower left corner of the box defined by the iteblock environment. For an active object, iTe establishes a one-to-one relationship between its LATEX source code and the corresponding PostScript code fragment. All operations are then simultaniously recorded in both the LATEX source and in the GhostScript window. For example, if the `Hello' is translated, rotated by 90 degrees and scaled by a factor of 2, then the corresponding LATEX source will look like this:

   \ITE(50 70 90 2) Hello

Sometimes, you might be pressed to define iTe objects inside macros or saved boxes. If this is the case, many PostScript code fragments may correspond to one LATEX source object. Here you have to use passive objects. The use of active objects inside macros and saved boxes is not checked and will utterly confuse iTe. Passive objecst behave like active objects, but cannot be manipulated interactively. See the definition of the itebind latex environment on how to generate passive objects.


Last modified by Wolfgang Kühn on Saturday, 10 June 2000

mirror server hosted at Truenetwork, Russian Federation.