Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/Fr4nk1inCs/typreset
- Owner: Fr4nk1inCs
- License: mit
- Created: 2023-04-01T14:18:42.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-15T06:06:04.000Z (10 months ago)
- Last Synced: 2024-04-24T03:20:33.777Z (7 months ago)
- Language: Typst
- Homepage:
- Size: 5.38 MB
- Stars: 21
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
- awesome-typst-cn - typst-notebook
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.