diff --git a/lib/typst/local/handout/0.1.0/lib.typ b/lib/typst/local/handout/0.1.0/lib.typ index 06eddc9..b900fda 100755 --- a/lib/typst/local/handout/0.1.0/lib.typ +++ b/lib/typst/local/handout/0.1.0/lib.typ @@ -3,8 +3,7 @@ // Re-exports // All functions that maybe used by client code are listed here #import "misc.typ": * -#import "object.typ": problem, definition, theorem -#import "solution.typ": if_solutions, if_no_solutions, solution +#import "object.typ": problem, definition, theorem, example, remark, generic /// Main handout wrapper. diff --git a/lib/typst/local/handout/0.1.0/object.typ b/lib/typst/local/handout/0.1.0/object.typ index 7d4d09b..ed38683 100644 --- a/lib/typst/local/handout/0.1.0/object.typ +++ b/lib/typst/local/handout/0.1.0/object.typ @@ -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), + ) +}