This section describes all available classes that can be used to style the export of an Ulysses document. We distinguish between two major types of style classes: General classes and Defintion classes.
General classes are all style classes used to define the visual appearance of the entire exported document (e.g.
header). Currently, the following general classes can be used:
|Document Settings||Used to describe all settings regarding the appearance of the exported document.|
|Headers and Footers||Describes the layout and the content of a the header/footer of a page. Can be used to setup running headlines or page numbers. Inherits all inline and paragraph style settings. Provides special pseudo-classes
|Footnotes Area||Describes the layout and the content of a the area containing the footnotes of a page or the endnotes of a section/document (see
Please note that some styling options are only available to PDF export.
Definition classes are all style classes that can be used to style content with a concrete definition in your Ulysses document (e.g.
headline). You may currently use the following definition classes:
||Inline classes are used for definitions typically applied to inline contents. The style settings of all parent elements (e.g. paragraphs, lists) will be also inherited to inline elements.|
||Media classes are used to style image-like contents. To style figure-like images there is a special paragraph style
||Footnote classes are used to style any footnote-like content, like footnotes or annotations. Footnote classes have a special pseudoclass
||Paragraph classes are used for definitions typically applied to paragraph-level nodes. The style settings of all parent elements (e.g. lists) will be also inherited to the paragraph style. Inline-style settings specified in a paragraph class will be applied to all child nodes, if not overwritten.|
||The divider class is used to separate parts of the document logically. It may be either used to add a styled separator or to add a page break.|
||Block classes are used for any contents grouping multiple paragraphs, such as blockquotes or lists. They provide the same settings as paragraph classes. The top and bottom margins of a block will be applied to its first and last paragraph.|
||Lists are special blocks that consists of a list of items. Each item has an enumerator that may be counted. Lists have a special pseudoclass
||Syntax classes are used for styling the highlighted text inside code blocks. Ulysses applies these syntax classes to the contents of a code block depending on the selected programming language. You can also download an example document that contains all available syntax classes.|
||Technical styles can be used for exporting Ulysses documents with full markup and whitespaces. Besides