# Automatic Text Numbering Command
[GstarCAD 2021](Help%20System/GSTARCAD/2021/Index.md) → [Commands](Help%20System/GSTARCAD/2021/Commands/(Commands).md) → [T](Help%20System/GSTARCAD/2021/Commands/T/(T).md)
### Automatic Text Numbering
Adds sequential numbering to text objects. The numbering can appear as a prefix, suffix or replacement text.After selecting one or multiple texts, you can set the text sorting method, the starting number and increment of text sorting and generated numbers placement mode.
**Menu:** Text \>Automatic Text Numbering
**Command Entry:** TCOUNT
**Operation steps:**
1.Start the command.
2\.Select TEXT, MTEXT or ATTDEF objects:
3\.Sort selected objects by \[X/Y/Select-order\]
X:Places numbers by increasing the x-coordinate value of the selected text.
Y:Places numbers by decreasing the y-coordinate value of the selected text.
Select-order: Places numbers according to the order in which the text was selected.
After specifying the method of order, the following prompts will be displayed in the command line:
4\.Specify starting number and increment (Start increment) \<1,1\>: Enter the starting number and increment, separated by a comma, or press ENTER
Note:Negative increments (decrements) are supported. Precede decrements with a minus sign.
5\.*Specify the placement of numbers* *in text \[Overwrite/Prefix/Suffix/Find\&replace..\] \< Prefix\>:*, Enter an option or press ENTER
Overwrite**:** Replaces selected text strings with numbers
Prefix**:** Adds the number as a prefix to text
Suffix: Adds the number as a suffix to text
Find\&replace: Replaces a user specified text string with a number
**Usage Example:**
1.Starting number \= 1, increment \= 1 added as prefix:

2.Starting number \= 20, increment \= -10 added as suffix:

3.Starting number \= 2, increment \= 2, Overwrite:

---
Gstarsoft Co.,Ltd