Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Fr4nk1inCs/typreset

A collection of presets/templates for my personal Typst writing
https://github.com/Fr4nk1inCs/typreset

Last synced: 3 months ago
JSON representation

A collection of presets/templates for my personal Typst writing

Awesome Lists containing this project

README

        

# Typreset (W.I.P.)

A collection of [Typst](https://typst.app) presets to provide a starting point for your writing.

Available presets:
- `font.set-font()`: Chinese & English Font support.
- `homework`: Homework template with `simple_question` and `complex_question` frame to write your homework.
- `report`: Report template to write your report.
- `thm-envs`: Minimal theorem environments with `theorem`, `lemma`, `corollary`, `definition` and `proof` environment presets. Tweaked from [typst-theorems](https://github.com/sahasatvik/typst-theorems).

At this time there is no manual or handbook for this project. But our `tests/` directory contains some examples of how to use this project.

## Usage

Typrest supports Typst 0.6.0 and newer.

At this time there is no release of this project. You need to manually configure your local Typst packages.
- Clone this project to `{data-dir}/typst/packages/local/typreset/0.1.0`, where `data-dir` [depends on your systems](https://github.com/typst/packages#local-packages).
For example, in Linux, it is `~/.local/share/typst/packages/local/typreset/0.1.0`:
```bash
mkdir -p ~/.local/share/typst/packages/local/typreset/
git clone https://github.com/Fr4nk1inCs/typreset.git ~/.local/share/typst/packages/local/typreset/0.1.0
```
Then you can use the presets in your Typst project:
```typ
#import "@local/typreset:0.1.0": *
```

## Fonts

For font support, see [the `fonts` branch](https://github.com/Fr4nk1inCs/typreset/tree/fonts) of this repository.