Control Codes and Special Characters
 
 
 

In addition to using Unicode characters for entering special characters, you can also overscore text, underscore text, or insert a special character by including control information in the text string. Use a pair of percent signs to introduce each control sequence.

You can use this control code with standard AutoCAD text fonts and Adobe PostScript fonts:

%%nnn

Draws character number nnn.

You can use these control codes with standard AutoCAD text fonts only:

%%o

Toggles overscoring on and off.

%%u

Toggles underscoring on and off.

%%d

Draws degrees symbol (°).

%%p

Draws plus/minus tolerance symbol (±).

%%c

Draws circle diameter dimensioning symbol (ý).

%%%

Draws a single percent sign (%). This is valid for the TEXT command only.

Overscoring and underscoring can be in effect at the same time. Both turn off automatically at the end of the text string.

You can use the %%nnn control sequence to display special characters using the PostScript fonts.

A sample drawing (truetype.dwg) showing the character map for each font is provided in the sample folder.

The Euro Symbol

You can use the euro symbol with .shx fonts and their TrueType equivalent fonts shipped with AutoCAD 2000 and later releases. If your keyboard does not contain a euro symbol, hold down the ALT key and enter 0128 on the numeric keypad.