Added short warning to typst lib

This commit is contained in:
2025-02-26 08:05:08 -08:00
parent 563dd990a5
commit b5ccf95a8b
2 changed files with 27 additions and 2 deletions

View File

@ -29,6 +29,26 @@
)
}
#let short_solution_warning() = {
set text(ored)
align(
center,
block(
width: 60%,
height: auto,
breakable: false,
fill: rgb(255, 255, 255),
stroke: ored + 2pt,
inset: 3mm,
(
align(center, text(weight: "bold", size: 12pt, [Instructor's Handout]))
+ parbreak()
),
),
)
}
#let make_header(
title,
subtitle: none,