align function

Set text alignment