Improve style of exercises in pdf format