chore: update ataskaita.typ with a locally defined todo function

This commit is contained in:
JustAnyone committed 2026-10-29 09:50:17 +02:00
1 parent eb8ea2616d
commit 60156860e5
1 file changed
+7
+7
View File
@@ -26,12 +26,19 @@
),
)
// Replace dots in equations with commas instead so 1.25 becomes 1,25.
#show math.equation: it => {
show regex("\d+\.\d+"): it => {show ".": {","+h(0pt)}
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(
faculty: highlight[Informatikos fakultetas],
title: highlight[Laboratorinio darbo ataskaitos pavadinimas],