+------------------------------------------+
| CALL IGTEXT (X,Y,CHARS,SIZE,ANGLE,CHOPT) |
+------------------------------------------+
Action: This routine draws a software character text, independently from
underlying graphics package used by HIGZ. IGTEXT can produce over 300
different graphic signs. The way in which software characters are defined
is via a string of valid Fortran characters, intermixed by other valid
Fortran characters, acting as ``escape'' characters (e.g. a change of
alphabet, upper or lower case). The string is interpreted by IGTEXT and
the resulting characters are defined according to the figure
[more info], which shows the list of available software
characters. This routine allows the user to mix different types of
characters (roman, greek, special, upper and lower case, sub and
superscript). There are a total of 10 control characters.
Parameter Description:
- X
- x coordinate in world coordinatesspace.
- Y
- y coordinate in world coordinatesspace.
- CHARS
- CHARACTER variable containing the text to be
displayed.
- SIZE
- Size of the text in world coordinatesspace.
- ANGLE
- Inclination angle of the text inclination in
degrees.
- CHOPT
- CHARACTER variable specifying the text
alignment:
- 'L'
- The text is Left adjusted starting at the point
(X,Y).
- 'C'
- The text is Centered around the the point (X,Y).
- 'R'
- The text is Right adjusted ending at the point
(X,Y).
- 'S'
- The text size (length) is returned in
ANGLE.
Note that it is not possible to align vertically the text produce by
IGTEXT. The way to align vertically software text is to use ITX with the
font 0 and precision 2 (see ISTXFP).
[ESCCHAR]
+--------------------------------------------------------------------------------------------------+
+-+----+--------------------List-of-escape-characters-and-their-meaning--------------------------+-+
+-+-<--+-go-to-lower-case-----------------------+-+->--+-go-to-upper-case-(default)--------------+-+
+-+-[--+-go-to-greek-(Roman-=-default)----------+-+-]--+-end-of-greek----------------------------+-+
+-+-"--+-go-to-special-symbols------------------+-+-#--+-end-of-special-symbols------------------+-+
| | " | go to superscript | | ? | go to subscript | |
+-+-!--+-go-to-normal-level-of-script-----------+-+-&--+-backspace-one-character-----------------+-+
+-+----+----------------------------------------+-+----+-----------------------------------------+-+
+-+-$--+-termination-character-(optional)-------+-+----+-----------------------------------------+-+
Note that characters can be also entered directly in lower case or upper
case instead of using the control characters < and >.
The boldface characters may be simulated by setting the attributes 'PASS'
and 'CSHI' with IGSET. The meaning of these attributes is the following:
Every stroke used to display the character is repeated PASS times, at a
distance (in percentage of the character height) given by CSHI.
