I am trying to define some solutions $x_k(t)$ inside a for loop in Maple.
I have tried
but I get an ugly output. I have also tried x[k]:=t-> ... but it makes an even uglier output.
If it wasn't inside a for loop I would have used
x[k] := t -> (...) :
'x[k](t)' = x[k](t) ;
to suppress the output from the assigning and make a nice output in the next line but it seems I cannot suppress only some of the lines inside a for loop?

to suppress the output from the assigning and make a nice output in the next line but it you can use the tool step
You will be able to suppress some of the lines inside of the loop.