From 05da5ad1bf21f2bfd67e9b2fb8877fc3a76953e1 Mon Sep 17 00:00:00 2001 From: JustAnyone Date: Thu, 3 Sep 2026 13:31:51 +0300 Subject: [PATCH] refactor: remove custom-figure, figureDefinitions as they've never been used anywhere --- src/lib.typ | 41 ----------------------------------------- 1 file changed, 41 deletions(-) diff --git a/src/lib.typ b/src/lib.typ index 79e8b83..f5ef48f 100644 --- a/src/lib.typ +++ b/src/lib.typ @@ -26,26 +26,6 @@ [#text] } -#let figureDefinitions = ( - table: ( - outlineFormat: (number) => [*#number lentelė.*], - captionFormat: (number) => [*#number lentelė.*], - ), -) - -#let custom-figure( - kind, - caption: none, - body -) = { - figure( - body, - kind: kind, - caption: caption, - supplement: "CUSTOM-FIGURE" - ) -} - #let appendix-item(body) = { heading( metadata("appendix-heading") + "priedas. " + body, @@ -550,27 +530,6 @@ } } - // Lentelės pirma eilutė - /* - show table.cell.where(y: 0): it => context { - set align(left) - set par(justify: false) - set text(size: TableHeadSize.get()) // Šrifto dydis - v(3pt) - // Paryškintas - [*#it*] - v(3pt) - } - - show table.cell: it => context { - set align(left) - set par(justify: false) - set text(size: TableCellSize.get()) - v(3pt) - [#it] - v(3pt) - }*/ - // Set bibliography and citing style set bibliography(style: "assets/iso690-numeric-lt.csl")