t

twilight-book

@preview

Provide numerous light and dark themes.

v0.1.8
MIT
Template

Package Information

Last Updated
Categories
booklayout

Preview

Template preview

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/twilight-book:0.1.8

2. Initialize from template

Create a new project from this template:

typst init @preview/twilight-book:0.1.8

Version History

0.1.8
2476b88b4106...
0.1.6
e55a0903b135...
0.1.4
c1be8dcb6e16...

The TwilightBook Package 晨昏之书

Version 0.1.8

A twilight style template,offers numerous light and dark themes.

晨昏主题模板,提供许多浅色和深色主题.

Getting Started 入门

These instructions will get you a copy of the project up and running on the typst web app. Perhaps a short code example on importing the package and a very simple teaser usage.

这些说明将为您提供在typst网络应用程序上启动和运行的项目副本。也许是导入软件包的简短代码示例和非常简单的预告使用。

#import "@preview/twilight-book:0.1.8": *

#show: book.with(
  // 具体的各种设置,详情请见book.typ / Specific Settings
  title: "晨昏之书", // 文件名 / File name
  author: "跨越晨昏", // 作者 / Author
  theme: "abyss", // 主题名称 / Theme name
  // ...
)

// 正文内容

Installation 安装

A step by step guide that will tell you how to get the development environment up and running. This should explain how to clone the repo, along with any pre-requisite software and installation steps.

一份逐步指南,将指导您如何搭建并运行开发环境。包括将代码克隆到本地

MacOS

git clone https://github.com/CrossDark/TwilightBook.git "$HOME/Library/Application Support/typst/packages/local/twilight-book/0.1.8"

Windows

样式 Style

以深渊主题为例

封面 Cover

正文 Main Text

Supports indenting content based on heading levels and adding reference lines.

支持根据标题的成绩对内容进行缩进并添加参考线

字体 Fonts

可以使用以下代码自定义字体

#let serif-family = {"字体名称"}
#let sans-family = {"字体名称"}
#let mono-family = {"字体名称"}
#let art-font = {"字体名称"}

!warning

TPIX

The private Typst package registry and distribution platform.

© 2026 TPIX. All rights reserved.