Confluence 3.5 has reached end of life
Check out the [latest version] of the documentation
You can create a title or cover page to your PDF document using HTML. Use the 'PDF Space Export Title Page' section of the PDF layout to do this.
Adding a New Title Page
The following example uses HTML with an inline CSS rule to generate a title page.
<div class="fsTitlePage" style="margin-left:auto;margin-top:75mm;margin-right:auto;page-break-after:always"> <img src="/download/attachments/12345/titlepage.png"/> </div>
Including Content Above Table of Contents in Default Title Page
The following example includes content above the automatically-generated table of contents that appears on the default title page, so that your title page includes your own content plus the table of contents.
<div class="fsTitlePage" style="margin-left:auto;margin-top:75mm;margin-right:auto;"> <img src="/download/attachments/12345/titlepage.png"/> </div>
Adding an Image to your Title Page
In the examples above, the title page includes an image called 'titlepage.png', centred in the middle of the page. The image is attached to a Confluence page and is referenced via its relative URL (that is, we use only the last part of the URL, excluding the Confluence site's base URL).
Follow these instructions to include an image on your title page:
- Attach the image to a Confluence page.
- View the list of attachments on that page.
- Right-click the image and copy its location.
- Paste the link into the appropriate
src=""attribute within your PDF stylesheet, as shown above. - Remove the first part of the URL before
/download/....
