36 lines
749 B
Typst
36 lines
749 B
Typst
// confidential draws a "CONFIDENTIAL" stamp, used on the cover page
|
|
#let confidential() = {
|
|
rect(
|
|
height: 100%,
|
|
width: 100%,
|
|
stroke: (paint: red, thickness: 2pt, dash: "solid"),
|
|
align(center + horizon,
|
|
text(
|
|
size: 18pt,
|
|
weight: "semibold",
|
|
fill: red,
|
|
"CONFIDENTIAL"
|
|
)
|
|
)
|
|
)
|
|
}
|
|
|
|
// draft draws a "DRAFT" stamp, used on the cover page
|
|
#let draft() = {
|
|
rect(
|
|
height: 100%,
|
|
width: 100%,
|
|
stroke: (paint: blue, thickness: 2pt, dash: "solid"),
|
|
align(center + horizon,
|
|
text(
|
|
size: 18pt,
|
|
weight: "semibold",
|
|
fill: blue,
|
|
"DRAFT"
|
|
)
|
|
)
|
|
)
|
|
}
|
|
|
|
// for the TLP mark, see addons/tlp.typ:mark()
|
|
#import "../addons/tlp.typ": mark as tlp |