Customizing PDF Export

Hello everyone,

I have created a rather large product user manual and I need to export it to PDF and print it. This is an easy process, however, after finishing the space export (by only selecting the pages I need) I can see that the there is no spacing between each page, and that makes the content to get squeezed.

I have attached a screenshot that will hopefully illustrate my issue, please let me know if there's a way to solve this via PDF stylesheet customization or any other workaround:

Thank you!

2 answers

1 accepted

This widget could not be displayed.

Globally (as Confluence Admin -> PDF Stylesheet) or locally (Space Admin -> Look and Feel menu tab) change your PDF Stylesheet to something similar to this:

  1. @page
  2. {
  3. /*The A4 paper size is 210 mm wide by 297 mm long*/
  4. size: 210mm 297mm;
  5. margin: 25mm;
  6. }
  7. .pagetitle
  8. {page-break-before: always;
  9. }
  10. div {
  11. word-wrap: break-word;
  12. }

This widget could not be displayed.

Thanks Ole, it appears to have worked just fine!

Cheers!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

471 views 6 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you