CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor and other Autodesk products []
Cesky English Deutsch
 Visitors: 2909 

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    133290x   FAQ  
Comments   Tell a friend

See also:
Tip 10952:All DWG texts in UPPERCASE.
Tip 8640:Text formatting codes in MText objects.
Tip 7750:How to change the MText bullet style?
Tip 6880:How to add own symbols to MText Symbol list?
Tip 6716:How to display the text editor toolbar?

Back   All CAD Tips All CAD tips&tricks

How to export a STL file from Mechanical Desktop? « | » I cannot print HPGL/2 file on DesignJet 500 over AppleTalk.

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   

Increase your productivity with our set of BIM add-on functions for Autodesk Revit
CADstudio Revit Tools More info

Please use these tips at your own risk.
CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.