t

tyniverse

@preview

A collection of templates for homeworks, cheatpapers and more.

v0.2.3
MIT
Template

Package Information

Last Updated
Minimum Typst Version
0.12.0
Authors
Fr4nk1inCs
Categories
report
Disciplines
education

Preview

Template preview

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/tyniverse:0.2.3

2. Initialize from template

Create a new project from this template:

typst init @preview/tyniverse:0.2.3

Version History

0.2.30.12.0
08090f31b7ad...

Tyniverse

A collection of Typst presets to provide a starting point for your writing.

Available presets:

  • set-font(): Chinese & English Font support.
  • typesetting: A typesetting preset.
  • template: A template for writing a document.
  • homework: Homework template with simple-question and complex-question frame to write your homework.
  • cheatpaper: A cheatpaper template.

There are some manuals/docs in the docs folder.

Usage

Tyniverse supports Typst 0.12.0 and newer. You can access it from Typst Universe.

#import "@preview/tyniverse:0.2.3"

To install it locally, please refer to Typst Documentation.

Examples

Basic Template

#import "@preview/tyniverse:0.2.3": template

#set page(height: auto)
#show: template.with(
  title: ("Example of tyniverse.template", [Example of `tyniverse.template`]),
  author-infos: "Author"
)

#lorem(100)

template.png

For more examples, please see docs/template.pdf.

Homework

#import "@preview/tyniverse:0.2.3": homework

#set page(height: auto)
#show: homework.template.with(
  course: "Course Name",
  number: 1,
  student-infos: ((name: "Student", id: "ID"),),
)

#homework.simple-question[
  A `simple-question` frame.
]

#homework.complex-question[
  A `complex-question` frame.
]

homework.png

For more examples, please see docs/homework-template.pdf and docs/question-frame.pdf.

Cheat Paper

#import "@preview/tyniverse:0.2.3": cheatpaper

#show: cheatpaper.template.with(
  title: "Cheat Paper",
  authors: "Fr4nk1in",
  font-size: 10pt,
)

= Heading 1
== Heading 1.1

#lorem(256)

#lorem(768)

cheatpaper.png