Layout adjustments and pdf options