Format Codes for Alternate Text Editor Reference


If you use an alternate text editor, you apply formatting by entering format codes.

To apply formatting, use the format codes shown in the following table.

Format codes for paragraphs

Format code


Enter this …

To produce this …


Turns overline on

and off

Autodesk \OAutoCAD\o



Turns underline on

and off

Autodesk \LAutoCAD\l



Turns stikethrough on and off




Inserts a nonbreaking


Autodesk AutoCAD\~LT



Inserts a backslash

Autodesk \\AutoCAD



Inserts opening and closing braces

Autodesk \{AutoCAD\}



Changes to the

specified color

Autodesk \C2;AutoCAD


\File name;

Changes to the

specified font file

Autodesk \Ftimes; AutoCAD



Changes to the text

height specified in

drawing units

Autodesk \H2;AutoCAD



Changes the text height

to a multiple of the

current text height

Autodesk \H3x;AutoCAD



Stacks the subsequent text at the /, #, or ^ symbol




Adjusts the space between characters. Valid values range from a minimum of .75 to 4 times the original spacing between characters.




Changes obliquing angle




Changes width factor to produce wide text




Sets the alignment value; valid values: 0, 1, 2

(bottom, center, top)




Ends paragraph



Braces can be nested up to eight levels deep.