next up previous contents index
Next: Old Mutual Property: Property Up: Device Properties Set By Previous: Name Property: Property Number   Contents   Index


Labloc Property: Property Number 12

The name, model, value, and param property values are normally displayed on-screen near the device body. This is a device property for setting the default locations of the property labels when shown on-screen. If this property does not appear, the internal default locations are used. This property allows more control over label placement, on a per-device basis. This property should only be used in devices in the device library file. Presently, the property can only be added with a text editor by editing the property strings in the device library file.

5 12 pname code [ pname code ] ... ;

The pname is one of the literal tokens ``name'', ``model'', ``value'', and ``param''. For backward compatibility, ``initc'' is accepted as an alias for ``param''. The code is an integer, -1 - 15. If the code is -1, the default placement is used. If code is 0 - 15, the placement and justification are as shown below:

Figure B.1: Locations and justification for character position codes around the device bounding box.
\begin{figure}
\vspace{1.5ex}
\begin{center}\setlength{\unitlength}{3947sp}%
...
...s
\put(1801,-2086){\framebox (675,825){}}
\end{picture}\end{center}\end{figure}

If the height of the device bounding box is greater than the width, the default position codes are name 5, model and value 9, and param 10. Otherwise the default location codes are name 2, model and value 13, and param 14.


next up previous contents index
Next: Old Mutual Property: Property Up: Device Properties Set By Previous: Name Property: Property Number   Contents   Index
Stephen R. Whiteley 2006-10-23