You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
Example Usage:
6
6
```typ
7
-
#import "@preview/theoretic:0.1.0": *
7
+
#import "@preview/theoretic:0.1.0" as theoretic: theorem, proof, qed
8
8
9
9
// Otherwise, references won't work.
10
10
#show ref: theoretic.show-ref
@@ -15,7 +15,10 @@ Example Usage:
15
15
// ..etc
16
16
17
17
// use
18
-
#corollary[]
18
+
#theorem(title: [Important Theorem])[#lorem(5)]
19
+
#corollary[#lorem(5)]
20
+
#example[#lorem(5)]
21
+
// ..etc
19
22
```
20
23
21
24
[Full manual: ](https://github.com/nleanba/typst-theoretic/blob/main/main.pdf)
0 commit comments