Universe

Create project in app

Simple and complete books without introducing new syntax

Tests Build

Quick Start

#import "@preview/min-book:1.2.0": book
#show: book.with(
  title: "Book Title",
  subtitle: "Book subtitle, not more than two lines long",
  authors: "Book Author",
)

Description

Generate complete and complex books, without any annoying new commands or syntax, just good old pure Typst. This package manipulates the standard Typst elements as much as possible, adapting them to the needs of a book structure in a way that there’s no need to learn a whole new semantic just because of min-book.

For some fancy book features there is no existing compatible Typst element to re-work and adapt; in those cases, this package do provide additional commands that are completely optional, for the sake of completeness.

This package comes with some thoughful ready-to-use defaults but also allows you to play with highly customizable options if you need them, so it’s really up to you: customize it your way or ride along the defaults — both ways are possible and encouraged.

More Information

Feature List

  • Cover
    • Automatic generation
    • Creation using Typst
    • Existing image
  • Title page
    • Automatic generation
    • Creation using Typst
  • Cataloging in Publication
  • Errata
  • Dedication
  • Acknowledgments
  • Epigraph
  • Table of contents
    • Automatic generation
    • Insert manually
  • Book parts (headings)
  • Book chapters (headings)
  • Multi-language structure
    • Default translations for several languages
    • Custom translation files
    • Localization using Fluent
  • Advanced customization options
  • Free default fonts
  • End Notes
  • Horizontal Rule
  • Block Quote
  • Appendices ambient
  • Annexes ambient

Default Fonts

Text: TeX Gyre Pagella or Book Antiqua

Math: Asana Math

Mono: Inconsolata

Cover title: Cinzel

Cover text: Alice

Translation Notice

From min-book:1.2.0+ there will be no automatic fallback to English anymore. Refer to the section TRANSLATION at the end of the manual for more information.