Universe

A quick start utility for scientific booklets.

Features

  • Math Equation
    • auto numbering based on chapter
    • link quote to source
  • Figure
    • auto numbering based on chapter
    • subfigure (using subpar)
  • Table
    • read as three-line table (#ktable(data, k, inset: 0.3em))
    • read from .xlsx (using rexllent)
  • Code Block
    • highlighting (using coldly)
    • read code block (#code(text, lang: "python", breakable: true, width: 100%))
  • Theorem

Get Started

#import "@preview/qooklet:0.1.1": *
#show: doc => conf(
  title: "Bellman Eqation",
  author: "ivaquero",
  header-cap: "Reinforcement Learning",
  footer-cap: "ivaquero",
  // the following are optional arguments
  // outline-on: false,
  // par-leading: 1em,
  // list-indent: 1.2em,
  // block-above: 1em,
  // block-below: 1em,
  // figure-break: false,
  // lang: "en",
  doc,
)

See qooklet for example.

Clone Official Repository

Clone the qooklet repository to your @local workspace:

  • Linux:
    • $XDG_DATA_HOME/typst/packages/local
    • ~/.local/share/typst/packages/local
  • macOS:~/Library/Application\ Support/typst/packages/local
  • Windows:%APPDATA%/typst/packages/local

Import qooklet in the document

#import "@local/qooklet:0.1.0": *