Allows for globally numbered Definitions, Theorems, etc.
Allows for compilation of subfiles and referencing of Theorems, etc. by using custom citations and references.
Example
#import "template.typ": *
#show: sub_project
This is a citation
#ccite[pearl]
#definition[MyDefinition][
$X=1$
]
#labeled[mydef]
#remark[
$X!=2$
]
#proof[
see #tref[mydef]
]
Example PDF: https://drive.google.com/file/d/1RhTViesnDWg07kJuUAJ1CDqYahtzqYLo
Source Code: https://typst.app/project/rJeB-bWl2aAzffB8YiYMew