CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 6767

CAD tip CAD tip # 1719:

Question CAD 
 %  platform  category 
Q - question

How to write subscripts and superscripts in AutoCAD text?

A - answer There are several ways to do this.

In the MTEXT editor write the index text as a stacked text - e.g. 2nd/xx hole (if you have AutoStack disabled, select the text to stack - nd/xx, right click and choose 'Stack'). Select the stacked text, right click and choose 'Stack Properties'. Delete nominator or denominator of the stack (e.g. xx). Set the 'Style' to 'Tolerance'. (gives: 2nd hole)

If you are using a font with full Unicode set, you can also use Unicode characters for "2-superscript" - \U+00B2 or "3-superscript" - \U+00B3 or "2-subscript" - \U+2082, to form single-line texts like E=mc2 or H2O. This approach can be used even in plain Text (not MText) entities, dimensions and labels.

If you are using an external Mtext editor (not Internal), you can also use the MText control characters - e.g.:

(gives: TEXTINDEX)
100% *  CAD 
8.11.2001    174452×   FAQ  
Prices - CAD eShop:

See also:
Tip 14080:AutoCAD 2025 is not displaying some fonts correctly.
Tip 11794:Undocumented code in field expression - MText contents without control characters.
Tip 11160:Dynamic display of layer/block/text style/linetype properties.
Tip 10952:All DWG texts in UPPERCASE.
Tip 8640:Text formatting codes in MText objects.

Back   All CAD Tips

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

Publish interactive 3D PDF models from AutoCAD, Inventor or Revit with Share3D More info

Please use these tips at your own risk.
Arkance Systems is not responsible for possible problems that may occur as a result of using any of these tips.