Author Topic: MText Formatting Code Reference  (Read 11638 times)

0 Members and 1 Guest are viewing this topic.

Lee Mac

  • Seagull
  • Posts: 12913
  • London, England
MText Formatting Code Reference
« on: July 07, 2010, 07:59:48 AM »
Anyone know if one exists?

I constructed this a while back as a 'reference' but it doesn't cover them all by any stretch of the imagination....


CHulse

  • Swamp Rat
  • Posts: 504
Re: MText Formatting Code Reference
« Reply #1 on: July 07, 2010, 09:40:40 AM »
Not that I have any sepcific info on this, but this is an example I am working with.

Code: [Select]
(3 . "\\pxa4,ql;{\\LTREE PRESERVATION MEASURES PLAN
NOTES\\P\\pi-3,l3,t3;}1.\tGENERAL\\P\\pi-5,l6,t6;1.1.\tINTRODUCTION\\P\\pi-7,l9,
t9;1.1.A.\tGENERAL PLAN NOTES. \\P\\pi-9,l12,t12;1.1.A.a.\tPRE-CONSTRUCTION
STRESS REDUCTION \\P\\pi-5,l6,t6;1.2.\tDESCRIPTIONS OF THE WORK\\P")

(1 . "\\pi-7,l9,t9;1.2.A.\tPRE-CONSTRUCTION \\P\\pi-9,l12,t12;1.2.A.a.\tMULCH
RINGS. \\P\\pi-3,l3,t3;2.\tSEASONAL \\P\\pi-7,l9,t9;2.0.A.\tDESTRUCTIVE PEST
MANAGEMENT")


Cary Hulse
Urban Forestry Manager
Wetland Studies and Solutions

Civil 3D 2020 & 2023

LE3

  • Guest
Re: MText Formatting Code Reference
« Reply #2 on: July 07, 2010, 10:07:23 AM »
Hi Lee,
Have you seen here?

http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%202010%20User%20Documentation/

Search for:
'Format Multiline Text in an Alternate Text Editor'

HTH

Anyone know if one exists?

I constructed this a while back as a 'reference' but it doesn't cover them all by any stretch of the imagination....



Lee Mac

  • Seagull
  • Posts: 12913
  • London, England
Re: MText Formatting Code Reference
« Reply #3 on: July 07, 2010, 10:11:20 AM »
Excellent Luis - many thanks!

CHulse

  • Swamp Rat
  • Posts: 504
Re: MText Formatting Code Reference
« Reply #4 on: July 08, 2010, 07:23:09 AM »
Here was another response from Autodesk:

Quote
Here is a link to the specifications for RTF 1.5:
Rich Text Format (RTF) Version 1.5 Specification
http://www.biblioscape.com/rtf15_spec.htm

Although the formatting codes don't look exactly the same as what is in the mtext entity...
Cary Hulse
Urban Forestry Manager
Wetland Studies and Solutions

Civil 3D 2020 & 2023


danallen

  • Guest
Re: MText Formatting Code Reference
« Reply #6 on: April 24, 2014, 04:43:37 PM »
I don't see explanation of indent / hanging indent, nor tabs?

CADbloke

  • Bull Frog
  • Posts: 342
  • Crash Test Dummy
Re: MText Formatting Code Reference
« Reply #7 on: February 14, 2015, 05:38:35 AM »
I don't see explanation of indent / hanging indent, nor tabs?
This page: http://www.augi.com/library/autocad-tricks-for-mtext-beyond-the-basics1 has a good explanation of tabs in MText. If you look at the text example posted by @CHulse you will see the tabs stops in there - they're the t in the control character sequence. eg, the first one is t3

(better late than never, eh?)