-
-
Notifications
You must be signed in to change notification settings - Fork 189
Paragraph style
Giorgio Garofalo edited this page Jun 7, 2025
·
5 revisions
The .paragraphstyle
[docs] function makes it possible to override the global style of paragraphs.
Its parameters are optional and, if unset, they delegate their value to the active theme.
Parameter | Description | Accepts |
---|---|---|
lineheight |
Whitespace between lines, multiplied by the font size. | Number |
letterspacing |
Whitespace between letters, multiplied by the font size. | Number |
spacing |
Whitespace between subsequent paragraphs, multiplied by the font size. | Number |
indent |
Whitespace at the start of each non-first paragraph, multiplied by the font size. | Number |
Using spacing:{0} indent:{2}
will provide the classic LaTeX look.
Default appearance:

.paragraphstyle lineheight:{2.5} spacing:{0} indent:{2}

- Figures
- Image size
- TeX formulas
- Table caption
- Decorative headings
- Alerts (quote types)
- Quotation source
- Page breaks
- Text symbols (text replacement)
- Syntax of a function call
- Declaring functions
- Dynamic typing
- Including other Quarkdown files
- Importing external libraries
- Localization
- Document metadata
- Theme
- CSS
- Fonts
- Page format
- Page margin content
- Page counter
- Automatic page break
- Numbering
- Paragraph style
- Caption position
- Table of contents
- Bibliography
- Stacks (row, column, grid)
- Container
- Align
- Float
- Figure
- Clip
- Box
- Collapsible
- Whitespace
- Variables
- Optionality
- Math
- Conditional statements
- Loops
- Let
- Destructuring
- String manipulation
- Table manipulation: sorting, computing, and more
- Generators
- String
- Number
- Markdown content
- Boolean
- None
- Enumeration entry
- Iterable
- Dictionary
- Range
- Lambda
- Size(s)
- Color
- Dynamic
- Paper: abstract, definitions, theorems, and more