The Text command creates single line text, while the Mtext command creates text entities which consist of multiple lines.
To create single line text
-
Do one of the following:
- Click the Text tool button () on the Draw toolbar.
- Choose Text in the Text submenu in the Draw menu.
- Type text in the command bar, then press Enter.
- Specify the insertion point of the text. You are prompted: Height of text <current height>:
-
Do one of the following:
- Press Enter or right click to accept the current text height.
- Type the new text height in the command bar, then press Enter.
- Define the new text height graphically by specifying two points in the drawing.
-
Do one of the following:
- Press Enter or right click to accept the current angle.
- Type the new angle in the command bar, then press Enter.
- Define the now angle graphically by specifying two points in the drawing.
- Type the text in the command bar, then press Enter. The text is placed in the drawing. You are prompted: Text:
-
Do one of the following:
- Repeat step 5 to create another text entity. The new text is placed below the previous one.
- Press Enter or right click to conclude the Text command.
NOTE | If you have already created text, the most recent text entity highlights when you repeat the Text command. If you want to place the new text right below the previously created text, press Enter in step 2 of the above procedure. |
Single line text justification
To create multiline text
-
Do one of the following:
- Click the Multiline Text tool button () on the Draw toolbar.
- Choose Multiline Text in the Text submenu in the Draw menu.
- Type mtext in the command bar, then press Enter.
- Specify the first corner (insertion point of the multiline text). You are prompted: Justification/Rotation/Style/Height/Direction/Width/<Opposite corner for block of text>:
-
Do one of the following:
- Specify the opposite corner of the text block to define the maximum width of the multiline text.
- Type @ in the command bar, then press Enter for non-wrapped (zero width) text.
- If Dynamic Dimensions are active, the height and width of the text field display dynamically. Type the height and width in the dynamic dimension fields. Press the TAB key to switch; press Enter to confirm.
- (option) Define the text properties.
- Type your text.
-
To conclude the command and close the Text formatting toolbar do one of the following:
- Click the OK button.
- Press Ctrl+Enter.
- Click outside the MText entity.
Text formatting toolbar tools and settings
Button or setting | Name | Description |
Text Style | Sets the text style | |
Text Font | Sets the text font | |
Text Height | Sets the text height | |
Bold | Creates bold text | |
Italic | Creates italic text | |
Underscore | Creates underscored text | |
Overscore | Creates overscored text | |
Uppercase | Converts selected text to uppercase | |
Lowercase | Converts selected text to lowercase | |
Annotative | Toggles the Annotative property | |
Line Spacing | Sets the line spacing | |
Columns | Arranges the text in columns | |
Color | Sets the color | |
Oblique Angle | Sets the oblique angle | |
Width Factor | Sets the width factor | |
Character Spacing | Sets the character spacing | |
Undo | Undoes recent actions | |
Redo | Redoes previously undone actions | |
Stacked Fraction | Creates stacked fractions | |
Special Character | Inserts special characters | |
Field | Inserts a variable field | |
Justify | Sets the text justification | |
Background Mask | Adds a colored background | |
Ruler | Toggles the display of the ruler | |
OK | Closes the Text formatting toolbar and applies the changes | |
Cancel | Closes the Text formatting toolbar and leaves the Mtext entity unchanged |
NOTE | If the line length exceeds the Width of the multiline text, the text will be wrapped. Set the Width to zero for non-wrapped multiline text. |
Multiline text justification.
(The red dot indicates the insertion point of the multiline text entity)
Top left | Top center | Top right |
Middle left | Middle center | Middle right |
Bottom left | Bottom center | Bottom right |
Including special text characters and symbols
You can use control codes and unicode strings to include special characters in text entities.
To include control codes, as you type text, type two percent symbols (%%) followed by the special control code or character. A single percent sign is treated as a normal text character.
Special text characters
Control Code | Unicode String | Result |
%%d | \U+00B0 | Draws a degree symbol (º) |
%%p | \U+00B1 | Draws a plus-or-minus symbol (±) |
%%c | \U+2205 | Draws a diameter symbol (Ø) |
%%k | \U+0336 | Starts to strikethrough text. Repeat the code to stop. |
%%u | \U+005F | Starts to underscore text. Repeat the code to stop. |
%%o | \U+203E | Starts to overscore text. Repeat the code to stop. |
Symbols and Unicode strings
Name | Symbol (*) | Unicode String |
Almost equal | \U+2248 | |
Angle | \U+2220 | |
Center line | \U+2104 | |
Delta | \U+0394 | |
Electrical phase | \U+0278 | |
Identity | \U+2261 | |
Not equal | \U+2260 | |
Omega | \U+03A9 | |
Squared | ² | \U+00B2 |
Cubed | ³ | \U+00B3 |
(*) If supported by the text font.
To add a background mask
- When creating or editing a multiline text entity, click the Background Mask tool button () on the Text Formatting toolbar. The Background Mask dialog displays:
- Check the Use background mask option.
-
Do one of the following:
- Choose a color in the Fill color drop-down list.
- Choose Select color... in the Fill color drop-down list and choose an Index color or a True color in the Select color dialog.
- Check the Use drawing background color option.
- Define the Border offset factor , which defines the margin around the text for the background. The value is based on the text height and must be in the range 1-5. A factor of 1.0 exactly fits the multiline text entity.
- Click OK to create the background mask.
To add a text frame
- Select the Mtext entity.
- Click the Text frame property in the Properties panel.
- Click the down arrow and choose Yes.