Restructure code: split features into separate files
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
// 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
|
||||
Reference in New Issue
Block a user