Quick Start
#import "@preview/min-book:1.4.0": book
#show: book.with(
title: "Book Title",
subtitle: "Book subtitle",
authors: "Book Author",
)
= Book Part
== Book Chapter
#lorem(200)
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.
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)
- Translations
- Default translations for several languages
- Custom translation files
- Localization using Fluent
- Themes
- Stylish (default)
- Coffee
- Elegance
- Custom themes
- Advanced customization options
- Free default fonts
- End Notes
- Horizontal Rule
- Block Quote
- Appendices ambient
- Annexes ambient
Default Fonts
Each theme may require a different set of default fonts to function correctly.
The fonts required by the built-in themes can be found in docs/themes.md.
For third-party themes, please refer to their documentation.