improved styling of pdfs