'STYLE Command

Creates named text styles

Format menu: Text Style
Command line: style

The Text Style dialog box is displayed.

If you enter -style at the Command prompt, STYLE presents options on the command line.


The STYLE command also modifies existing styles and sets the current style for subsequent TEXT, DTEXT, and MTEXT commands.

Text Style Dialog Box

Add or modify styles.

Style Name

Displays text style names, adds new styles, renames and deletes existing styles. Style names can be up to 31 characters long. They can contain letters, numbers, and the special characters dollar sign ($), underscore (_), and hyphen (-). AutoCAD LT converts the name to uppercase characters.

The list contains defined style names and displays the current style by default. To change the current style, select another style from the list, or choose New to create a new style.

Font (STYLE)

Changes the style's font.

Use the Big Font option to specify an Asian-language Big Font file; Use Big Font is available only if an SHX file is specified under Font Name; only SHX files are valid file types for creating Big Fonts.

Note: The text height you specify may not be accurately represented by uppercase letters in TrueType fonts supplied with AutoCAD LT.

Effects (STYLE)

Modifies characteristics of the font, such as whether it is displayed upside down or not, backwards, or vertically aligned, as well as its height, width factor, and obliquing angle.

Note: TrueType fonts using these effects might appear bold on the screen. Onscreen appearance has no effect on plotted output; fonts are plotted as specified by applied character formatting.

Preview (STYLE)

Displays sample text that changes dynamically as you change fonts and modify the effects. To change the sample text, enter characters in the box below the character preview image.

Note: Height has no effect in the character preview image, because a very large text height might show little or no text.

Apply (STYLE)

Applies style changes made in the dialog box to text of the current style in the drawing.

Cancel (STYLE)

Cancel changes to Close whenever a change is made to any of the options under Style Name.

Close (STYLE)

Cancel changes to Close whenever a change is made to any of the options under Style Name. Changing, renaming, or deleting the current style and creating a new style are operations that take place immediately and cannot be canceled.

Using the Command Line

Text style name (or ?) <current>: Enter a style name, enter ?, or press ENTER

At the Text Style Name prompt, you can enter a text style name of up to 31 characters. The name can contain letters, numbers, and the special characters dollar sign ($), hyphen (-), and underscore (_). To define a style that uses Big Fonts, you can use long file names that do not contain commas; commas are used to separate SHX files and Big Font files for defining a Big Font file. Pressing ENTER displays the following prompt (full font names are displayed only if the current font is a TrueType font):

Existing style. Full font name = <current>: Specify full font name or font file name <complex.shx,bigfont.shx>

Enter a TrueType font family name or an SHX font file name. If you do not enter a file extension, AutoCAD LT searches for an SHX file. If the file is not located, the Windows operating system substitutes the first located registered TrueType font.

All long file names except those containing commas are accepted at the prompt. The comma is reserved for the Big Font naming convention: an SHX file followed by a comma (,), followed by the Big Font file name. A space is interpreted as part of the font name, not as a carriage return.

Entering a tilde (~) displays the Select Font File dialog box.

In the Select Font File dialog box, valid types include SHX and TTF. AutoCAD LT reads the specified font file. The file's character definitions are loaded automatically unless the file is already in use by another text style. You can define several styles that use the same font file.

Height <current>: Specify a distance or press ENTER

If you enter a height of 0.0, AutoCAD LT prompts you for the text height each time you enter text using this style. Entering a height greater than 0.0 sets the text height for this style.

Width factor <current>: Specify a distance or press ENTER

Entering a value less than 1.0 condenses the text. Entering a value greater than 1.0 expands it.

Obliquing angle <current>: Specify an angle or press ENTER

Entering a value between -85 and 85 obliques the text.

Backwards : Enter y or n or press ENTER
Upside-down <N>: Enter y or n or press ENTER
Vertical <N>: Enter y or n or press ENTER

Vertical is available only if the selected font supports dual orientation.

Entering ? displays the following prompt:

Text style(s) to list <*>: Enter the name of a style, enter *, or press ENTER

At the Text Style(s) to List prompt, entering the name of a style displays the name, font file, height, width factor, obliquing angle, and generation of the style and exits the command. Entering an asterisk (*) or pressing ENTER displays the height, width factor, obliquing angle, and generation of each style and exits the command.

If you change the orientation or font file of an existing text style, all text objects with that style use the new values when the drawing is regenerated. If REGENAUTO is on, the change causes an automatic regeneration.

You can use DDRENAME or RENAME to change the name of an existing text style. If any existing text object uses the old style name, the text object takes the new name automatically.