Specification
On this page
The rules of the Koma language, chapter by chapter. Each rule has a named link.
Chapters
- Lexical structure
Characters, line ends, delimiter lines, comments, and code and math fences.
- Document structure
Document settings, pages, page settings, page size and layouts.
- Elements and attributes
The form of an element, names and attributes, groups, callouts and curves.
- Text and inline markup
Markdown and LaTeX inside elements, definition lists and footnotes.
- Styles and themes
Document CSS, looks for one layout, style classes and theme documents.
- Semantics
Placement, size, splitting an area, the syntax tree and every diagnostic.
- Conformance
What conforms, the conformance suite, and rendering described in prose.
To search all of it with your browser’s find, read the specification on one page.
How to read this specification
A rule is normative unless it is marked Informative. Normative rules define syntax and meaning, and the conformance suite checks them. Informative rules describe how output is drawn; they are written in prose and promise no pixel-equal result.