mirror of
https://github.com/JustAnyones/ktu-paper.git
synced 2026-11-04 00:30:18 +00:00
chore: update ataskaita.typ with a locally defined todo function
This commit is contained in:
1 file changed
+7
@@ -26,12 +26,19 @@
|
|||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Replace dots in equations with commas instead so 1.25 becomes 1,25.
|
||||||
#show math.equation: it => {
|
#show math.equation: it => {
|
||||||
show regex("\d+\.\d+"): it => {show ".": {","+h(0pt)}
|
show regex("\d+\.\d+"): it => {show ".": {","+h(0pt)}
|
||||||
it}
|
it}
|
||||||
it
|
it
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// To be used for writing purposes to mark TODOs in the document. They will be highlighted in yellow and have a dashed border.
|
||||||
|
#let todo(desc) = block(
|
||||||
|
width: 100%, inset: 10pt, stroke: (dash: "dashed"), fill: yellow.lighten(80%),
|
||||||
|
[*TODO:* #desc],
|
||||||
|
)
|
||||||
|
|
||||||
#ktu-heading-page-normal(
|
#ktu-heading-page-normal(
|
||||||
faculty: highlight[Informatikos fakultetas],
|
faculty: highlight[Informatikos fakultetas],
|
||||||
title: highlight[Laboratorinio darbo ataskaitos pavadinimas],
|
title: highlight[Laboratorinio darbo ataskaitos pavadinimas],
|
||||||
|
|||||||
Reference in new issue
Block a user