Question: prettyprint for printf

Dear all:

    I am wondering if there is any way in Maple you can do prettyprint with the printf?  Printf gives me more power but the output format of printf is "C-style". For example,

f := exp(x) + 3*sqrt(exp(x));

f1 := subs(exp(x)=y,f);

printf("Transformation is %a s.t %a => %a\n", f,f1 );

gives a display which is very hard to read. Is there any way to do a prettyprint with this kind of things?

 

Thanks,

Peter

Please Wait...