-
-
Notifications
You must be signed in to change notification settings - Fork 189
Paper library
Giorgio Garofalo edited this page Jan 13, 2025
·
9 revisions
The built-in paper
library is written in Quarkdown and adds support to typical elements of scientific papers in a LaTeX fashion.
The library features the following components:
- Abstract
- Titled, numbered blocks:
- Definitions
- Lemmas
- Theorems
- Proofs
Note
The supported languages are aligned to ones supported by Quarkdown's core: currently English and Italian. See Built-in localization for further information.
The first step is to import the library:
.include {paper}
.abstract
can generate the layout for a titled abstract block. Its content goes in its block argument:
.abstract
This is my *abstract*! Here goes the summary of the document.
.loremipsum

The alignment of the title defaults to center and can be changed via .paperabstractalignment {start|center|end}
:
.paperabstractalignment {start}
.abstract
This is my *abstract*! Here goes the summary of the document.
.loremipsum

- 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