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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

465 views 19 9
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