forked from tomkys144/skripta
Add some exercises
This commit is contained in:
+26
-1
@@ -13,4 +13,29 @@
|
||||
]
|
||||
#body
|
||||
],
|
||||
)
|
||||
)
|
||||
#let task(title: none, body) = block(
|
||||
fill: tiling(
|
||||
size: (4pt, 4pt),
|
||||
place(
|
||||
line(
|
||||
start: (0%, 0%),
|
||||
end: (100%, 100%),
|
||||
stroke: (paint: luma(230), thickness: 0.5pt),
|
||||
),
|
||||
),
|
||||
),
|
||||
stroke: 0.5pt + luma(200),
|
||||
inset: 1.2em,
|
||||
radius: 0.2em,
|
||||
width: 100%,
|
||||
spacing: 1.5em,
|
||||
[
|
||||
#if title != none [
|
||||
*Příklad k~rozmyšlení (#title):*
|
||||
] else [
|
||||
*Příklad k~rozmyšlení:*
|
||||
]
|
||||
#body
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user