improve styling for pdf output