TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: DEVITG on May 03, 2008, 09:43:03 AM
-
At this topic
http://www.theswamp.org/index.php?topic=22887.0 (http://www.theswamp.org/index.php?topic=22887.0)
It was shown how to UNDERLINE a text by adding %%U , or to a MTEXT by "{\\L" as prefix , and "}" as sufix.
Can you show how to do other changes in both , as BOLD CURSIVE , and so on ?
-
Hi,
What I founded for mtexts:
"{\\fArial|b1|i0|c0|p34;your text}" => your text (bold)
"{\\fArial|b0|i1|c0|p34;your text}" => your text (italic)
"{\\fArial|b1|i1|c0|p34;your text}" => your text (bold and italic)
I'don't know about c and p options
Some others options available
"{\\Oyour} text" => overlines "your"
"{\\C1;your} text" => your text (color 1)
"{\\H5;your text}" => absolute height
"{\\H2x;your text}" => relative height
"{\\T2;your text}" => space between characters (from 0.75 to 4)
"{\\Q20;your text}" => inclination angle
"{\\W2;your text}" => relative width (stretch the text)
-
Thanks Gile.
-
The format strings for mtext are in the help files, as for text, I'm not quite sure that you can do as much to them as you can with mtext.
-
as for 'TEXT' besides %%U one can use the following
%%C
%%O
%%D
%%P