f

folklore

@preview

Typeset fiction novels, with facilities for author commentary.

v0.2.0
MIT
1 downloads
Template

Package Information

Last Updated
Categories
layoutbook

Preview

Template preview

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/folklore:0.2.0

2. Initialize from template

Create a new project from this template:

typst init @preview/folklore:0.2.0

Version History

0.2.0
42bb4008258d...
0.1.0
e5ba7de23593...

folklore

folklore is a template for typesetting fiction novels, with facilities for author commentary.

Components

folklore provides some components useful for typesetting books.


#author-notes[Notes can go here.]
#summary[Summaries can go here.]
#titled-box[Custom Title][You can also make custom boxes.]

#major-break

Back from a break!

Configuration

All folklore parameters and their defaults are listed below.

#show: setup.with(
  work-title: [],
  custom-work-half-title: [],
  work-author: [],
  copyright-page: [],
  preface: [],
  preface-heading: [preface],
  recto-toc: true,
  number-chapters: true,
  blank-pages-after-toc: 0,
  blank-pages-before-start: 0,
  recto-chapter-start: true,
  title-text-settings: none,
  text-settings: none,
  par-settings: none,
  page-settings: none,
)

To set parameters for text, paragraphs, and the page, add parameters as dictionaries into the corresponding settings. For example:

#show: setup.with(
  work-title: [Some Title],
  work-author: [Me],
  text-settings: (font: "STIX Two Text"),
  page-settings: (width: 4.25in, height: 5.5in),
)

= chapter one

And so on...