GeoNotes is a modular Typst package and book template for university-level geology notes and long-form scientific documents. It provides reusable page design, chapter and heading styles, a table of contents, callouts, equations, figures, tables, cross-references, footnotes, and bibliography support.
Language: GeoNotes is currently designed for documents written in Italian. Its default labels, cover text, headings, and metadata are Italian; the README is in English for a broader audience. Document content can be written in other languages, but some generated labels and template wording may need customization.
Status
The development repository is koryayo/GeoNotes. GeoNotes targets Typst 0.15.0 and is prepared as version 1.0.0. This version is not yet listed on Typst Universe; the @preview imports below will work after the package submission has been accepted.
The complete demonstration document was compiled with Typst 0.15.1 in Oleafly on 29 November 2026. The resulting PDF has 16 pages and compiled without reported errors. The cover and one-page table of contents were visually reviewed. The table of contents was also exercised with a temporary 16-chapter, three-level stress document. A fresh copy of the template was compiled against the local package before preparing its thumbnail.
Install
After publication, add this to a Typst document:
#import "@preview/geonotes:1.0.0": *
#show: geonotes.with(
titolo: "Geologia strutturale",
sottotitolo: "Appunti delle lezioni",
corso: "Scienze geologiche",
autore: "Nome studente",
anno: "2026/2027",
tema: "Blu",
)
= Introduzione
Il testo del documento inizia qui.
To start a project from the template with the Typst CLI:
typst init @preview/geonotes:1.0.0
The generated template imports the package by version, so its styling code is not copied into each document.
Features
- A4 pages with mirrored inside/outside margins, outer page numbers, running chapter headers, and no first-line paragraph indent.
- Numbered level-one chapters, unnumbered lower-level headings, and a linked table of contents.
- Seven semantic callouts:
definizione,concetto,osservazione,attenzione,esempio,approfondimento, andriepilogo. - Configurable color themes, monochrome output, typography, spacing, footnotes, figures, equations, tables, and bibliography.
- Italian defaults with customizable document metadata and selected style options.
Callouts and equations
#definizione(titolo: "Fault") [
Una discontinuità che separa blocchi rocciosi con spostamento relativo.
]
#formula(
nome: [Legge di Hooke],
etichetta: <legge-hooke>,
)[
$ sigma = E dot epsilon $
]
Riferimento: #rif-formula(<legge-hooke>).
Function names and the default generated labels are Italian. See the complete demonstration source for figures, tables, references, citations, and the full API in context.
Configuration
Pass options to geonotes.with(...). Options include title and author metadata, page size and margins, fonts, chapter and contents styles, theme colors, callout colors, tables, and footnote appearance. For example:
#show: geonotes.with(
tema: "Blu",
monocromatico: false,
colori: (
definizione: "Blu",
concetto: "Verde bosco",
attenzione: "Rosso",
esempio: "Viola",
osservazione: "Arancio",
),
)
The full default configuration is in config.typ. Font availability depends on the compiler environment. The defaults use Libertinus Serif, Helvetica Neue, New Computer Modern Math, and Menlo; you can override them when suitable fonts are installed.
Local development
To test the package before publication, place its directory in Typst’s local package location:
~/Library/Application Support/typst/packages/local/geonotes/1.0.0/
Then import @local/geonotes:1.0.0. On other platforms, use Typst’s local package directory for that system. Compile the template and the demo from the repository root so relative example assets resolve correctly.
Repository layout
typst.toml Package and template manifest
lib.typ Public package entrypoint
geonotes.typ Document configuration and module composition
config.typ Default options
modules/ Internal package modules
template/ Files copied into a new project
examples/ Full demo, bibliography, and SVG assets
thumbnail.png Template preview image
License
The package source is licensed under MIT (LICENSE). The starter
document in template/ is licensed under MIT-0; its license is copied into
new projects so that generated documents can be reused without attribution
requirements. The manifest uses MIT AND MIT-0 to record these licenses.