Modify the layout of the pdf