lib module
scale-bar function
#let scale-bar(value: none, label: none, inset: 8pt, stroke: 1pt)Documentation
Construct a physical scale bar. value is in the morphology’s units.
Parameters
value(int, float): Positive physical length represented by the bar. Default:none.label(none, content, str): Optional replacement for the generated unit label. Default:none.inset(length): Distance from the bottom-left render edges. Default:8pt.stroke(any): Scale-bar line stroke accepted by Typst. Default:1pt.
Returns
dictionary
Defined in lib.typ:569.