This text file demonstrates the various control functions that are 
available on the text widget. This text will be rather hard to read
unless you cannot get the Xew viewer or textedit to run.

[1mTo get any sensible effects, you must have the following
(or something similar) resources set:
[22m
[1;31;19m*XeTextEd.fonts:\
	16 -*-times=iso8859-1,-;\
	16 -*-helvetica=iso8859-1,-;\
	16 -adobe-new century schoolbook=iso8859-1,-;\
	16 -adobe-utopia=iso8859-1,-;\
	16 -b&h-lucida=iso8859-1,-;\
	16 -bitstream-charter=iso8859-1,-;\
	16 -misc-fixed=iso8859-1,-;\
	16 -schumacher-clean=iso8859-1,-;\
	16 -sony-fixed;\
	16 -*-courier=iso8859-1,-
[22;3;39;10m
Try exactly with the above first (this is already in [23;19mDemo.ad[3;10m).
The [1mfonts resource[22m specification is way too[1m [22mcomplex even to me
(that should be fixed at some point). [23mA test with [16msixth alternative
[10mfont. The following [3mgraphic reditions[23m can be used in the text content.
(Note, that the following table uses horizontal tabulation code HT and
if the [1mformat[22m resource is set to TRUE, the effect of tabulation codes
may be  surprising, especially when combined with alignment other
than [1mstart[22m).

	1)	[1mbold[22m text

	3)	[3mitalic[23m text
	4)	[4munderlined[24m text

	7)	[7mnegative[27m image
	9)	[9mcrossed out[29m text

	10)	primary (default) font
	11)	[11mfirst alternative[10m font
	12)	[12msecond alternative[10m font
	13)	[13mthird alternative[10m font
	14)	[14mfourth alternative[10m font
	15)	[15mfifth alternative[10m font
	16)	[16msixth alternative[10m font
	17)	[17mseventh alternative[10m font
	18)	[18meight alternative[10m font
	19)	[19mninth alternative[10m font

	21)	[21mdoubly underlined[24m text

	30)	[30mblack foreground[39m text
	31)	[31mred foreground[39m text
	32)	[32mgreen foreground[39m text
	33)	[33myellow foreground[39m text
	34)	[34mblue foreground[39m text
	35)	[35mmagenta foreground[39m text
	36)	[36mcyan foreground[39m text
	37)	[37mwhite foreground[39m text

	40)	[40mblack background[49m text
	41)	[41mred background[49m text
	42)	[42mgreen background[49m text
	43)	[43myellow background[49m text
	44)	[44mblue background[49m text
	45)	[45mmagenta background[49m text
	46)	[46mcyan background[49m text
	47)	[47mwhite background[49m text

	51)	[51mframed[54m text
	52)	[52mencircled[54m text (not implemented yet)
	53)	[53moverlined[55m text (not implemented yet)

In addition to graphic rendition superscript and subscript controls can 
be used in the text content. Can be used like mL2K, unforturnately, 
cannot get both at same time KLmKKnL, continuing text on the baseline. 
Now, lets try some more complex combinations, like enabling graphic 
renditions while in superscript x[7mLa+b[27m+cK, and now the same when 
inverse is started outside superscripts [7mxLa+b+c[27mK, hmm... doesn't look 
very logical.. maybe fix later :-) Probably underlining has similar 
problems with superscripts xLa[4m+b+c[24mK, what will this xLa[4m+b+cK do[24m? (yep, 
starting underline in superscript and terminating it on normal text) Or 
[4mthis xLa+b[24m+cK (starting underline before superscript, but terminating it 
within).  Combining inversion and text background/foreground colors 
is a tricky thing, not really [7msupported: F[43mo[31mo[27mBar[39;49m, the results are pretty 
random.