More balancing formatting

This commit is contained in:
Dandaedre 2026-08-23 00:12:35 +02:00
parent 1a95a46753
commit 9161d0f283
Signed by: Dandaedre
GPG Key ID: 440C6592E8A26D99
2 changed files with 12 additions and 3 deletions

View File

@ -203,6 +203,7 @@
[Pression standard], [Aucune règle spécialisée ci-dessus ne s’applique. Le profil ne présente pas d’extrême détecté par ces seuils.],
),
table-theme: "steingrund", text-size: 6.6pt,
inset-y: 3pt, header-inset-y: 2.5pt,
)
#v(7pt)
#text(size: 6.8pt, fill: report-theme.muted-ink)[
@ -241,6 +242,7 @@
..body.flatten(),
),
table-theme: "steingrund", text-size: 5.15pt,
inset-y: 2pt, header-inset-y: 2.5pt,
)
}
@ -268,6 +270,7 @@
..body.flatten(),
),
table-theme: "steingrund", text-size: 4.65pt,
inset-y: 2pt, header-inset-y: 2.5pt,
)
}
@ -291,6 +294,7 @@
..body.flatten(),
),
table-theme: "steingrund", text-size: 4.8pt,
inset-y: 2pt, header-inset-y: 2.5pt,
)
}

View File

@ -92,6 +92,8 @@
label: none,
table-headers: (0,),
text-size: none,
inset-y: none,
header-inset-y: none,
) = {
let t = resolve-table-theme(table-theme)
@ -109,7 +111,7 @@
inset: (
x: innate-table-config.inset-x,
y: innate-table-config.inset-y,
y: if inset-y == none { innate-table-config.inset-y } else { inset-y },
),
// No outer grid.
@ -174,7 +176,7 @@
color: white,
inset: (
x: innate-table-config.header-inset-x,
y: innate-table-config.header-inset-y,
y: if header-inset-y == none { innate-table-config.header-inset-y } else { header-inset-y },
),
)[it]
}
@ -197,6 +199,8 @@
label: none,
table-headers: (0,),
text-size: none,
inset-y: none,
header-inset-y: none,
) = {
let _setup = (
table-theme: none,
@ -205,10 +209,11 @@
label: none,
table-headers: (0,),
text-size: none,
inset-y: none,
header-inset-y: none,
)
let _set(original-table) = {
set-table-style(original-table, .._setup)
}
_set
}