[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

string with style



Hello,

I'd like to write a string with different style in it, something like that:

   Peter has chocolates brought      to      lucy
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^    ^^^^^     ^^^^^
              plain                 bold     plain

or

  Peter has chocolates brought       by      lucy
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^    ^^^^^     ^^^^^
              italic               plain     bold-underline

I would like to have a function like that:

 write-with-style(#plain Peter has ... #bold to #plain Lycie)

Is it possible to do that and how ?

Thanks in advance.



--
Herve Blanchon  	       	       	       	
GETA, IMAG-campus, BP 53X       	Tel: +33.7651-4369     	blanchon@imag.fr
150, rue de la Chimie   	        Fax: +33.7651-4405
38041 Grenoble Cedex