On the Styles tab, you can define how text will be formatted in exports. You can style both text exported from Confluence pages, as well as static text that you manually add to the content boxes in your template.
Style text exported from Confluence pages
In the Headings, Paragraphs, Elements and Table of content sections on the left of the editor, you can define default text styles which directly correspond to all categories of text in Confluence pages.
When you export Confluence content, it will be styled in accordance with the styles configured on this screen. For example, if you change the Heading 2 style's color to red, all heading 2 text exported from Confluence will be red.
Style the static text in your template
You can also create new styles at Custom > +. Custom styles are not used to format content you export from Confluence – they are only used to style static text you manually add to the content boxes in your template.
Both custom and default styles can be modified in a number of ways – you can change the following properties:
|Can be changed for custom styles, but not styles for Confluence content|
|Font||Font||Use the bundled fonts, or Add custom fonts|
|Style||Regular/bold, italics, underlined|
Please note that light fonts are currently not supported due a limitation of our PDF library.
|Color||Choose the colour of your font|
|Case||Decide whether the text style is Capitalised, UPPERCASE or lowercase|
|Section||Line Height (%)||Define the height of text lines in this style. If set to 100%, the line will the exact same height as the font itself.|
|Alignment||Left, centre, or right|
Page break before
|Choose if there should be a page break before text of this style|
Set the margin distance for the specific style
|Add padding for the specific style|
|Background||Define whether the style has a background color or remains transparent|
|Leader||For ToC style only: choose the leader style for the ToC level|
|Indentation||For ToC style only: define the indentation for the ToC level|
|Border||Top/Bottom/Left/Right||Corresponds to the specific section of the border that will be customized|
|Type||Choose whether the border type is solid, dotted, or dashed|
|Strength (pt)||Define the line strength for the border|
|Border Radius (pt)||Modify the line curvature for the border|
|Color||Set a color for the border section|
|Level 1- 6||Choose the specific list level|
|Level style||Select the style for the chosen list level|
|Margins (pt)||Set the margin distance for the level|
|Indent (pt)||Define the indentation for the list level|
Select the numbering style for the heading level
|Level format||Specify whether to display all numbered levels or only the current level for a heading|
|Prefix||Add a prefix to the heading level|
|Suffix||Add a suffix to the heading level|
|Indentation||Define the indentation before and after the numbering for a heading.|
On the right side of the screen, the Preview text box shows you how your style looks, and automatically updates as you make edits. If you are dissatisfied with the edits you have made to a style, you can reset them to the default settings by clicking the arrow button next to the style's names in the list.
Add custom fonts
You require space admin permissions to add custom fonts to a template. When you add a custom font to a template, it is available for all styles in that template.
Add a custom font by clicking Font > Manage custom fonts. You can upload fonts in either .ttf, .ttc, or .otf formats, and only regular and bold styles are supported.
Revert to the last saved version of the template
If you make changes to a template which you are unhappy with, you can easily return to the last saved version of the template by selecting the revert option:
Once you have selected revert, you can confirm that you wish to revert all unsaved changes in the template to the last saved state.
Now you have styled your text, you can define the structure of your template – and fine-tune the design – on the 'Document Sections' tab.