Macro Language Reference > Macros > Script - Instructions > #
  
#
Description
Inserts a character at the current text cursor position. Many special character (hash character) codes in PTC ALD are only accessible with this macro or through a menu: special paragraph endings, superscript and subscript codes, codes for fixed spaces etc.
 
Example 191. Insert a numbered character
The macro below will insert a TeX return at the current cursor position
#147
Syntax
# char or grid:b
char or grid
char
The numeric code for the character to be inserted: comes from the character's position in the character set. This can also be used to insert Unicode characters, for example, #0x00E4 will insert a lowercase 'a' with two dots above it.
grid
Entering the macro #? invokes PTC ALD Character Grid, in which you can click on a character to insert it.