CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 4172
Plex.Earth connects AutoCAD and Google Earth

CAD tip CAD tip # 4324:

Question CAD 
 %  platform  category 
Q - question

How to underline text in a MText object?

A - answer If you are using an external MText editor or a LISP application, you can use control characters to underline text. The syntax is \L and \l (= uppercase and lowercase "L") - e.g.:

Please \Lunderline\l this

Please underline this

NB: This will not work in the Internal MText editor.

100% *  CAD 
4.4.2005    16711×  

See also:
Tip 8989:Control codes "%%" in text entities.
Tip 8640:Text formatting codes in MText objects.
Tip 7191:How to increase the offset between MLeader text and underline?
Tip 4325:How to underline text in a RTEXT entity?
Tip 3123:Underlining one word and all Mtext is underlined.

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.
CAD Studio is not responsible for possible problems that may occur as a result of using any of these tips.