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

Purpose

Enter this …

To produce this …

\0...\o

Turns overline on

and off

Autodesk \OAutoCAD\o

\L...\l

Turns underline on

and off

Autodesk \LAutoCAD\l

\K...\k

Turns stikethrough on and off

Autodesk\KAutoCAD\k

\~

Inserts a nonbreaking

space

Autodesk AutoCAD\~LT

\\

Inserts a backslash

Autodesk \\AutoCAD

\{...\}

Inserts opening and closing braces

Autodesk \{AutoCAD\}

\Cvalue;

Changes to the

specified color

Autodesk \C2;AutoCAD

\File name;

Changes to the

specified font file

Autodesk \Ftimes; AutoCAD

\Hvalue;

Changes to the text

height specified in

drawing units

Autodesk \H2;AutoCAD

\Hvaluex;

Changes the text height

to a multiple of the

current text height

Autodesk \H3x;AutoCAD

\S...^...;

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

1.000\S+0.010^-0.000;

\Tvalue;

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

\T2;Autodesk

\Qangle;

Changes obliquing angle

\Q20;Autodesk

\Wvalue;

Changes width factor to produce wide text

\W2;Autodesk

\A

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

(bottom, center, top)

\A1;1\S1/2

\P

Ends paragraph

Autodesk\PAutoCAD

Braces can be nested up to eight levels deep.