π¨ Themed
Six built-in themes
Pick the look of your book from fancy, classic, modern, obook, orly and pretty. Each theme styles parts, chapters, headings, mini tables of contents and callout boxes consistently.
Bookly is a Typst template for writing and publishing structured books, theses and reports. It provides a consistent look out of the box, a set of ready-to-use themes, and the helpers needed to handle front matter, parts, chapters, appendices and everything in between.
Writing a book involves much more than typesetting chapters. Bookly takes care of the recurring details, such as page numbering across the front matter, main matter and appendices, part and chapter openings on right-hand pages, mini tables of contents, numbered equations and callout boxes. You can focus on the content.
Import the template, initialize it with a show rule and start writing:
#import "@preview/bookly:5.3.0": *
#show: bookly.with(
title: "My book",
author: "Author Name",
theme: fancy,
)
#show: front-matter
// preface, abstract, ...
#show: main-matter
#tableofcontents
= Introduction
...
#show: appendix
= Additional material
...Bookly ships with six themes, from the sober classic to the colorful fancy and the OβReilly-inspired orly. All themes share the same API, so you can switch from one to another without touching your content. If none of them fits, you can define your own theme and use the template states (colors, localization, numbering patterns, β¦) to keep it consistent with the rest of the template.
Bookly comes with a set of helpers for common tasks:
The template is localized in English, Chinese, French, German, Italian, Portuguese and Spanish. To add another language, provide a JSON dictionary of terms.
π¨ Ready-made themes: a professional look from the first page.
ποΈ Book structure built in: front matter, parts, chapters and appendices work without extra setup.
π Tufte layout: wide margins and side notes when your content needs them.
π§ Easy to customize: change colors, fonts and layout options, or write your own theme.