m

matofletcher

@preview

Easier diagrams with fletcher (fork of autofletcher)

v0.1.1
MIT

Package Information

Last Updated
Categories
visualization

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/matofletcher:0.1.1

2. Import in your Typst file

Add this to your .typ file:

#import "@preview/matofletcher:0.1.1": *

Version History

0.1.1
add3e184fc46...

Matofletcher

[!NOTE]
This is a fork of autofletcher, which had its last update on 2024-05-20 and
has an open and untouched PR since 2025-05-08. While it's being
unmaintained, this fork will provide minimal necessary updates to be able to
continue using this package.

This small module provides functions to (sort of) abstract away manual
placement of coordinates.

See the manual for usage examples.

Development

After cloning the repository run

just init

to create a pre-commit Git hook. It will use typstyle and typst to format
code and compile manual. More specifically, it will check if both actions were
already done. Otherwise the hook will fail.

See .justfile for more details and other recipes.

Credits