Package-level declarations

Types

Link copied to clipboard
data class DocumentAuthor(val name: String, val info: Map<String, String> = emptyMap())

An author of a document.

Link copied to clipboard
data class DocumentInfo(var type: DocumentType = DocumentType.PLAIN, var name: String? = null, val authors: MutableList<DocumentAuthor> = mutableListOf(), var locale: Locale? = null, var numbering: DocumentNumbering? = null, var theme: DocumentTheme? = null, val pageFormat: PageFormatInfo = PageFormatInfo(), val tex: TexInfo = TexInfo())

Mutable information about the final artifact. This data is mutated by library functions .docname, .docauthor, etc.

Link copied to clipboard
data class DocumentTheme(val color: String?, val layout: String?)

The theme of a document. A theme is defined by different components, hence allowing different combinations. Components can also be not specified by setting them to null, and are hence ignored.

Link copied to clipboard

Type of produced document, which affects its post-rendering stage.

Functions

Link copied to clipboard

Given this theme with nullable components, merges it with a default theme in order to fill in the missing components. If this is null itself, the default theme is returned.