-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Text Styles
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Text Styles
Ribbon: Home – Annotate >
Text Styles
Ribbon: Annotate - Text >
Menu: Format –
Text Style …
Toolbar: Styles – 
Toolbar: Text – 
Command line: ST, STYLE, TEXTPROPSCMD
The text style is a set of parameters to format text objects.
Each text object in the drawing is created using the current text style. If you want to create text using a different text style, you can make another text style current. You can create and use multiple text styles in a single drawing.
nanoCAD comes with the Standard text style.
The default text style is assigned in the Settings nanoCAD (PARAMS) dialog box on the Main options tab in the Design – Default Text Style section.
Text styles are saved with the document in a *.dwg file. They can also be saved for transfer to another computer in a template file (*.dwt).
The Text Styles toolbar is designed to manage text styles and their parameters:

The top of the toolbar displays the name of the current text style, the text style search field, and the following buttons:
|
|
Add Style |
Creates a new text style based on the selected one. |
|
|
Delete Style |
Deletes the selected line type from the current document. |
Below there is a list of test styles in the form of a table with the following columns:
|
|
Displays and sets the current text style. The current text style is marked with All newly created text objects are created using the current text style. |
|
Name |
Displays and edits the text style name. |
|
Font |
Drop-down list for selecting a font file that specifies the character style. Vector fonts with the SHX extension |
|
Extra |
A drop-down list for selecting the font shape. For TrueType fonts For SHX fonts, the list is empty, except for Asian alphabets. When using Chinese, Japanese, and Korean, you can select in the Extra drop-down list an Asian “large” font SHX file, suitable for the Asian language you are using. If necessary, enable the vertical text writing mode |
|
Height |
Displays and edits the character height. Specified in drawing units. If the height value is 0: · for single-line texts, a height prompt is displayed in the command line when creating text; · for multiline texts, the value of the TEXTSIZE system variable is used. |
|
Width factor |
Displays and edits the width factor of characters (values from 0.1 to 10). The value 1 is the norm for the width of characters of the specified font. Values greater than 1 increase the width of characters, values less than 1 decrease it. |
|
Oblique angle |
Displays and edits the oblique angle of characters (values from -85 to 85). A positive angle value corresponds to a rightward inclination of characters, a negative value corresponds to a leftward inclination. |
|
|
Enables/Disables the mode of displaying characters upside down. The parameter affects single-line text only. |
|
|
Enables/Disables the mode of displaying characters from right to left. The parameter affects single-line text only. |
|
|
Enables/Disables the mode of vertical text writing. The vertical text writing mode is available if it is supported by the selected font file. |
To sort the list of text styles by any parameter, simply left-click on the header of its column.
The following commands are available in the context menu to perform operations with text styles:

|
Set current |
Set the selected text style as current. |
|
New style |
Creates a new text style based on the selected one. |
|
Rename Style |
Edits the name of the selected text style. |
|
Delete |
Removes the selected text styles from the current document. |
By default, the text style being created has the properties of the style selected as current. If you select a text style before clicking the Add Style button, the properties of this style will be used for the new text style.
Created styles can be later edited, renamed, or deleted. After renaming a text style, its name is updated in all text objects that use this style.
The name of a text style should contain at least one character and no more than 255 characters. Names should not be duplicated. The following characters are not allowed: < > / \ “ ” : ; ? * | , = `. By default, the text style being created is assigned the name StyleN, where N is the sequence number of the created text style, starting with 1.
To create a text style:
1. Select a text style on which the new one will be based.
2. Click the
Add Style button (or select the New style in the context menu). A new style will be created with StyleN default name.
3. To rename, click in the Name column (or select Rename Style in the context menu of the selected style) and specify a new name for the text style.
4. In the drop-down list of the Font column, select the font file.
5. Specify the remaining font parameters (font shape, height, etc.).
6. To set the text style as current, left-click in the icon display column opposite the name of the selected style. The
icon indicates that this style is current.
You can delete text styles that are not used in a document.
You cannot delete the following text styles:
· the Standard service text style;
· the text style being used;
· the current text style, even if it is not used in the document.

Unused text styles can also be removed using the PURGE (-PURGE) command.
To delete a text style:
1. Select one or more styles in the list.
2. Click the
Delete Style button (or select Delete Style in the context menu).

(installed during nanoCAD installation) and TrueType fonts with the TTF extension
(fonts installed in the operating system) are presented.
.