# Control Dimension Text [GstarCAD 2011](../../../Index.md) → [User Guide](../../%28User%20Guide%29.md) → [Dimensions](../%28Dimensions%29.md) → [Use Dimension Styles](%28Use%20Dimension%20Styles%29.md) You can control the placement of dimension text, arrowheads, and leader lines relative to the dimension and extension lines. **Fit Dimension Text Within Extension Lines** Dimension text and arrowheads usually appear between the extension lines when there is enough space. You can specify how these elements are placed when space is limited. Many factors, such as the size of extension line spacing and arrowhead size, influence how dimension text and arrowheads fit within the extension lines. In general, the best fit, given the available space, is applied. If possible, both text and arrowheads are accommodated between the extension lines, no matter what fit option you choose. When creating new dimensions, you can choose to place text by entering a coordinate or using the pointing device; this is known as user-defined text placement. Alternatively, the program can compute the text position for you. The options for automatic fitting of text and arrowheads are listed in the Dimension Style Manager, Fit tab. For example, you can specify that text and arrowheads be kept together. In this case, if there is not room for both between the extension lines, they are both placed outside. You can specify that if there is room for only text or arrowheads, then either text only or arrowheads only are placed between the extension lines. The following illustrations show how the program applies a "best fit" for arrowheads and text. ![](../../../assets/ICAD_IUG/ICAD_IUG/untitled.jpg) If there is no room for text between the extension lines, you can have a leader line created automatically. This is useful in cases where text outside the extension lines would interfere with other geometry, for example, in continued dimensions. Whether text is drawn to the right or the left of the leader is controlled by the horizontal justification setting on the Text tab of the Modify/New Dimension Style dialog box. Also, you can fit text and arrowheads by changing their size. Even if the arrowheads are outside the extension lines, you can have a line drawn between the extension lines. This is called forcing an internal line and is illustrated as follows. ![](../../../assets/ICAD_IUG/ICAD_IUG/untitled1) **Control the Location of Dimension Text** You can draw several different diameter dimensions depending on text placement, horizontal settings on the Text tab, and whether you select the Draw Dim Line Between Ext Lines option on the Fit tab. ![](../../../assets/ICAD_IUG/ICAD_IUG/untitled2) **Control the Location of Dimension Text** GStarICAD provides three align styles:horizontal、aligned with dimension line、ISO standard. **Align Dimension Text** Whether text is inside or outside the extension lines, you can choose whether it is aligned with the dimension line or remains horizontal. The following examples show two combinations of these options. ![](../../../assets/ICAD_IUG/ICAD_IUG/untitled5) The default alignment is horizontal dimension text, even for vertical dimensions. **Control the Location of Dimension Text** You can locate dimension text manually and specify its alignment and orientation. The program comes with several justification settings that facilitate compliance with international standards, or you can choose your own location for the text. ![](../../../assets/ICAD_IUG/ICAD_IUG/untitled3) Many of the settings are interdependent. Example images in the Dimension Style Manager are updated dynamically to illustrate how text appears as you change the settings. **Position Dimension Text Vertically** The position of the text relative to the dimension line is referred to as vertical text placement. Text can be placed above or below or centered within the dimension line. In the ANSI standards, centered text usually splits the dimension line. In the ISO standards, it is usually above or outside the dimension line. For example, ISO standards permit angular dimension text to appear in any of the ways shown. ![](../../../assets/ICAD_IUG/ICAD_IUG/untitled4) Other settings, such as Text Alignment, affect the vertical alignment of text. For example, if Horizontal Alignment is selected, text inside the extension lines and centered within the dimension line is horizontal, as shown in the leftmost illustration above. The text is horizontal even if the dimension line is not itself horizontal. **Control the Appearance of Dimension Text** You can include prefixes, suffixes, and user-supplied text in dimensions. You can also control the text style and formatting used in dimension text. The program supports a mixture of user-supplied text, prefixes and suffixes supplied by the dimension style, and generated measurements. For example, you could add a diameter symbol as a prefix to a measurement or add the abbreviation for a unit, such as mm, as a suffix. Text in this context refers to all dimension text, prefixes and suffixes, primary and alternate units, and lateral tolerances. Geometric tolerances are controlled independently. Dimension text is treated as a single string of text, which you create and format using your text editor. **Control the Text Style in Dimensions** The appearance of dimension text is governed by the text style selected in the Dimension Style Manager, Text tab. You can choose a text style while creating a dimension style and specify a text color and a height independent of the current text style's height setting. You can also specify the gap between base dimension text and the box that surrounds it. The text styles used for dimensions are the same text styles used by all text created in your drawing. **Supply User Text to Dimensions** In addition to the prefixes and suffixes specified for primary and alternate units, you can supply your own text as you create a dimension. Because the prefix, suffix, and user-supplied text form a single text string, you can represent tolerance stacks and apply changes to font, text size, and other characteristics using the text editor. To add user text above and below the dimension line, use the separator symbol \\X. Text that precedes this symbol is aligned with and above the dimension line. Text that follows the \\X symbol is aligned with and below the dimension line. The space between the dimension line and the text is determined by the value you enter under Gap in the Annotation dialog box. ---