Creating text

Commands: TEXT and MTEXT

The Text command creates single line text, while the Mtext command creates text entities which consist of multiple lines.

To create single line text

  1. Do one of the following:

  2. Click the Text tool button () on the Draw 2D toolbar.

  3. Choose Text in the Text submenu in the Draw menu.

  4. Type text in the command bar, then press Enter.

The command bar reads: Text: Style/Align/Fit/Center/Middle/Right/Justify/<Start point>:

  1. Specify the insertion point of the text.
    The command bar reads: Height of text <current height>:

  2. Do one of the following:

  3. Press Enter or right click to accept the current text height.

  4. Type the new text height in the command bar, then press Enter.

  5. Define the new text height graphically by specifying two points in the drawing.

The command bar reads: Rotation angle of text <current angle>

  1. Do one of the following:

  2. Press Enter or right click to accept the current angle.

  3. Type the new angle in the command bar, then press Enter.

  4. Define the now angle graphically by specifying two points in the drawing.

The command bar reads: Text:

  1. Type the text in the command bar, then press Enter.
    The text is placed in the drawing.
    The command bar reads: Text:

  2. Do one of the following:

  3. Repeat step 5 to create another text entity.
    The new text is placed below the previous one.

  4. 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

  1. Do one of the following:

  2. Click the Multiline Text tool button () on the Draw 2D toolbar.

  3. Choose Multiline Text in the Text submenu in the Draw menu.

  4. Type mtext in the command bar, then press Enter.

The command bar reads: First corner for block of text:

  1. Specify the first corner (insertion point of the multiline text).
    The command bar reads: Justification/Rotation/Style/Height/Direction/Width/<Opposite corner for block of text>:

  2. Do one of the following:

The Text formatting  toolbar opens right above the text block.


 

  1. (option) Define the text properties.

  2. Type your text.

  3. Click the OK button to stop editing the text.
    The Text formatting toolbar closes.

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

Layer

Sets the text layer

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

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 (Ø)

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

  1. When creating or editing a multiline text entity, click the Background Mask tool button () on the Text Formatting toolbar.
    The Background Mask dialog displays:

  1. Check the Use background mask option.

  2. Do one of the following:

  3. Choose a color in the Fill color drop-down list.

  4. Choose Select color... in the Fill color drop-down list and choose an Index color or a True color  in the Select color dialog.

  5. Check the Use drawing background color option.

  1. 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.

  2. Click OK to create the background mask.

 

 

 

 


© Menhirs NV. All rights reserved.