Added generic object to typst

This commit is contained in:
2025-02-09 20:13:33 -08:00
parent c81ed3c7b9
commit fb65744ee9
2 changed files with 9 additions and 1 deletions

View File

@ -98,3 +98,11 @@
#let theorem = _mkobj("Theorem")
#let example = _mkobj("Example")
#let remark = _mkobj("Remark")
#let generic(obj_content) = {
block(
above: 8mm,
below: 2mm,
text(weight: "bold", obj_content),
)
}