Appendix 2: Multiline Text – Machine Drawing with AutoCAD

Appendix 2

Multiline Text

CREATING MULTILINE TEXT

The main problem of using Single Line Text is that it does not have the word wrap facility. So the text written by the Single Line text command does not wrap text to the next line to keep a neat right margin. Multiline text (also called Paragraph text) solves this problem and offers many more formatting options to create well displayed text objects in your drawing.

 

 

The entire paragraph created by Multiline text is a single object. The edit box that you use to create Mline text is the same as in Windows word processors. You can use this box both for creating and editing text objects. When you initiate the MText command it asks you to define a bounding box in which the text will be placed inside your drawing area. When you specify the two ends of the bounding box, AutoCAD will open the Text Editor box for you to enter your text. Whatever you type in the Text Editor box will be placed inside the bounding box defined earlier. The greatest advantage of Multiline Text is that the text editor closely resembles the Windows word processors and hence is very versatile in manipulating text.

Let us now see how the command is initiated, its options, and uses.

AutoCAD Commands and Prompts Steps/Feedback/Options
Command: Mtext or Mt or T Initiates the Multiline Text command.
Current text style: Standard, Text height: 0.2000 Current text style and text height are shown.
Specify first corner: Click a point to specify the start point for the text boundary window.
Specify opposite corner or [Height/Justify/Line spacing/Rotation/Style/Width]: Here you can choose an option or drag the window to a diagonally opposite corner. An elastic rectangle will be dragged with the cursor and an arrow inside the box will show you the flow of text (Fig. A2.1). When you click the opposite corner, the Multiline Text Editor box as shown in Fig. A2.2 opens. When the text entry is complete, click OK to exit the box; AutoCAD will insert the text objects inside the specified text boundary.

 

FIG. A2.1   Dragging the Mtext window

 

We shall now examine the functions of the Mline Text Editor box in greater detail.

 

FIG. A2.2   The Mline Text Editor with the Character Tab on

Entering Text in the Editor Box

Type your text in the large edit box. If your typing exceeds the width of the box you have defined in the drawing, AutoCAD automatically wraps the text to the next line. If you type a lot of text for the defined area, AutoCAD scrolls the text in the Text Editor. You can enlarge the Text Editor by dragging its bottom edge.

When you want to change any attribute of the text object, for example, font or height, select the text object by the Standard Windows method and then choose the font or height. The selected text objects will gain the new characteristics.

Creating Stacked Fractions Automatically

Suppose that you want to enter or “5/8” in the text line. From AutoCAD 2000 onwards, you can do it automatically. The steps are as follows.

  1. Type the numerator(5).
  2. Type a stack ( / ) to create a fraction separated by a horizontal line. Or, type a hash symbol (#) to create a fraction separated by a diagonal line. Or, type a carat (^) to create a tolerance stack (one above the other without the horizontal line).
  3. Type the denominator (8).

IMPORT TEXT

You can import text to the Multiline Text Editor by clicking Import Text button. You will have to find/choose a text (.txt) or Rich Text (.rtf) or format file from the Open dialog box shown in Fig. A2.3.

 

FIG. A2.3   Open dialog box for importing text

PROPERTIES TAB

With this tab, you control the text style (A2.2), justification, paragraph width, and rotation.

LINE SPACING

With this tab you can adjust the spacing between the lines in Mline text as “Exactly” or “At least”. Exactly creates lines that will always follow the spacing you set. The At least setting adjusts the spacing automatically to the size of the largest character in the line. It is advisable to use the latter setting when you type any text containing various sizes of letters.

FIND/REPLACE TAB

This is the same as in the Windows applications. If you want to match the case of the specified text, choose Match Case. When you want to restrict the search to whole words only, choose Whole word.