lab1
This commit is contained in:
12
config/utils.typ
Normal file
12
config/utils.typ
Normal file
@@ -0,0 +1,12 @@
|
||||
#let fill-in(body) = highlight(fill: rgb("#FFF200"), text(style: "italic")[\[#body\]])
|
||||
#let hdr(..cells) = cells.pos().map(c => table.cell(fill: luma(217), strong(c)))
|
||||
#let one = rgb("#C6EFCE")
|
||||
#let zero = rgb("#FFD7D7")
|
||||
|
||||
#let placeholder(what) = block(
|
||||
width: 100%,
|
||||
height: 5cm,
|
||||
stroke: 0.6pt,
|
||||
inset: 8pt,
|
||||
align(center + horizon, fill-in[Вставьте сюда #what]),
|
||||
)
|
||||
Reference in New Issue
Block a user