pv: signataires: ajoute le support d'images
This commit is contained in:
parent
7c67a67591
commit
c76e358cc5
1 changed files with 7 additions and 1 deletions
|
|
@ -5,7 +5,13 @@
|
|||
grid(
|
||||
columns: (1fr, ) * calc.min(signataires.pos().len(), 4),
|
||||
align: center,
|
||||
..signataires.pos().map(a => [#a \ #box(height: 100pt, fill: red)])
|
||||
..signataires.pos().map(a => {
|
||||
if type(a) == array {
|
||||
[#a.at(0) \ #box(height: 100pt, inset: (right: 10pt, left: 10pt), a.at(1))]
|
||||
} else {
|
||||
[#a \ #box(height: 100pt, fill: red)]
|
||||
}
|
||||
})
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue