aboutsummaryrefslogtreecommitdiff
path: root/typst/README.md
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-01-20 17:46:35 +0100
committerAnhgelus Morhtuuzh <william@herges.fr>2026-01-20 17:47:33 +0100
commitd8522a98c6a1db7a4b240c4d36cfadb59e22304e (patch)
treea3e8b83534d94cdcee6d6ec7e79eb8bfdcadd4b9 /typst/README.md
parent24179eaf99387417dd618b42a7b3b55414ef7da6 (diff)
feat(typst): callouts
also fix package hierarchy
Diffstat (limited to 'typst/README.md')
-rw-r--r--typst/README.md33
1 files changed, 30 insertions, 3 deletions
diff --git a/typst/README.md b/typst/README.md
index 2f8dd4c..531a3e9 100644
--- a/typst/README.md
+++ b/typst/README.md
@@ -3,16 +3,18 @@
The version of these scripts will always be `1.0.0`, because using anything else looks like to be too complicated for
anything.
-## `template.typ`
+## `template`
-This template requires:
+This package requires:
- `Inter` as the sans-serif font;
- `PT Astra Serif` as the serif font;
- `FiraCode Nerd Font Mono` as the monospace font.
-These can be freely used.
I may add an option to modify this.
+It is the template that I use everywhere.
+It can be freely used.
+
Import it and load it with:
```typ
// import the script from the local repo
@@ -27,3 +29,28 @@ Import it and load it with:
page_title: "Page title :D",
)
```
+
+## `callout`
+
+This package contains my callouts.
+
+List of callouts:
+- `warning`
+- `defn` (definition)
+- `props` (proposition)
+- `thm` (théorème, which is theorem in French)
+
+Import it and load it with:
+```typ
+// import the script from the local repo
+// if you have modified the repo name, replace `@local` with their name
+#import "@local/callout:1.0.0": *
+```
+
+You can use any callouts with
+```typ
+#defn[
+ Let $f$ a function where:
+ $ forall x in RR, f(x) = x^2 $
+]
+```