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

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. }

Thanks Ole, it appears to have worked just fine!

Cheers!

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,927 views 27 12
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