diff --git a/setup/analysis/creature_advanced_report.typ b/setup/analysis/creature_advanced_report.typ index 09df5af..22aec87 100644 --- a/setup/analysis/creature_advanced_report.typ +++ b/setup/analysis/creature_advanced_report.typ @@ -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, ) } diff --git a/setup/theme/tables.typ b/setup/theme/tables.typ index a59aa4c..d82c2c4 100644 --- a/setup/theme/tables.typ +++ b/setup/theme/tables.typ @@ -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 } -