Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fenjalien/metro
A typst package to add typsetting to units!
https://github.com/fenjalien/metro
typst typst-package units
Last synced: 25 days ago
JSON representation
A typst package to add typsetting to units!
- Host: GitHub
- URL: https://github.com/fenjalien/metro
- Owner: fenjalien
- License: apache-2.0
- Created: 2023-06-30T02:15:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-27T14:35:22.000Z (5 months ago)
- Last Synced: 2024-08-02T06:16:46.582Z (3 months ago)
- Topics: typst, typst-package, units
- Language: Typst
- Homepage:
- Size: 3.66 MB
- Stars: 62
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-typst - metro - A typst package to add typsetting to units! (Templates & Libraries / Formatting)
README
# [Metro](https://github.com/fenjalien/metro)
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.11.0+.
Use Typst's package manager:
```
#import "@preview/metro:0.3.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](https://github.com/fenjalien/metro/releases/latest/download/manual.pdf)
## Future Features (in no particular order)
- [x] Angles
- [x] Complex numbers
- [x] Ranges, lists and products
- [ ] table extensions?
- [ ] Number parsing
- [ ] Uncertainties
- [x] Exponents
- [x] Number post-processing
- [x] rounding
- [x] exponent modes