j Ulysses Style Sheet Reference

Document Settings

Used to describe all settings regarding the appearance of the exported document.

Selectors

  • Definitions:

    • document-settings

Style Settings

Setting Type Examples Description
column-count Number 2 The number of text columns used for output.
column-spacing-width Length 1cm The spacing between two text columns for multi-column layouts.
footnote-enumeration Symbol per-page, per-section, continuous Specifies how to enumerate footnotes.
footnote-placement Symbol end-of-page, end-of-section, end-of-document Specifies where to place footnotes in the document.
footnote-style Symbol decimal, lowercase-alpha, uppercase-alpha, lowercase-roman, uppercase-roman, chicago-style-manual The style that should be used for enumerating footnotes.
locale String "de", "en", "es" The locale that should be used for hyphenation if language detection fails.
page-binding Symbol left, right The position of the page binding.
page-height Length 21cm The height of the page.
page-inset-bottom Length 2cm, 72pt The spacing between the bottom border of a page and the page content.
page-inset-inner Length 2cm, 72pt The spacing between the inner border of a page and the page content. Depends on page-binding and two-sided.
page-inset-outer Length 2cm, 72pt The spacing between the outer border of a page and the page content. Depends on page-binding and two-sided.
page-inset-top Length 2cm, 72pt The spacing between the top border of a page and the page content.
page-number-format String "- %p -" The format string that should be used for page numbers.
page-number-reset Symbol none, per-section Specifies whether page numbers should be reset on each section.
page-number-style Symbol decimal, lowercase-alpha, uppercase-alpha, lowercase-roman, uppercase-roman The style that should be used for generating page numbers.
page-orientation Symbol portrait, landscape The orientation of a page.
page-width Length 14.8cm The width of the page.
section-break Symbol none, heading-1, heading-2, heading-3, heading-4, heading-5, heading-6, paragraph-divider Specifies whether headings or dividers will introduce a section break.
two-sided Boolean no, yes Specifies whether the output should be generated for two-sided printing or not.

Example

document-settings {
	page-binding:    left
	two-sided:       yes
	column-count:    2
}