format the text style