Open tingerrr opened 4 months ago
The argument booktabs-stroke works fine if a full stroke is passed, but breaks for the inner stroke if only a thickness is passed, e.g. booktabs-stroke: 1pt.
booktabs-stroke
booktabs-stroke: 1pt
#import "@preview/lovelace:0.3.0": pseudocode-list #pseudocode-list(title: [My Algorithm], booktabs-stroke: 2pt)[ + AAA + AAA + AAA ]
This should produce 2pt + black strokes on the outside and a 1pt + black stroke on the inside.
2pt + black
1pt + black
Good catch. For future reference, this line has to be extended: https://github.com/andreasKroepelin/lovelace/blob/main/lovelace.typ#L95
The argument
booktabs-stroke
works fine if a full stroke is passed, but breaks for the inner stroke if only a thickness is passed, e.g.booktabs-stroke: 1pt
.This should produce
2pt + black
strokes on the outside and a1pt + black
stroke on the inside.