Writing a Text
Use the TEXT command to write a text at the current point. You can write a text at any X/Y pair by appending a single quote followed by the text on the same line. For example:
1.1 1.0 NAM’This is a text
writes This is a text
at the normalized coordinates (1.1, 1.0
).
Use the command FONT to select the font used for the text, and CHARSIZE to select the size of the characters. Set this size of the symbols with SYMBOLSIZE.
If a text or a single character should be of a different font than all the other text, or to use subscripts or superscripts in a text, use the ^
operators or STRING command to create the text. The command STRING stores the text in a specified variable that includes all text-formatting information defined by the DIGLIB software.
Example 3 – Using Strings and Various Line Types and Example 5 – Use Included Files for Predefined Symbols.
However, if a graphical output is done on a PostScript device using the PostScript hardcopy fonts, special text formatting codes as LaTeX Formatting Codes should be used and the STRING formatting syntax is then not valid.