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 Definition 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 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 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. Elements inside a footnote can be styled by using a relative style selector on
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.|
||This style will be applied to all paragraphs that only contain images (besides whitespaces and comments). Images inside such a paragraph will be exported as figures with an optional caption. See
||This style will be applied to the caption of a Figure or a Table. The caption inherits the style settings of the surrounding figure or table. It is possible to style figure and table captions individually by using a relative style selector.|
||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
||The table class is used for styling an entire table. It provides default settings for cells of the table as well as settings that apply to the table as whole (e.g. borders and margins of the table). The caption of a table is placed above it and uses the figure-caption style.
||Every table consists of multiple table cells that are arranged in rows and columns. Table cell styles allow you to define the visual appearance of cells.
Cells can be surrounded by separators, whereas each cell has a row separator on its bottom side and a column separator on its right side.
You can define the background colors of cells using the
There are also various pseudoclasses for styling the headers of a table, such as
||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