Skip to main content

figure_label_prefix

Function figure_label_prefix 

Source
fn figure_label_prefix(supplement: &str, number: &str) -> String
Expand description

Join a figure’s supplement word and number into the cohesive label token used in both captions and references: "Figure\u{00A0}1", non-breaking so the word never wraps off its number. An empty supplement renders the number alone ("1"), with no word and no leading space.