Fix heading styling

This commit is contained in:
2026-06-05 13:34:58 +02:00
parent 1aebf20019
commit 556aa527c8
4 changed files with 78 additions and 9 deletions
+2 -3
View File
@@ -43,7 +43,7 @@
#let render-bib() = {
load-bibliography("Bibliography.bib", prefix: "cite:", full: true, style: "ieee")
heading(level: 1)[Spis literatury]
heading(level: 1, outlined: false)[Spis literatury]
v(1em)
context {
@@ -180,7 +180,7 @@
let render-group(title, keys, start-idx) = {
if keys.len() > 0 [
== #title
#heading(level: 2, title, outlined: false)
#grid(
columns: (auto, 1fr),
column-gutter: 0.65em,
@@ -191,7 +191,6 @@
let entry = get-entry(k)
if entry == none { return () }
let num = start-idx + i + 1
// Pamiętaj: musisz użyć format-custom, który wkleiłeś wyżej!
([\[#num\]], [#format-custom(entry)#label("cite:" + k)])
})
.flatten()