diff --git a/lib/typst/local/handout/0.1.0/handout.typ b/lib/typst/local/handout/0.1.0/handout.typ index bb5709a..583f993 100755 --- a/lib/typst/local/handout/0.1.0/handout.typ +++ b/lib/typst/local/handout/0.1.0/handout.typ @@ -186,15 +186,18 @@ // -#let hint(content) = { - text(fill: rgb(100, 100, 100), style: "oblique", "Hint: ") +#let note(content, type: none) = { + if type != none { + text(fill: rgb(100, 100, 100), style: "oblique", [#type: ]) + } text(fill: rgb(100, 100, 100), content) } -#let note(content) = { - text(fill: rgb(100, 100, 100), content) +#let hint(content) = { + note(content, type: "Hint") } + #let examplesolution(content) = { let c = oblue @@ -282,6 +285,7 @@ if show_solutions { warn } + doc }