johanvx / metro

A typst package to add typsetting to units!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Metro package aims to be a port of the Latex package siunitx. It allows easy typesetting of numbers and units with options. This package is very early in development and many features are missing, so any feature requests or bug reports are welcome!

Metro’s name comes from Metrology, the study scientific study of measurement.

Bug reports, feature requests, and PRs are welcome!

Usage

Requires Typst v0.8.0+. Use Typst's package manager:

#import "@preview/metro:0.1.0": *

You can also download the src folder and import lib.typ and import:

#import "src/lib.typ": *

See the manual for more detailed information: manual.pdf

Future Features (in no particular order)

  • Angles
  • Complex numbers
  • Ranges, lists and products
  • table extensions?
  • Uncertainty and exponent parsing in numbers
  • Number post-processing like rounding and exponent modes

About

A typst package to add typsetting to units!

License:Apache License 2.0


Languages

Language:Typst 100.0%