Skip to content

Commit c8700e6

Browse files
mrtz-jMoritz Jörg
andauthored
Add Formatter and fix typos (#3)
Co-authored-by: Moritz Jörg <[email protected]>
1 parent 6696680 commit c8700e6

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# assignment-template-typst
22

3-
This repository provides a simple Typst template for writing your Assignments at UiT (The Arctic University of Tromsø). The template is _supercharged_ with the [typst](https://typst.app/home) language, which is a simple and powerful language for writing scientific documents.
3+
This repository provides a simple Typst template for writing your Assignments at UiT (The Arctic University of Norway). The template is _supercharged_ with the [typst](https://typst.app/home) language, which is a simple and powerful language for writing scientific documents.
44

55
> [!NOTE]
66
> This is only a template. You have to adapt the template to your current assignment!
@@ -48,6 +48,13 @@ faster than compiling from scratch each time because Typst has incremental compi
4848
typst watch main.typ
4949
```
5050

51+
If the `typstfmt` is installed, then the text can be formatted using:
52+
53+
```console
54+
typstfmt main.typ
55+
```
56+
57+
5158
### Working in the Typst Web Editor
5259

5360
If you prefer an Overleaf-like experience with autocompletion, preview and (soon)spellchecking, then the Typst web editor is for you. It allows you to import files directly into a new or existing document. Here's a step-by-step guide:

main.typ

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
header: [INF-XXXX Assignment X #datetime.today().display()],
1717
authors: ((
1818
name: "Firstname Middlename(s) Lastname",
19-
organization: [UiT Arctic University of Tromsø],
19+
organization: [UiT Arctic University of Norway],
2020
location: [Tromsø, Norway],
2121
2222
git: "abc",
2323
),
2424
(
2525
name: "Firstname Middlename(s) Lastname",
26-
organization: [UiT Arctic University of Tromsø],
26+
organization: [UiT Arctic University of Norway],
2727
location: [Tromsø, Norway],
2828
2929
git: "def",

0 commit comments

Comments
 (0)