adds styling to tex