Set style in different file formats