Black FridayUpgrade your career this Black Friday. Get up to ₹60,000 Scholarship on IIT programsUp to ₹60K Black Friday Scholarship52 seats leftOffer ends Fri, 27 Nov, 11:59 pm IST.

Black Friday Scholarship – IIT Jammu & IIT Roorkee

The best Black Friday deal isn't a gadget. It's your next career move.

Get up to ₹60,000 Black Friday Scholarship on our PG programs with IIT Jammu and iHUB DivyaSampark, IIT Roorkee. IIT certification, 12 live sessions with IIT faculty and 100% placement assistance.

Only 52 seats left. Offer ends Fri, 27 Nov, 11:59 pm IST

3,905 engineers placed since 2019 · 1,276 hiring companies

By submitting you agree to our Terms and Privacy Policy.

Your free demo class is requested

Browse courses

AutoCAD Text Formatting, Color Index and Stretch/Trim, With Examples

How to format MTEXT notes (Ø, ±, stacked tolerances), choose ACI or True Color, size text and dashed lines for the plot scale, and use STRETCH and TRIM in AutoCAD 2027. Worked, to-scale examples on a bracket plate, checked by script.

AutoCAD Text Formatting, Color Index and Stretch/Trim, With Examples

In AutoCAD you format notes with the MTEXT editor (font, height, colour, symbols such as Ø and ±, and stacked tolerances), you colour objects from the Select Color dialog (255 index colours, ByLayer, ByBlock, True Color or a colour book), you control dashed lines with LTSCALE, and you reshape geometry with STRETCH (a crossing window) and TRIM (Quick mode by default since AutoCAD 2021). This guide covers each one on a real mechanical drawing, with worked numbers.

In short

  • Symbols in text: type %%c for Ø, %%d for ° and %%p for ±. In MTEXT, a caret such as +0.05^-0.02 stacks into a tolerance (AutoCAD 2027 help).
  • Colour: there are 255 AutoCAD Color Index (ACI) colours. True Color is 24-bit, colours. Keep objects ByLayer and set colour on the layer.
  • Text height: ISO 3098-0 lettering sizes run 1.8, 2.5, 3.5, 5, 7, 10, 14 and 20 mm. To plot 3.5 mm text at 1:5 from model space, make it 17.5 mm tall in the model, or use annotative text.
  • Dashed lines: plot at 1:5 from model space with LTSCALE 1 and a 6 mm dash comes out 1.2 mm long. Set LTSCALE 5, or plot from a layout with PSLTSCALE 1.
  • STRETCH: only vertices inside the crossing window move. Stretch a 120 mm plate by 30 mm and it becomes 150 mm, and a hole inside the window keeps its 20 mm edge distance.

This guide is for mechanical students and fresher draughtspeople who already know how to draw lines and circles in AutoCAD and now need drawings that look right when printed. Command behaviour comes from Autodesk's AutoCAD 2027 help pages, and lettering and line-width rules from ISO 3098-0 and IS 10714-20 (India's adoption of ISO 128-20), all read on 21 Nov 2026. Every number in the worked examples and figures was checked by a script that Skill-Lync keeps with this article.

Which AutoCAD version does this guide use?

The steps follow AutoCAD 2027, the current release (2027.1 is the latest update in Autodesk's help as of November 2026). Everything here also works in AutoCAD LT and in releases from 2021 onwards. The one older-version difference is TRIM: before 2021 it always asked you to pick cutting edges first, which is now called Standard mode.

How do you format text in AutoCAD?

Use MTEXT for anything longer than a label. Type MTEXT (or T), drag a box, and the Text Editor tab opens on the ribbon. From there you can set the style, font, height, bold, colour, justification, lists and columns, the same way a word processor works. Use single-line TEXT only for short labels you will place one by one.

Autodesk's help puts the difference in one line: TEXT is for simple single-line text, and MTEXT makes a multiline object that "can handle richer formatting options." In practice, on a mechanical drawing:

  • Notes block ("1. Remove all burrs. 2. Unspecified tolerance ±0.1"): one MTEXT object, numbered list, fixed width so it wraps inside the title block area.
  • Labels (view names, part numbers): TEXT or MTEXT. MTEXT is easier to edit later.
  • Consistency: set font and height in a text style (STYLE command), not by overriding each note. To copy one note's look onto others, use Match Properties (MATCHPROP): pick the source, then the targets.
  • Readability over hatching: turn on Background Mask in the Text Editor so a note on top of a hatch or a busy area stays legible.

If the ribbon is switched off, the same MTEXT command opens the in-place text editor with a Text Formatting toolbar instead. That is the "classic" toolbar older tutorials show.

How do you type Ø, ° and ± in AutoCAD?

Type a control code made of two percent signs and a letter: %%c gives the diameter symbol Ø, %%d the degree symbol ° and %%p the plus-minus sign ±. They work in TEXT and, in most cases, in MTEXT. In the MTEXT editor you can also insert them from the Text Editor tab's Symbol menu.

You typeYou getTypical use on a drawing
%%c12Ø12hole size
45%%d45°chamfer angle
%%p0.1±0.1general tolerance note
%%uSECTION A-Aunderlined textview title
%%%%a literal percent sign

Autodesk notes that not every control code works in multiline text, so if a code shows up as plain characters inside MTEXT, use the Symbol menu instead.

How do you write a stacked tolerance like +0.05/−0.02?

In MTEXT, type the upper and lower values with a caret between them, for example Ø25+0.05^-0.02, select +0.05^-0.02 and click Stack. The caret always becomes a tolerance stack with no line. A slash (1/2) becomes a fraction with a horizontal bar, and a pound sign (1#2) a diagonal fraction.

The AutoStack Properties dialog controls whether AutoCAD stacks numbers as you type. Autodesk's help adds that the pound sign and the caret are converted whether AutoStack is on or off. For dimension text, put the tolerance in the dimension style rather than typing it, so the value updates if the geometry changes.

What text height should you use on a mechanical drawing?

Pick the plotted height first, from the ISO 3098-0 series: 1.8, 2.5, 3.5, 5, 7, 10, 14 and 20 mm, each step about 1.4 (√2) times the last. On A3 and A4 sheets, 3.5 mm for notes and dimensions and 5 or 7 mm for titles is a sensible start (Skill-Lync's suggestion; your company standard decides). Then convert to model-space height for your plot scale, or let annotative text do it.

If you plot from model space with fixed-height text, the model height is the plotted height multiplied by the scale factor of a 1: plot:

Plot scale2.5 mm on paper3.5 mm on paper5 mm on paper7 mm on paper
1:12.53.557
1:2571014
1:512.517.52535
2:11.251.752.53.5

Model-space text height in mm. Source: Skill-Lync calc.py, 21 Nov 2026.

Two easier routes exist. Text placed directly on a layout should be drawn at full size, because layouts are normally plotted at 1:1 (Autodesk). And if you turn on the Annotative property, AutoCAD scales the text to match each viewport's annotation scale, so 3.5 mm stays 3.5 mm on paper whether the viewport is 1:2 or 1:5.

How does colour work in AutoCAD?

Every object has a Color property that can be ByLayer (take the layer's colour), ByBlock (take the colour of the block it ends up in), one of the 255 AutoCAD Color Index (ACI) colours, a 24-bit True Color, or a colour from a colour book such as PANTONE. All are set in the Select Color dialog (COLOR command) or the Properties panel.

The 255 AutoCAD Color Index colours: a 24 by 10 grid for colours 10 to 249, the nine named standard colours 1 to 9, and the six greys 250 to 255.
The AutoCAD Color Index laid out by number. In the big grid the tens digit picks the hue and the units digit picks the shade, so 10, 20, 30... are the full-strength hues. Swatches approximate the default palette. Hover over a colour in AutoCAD to see its exact RGB value.
  • Index Color (ACI): 255 colours. Autodesk's dialog shows them as three palettes: 10 to 249 in the large grid, 1 to 9 (the named standard colours) and 250 to 255 (greys). The first seven also have names: 1 red, 2 yellow, 3 green, 4 cyan, 5 blue, 6 magenta and 7 white, which shows as black on a white background.
  • True Color: 24-bit colour, picked in RGB or HSL. Each channel takes 0 to 255, so there are colours ("over sixteen million", says Autodesk).
  • Color Books: named swatches from installed books such as PANTONE, useful when a part's paint or plastic colour has to match a brand book.
  • ByLayer and ByBlock: ByLayer is the habit to build. A ByBlock object shows white or black until it is inside a block, and then takes the block's colour. Use ByBlock only when you make blocks.

Why does colour decide line thickness when you plot?

With a colour-dependent plot style table (a .ctb file), AutoCAD uses each object's colour to decide how it plots: lineweight, plotted colour, screening. Every red object plots the same way. That is why drawing offices that plot with .ctb files fix a colour for each kind of line. Change a colour by accident and the line prints at the wrong thickness.

The alternative is a named plot style table (.stb), where you assign styles to layers or objects by name, so two objects of the same colour can plot differently. Whichever your company uses, the safe habit is the same: draw everything ByLayer and let the layer carry colour, linetype and lineweight. A simple mechanical layer set might look like this:

LayerLinetypeLineweight
Visible outlineContinuous0.5 mm (wide)
Hidden edgesHIDDEN0.25 mm (narrow)
Centre linesCENTER0.25 mm (narrow)
Dimensions, textContinuous0.25 mm (narrow)
HatchingContinuous0.25 mm (narrow)

Example layer set by Skill-Lync. Widths come from the IS 10714-20 / ISO 128-20 series (0.13, 0.18, 0.25, 0.35, 0.5, 0.7, 1, 1.4, 2 mm), where extra-wide, wide and narrow lines are in the ratio 4:2:1. Your company's standard comes first. Pick the colour numbers to match its .ctb file.

How do you control dashed hidden and centre lines?

Load the linetype in the Linetype Manager (LINETYPE), using acadiso.lin for metric drawings, and assign it to the layer. Then set the scale. LTSCALE scales every linetype in the drawing, CELTSCALE scales new objects relative to that, and PSLTSCALE (default 1) makes dashes in layout viewports appear at paper size whatever the viewport scale.

The dash length you see on paper is the length defined in the .lin file multiplied by both scale factors, divided by the plot scale when you plot from model space:

Here is the dash length in the .lin file, is LTSCALE, is the object's linetype scale (CELTSCALE when it was drawn) and is the plot scale factor (5 for 1:5).

Autodesk's own example of the multiplication: a line drawn with CELTSCALE = 2 in a drawing with LTSCALE = 0.5 looks the same as a line with CELTSCALE = 1 and LTSCALE = 1.

A 6 mm dash, 3 mm gap pattern plotted at 1:5 from model space: LTSCALE 0.2 gives 0.24 mm dashes that read as solid, LTSCALE 1 gives 1.2 mm dashes, LTSCALE 5 gives the designed 6 mm dashes.
Why hidden lines "turn solid": the same pattern plotted at 1:5 from model space with three LTSCALE values, drawn to scale. The 6 mm / 3 mm pattern is for illustration only. Open acadiso.lin to see the real HIDDEN values.

Worked example. A pump bracket is drawn full size and plotted at 1:5 from model space. With LTSCALE 1, a 6 mm dash prints as mm with 0.6 mm gaps, too fine to read as dashed. Setting LTSCALE to 5 brings it back to 6 mm. The better fix is to plot from a layout: with PSLTSCALE 1 and LTSCALE 1, dashes come out at their defined length in every viewport. After changing PSLTSCALE, run REGENALL, because viewports don't regenerate on their own.

How does the STRETCH command work?

STRETCH moves only the vertices and endpoints inside a crossing window (or crossing polygon) and leaves the rest where they are, so connected lines lengthen or shorten. Objects completely inside the window are moved, not stretched. Circles, ellipses and blocks can't be stretched: a circle moves only if its centre is inside the window, and a block or xref only if its insertion point is.

  1. Type STRETCH (or S).
  2. Make a crossing window by picking two points from right to left (the green dashed box in the figure), wrapping only the end you want to move.
  3. Press Enter, pick a base point, then type the displacement, for example @30,0, or point in the direction with Ortho on and type 30.
Before: a 120 by 60 mm plate with 12 mm holes at x = 20 and x = 100, and a crossing window from x = 85 to 130 over the right end. After stretching 30 mm the plate is 150 mm long, the right hole is at x = 130, still 20 mm from the edge, and the left hole has not moved.
STRETCH on a bracket plate, drawn to scale. The right-hand hole is entirely inside the crossing window, so it moves 30 mm with the edge instead of distorting.

Worked example. A bracket plate is 120 × 60 mm with two Ø12 holes at x = 20 and x = 100 mm. The customer wants it 30 mm longer with the right-hand hole still 20 mm from the end. A crossing window from x = 85 to 130 mm catches the two right-hand corners and the whole right hole. STRETCH by @30,0 gives a 150 mm plate (area 7,200 → 9,000 mm²) with the right hole at x = 130, still 20 mm from the edge. The hole pitch grows from 80 to 110 mm, and the left hole doesn't move.

Because a circle can't be stretched, what matters is its centre. Had the window started at x = 101 mm, it would have missed the right hole's centre at x = 100 and the hole would have stayed behind, ending up 50 mm from the new edge. That is a common reason a STRETCH "didn't work". Draw the window so that every feature that should travel with the edge has its centre (or insertion point) inside it.

How does TRIM work in AutoCAD 2021 and later?

In Quick mode, the default since AutoCAD 2021 (system variable TRIMEXTENDMODE = 1), every object in the drawing acts as a cutting edge. Type TR, then click the pieces to remove, or drag a freehand path or pick two empty points for a fence across many at once. Hold Shift while picking to extend instead of trim.

  • Watch out: in Quick mode, picking an object that doesn't cross any boundary deletes it, according to Autodesk's TRIM reference. It is handy for clean-up, but check before you click.
  • Old behaviour: choose the Mode option inside TRIM and pick Standard, or set TRIMEXTENDMODE to 0. In Standard mode you select the cutting edges, press Enter, then pick what to trim.
  • Typical job: drawing a keyway or slot. Draw two parallel lines and two arcs or circles that overrun each other, then trim the overruns in one fence pass.
  • 3D projection: by default TRIM projects onto the current UCS XY plane, so lines that look like they cross in plan view trim even if they are at different heights.

EXTEND is the mirror image of TRIM and shares the same Quick and Standard modes. It is covered with LENGTHEN and JOIN, with worked examples, in our guide to the Extend, Lengthen and Join commands.

A 10-minute practice drawing that uses all of this

  1. Make four layers from the table above, each with its own colour, linetype and lineweight. Leave the current colour as ByLayer.
  2. On the outline layer, draw a 120 × 60 rectangle and two Ø12 circles at (20,30) and (100,30). Add centre lines through the holes on the centre-line layer.
  3. Add a hidden-line slot on the back face (two lines and two arcs), trimmed in Quick mode with one fence.
  4. STRETCH the right end by 30 mm, as in the figure. Check with DIST that the right hole is still 20 mm from the edge.
  5. Add a notes MTEXT with 2 HOLES %%c12, UNSPECIFIED TOLERANCE %%p0.1 and a stacked +0.05^-0.02.
  6. Create a layout, set the viewport to 1:2, keep PSLTSCALE 1, and plot to PDF. Check that the hidden lines are dashed and the 3.5 mm text measures 3.5 mm.

If your drawing looks like a proper machine drawing at the end, you have the habits that matter. The latch plate exercise is a good next step, and polylines make outlines like this easier to edit.

Where can you learn AutoCAD drafting with feedback?

Skill-Lync's AutoCAD Essentials for Mechanical Engineers is a 12-week online course with two industry-style projects. It covers the topics in this article (text, layers, colour, linetypes, editing commands) through to dimensioning, tolerancing and plotting. To try before you commit, the free AutoCAD essentials lessons on Skill-Lync Grow start from the interface. If you are deciding between AutoCAD and a 3D tool for your first CAD course, talk to a Skill-Lync counsellor.

Frequently asked questions

What is the difference between TEXT and MTEXT in AutoCAD?

TEXT creates single-line text objects, where each line is a separate object with one style and height. MTEXT creates one multiline object with paragraphs, lists, columns, stacked fractions and mixed formatting, edited in the Text Editor tab. Use MTEXT for notes and specifications. TEXT suits short labels you place one by one.

How do I change the colour of text in AutoCAD?

Select the text and change Color in the Properties palette or on the Home tab, or, better, move it to a layer that has the colour you want and set its colour to ByLayer. Inside MTEXT you can colour selected words from the Text Editor tab, but those overrides ignore layer colour and can plot unexpectedly.

Why do my hidden lines look continuous in AutoCAD?

Usually the linetype scale is wrong for the plot scale. If you plot from model space at 1:5 with LTSCALE 1, every dash shrinks to one fifth and the line looks solid. Set LTSCALE to the scale factor, or plot from a layout with PSLTSCALE 1, then run REGENALL. Also check that the linetype is loaded and assigned.

What do ByLayer and ByBlock mean in AutoCAD?

ByLayer means an object takes its colour, linetype or lineweight from the layer it sits on. That is the recommended default, so changing a layer updates every object on it. ByBlock means the object shows white or black until it is inside a block, then takes the colour set on the inserted block. Use ByBlock only when building blocks.

How do I get the old TRIM command back in AutoCAD?

Start TRIM, choose the Mode option and select Standard, or type TRIMEXTENDMODE and set it to 0. Standard mode asks you to pick cutting edges first, then the objects to trim, as releases before AutoCAD 2021 did. Quick mode, the default, treats every object as a cutting edge and lets you fence-select pieces to remove.

Is AutoCAD free for students in India?

Eligible students and educators can get free one-year educational access to Autodesk products, including AutoCAD, renewable while they remain eligible. Eligibility is verified through Autodesk's Education Community. The educational licence is for learning and teaching, not for paid commercial work, so firms need a commercial subscription.

Sources and further reading

Want this on your résumé?

Talk to a counsellor.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.