content

The content that should be filled in to the header / footer.

Availability

Available in: Headers and Footers

Type

String

Available values

Value Description
String This setting is currently only available in the beta version.
Any string is allowed. The placeholders %heading-1 to %heading-6 are replaced by the heading of the respective heading level on the current page. %p is replaced by the page number. Multiple placeholders can be used within the string.
none Header/Footer should be empty.
heading Header/Footer should contain the heading of the current section. Requires that section-break is set to the heading level that should be displayed.
page-number Header/Footer should contain the current page number according to the page numbering settings in the document-settings.

Default value

none

Inherited

Yes.

Example

// Page number, author and heading level 1 on the left page
// Heading level 2 and page number on the right page
// Page number in the footer
document-settings {
  two-sided:       yes
}

area-header :left-page {
  content:         "%p · Jane Doe · %heading-1"
  text-alignment:  left
  capitalization:  all-caps
}

area-header :right-page {
  content:         "%heading-2 · %p"
  text-alignment:  right
  capitalization:  all-caps
}

area-footer {
  content:          page-number
  text-alignment:   center
}