i

ichigo

@preview

A customizable Typst template for homework

v0.2.0
MIT
Template

Package Information

Last Updated
Authors
PKU-Typst
Categories
report

Preview

Template preview

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/ichigo:0.2.0

2. Initialize from template

Create a new project from this template:

typst init @preview/ichigo:0.2.0

Version History

0.2.0
a0a62215c9a2...
0.1.0
097a9149aad5...

ichigo - 苺

Homework Template - 作业模板

Usage - 使用方法

#import "@preview/ichigo:0.2.0": config, prob

#show: config.with(
  course-name: "Typst 使用小练习",
  serial-str: "第 1 次作业",
  author-info: [
    sjfhsjfh from PKU-Typst
  ],
  author-names: "sjfhsjfh",
)

#prob[
  Calculate the 25th number in the Fibonacci sequence using Typst
][
  #let f(n) = {
    if n <= 2 {
      return 1
    }
    return f(n - 1) + f(n - 2)
  }
  #f(25)
]

Documentation - 文档

Click to download - 点击下载

TODO - 待办

  • Theme list & documentation